StackPanel

stack config get

Get a configuration value by dot-path

stack config get

Get a value from the stackpanel configuration using a dot-separated path.

Without a path, prints the entire configuration. With a path, traverses into the config and prints the value at that location.

Scalar values (strings, numbers, booleans) are printed raw by default. Objects and arrays are printed as colorized JSON (via jq when available, plain JSON otherwise). Use --json to always get JSON output, or --raw to suppress any formatting.

The lookup is performed directly by Nix evaluation, so only the requested attribute is evaluated — not the entire config tree.

Examples: stack config get # Entire config as JSON stack config get project.name # my-project stack config get apps.web.port # 3000 stack config get apps # { "web": { ... }, ... } stack config get apps.web.port --json # 3000 (as JSON) stack config get project.name --raw # my-project (no quotes)

Usage

stack config get [dot.path]

Flags

FlagTypeDefaultDescription
--jsonboolfalseAlways output as JSON
--rawboolfalseOutput raw value (strip quotes from strings)
--timeout, -tduration30sNix evaluation timeout

Global Flags

These flags are inherited from parent commands.

FlagTypeDefaultDescription
--daemon, -dboolfalseRun in daemon mode (no TUI, for background processes)
--no-colorboolfalseDisable color output
--no-tuiboolfalseDisable interactive TUI mode
--verbose, -vboolfalseEnable verbose output

On this page