parent
0c884e01cf
commit
84571f1692
4 changed files with 68 additions and 12 deletions
dockge_cli/models
|
@ -34,6 +34,21 @@ cmd_restart = CommandListing(
|
|||
description="Restarts a given stack",
|
||||
)
|
||||
|
||||
cmd_start = CommandListing(
|
||||
command="start",
|
||||
description="Starts a given stack",
|
||||
)
|
||||
|
||||
cmd_stop = CommandListing(
|
||||
command="stop",
|
||||
description="Stops a given stack",
|
||||
)
|
||||
|
||||
cmd_down = CommandListing(
|
||||
command="down",
|
||||
description="Stop & Downs a given stack",
|
||||
)
|
||||
|
||||
cmd_update = CommandListing(
|
||||
command="update",
|
||||
description="Updates a stack",
|
||||
|
@ -54,5 +69,5 @@ cmd_help = CommandListing(
|
|||
description="Displays helping hints for commands",
|
||||
)
|
||||
|
||||
commandlist = [cmd_host, cmd_login, cmd_logout, cmd_list, cmd_restart, cmd_update, cmd_exit, cmd_debug, cmd_help, cmd_status]
|
||||
commandlist = [cmd_host, cmd_login, cmd_logout, cmd_list, cmd_restart, cmd_update, cmd_exit, cmd_debug, cmd_help, cmd_status, cmd_start, cmd_stop, cmd_down]
|
||||
commands = { k.command: k for k in commandlist }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue