forward force to tray

This commit is contained in:
Jakub Trllo 2024-07-24 17:25:20 +02:00
parent 715f547adf
commit 5d18e69c7a

View file

@ -43,8 +43,8 @@ class AliasedGroup(click.Group):
help="Enable debug") help="Enable debug")
@click.option("--verbose", expose_value=False, @click.option("--verbose", expose_value=False,
help=("Change AYON log level (debug - critical or 0-50)")) help=("Change AYON log level (debug - critical or 0-50)"))
@click.option("--force", is_flag=True, expose_value=False, hidden=True) @click.option("--force", is_flag=True, hidden=True)
def main_cli(ctx): def main_cli(ctx, force):
"""AYON is main command serving as entry point to pipeline system. """AYON is main command serving as entry point to pipeline system.
It wraps different commands together. It wraps different commands together.
@ -56,7 +56,7 @@ def main_cli(ctx):
print(ctx.get_help()) print(ctx.get_help())
sys.exit(0) sys.exit(0)
else: else:
ctx.invoke(tray) ctx.forward(tray)
@main_cli.command() @main_cli.command()