INNER CODE UNIT · Python

_render_rich

Priivacy-ai/spec-kitty · src/specify_cli/retrospective/cli.py:70

def _render_rich(
    snapshot: SummarySnapshot,
    *,
    include_malformed: bool = False,
) -> None:
    """Render the SummarySnapshot as Rich output (informationally equiv to JSON)."""
    _console.print(
        Panel(
            "[bold cyan]Cross-Mission Retrospective Summary[/bold cyan]",
            expand=False,
        )
    )

    # --- Counts section ---
    counts_table = Table(title="Counts", show_header=True, header_style="bold")
    counts_table.add_column("Category")
    counts_table.add_column("Count", justify="right")
    counts_table.add_row("mission_count", str(snapshot.mission_count))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…