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

Method __init__

tests/test_commandset.py:721–722  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

719 """Class for testing usage of `as_subcommand_to` decorator directly in a Cmd2 subclass."""
720
721 def __init__(self, *args, **kwargs) -> None:
722 super().__init__(*args, **kwargs)
723
724 cut_parser = cmd2.Cmd2ArgumentParser()
725 cut_subparsers = cut_parser.add_subparsers(title="item", help="item to cut")

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected