Returns current command for the purpose of generating help text.
(trace=None, include_separators=True)
| 403 | |
| 404 | |
| 405 | def _GetCurrentCommand(trace=None, include_separators=True): |
| 406 | """Returns current command for the purpose of generating help text.""" |
| 407 | if trace: |
| 408 | current_command = trace.GetCommand(include_separators=include_separators) |
| 409 | else: |
| 410 | current_command = '' |
| 411 | return current_command |
| 412 | |
| 413 | |
| 414 | def _CreateOutputSection(name: str, content: str) -> str: |
no test coverage detected