Skip to content

Get

pipeleek config get

Get a configuration value

Synopsis

Get a configuration value from the current config file by dotted key path. If the key is a leaf value (scalar), it will be printed as-is. If the key is an object or array, it will be formatted as YAML. If no key is specified, returns the entire configuration.

pipeleek config get <key.id> [flags]

Examples

# Get a scalar value
pipeleek config get gitlab.url

# Get an entire section
pipeleek config get gitlab

# Get a nested value
pipeleek config get gitlab.runners.exploit.tags

# Get the entire configuration
pipeleek config get

Options

  -h, --help   help for get

Options inherited from parent commands

1
2
3
4
5
6
7
      --color              Enable colored log output (auto-disabled when using --logfile) (default true)
      --config string      Config file path. Example: ~/.config/pipeleek/pipeleek.yaml
      --ignore-proxy       Ignore HTTP_PROXY environment variable
      --json               Use JSON as log output format
      --log-level string   Set log level globally (debug, info, warn, error). Example: --log-level=warn
  -l, --logfile string     Log output to a file
  -v, --verbose            Enable debug logging (shortcut for --log-level=debug)

SEE ALSO