MCPcopy Create free account
hub / github.com/python-cmd2/cmd2 / __init__

Method __init__

tests/test_cmd2.py:3612–3613  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3610 """Example cmd2 application where we can specify an exit code when existing."""
3611
3612 def __init__(self) -> None:
3613 super().__init__(allow_cli_args=False)
3614
3615 @cmd2.with_argument_list
3616 def do_exit(self, arg_list) -> bool:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected