|
@@ -37,6 +37,7 @@ from .jail import command_jail_create, \ |
|
|
from .compose import \
|
|
|
from .compose import \
|
|
|
command_compose_build, \
|
|
|
command_compose_build, \
|
|
|
command_compose_run
|
|
|
command_compose_run
|
|
|
|
|
|
from .bootstrap import command_bootstrap
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ListForwarderFunctor(object):
|
|
|
class ListForwarderFunctor(object):
|
|
@@ -71,6 +72,9 @@ def create_parser(): |
|
|
subparsers_top = parser_top.add_subparsers(dest='L1_command')
|
|
|
subparsers_top = parser_top.add_subparsers(dest='L1_command')
|
|
|
subparsers_top.required = True
|
|
|
subparsers_top.required = True
|
|
|
|
|
|
|
|
|
|
|
|
parser = ListForwarder([subparsers_top.add_parser(cmd) for cmd in ['bootstrap', 'boot', 'bs']])
|
|
|
|
|
|
parser.set_defaults(func=command_bootstrap)
|
|
|
|
|
|
|
|
|
# image
|
|
|
# image
|
|
|
subparsers = ListForwarder([ subparsers_top.add_parser(cmd).add_subparsers(dest='L2_command') \
|
|
|
subparsers = ListForwarder([ subparsers_top.add_parser(cmd).add_subparsers(dest='L2_command') \
|
|
|
for cmd in ['image', 'ima', 'img', 'im', 'i'] ])
|
|
|
for cmd in ['image', 'ima', 'img', 'im', 'i'] ])
|
|
|