Skip to content

Set

pipeleek config set

Set a configuration value

Synopsis

Set a configuration value in the config file by dotted key path. The value is parsed as YAML, allowing you to set strings, numbers, booleans, arrays, and objects. Intermediate objects in the key path are created automatically if they don't exist.

Examples of value formats: pipeleek config set common.threads 8 pipeleek config set gitlab.url https://gitlab.example.com pipeleek config set common.trufflehog_verification true pipeleek config set gitlab.runners.exploit.tags '[docker, linux]'

pipeleek config set <key.id> <value> [flags]

Examples

# Set a scalar string
pipeleek config set gitlab.url https://gitlab.example.com

# Set a number
pipeleek config set common.threads 16

# Set a boolean
pipeleek config set common.trufflehog_verification false

# Set an array
pipeleek config set gitlab.runners.exploit.tags '[docker, linux]'

# Set a nested object (advanced)
pipeleek config set gitlab.runners '{exploit: {tags: [docker]}}'

Options

  -h, --help   help for set

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