2023-07-07 16:25:49 +00:00
|
|
|
#!/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
|
2023-07-07 16:25:49 +00:00
|
|
|
|
|
|
|
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)
|
2023-07-07 16:25:49 +00:00
|
|
|
|
|
|
|
args = parser.parse_args()
|
|
|
|
args.func(args)
|