Skip to main content

goliothctl config#

The goliothctl config subcommands are used to get and set values in the current local goliothctl config.

goliothctl config [flags]

Examples#

# Set the Golioth server URL to localhost> goliothctl config set apiUrl http://localhost:9090
# Get the current access token used to authenticate with Golioth> golioth config get accessToken

Options#

  -h, --help   help for config

Options inherited from parent commands#

      --apiUrl string      golioth api server url (default "https://api.golioth.io")  -c, --config string      config file (default is $HOME/.golioth/.goliothctl.yaml)      --projectId string   golioth project id

SEE ALSO#