Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.33 KB

File metadata and controls

54 lines (40 loc) · 1.33 KB
sidebar_label ddn context get
sidebar_position 55
description Get the value of a key in the context using the DDN CLI
canonicalUrl https://promptql.io/docs/reference/cli/commands/ddn_context_get
keywords
hasura
DDN
docs
CLI
ddn context get

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: noBuildConnectors, project, supergraph, subgraph, localEnvFile, cloudEnvFile, selfHostedDataPlane) [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