Hook command 'leader-get'

The information in this doc is based on Juju version 3.5.6, and may not accurately reflect other versions of Juju.

Summary

Print application leadership settings.

Usage

leader-get [options] [<key>]

Options

Flag Default Usage
--format smart Specify output format (json|smart|yaml)
-o, --output Specify an output file

Details

leader-get prints the value of a leadership setting specified by key. If no key is given, or if the key is “-”, all keys and values will be printed.