prb config command reference
Reference for 4 commands under prb config, including usage, flag types and defaults, required flags, source examples, and implementation links
Manage configuration for prb. This page documents 4 commands under prb config.
Flags and examples below come from the command definitions. A Required flag is explicitly marked required by Cobra; an unmarked flag can still be needed by runtime validation or a non-interactive workflow. Empty strings and empty lists are registered defaults, not sample values.
Every command also inherits the global flags. Run prb <command> --help to check your installed version. Replace placeholder IDs and names in source examples before running them. Return to the complete CLI command reference to browse another command.
Commands
Section titled “Commands”| Command | Description | Usage | Source |
|---|---|---|---|
prb config | Manage configuration for prb. | prb config <command> | View implementation |
prb config get | Print the value of a given configuration key. | prb config get <key> | View implementation |
prb config list | Print a list of configuration keys and values. | prb config list | View implementation |
prb config set | Update configuration with a value for the given key. | prb config set <key> <value> | View implementation |
prb config
Section titled “prb config”Manage configuration for prb.
prb config <command>prb config get
Section titled “prb config get”Print the value of a given configuration key.
prb config get <key>Requires 1 positional argument.
Additional help
Section titled “Additional help”Print the value of a given configuration key.
Available keys: editor, browser, pager, prompt, http_timeoutExamples
Section titled “Examples”# Get the configured editorprb config get editor
# Get the HTTP timeoutprb config get http_timeoutprb config list
Section titled “prb config list”Print a list of configuration keys and values.
prb config listAccepts no positional arguments.
prb config set
Section titled “prb config set”Update configuration with a value for the given key.
prb config set <key> <value>Requires 2 positional arguments.
Additional help
Section titled “Additional help”Update configuration with a value for the given key.
Available keys: editor, browser, pager, prompt, http_timeoutExamples
Section titled “Examples”# Set the default editorprb config set editor vim
# Set the HTTP timeout to 60 secondsprb config set http_timeout 60s
# Disable interactive promptsprb config set prompt disabled