Skip to main content

Crate runemark

Crate runemark 

Source
Expand description

Opinionated, human-readable terminal presentation for Rust CLIs.

Runemark owns semantic output conventions—status, emphasis, color policy, and structured decision-oriented reports—while delegating low-level terminal consistent terminal behavior.

It deliberately does not parse command-line arguments, own application logging, or define domain-specific report schemas.

Re-exports§

pub use color::ColorMode;
pub use color::Console;
pub use color::SymbolTheme;
pub use color::Tone;
pub use diff::DiffBlock;
pub use diff::FileAction;
pub use diff::FileChange;
pub use error_block::ErrorBlock;
pub use location::Location;
pub use location::format_osc8;
pub use progress::PlainProgress;
pub use progress::ProgressMode;
pub use progress::ProgressSink;
pub use progress::SilentProgress;
pub use progress::TerminalProgress;
pub use report::Badge;
pub use report::Confidence;
pub use report::DetailLevel;
pub use report::Finding;
pub use report::FindingGroup;
pub use report::Metric;
pub use report::NextStep;
pub use report::RenderOptions;
pub use report::Report;
pub use report::ScopeNote;
pub use report::Trend;
pub use report::Vocabulary;
pub use select::Group;
pub use select::Hint;
pub use select::Item;
pub use select::Layout;
pub use select::Menu;
pub use select::Outcome;
pub use select::Picked;
pub use select::SelectMode;
pub use verdict::Verdict;

Modules§

color
Color policy, semantic tones, and symbol themes.
diff
Diff and file generation preview components.
error_block
Structured diagnostic and error/prerequisite presentation blocks.
location
Location formatting and terminal hyperlink support (OSC 8).
progress
TTY-aware progress sinks with an optional indicatif backend.
report
Decision-oriented report presentation models and renderers.
select
Interactive selection from a grouped list.
testing
Snapshot testing utilities and ANSI stripping for golden CLI tests.
verdict
Verdict models and renderers for CLI commands and audit outcomes.

Macros§

assert_plain_snapshot
Asserts that a rendered CLI component output matches the expected plain-text representation.