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

Method prepost_hook_one

tests/test_plugin.py:41–43  ·  view source on GitHub ↗

Method used for preloop or postloop hooks

(self)

Source from the content-addressed store, hash-verified

39 #
40 ###
41 def prepost_hook_one(self) -> None:
42 """Method used for preloop or postloop hooks"""
43 self.poutput("one")
44
45 def prepost_hook_two(self) -> None:
46 """Another method used for preloop or postloop hooks"""

Callers

nothing calls this directly

Calls 1

poutputMethod · 0.80

Tested by

no test coverage detected