Skip to content

Commit ce3d799

Browse files
committed
Hide internal commands and update workspace to instance in help text
1 parent b247cd6 commit ce3d799

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

pkg/cmd/background/background.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type BackgroundStore interface {
3030

3131
func NewCmdBackground(t *terminal.Terminal, s BackgroundStore) *cobra.Command {
3232
cmd := &cobra.Command{
33-
Annotations: map[string]string{"workspace": ""},
33+
Annotations: map[string]string{"hidden": ""},
3434
Use: "background [flags] [command]",
3535
Aliases: []string{"bg"},
3636
DisableFlagsInUseLine: true,

pkg/cmd/cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,14 +418,14 @@ Examples:
418418
419419
{{- if hasWorkspaceCommands . }}
420420
421-
Workspace Commands:
421+
Instance Commands:
422422
{{- range workspaceCommands . }}
423423
{{rpad .Name .NamePadding }} {{.Short}}
424424
{{- end}}{{- end}}
425425
426426
{{- if hasAccessCommands . }}
427427
428-
Workspace Access:
428+
Instance Access:
429429
{{- range accessCommands . }}
430430
{{rpad .Name .NamePadding }} {{.Short}}
431431
{{- end}}{{- end}}

pkg/cmd/configureenvvars/configureenvvars.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type ConfigureEnvVarsStore interface {
2626

2727
func NewCmdConfigureEnvVars(_ *terminal.Terminal, cevStore ConfigureEnvVarsStore) *cobra.Command {
2828
cmd := &cobra.Command{
29-
Annotations: map[string]string{"configuration": ""},
29+
Annotations: map[string]string{"hidden": ""},
3030
Use: "configure-env-vars",
3131
DisableFlagsInUseLine: true,
3232
Short: "Configure environment variables in supported shells",

pkg/cmd/importideconfig/importideconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type ImportIDEConfigStore interface {
3131

3232
func NewCmdImportIDEConfig(t *terminal.Terminal, s ImportIDEConfigStore) *cobra.Command {
3333
cmd := &cobra.Command{
34-
Annotations: map[string]string{"configuration": ""},
34+
Annotations: map[string]string{"hidden": ""},
3535
Use: "import-ide-config",
3636
DisableFlagsInUseLine: true,
3737
Short: "Import your IDE config",

pkg/cmd/runtasks/runtasks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func NewCmdRunTasks(t *terminal.Terminal, store RunTasksStore) *cobra.Command {
2222
var runRemoteCMD bool
2323

2424
cmd := &cobra.Command{
25-
Annotations: map[string]string{"configuration": ""},
25+
Annotations: map[string]string{"hidden": ""},
2626
Use: "run-tasks",
2727
DisableFlagsInUseLine: true,
2828
Short: "Run background tasks for Brev",

0 commit comments

Comments
 (0)