예제 #1
0
 def add_arguments(self, parser, cli_name):
     add_arguments(parser)
     arg = parser.add_argument('controller_name',
                               help='Name of the controller')
     arg.completer = ControllerNameCompleter()
     arg = parser.add_argument(
         '--state',
         choices=['configure', 'start'],
         help='Set the state of the loaded controller')
     add_controller_mgr_parsers(parser)
예제 #2
0
 def add_arguments(self, parser, cli_name):
     add_arguments(parser)
     arg = parser.add_argument('controller_name', help='Name of the controller')
     arg.completer = ControllerNameCompleter()
     add_controller_mgr_parsers(parser)