MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / prepost_hook_two

Method prepost_hook_two

tests/test_plugin.py:45–47  ·  view source on GitHub ↗

Another method used for preloop or postloop hooks

(self)

Source from the content-addressed store, hash-verified

43 self.poutput("one")
44
45 def prepost_hook_two(self) -> None:
46 """Another method used for preloop or postloop hooks"""
47 self.poutput("two")
48
49 def prepost_hook_too_many_parameters(self, param) -> None:
50 """A preloop or postloop hook with too many parameters"""

Callers

nothing calls this directly

Calls 1

poutputMethod · 0.80

Tested by

no test coverage detected