6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-05 04:48:00 +00:00

Fix autocompletion of "dev exec" command

This commit is contained in:
Régis Behmo 2020-01-07 14:33:55 +01:00
parent 85eeb1065d
commit 5179931c0e

View File

@ -51,6 +51,7 @@ def run(context, edx_platform_path, edx_platform_settings, service, command, arg
@click.command(
help="Exec a command in a running container",
context_settings={"ignore_unknown_options": True},
name="exec",
)
@click.argument("service")
@click.argument("command")
@ -119,6 +120,6 @@ def service_port(service):
dev.add_command(run)
dev.add_command(execute, name="exec")
dev.add_command(execute)
dev.add_command(runserver)
dev.add_command(stop)