mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
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:
22
cli/root.go
22
cli/root.go
@ -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(),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user