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

Method base_foo

tests/test_argparse.py:310–312  ·  view source on GitHub ↗

Foo subcommand of base command

(self, args)

Source from the content-addressed store, hash-verified

308
309 # subcommand functions for the base command
310 def base_foo(self, args) -> None:
311 """Foo subcommand of base command"""
312 self.poutput(args.x * args.y)
313
314 def base_bar(self, args) -> None:
315 """Bar subcommand of base command"""

Callers

nothing calls this directly

Calls 1

poutputMethod · 0.80

Tested by

no test coverage detected