Skip to main content
Version: v3.x

DDN CLI: ddn context set-current-context

Set the current context.

Synopsis

Set the current context

ddn context set-current-context <name> [flags]

Examples

# Set current context to 'default'
ddn context set-current-context default

Options

-h, --help   help for set-current-context

Options inherited from parent operations

--log-level string   Log level. Can be DEBUG, WARN, INFO, ERROR, or FATAL. (default "INFO")
--no-prompt Do not prompt for required but missing flags
--out string Output format. Can be table, json or yaml. (default "table")
--timeout int Request timeout in seconds [env: HASURA_DDN_TIMEOUT] (default 100)

Parent operation