mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added command line arguments to run tray publisher
This commit is contained in:
parent
96981a05d3
commit
f27d705577
2 changed files with 11 additions and 0 deletions
|
|
@ -42,6 +42,12 @@ def standalonepublisher():
|
|||
PypeCommands().launch_standalone_publisher()
|
||||
|
||||
|
||||
@main.command()
|
||||
def traypublisher():
|
||||
"""Show new OpenPype Standalone publisher UI."""
|
||||
PypeCommands().launch_traypublisher()
|
||||
|
||||
|
||||
@main.command()
|
||||
@click.option("-d", "--debug",
|
||||
is_flag=True, help=("Run pype tray in debug mode"))
|
||||
|
|
|
|||
|
|
@ -80,6 +80,11 @@ class PypeCommands:
|
|||
from openpype.tools import standalonepublish
|
||||
standalonepublish.main()
|
||||
|
||||
@staticmethod
|
||||
def launch_traypublisher():
|
||||
from openpype.tools import traypublisher
|
||||
traypublisher.main()
|
||||
|
||||
@staticmethod
|
||||
def publish(paths, targets=None, gui=False):
|
||||
"""Start headless publishing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue