MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / helpless_subcmd_func

Method helpless_subcmd_func

tests/test_argparse.py:367–369  ·  view source on GitHub ↗
(self, args: argparse.Namespace)

Source from the content-addressed store, hash-verified

365 "test_subcmd_decorator", "helpless_subcmd", helpless_subcmd_parser, help=helpless_subcmd_parser.description.lower()
366 )
367 def helpless_subcmd_func(self, args: argparse.Namespace) -> None:
368 # Make sure vars(Namespace) works. The way we originally added cmd2_handler to it resulted in a RecursionError.
369 self.poutput(vars(args))
370
371
372@pytest.fixture

Callers

nothing calls this directly

Calls 1

poutputMethod · 0.80

Tested by

no test coverage detected