Skip to main content
Version: v3.x

DDN CLI: ddn context get

Get the value of a key in the context.

Synopsis

Get the value of a key in the context

ddn context get <key> (Allowed keys: project, supergraph, subgraph, localEnvFile, cloudEnvFile) [flags]

Examples

# Get the Project name set in the context
ddn context get project

# Get the Supergraph config file path set in the context
ddn context get supergraph

Options

-c, --context string   Name of the context to use. (default <current_context>)
-h, --help help for get

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

Loading...