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

Method __init__

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

Source from the content-addressed store, hash-verified

686
687 class BadNestedSubcommands(cmd2.CommandSet):
688 def __init__(self, dummy) -> None:
689 super().__init__()
690 self._dummy = dummy # prevents autoload
691
692 stir_pasta_vigor_parser = cmd2.Cmd2ArgumentParser()
693 stir_pasta_vigor_parser.add_argument("frequency")

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected