Skip to content

scripts.panel

Full path: schola.scripts.panel

schola.scripts.panel

Lightweight panel printing utilities for CLI scripts.

Provides simple helpers to present messages (info / warning / error) using Cyclopts’ rich panel integration. This module intentionally excludes any exception hooking or context manager capture logic; scripts should decide how exceptions are handled explicitly.

Functions

ItemDescription
print_error(message)Print an error panel and terminate with exit code 1.
print_info(message)
print_panel(message, *[, title, style])Print a panel with the given message and style.
print_warning(message)