edbctl config

Displays or modifies edbctl configuration settings, including the default project, credentials, and output format.

Commands

edbctl config command has following options available:

edbctl config get

Displays the value of a specified configuration property.

edbctl config get <key> [options]

Where options are,

  -h, --help          help for get
  -I, --interactive   Execute command interactively

These examples shows how to obtain the value of a given configuration property:

$ edbctl config set output_mode json
$ edbctl config get output_mode
json
$ edbctl config get output_mode
table
$ edbctl config get confirm_enabled
true

edbctl config list

List all configuration properties and their values.

edbctl config list [options]

Where options are,

  -h, --help            help for list
  -o, --output string   [table json yaml xml] (default "table")

edbctl config set

Updates a configuration property with a specified value.

edbctl config set <key> <value> [options]

Where options are,

 -h, --help          help for set
 -I, --interactive   Execute command interactively

These examples shows how to set a particular configuration property.

$ edbctl config set output_mode json
$ edbctl config set confirm_enabled true
$ edbctl config set prompt_enabled true

Could this page be better? Report a problem or suggest an addition!