arblang 0.1.24

Visualize and modify Unix pipelines: pipe a stream in, arb spawns a dynamic TUI
Documentation
//! The REPL banner (shown only for the interactive `arb --repl` / bare-TTY
//! launch, never for a piped render or the headless dump path).

use nu_ansi_term::Color;

/// ANSI-Shadow wordmark, matching the house cyberpunk style shared with the
/// sibling frontends (rubylang / strykelang / vimlrs).
pub const WORDMARK: &str = r#"
 █████╗ ██████╗ ██████╗
██╔══██╗██╔══██╗██╔══██╗
███████║██████╔╝██████╔╝
██╔══██║██╔══██╗██╔══██╗
██║  ██║██║  ██║██████╔╝
╚═╝  ╚═╝╚═╝  ╚═╝╚═════╝
"#;

/// Print the banner + a one-line subtitle for the interactive REPL.
pub fn print_banner() {
    let v = env!("CARGO_PKG_VERSION");
    println!("{}", Color::Cyan.bold().paint(WORDMARK));
    println!(
        "{} {}  {}",
        Color::Purple.bold().paint("arb"),
        Color::White.paint(format!("v{v}")),
        Color::DarkGray.paint("visualize + modify Unix pipelines — a TUI for every pipeline")
    );
}