MCPcopy Create free account
hub / github.com/ipython/traitlets / print_help

Method print_help

traitlets/config/application.py:629–634  ·  view source on GitHub ↗

Print the help for each Configurable class in self.classes. If classes=False (the default), only flags and aliases are printed.

(self, classes: bool = False)

Source from the content-addressed store, hash-verified

627 yield ""
628
629 def print_help(self, classes: bool = False) -> None:
630 """Print the help for each Configurable class in self.classes.
631
632 If classes=False (the default), only flags and aliases are printed.
633 """
634 print("\n".join(self.emit_help(classes=classes)))
635
636 def emit_help(self, classes: bool = False) -> t.Generator[str, None, None]:
637 """Yield the help-lines for each Configurable class in self.classes.

Callers 1

parse_command_lineMethod · 0.95

Calls 1

emit_helpMethod · 0.95

Tested by

no test coverage detected