dtkt config get

Command

Get a configuration. If no name is specified, get the active configuration.

Usage

dtkt config get [NAME] [flags]

Aliases

g, describe, desc, show, info

Flags

FieldDefaultUsage
--compact, -cfalse

Compact output (no extra whitespace).

--expr

CEL expression to filter/transform output data.

--help, -hfalse

Show help for the get command.

--output-delim

Output delimiter when streaming, format-specific defaults: (json: "\n", yaml: "---\n").

--output-file, -wstdout

Output file: (PATH|stdout|stderr).

--output-format, -opretty

Output format: [pretty | json | yaml | go-template].

--output-streamfalse

Encode output list as stream of individual items.

--rawfalse

Raw output (unquoted when output is a single string).

--redactfalse

Redact sensitive data from output.

--template

Template string; when set, output format go-template is implied.

--template-file

Template file path; when set, output format go-template is implied.

Inherited Flags

FieldDefaultUsage
--accept-legal-noticesfalse

Accept legal notices (license).

--cloudfalse

Overrides the contexts to cloud; equivalent to --contexts=cloud.

--cloud-org

Cloud Organization by (UID|NAME).

--cloud-space

Cloud Space by (UID|NAME).

--config

The active configuration name to override.

--contexts[]

Overrides any current contexts from config.

--localfalse

Overrides the contexts to local; equivalent to --contexts=local.

--log-formatpretty

Log format: (text|json|pretty).

--log-levelinfo

Log level: (debug|info|warn|error).

--non-interactivefalse

Run in non-interactive mode.

--remotefalse

Overrides the contexts to the configured remote.

Parent Command

dtkt config