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

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