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:
@@ -66,7 +66,7 @@ func NewCmdCreate(f *cmdutil.Factory) *cobra.Command {
|
||||
Use: "create",
|
||||
Short: "Create a new control",
|
||||
Example: ` # Create a control
|
||||
proboctl control create --framework FW_ID --section-title "A.5" --name "Information security policies"`,
|
||||
prb control create --framework FW_ID --section-title "A.5" --name "Information security policies"`,
|
||||
Args: cobra.NoArgs,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
cfg, err := f.Config()
|
||||
|
||||
@@ -72,10 +72,10 @@ func NewCmdList(f *cmdutil.Factory) *cobra.Command {
|
||||
Short: "List controls in a framework",
|
||||
Aliases: []string{"ls"},
|
||||
Example: ` # List controls in a framework
|
||||
proboctl control list --framework <framework-id>
|
||||
prb control list --framework <framework-id>
|
||||
|
||||
# Filter and output as JSON
|
||||
proboctl control ls --framework <framework-id> --filter "access" --json`,
|
||||
prb control ls --framework <framework-id> --filter "access" --json`,
|
||||
Args: cobra.NoArgs,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
if err := cmdutil.ValidateOutputFlag(flagOutput); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user