Refactored command registration
This commit is contained in:
parent
766cb74974
commit
8a30974d57
|
@ -115,8 +115,6 @@ def status(ctx, service):
|
|||
services.docker_compose_command(command, compose_file)
|
||||
|
||||
|
||||
main.add_command(list)
|
||||
main.add_command(edit)
|
||||
main.add_command(control)
|
||||
main.add_command(update)
|
||||
main.add_command(status)
|
||||
availble_commands = (list, edit, control, update, status)
|
||||
for command in availble_commands:
|
||||
main.add_command(command)
|
||||
|
|
Loading…
Reference in New Issue