tik_manager4.core.cli

Attributes

feedback

Classes

FeedbackCLI

Module Contents

class FeedbackCLI(**kwargs)
pop_info(title: str = 'Info', text: str = '', details: str = '', critical: bool = False, button_label: str | None = None, modal: bool = True, on_close: Callable[[int], None] | None = None) int

Shows an informational message in the terminal.

pop_question(title: str = 'Question', text: str = '', details: str = '', buttons: List[str] | None = None, modal: bool = True) str | None

Asks a question via CLI with configurable buttons.

style_button(button, height: int = 30, width: int = 100, label: str | None = None)

CLI version does not require button styling.

feedback