orca/scripts/orca.py

16 lines
337 B
Python
Raw Normal View History

#!/usr/bin/env python3
import argparse
2023-07-29 20:11:20 +00:00
from .bundle import attach_bundle_commands
from .dev import attach_dev_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_dev_commands(subparsers)
args = parser.parse_args()
args.func(args)