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

Method __init__

tests/test_commandset.py:831–833  ·  view source on GitHub ↗

Dummy variable prevents this from being autoloaded in other tests

(self, dummy)

Source from the content-addressed store, hash-verified

829 """A CommandSet that isn't related to SupportFuncProvider which uses its support function"""
830
831 def __init__(self, dummy) -> None:
832 """Dummy variable prevents this from being autoloaded in other tests"""
833 super().__init__()
834
835 parser = cmd2.Cmd2ArgumentParser()
836 parser.add_argument("state", type=str, completer=SupportFuncProvider.complete_states)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected