yera.console.panels

Lifecycle panels: startup, app, and exit panels for the CLI console.

Symbols

def app_panel — Yellow panel showing the active app name and identifier.
def exit_panel — Cyan (success) or red (failure) panel with exit code, reason, return value, run time.
def startup_panel — Cyan panel with run start time and top-level app name.

app_panel

app_panel(
    app_id: str,
) → Panel

Yellow panel showing the active app name and identifier.

exit_panel

exit_panel(
    exit_data: ExitEventData,
    run_time_seconds: float,
    failing_app_name: str | None,
) → Panel

Cyan (success) or red (failure) panel with exit code, reason, return value, run time.

startup_panel

startup_panel(
    start_time: datetime,
    top_level_app_name: str | None = None,
) → Panel

Cyan panel with run start time and top-level app name.