MCPcopy Index your code
hub / github.com/aws/aws-cli / _raise_usage_error

Method _raise_usage_error

awscli/customizations/commands.py:326–332  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

324 self._lineage = value
325
326 def _raise_usage_error(self):
327 lineage = ' '.join([c.name for c in self.lineage])
328 error_msg = (
329 f"usage: aws [options] {lineage} <subcommand> "
330 "[parameters]\naws: [ERROR]: too few arguments"
331 )
332 raise ParamValidationError(error_msg)
333
334 def _add_customization_to_user_agent(self):
335 add_command_lineage_to_user_agent_extra(

Callers 7

_run_mainMethod · 0.80
_run_mainMethod · 0.80
_run_mainMethod · 0.80
_run_mainMethod · 0.80
_run_mainMethod · 0.80
_run_mainMethod · 0.80
_run_mainMethod · 0.80

Calls 1

Tested by

no test coverage detected