Refactored command registration

This commit is contained in:
jpk 2023-01-16 16:30:46 +01:00
parent 766cb74974
commit 8a30974d57
1 changed files with 3 additions and 5 deletions

View File

@ -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)