Skip to content

Suggested searches

    Search all documentation ↑↓ to navigate Enter to open Esc to close

    prb config command reference

    Reference for 4 commands under prb config, including usage, flag types and defaults, required flags, source examples, and implementation links

    Markdown

    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.

    CommandDescriptionUsageSource
    prb configManage configuration for prb.prb config <command>View implementation
    prb config getPrint the value of a given configuration key.prb config get <key>View implementation
    prb config listPrint a list of configuration keys and values.prb config listView implementation
    prb config setUpdate configuration with a value for the given key.prb config set <key> <value>View implementation

    Manage configuration for prb.

    prb config <command>

    View command implementation.

    Print the value of a given configuration key.

    prb config get <key>

    Requires 1 positional argument.

    Print the value of a given configuration key.
    Available keys: editor, browser, pager, prompt, http_timeout
    Terminal window
    # Get the configured editor
    prb config get editor
    # Get the HTTP timeout
    prb config get http_timeout

    View command implementation.

    Print a list of configuration keys and values.

    prb config list

    Accepts no positional arguments.

    View command implementation.

    Update configuration with a value for the given key.

    prb config set <key> <value>

    Requires 2 positional arguments.

    Update configuration with a value for the given key.
    Available keys: editor, browser, pager, prompt, http_timeout
    Terminal window
    # Set the default editor
    prb config set editor vim
    # Set the HTTP timeout to 60 seconds
    prb config set http_timeout 60s
    # Disable interactive prompts
    prb config set prompt disabled

    View command implementation.