shipshape_cli/lib.rs
1#![deny(clippy::print_stdout)]
2
3//! `shipshape` command implementation.
4//!
5//! The crates.io package is `shipshape-cli`; both its own binary and the
6//! cargo-dist-only `shipshape` wrapper call this library entry point. Keeping one
7//! implementation prevents registry and distribution package coordinates from
8//! producing different commands.
9
10mod audit;
11mod cli;
12mod config;
13mod contract;
14mod dist;
15mod doctor;
16mod error;
17mod facts;
18mod help;
19mod output;
20mod release;
21mod skill;
22mod sys;
23
24use std::process::ExitCode;
25
26/// Parse arguments and execute the Shipshape command.
27///
28/// This entry point exists only for the non-published cargo-dist naming wrapper;
29/// the supported public interface is the `shipshape` executable.
30#[doc(hidden)]
31pub fn run() -> ExitCode {
32 cli::run()
33}