Beispiel #1
0
 def _create_operation_parser(self, parameter_table):
     """
     This creates the OperationArgParser for the command.  It adds
     an extra argument to the parser, paths, which represents a required
     the number of positional argument that must follow the command's name.
     """
     parser = OperationArgParser(parameter_table, self._name)
     parser.add_argument("paths", **self.options)
     return parser
Beispiel #2
0
 def _create_operation_parser(self, parameter_table):
     """
     This creates the OperationArgParser for the command.  It adds
     an extra argument to the parser, paths, which represents a required
     the number of positional argument that must follow the command's name.
     """
     parser = OperationArgParser(parameter_table, self._name)
     parser.add_argument("paths", **self.options)
     return parser
Beispiel #3
0
 def _create_operation_parser(self, arg_table):
     parser = OperationArgParser(arg_table, self._name)
     return parser