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

Class Cmd2SimpleTable

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

A clean, lightweight Rich Table tailored for cmd2's internal use.

Source from the content-addressed store, hash-verified

625
626
627class Cmd2SimpleTable(Table):
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 3

do_setMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…