MCPcopy
hub / github.com/google/python-fire / _Help

Method _Help

fire/console/console_pager.py:159–167  ·  view source on GitHub ↗

Print command help and wait for any character to continue.

(self)

Source from the content-addressed store, hash-verified

157 return 'n'
158
159 def _Help(self):
160 """Print command help and wait for any character to continue."""
161 clear = self._height - (len(self.HELP_TEXT) -
162 len(self.HELP_TEXT.replace('\n', '')))
163 if clear > 0:
164 self._Write('\n' * clear)
165 self._Write(self.HELP_TEXT)
166 self._attr.GetRawKey()
167 self._Write('\n')
168
169 def Run(self):
170 """Run the pager."""

Callers 1

RunMethod · 0.95

Calls 2

_WriteMethod · 0.95
GetRawKeyMethod · 0.80

Tested by

no test coverage detected