edbctl config

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

Commands

The edbctl config command has following options:

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 show 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

Lists 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 show 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!