prb resource-alias command reference
Reference for 3 commands under prb resource-alias, including usage, flag types and defaults, required flags, source examples, and implementation links
Manage resource aliases. This page documents 3 commands under prb resource-alias.
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 resource-alias | Manage resource aliases. | prb resource-alias <command> | View implementation |
prb resource-alias remove | Remove a resource alias. | prb resource-alias remove <resource-id> | View implementation |
prb resource-alias set | Set a resource alias. | prb resource-alias set | View implementation |
prb resource-alias
Section titled “prb resource-alias”Manage resource aliases.
prb resource-alias <command>prb resource-alias remove
Section titled “prb resource-alias remove”Remove a resource alias.
prb resource-alias remove <resource-id>Requires 1 positional argument.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--yes, -y | boolean | false | — | Skip confirmation prompt |
prb resource-alias set
Section titled “prb resource-alias set”Set a resource alias.
prb resource-alias set| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--alias | string | "" | — | Human-readable alias slug |
--resource-id | string | "" | — | ID of the resource to alias |
Examples
Section titled “Examples”# Set an alias interactivelyprb resource-alias set --resource-id prbdoc_...
# Set an alias non-interactivelyprb resource-alias set --resource-id prbdoc_... --alias privacy-policy