mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
print help instead of invokinf 'interactive' command
This commit is contained in:
parent
f51325543a
commit
76f1cbc2e3
1 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,8 @@ def main(ctx):
|
|||
# Default command for headless openpype is 'interactive' command
|
||||
# otherwise 'tray' is used.
|
||||
if os.environ.get("OPENPYPE_HEADLESS_MODE") == "1":
|
||||
ctx.invoke(interactive)
|
||||
print(ctx.get_help())
|
||||
sys.exit(0)
|
||||
else:
|
||||
ctx.invoke(tray)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue