fix: Unnest workspaces command to the top-level (#1241)

This changes all "coder workspace *" commands to root.
A few of these were already at the root, like SSH. The
inconsistency made for a confusing experience.
This commit is contained in:
Kyle Carberry
2022-05-02 11:08:52 -05:00
committed by GitHub
parent 252d868298
commit c2b5009208
20 changed files with 76 additions and 125 deletions

View File

@ -67,17 +67,25 @@ func Root() *cobra.Command {
cmd.SetVersionTemplate(versionTemplate())
cmd.AddCommand(
autostart(),
autostop(),
configSSH(),
server(),
create(),
delete(),
gitssh(),
list(),
login(),
parameters(),
templates(),
users(),
workspaces(),
ssh(),
workspaceTunnel(),
gitssh(),
publickey(),
server(),
show(),
start(),
stop(),
ssh(),
templates(),
update(),
users(),
tunnel(),
workspaceAgent(),
)