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

      --color                   Enable colored log output (auto-disabled when using --logfile) (default true)
      --config string           Config file path. Example: ~/.config/pipeleek/pipeleek.yaml
      --http-timeout duration   HTTP request timeout, e.g. 30s or 2m (default: no timeout)
      --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
      --proxy string            Proxy URL, e.g. http://127.0.0.1:8080 or socks5://127.0.0.1:1080 (takes precedence over HTTP_PROXY)
      --tls-verification        Enable TLS certificate verification (by default verification is skipped to support self-signed certificates)
  -v, --verbose                 Enable debug logging (shortcut for --log-level=debug)

SEE ALSO