orca/scripts/orca.py

16 lines
347 B
Python
Raw Normal View History

#!/usr/bin/env python3
import argparse
2023-07-27 02:28:39 +00:00
from bundle import attach_bundle_commands
from runtime import attach_runtime_commands
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers(required=True, title='commands')
2023-07-27 02:28:39 +00:00
attach_bundle_commands(subparsers)
attach_runtime_commands(subparsers)
args = parser.parse_args()
args.func(args)