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

Method do_test_argparse_ns

tests/test_argparse.py:68–69  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

66
67 @cmd2.with_argparser(cmd2.Cmd2ArgumentParser(), ns_provider=namespace_provider)
68 def do_test_argparse_ns(self, args) -> None:
69 self.stdout.write(f"{args.custom_stuff}")
70
71 @cmd2.with_argument_list
72 def do_arglist(self, arglist, *, keyword_arg: str | None = None) -> None:

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected