API Reference Alaja v#2.2.0

Copy Markdown View Source

Modules

Public facade for the Alaja terminal rendering framework.

Pure ANSI escape code generators.

2D grid of cells for rendering terminal content.

Entry point for the Alaja command-line interface.

alaja action — Execute Alaja commands from JSON input.

alaja color — Color analysis, harmonies, conversions, and tone manipulation.

alaja config — Manage Alaja configuration and themes.

alaja animate — Display animated spinners and indicators.

alaja animated-bar — Display animated progress bar.

alaja ask — Ask an interactive question.

alaja bar — Display progress bars.

alaja breadcrumbs — Display navigation breadcrumbs.

alaja gradient — Display gradient-colored text.

alaja header — Display styled headers.

alaja image — Display images in terminal.

alaja json — Pretty-print JSON with syntax highlighting.

alaja list — Display a styled list.

alaja menu — Display an interactive selection menu.

alaja message|success|error|warning|info|... — Display formatted messages.

alaja multibar — Multi-task progress tracker with parallel bars.

alaja pulsar — Display pulsar/radar animation with gradient wave effect.

alaja separator — Display horizontal separator lines.

alaja table — Display formatted tables.

alaja yesno — Ask a Yes/No question.

Declarative DSL for defining CLI commands.

Dispatch helpers used by Alaja.CLI command handlers.

Error handling for CLI commands.

Definition and extraction of global CLI options shared across commands.

Help system for the Alaja CLI.

Standardized option parsing for CLI commands.

Interactive pagination utilities for CLI output.

Shared parsing utilities for CLI commands.

Validation of inputs for CLI commands.

Atomic visual unit for the terminal buffer.

Animated bar component with embedded animation in the filled portion.

Static progress bar component for terminal output.

Static box/container with borders for terminal output.

Static breadcrumb navigation component for terminal output.

Color visualization component for the terminal.

Static header component for terminal output.

Static JSON pretty-printer with syntax highlighting for terminal output.

Multi-task progress bar component for tracking parallel operations.

Pulsar/radar animation component with gradient wave effect.

Static horizontal separator line for terminal output.

Component for rendering formatted tables with advanced layout.

Configuration management for Alaja CLI applications.

High-level drawing helpers for TUI applications.

Image rendering for terminal emulators.

Terminal detection for image rendering.

Central I/O dispatcher for terminal rendering.

Pre-styled message printing with severity icons and ANSI colours.

Interactive user-input functions for terminal CLI applications.

Minimal text chunk with formatting.

Structure that defines text effects applicable in terminal.

Contains all information related to message printing.

Syntax highlighting for terminal output.

Generic single-pass character scanner driven by Alaja.Syntax.Language.

Declarative language definition for syntax highlighting.

Converts token lists to ANSI-formatted terminal output.

Defines a special tokenization rule for edge cases.

Global syntax highlighting theme.

Terminal size detection utilities.

Theme management facade for Alaja.

Declarative multi-field form renderer for Alaja.

Internal renderer implementations for Alaja.Wizard.

Mix Tasks

Manages smoke-test snapshots.