CLI Configuration
The prb config commands manage CLI configuration settings. These control how prb interacts with your terminal and external tools.
Configuration keys
Section titled “Configuration keys”| Key | Description |
|---|---|
editor | Text editor for editing operations |
browser | Web browser for prb browse and other URL-opening commands |
pager | Pager for long output (e.g., less) |
prompt | Prompt style |
http_timeout | HTTP request timeout |
Set a value
Section titled “Set a value”prb config set editor vimGet a value
Section titled “Get a value”prb config get editorList all settings
Section titled “List all settings”prb config listOther utility commands
Section titled “Other utility commands”Open Probo in your browser
Section titled “Open Probo in your browser”prb browse| Flag | Description |
|---|---|
--no-browser, -n | Print the URL instead of opening the browser |
--org | Organization ID to open |
Shell completion
Section titled “Shell completion”Generate shell completion scripts for your shell:
prb completion bash # Bashprb completion zsh # Zshprb completion fish # Fishprb completion powershell # PowerShellVersion
Section titled “Version”prb versionRaw GraphQL queries
Section titled “Raw GraphQL queries”Execute raw GraphQL queries against the Probo API:
prb api 'query { organizations { nodes { id name } } }'With variables:
prb api 'query($id: ID!) { organization(id: $id) { name } }' -f id=org_xxx| Flag | Default | Description |
|---|---|---|
-f | — | GraphQL variables as key=value pairs (values parsed as JSON, fallback to string) |
--schema | console | Schema endpoint: console or connect |
Queries can also be piped from stdin:
echo 'query { organizations { nodes { id } } }' | prb api