1#![doc = document_features::document_features!()]
9#![deny(missing_docs, rustdoc::broken_intra_doc_links)]
15#![allow(clippy::missing_errors_doc)]
16
17pub mod color;
19pub mod format;
21pub mod model;
23
24#[cfg(feature = "cli")]
26pub mod flags;
27#[cfg(feature = "help")]
29pub mod help;
30#[cfg(feature = "help")]
32pub mod layout;
33#[cfg(feature = "cli")]
35pub mod parser;
36pub mod prelude;
38#[cfg(feature = "cli")]
40pub mod run;
41#[cfg(feature = "color")]
43pub mod style;
44#[cfg(feature = "view")]
46pub mod table;
47#[cfg(feature = "usage")]
49pub mod usage;
50#[cfg(feature = "view")]
52pub mod view;
53
54pub use color::ColorMode;
55#[cfg(feature = "cli")]
56pub use flags::{
57 ColorLong, DryRunArgs, FlagWarning, FormatArgs, OutputArgs, WarningKind, chassis_warnings,
58 emit_warnings, resolve_color, switch, warn_opposites,
59};
60pub use format::OutputFormat;
61pub use indoc::{concatdoc, eprintdoc, formatdoc, indoc, printdoc, writedoc};
62pub use model::{Envelope, ErrorBody, SCHEMA_VERSION};
63#[cfg(feature = "cli")]
64pub use run::main as run;
65#[cfg(feature = "view")]
66pub use table::{grid, kv};
67#[cfg(feature = "usage")]
68pub use usage::{mount_line, spec, spec_bin, take};
69#[cfg(feature = "view")]
70pub use view::{Pretty, Render, View, render_template};