mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 06:37:46 +00:00
Fix autocompletion of "dev exec" command
This commit is contained in:
parent
85eeb1065d
commit
5179931c0e
@ -51,6 +51,7 @@ def run(context, edx_platform_path, edx_platform_settings, service, command, arg
|
|||||||
@click.command(
|
@click.command(
|
||||||
help="Exec a command in a running container",
|
help="Exec a command in a running container",
|
||||||
context_settings={"ignore_unknown_options": True},
|
context_settings={"ignore_unknown_options": True},
|
||||||
|
name="exec",
|
||||||
)
|
)
|
||||||
@click.argument("service")
|
@click.argument("service")
|
||||||
@click.argument("command")
|
@click.argument("command")
|
||||||
@ -119,6 +120,6 @@ def service_port(service):
|
|||||||
|
|
||||||
|
|
||||||
dev.add_command(run)
|
dev.add_command(run)
|
||||||
dev.add_command(execute, name="exec")
|
dev.add_command(execute)
|
||||||
dev.add_command(runserver)
|
dev.add_command(runserver)
|
||||||
dev.add_command(stop)
|
dev.add_command(stop)
|
||||||
|
Loading…
Reference in New Issue
Block a user