Skip to main content

leviath_cli/
lib.rs

1//! Leviath CLI library - re-exports for integration tests.
2//!
3//! `missing_docs` applies here like everywhere else in the workspace. This crate
4//! ships the `lev` binary rather than a library anyone calls, so the case for
5//! exempting it was real - and the case against turned out to be stronger: the
6//! `pub` surface is what the integration tests drive, and a wire type like
7//! [`commands::serve::ServerEvent`] is read by clients that never see this
8//! source. An undocumented field there is a gap for somebody.
9//!
10//! What the rule asks for is a sentence saying something the name does not. A
11//! clap `Args` field already carries its user-facing text for `--help`; the
12//! struct around it says which command it belongs to.
13
14pub mod approvals;
15pub mod bundled;
16pub mod commands;
17pub mod config;
18pub mod credentials;
19pub mod daemon;
20pub mod dispatch;
21pub mod held_checkpoints;
22pub mod lint;
23pub mod logging;
24pub mod read_path_report;
25pub mod render;
26pub mod runstate;
27pub mod shell_keys;
28#[cfg(test)]
29mod test_support;
30pub mod tools;
31pub mod tui;
32pub mod workdir_guard;