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

Method __init__

cmd2/rich_utils.py:630–637  ·  view source on GitHub ↗

Cmd2SimpleTable initializer.

(self, *headers: Column | str)

Source from the content-addressed store, hash-verified

628 """A clean, lightweight Rich Table tailored for cmd2's internal use."""
629
630 def __init__(self, *headers: Column | str) -> None:
631 """Cmd2SimpleTable initializer."""
632 super().__init__(
633 *headers,
634 box=SIMPLE_HEAD,
635 show_edge=False,
636 border_style=Cmd2Style.TABLE_BORDER,
637 )
638
639
640def console_width() -> int:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected