Home | History | Annotate | Download | only in gslib

Lines Matching refs:command_name

131     """Returns dict mapping each command_name to implementing class."""
139 command_map[command.command_spec.command_name] = command
188 command.command_spec.command_name, add_help=False)
201 def RunNamedCommand(self, command_name, args=None, headers=None, debug=0,
210 command_name: The name of the command being run.
229 self.MaybeCheckForAndOfferSoftwareUpdate(command_name, debug)):
230 command_name = 'update'
243 if command_name not in self.command_map:
245 command_name, self.command_map.keys(), n=1)
253 elif command_name == 'update' and gslib.IS_PACKAGE_INSTALL:
258 raise CommandException('Invalid command "%s".' % command_name)
260 new_args = [command_name]
261 original_command_class = self.command_map[command_name]
268 command_name = 'help'
272 command_class = self.command_map[command_name]
276 logging_filters, command_alias_used=command_name)
292 def MaybeCheckForAndOfferSoftwareUpdate(self, command_name, debug):
299 command_name: The name of the command being run.
326 or command_name in ('config', 'update', 'ver', 'version')