mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
global: ocio script simplification
This commit is contained in:
parent
f350d6b78a
commit
04d12cf111
1 changed files with 6 additions and 7 deletions
|
|
@ -5,6 +5,11 @@ import PyOpenColorIO as ocio
|
|||
|
||||
|
||||
@click.group()
|
||||
def main():
|
||||
pass
|
||||
|
||||
|
||||
@main.group()
|
||||
def config():
|
||||
pass
|
||||
|
||||
|
|
@ -42,11 +47,5 @@ def get_colorspace(in_path, out_path):
|
|||
print(f"Data are saved to '{json_path}'")
|
||||
|
||||
|
||||
@click.group()
|
||||
def cli():
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
cli.add_command(config)
|
||||
cli()
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue