scriba 0.5.0

CLI text rendering, prompts, and terminal output utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Output types and rendering for structured CLI content.
//!
//! Supports multiple formats: Plain, Text, Markdown, JSON, and JSONL.
//! Build `Output` using fluent builder methods, then render with `Ui::render()`.

pub mod content;
pub mod diff;
pub mod render;
pub mod style;
pub mod table;

pub use content::{Block, DefinitionEntry, KeyValueEntry, Output, StatusKind, Table, TableLayout};
pub use diff::{format_diff_for_scriba, parse_diff, render_colored_diff, DiffLine, DiffLineKind};
pub use style::{Styled, TextStyle};

#[cfg(test)]
mod tests;