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

Method __init__

tests/test_cmd2.py:1982–1983  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1980
1981class CommandResultApp(cmd2.Cmd):
1982 def __init__(self, *args, **kwargs) -> None:
1983 super().__init__(*args, **kwargs)
1984
1985 def do_affirmative(self, arg) -> None:
1986 self.last_result = cmd2.CommandResult(arg, data=True)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected