src/render/mod.rs

//! Output rendering.
//!
//! Rendering is split by `mode::*`: streaming plain text, column-aligned
//! table, and single-line JSON. ANSI sequences are emitted by `ansi::sgr`
//! and respect the `NO_COLOR` environment variable.

pub mod ansi;
pub mod mode;
pub mod width;

/// How results are formatted on stdout.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum RenderMode {
    Stream,
    Table,
    Json,
}