Rename proboctl CLI binary to prb

Shorter CLI name for faster typing. Renames the binary, build targets,
goreleaser config, command examples, and documentation.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-16 15:10:01 +01:00
parent 1f1df63676
commit 7e86d2c89f
30 changed files with 82 additions and 82 deletions

View File

@@ -25,7 +25,7 @@ import (
func NewCmdAuth(f *cmdutil.Factory) *cobra.Command {
cmd := &cobra.Command{
Use: "auth <command>",
Short: "Authenticate proboctl with Probo",
Short: "Authenticate prb with Probo",
}
cmd.AddCommand(login.NewCmdLogin(f))

View File

@@ -34,10 +34,10 @@ func NewCmdLogin(f *cmdutil.Factory) *cobra.Command {
Use: "login",
Short: "Authenticate with a Probo host",
Example: ` # Interactive login (prompts for hostname, token, and org)
proboctl auth login
prb auth login
# Non-interactive login
proboctl auth login --hostname app.getprobo.com --token <token> --org <org-id>`,
prb auth login --hostname app.getprobo.com --token <token> --org <org-id>`,
RunE: func(cmd *cobra.Command, args []string) error {
if f.IOStreams.IsInteractive() {
if flagHost == "" {

View File

@@ -31,10 +31,10 @@ func NewCmdLogout(f *cmdutil.Factory) *cobra.Command {
Use: "logout",
Short: "Log out of a Probo host",
Example: ` # Log out of the active host
proboctl auth logout
prb auth logout
# Log out of a specific host
proboctl auth logout --hostname app.getprobo.com`,
prb auth logout --hostname app.getprobo.com`,
RunE: func(cmd *cobra.Command, args []string) error {
cfg, err := f.Config()
if err != nil {

View File

@@ -27,7 +27,7 @@ func NewCmdStatus(f *cmdutil.Factory) *cobra.Command {
Use: "status",
Short: "View authentication status",
Example: ` # Show all configured hosts and their authentication status
proboctl auth status`,
prb auth status`,
RunE: func(cmd *cobra.Command, args []string) error {
cfg, err := f.Config()
if err != nil {