Skip to content

Commit 8db4a51

Browse files
Remove status command
- Remove status import and registration from cmd.go - Delete pkg/cmd/status directory and all related files - Status command was identified as an additional removal request This further streamlines the CLI by removing the instance status functionality that was redundant with other status checking methods. Co-Authored-By: Alec Fong <[email protected]>
1 parent b648008 commit 8db4a51

File tree

4 files changed

+0
-332
lines changed

4 files changed

+0
-332
lines changed

pkg/cmd/cmd.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import (
2929
"github.com/brevdev/brev-cli/pkg/cmd/shell"
3030
"github.com/brevdev/brev-cli/pkg/cmd/sshkeys"
3131
"github.com/brevdev/brev-cli/pkg/cmd/start"
32-
"github.com/brevdev/brev-cli/pkg/cmd/status"
3332
"github.com/brevdev/brev-cli/pkg/cmd/stop"
3433
"github.com/brevdev/brev-cli/pkg/cmd/tasks"
3534
"github.com/brevdev/brev-cli/pkg/cmd/version"
@@ -232,7 +231,6 @@ func createCmdTree(cmd *cobra.Command, t *terminal.Terminal, loginCmdStore *stor
232231
cmd.AddCommand(shell.NewCmdShell(t, loginCmdStore, noLoginCmdStore))
233232
cmd.AddCommand(copy.NewCmdCopy(t, loginCmdStore, noLoginCmdStore))
234233
cmd.AddCommand(open.NewCmdOpen(t, loginCmdStore, noLoginCmdStore))
235-
cmd.AddCommand(status.NewCmdStatus(t, loginCmdStore))
236234
cmd.AddCommand(sshkeys.NewCmdSSHKeys(t, loginCmdStore))
237235
cmd.AddCommand(start.NewCmdStart(t, loginCmdStore, noLoginCmdStore))
238236
cmd.AddCommand(create.NewCmdCreate(t, loginCmdStore))

pkg/cmd/status/doc.md

Lines changed: 0 additions & 268 deletions
This file was deleted.

pkg/cmd/status/status.go

Lines changed: 0 additions & 61 deletions
This file was deleted.

pkg/cmd/status/status_test.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)