termcinema-cli 0.1.0

๐ŸŽฌ Animated terminal-to-SVG renderer CLI for the termcinema project
Documentation
//! ๐ŸŽฌ Termcinema SDK โ€” Programmatic SVG renderer for cinematic terminals
//!
//! This crate exposes the **SDK layer** of [`termcinema`](https://github.com/...) as a reusable Rust API.
//! It's designed for integrations beyond CLI, with a pure functional interface that avoids all I/O.
//!
//! ๐Ÿง  Use this crate if you want to:
//!
//! - Embed terminal-style animations into **WASM apps** or **GUI frontends** ๐Ÿ•ธ
//! - Build **Python bindings** or other FFI-based scripting integrations ๐Ÿ
//! - Render SVGs in **TUI playgrounds**, editors, or pipelines ๐Ÿงช
//! - Treat the CLI layer as optional and just use the core logic ๐Ÿ› 
//!
//! # โœจ Features
//!
//! - โœ… Stateless rendering (pure functions, no side effects)
//! - ๐ŸŽจ Full control over style, layout, themes, and animation
//! - ๐Ÿงฉ Based on `termcinema-engine`, with layout and theme adapters
//! - ๐Ÿงฑ Designed for sandboxed runtimes like WASM, FFI, embedded
//!
//! # ๐Ÿš€ Quick Start
//!
//! ```rust
//! use termcinema_cli::{CliArgs, render_svg_direct};
//!
//! let args = CliArgs {
//!     theme: Some("retro_tty".into()),
//!     ..Default::default()
//! };
//!
//! let svg = render_svg_direct("echo Hello", &args).unwrap();
//! assert!(svg.contains("<svg"));
//! ```
//!
//! See [`CliArgs`] for all customization options and usage patterns.

mod args;
mod layout;
mod render;
mod style;
mod utils;

//
// ๐Ÿงฉ Public API Exports
//

/// Style, layout, theme, and animation configuration.
pub use args::CliArgs;

/// Returns a default `CliArgs` instance.
pub use args::default_args;

/// Renders SVG output from raw text and configuration.
pub use render::render_svg_direct;

/// Lists all built-in theme names.
pub use render::available_theme_names;