canary config#

Get and set configuration options

canary config [-h] {show,set} ...

Optional arguments

-h, --help

Show this help message and exit.

Subcommands

canary config show#

canary config show [-h] [-p] [--format {json,yaml}] [section]

Positional arguments

section

Show only this section. The section ‘plugin’ will print the currently active plugins

Optional arguments

-h, --help

show this help message and exit

-p, --paths

Show paths to canary configuration files

--format {json,yaml}

Print configuration in this format [default: yaml]

canary config set#

canary config set [-h] [--local | --global] PATH VALUE PATH VALUE

Positional arguments

PATH VALUE

colon-separated path to config to be set, e.g. ‘timeout:default 10.0’

Optional arguments

-h, --help

show this help message and exit

--local

Set the local configuration value

--global

Set the local configuration value