Skip to main content

Synopsis

Config global Kosli flags values and store them in $HOME/.kosli . Flag values are determined in the following order (highest precedence first):
  • command line flags on each executed command.
  • environment variables.
  • custom config file provided with —config-file flag.
  • default config file in $HOME/.kosli
You can configure global Kosli flags (the ones that apply to all/most commands) using their dedicated convenience flags (e.g. —org). API tokens are stored in the suitable credentials manager on your machine. Other Kosli flags can be configured using the —set flag which takes a comma-separated list of key=value pairs. Keys correspond to the specific flag name, capitalized. For instance: —flow would be set using —set FLOW=value

Flags

Flags inherited from parent commands

Examples Use Cases

These examples all assume that the flags --api-token, --org, --host, (and --flow, --trail when required), are set/provided.
Last modified on July 21, 2026