feat: cli: consolidate schedule-related commands (#2402)

* feat: cli: consolidate schedule-related commands

This commit makes the following changes:
- renames autostart -> schedule starat
- renames ttl -> schedule stop
- renames bump -> schedule override
- adds schedule show command
- moves some cli-related stuff to util.go
This commit is contained in:
Cian Johnston
2022-06-16 18:24:10 +01:00
committed by GitHub
parent c36b0d892b
commit c9691eafcb
17 changed files with 930 additions and 1091 deletions
+1 -3
View File
@@ -65,8 +65,6 @@ func Root() *cobra.Command {
}
cmd.AddCommand(
autostart(),
bump(),
configSSH(),
create(),
delete(),
@@ -77,6 +75,7 @@ func Root() *cobra.Command {
logout(),
publickey(),
resetPassword(),
schedules(),
server(),
show(),
start(),
@@ -84,7 +83,6 @@ func Root() *cobra.Command {
stop(),
ssh(),
templates(),
ttl(),
update(),
users(),
portForward(),