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

Method __init__

tests/test_commandset.py:391–394  ·  view source on GitHub ↗
(self, dummy)

Source from the content-addressed store, hash-verified

389
390class LoadableBase(cmd2.CommandSet):
391 def __init__(self, dummy) -> None:
392 super().__init__()
393 self._dummy = dummy # prevents autoload
394 self._cut_called = False
395
396 cut_parser = cmd2.Cmd2ArgumentParser()
397 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