1#![doc = include_str!("../README.en.md")]
2#![forbid(unsafe_code)]
3
4mod completion;
5mod error;
6mod help;
7mod parser;
8mod raw;
9mod shell;
10mod spec;
11mod spec_validation;
12mod suggestion;
13
14#[cfg(test)]
15mod parser_tests;
16#[cfg(test)]
17mod spec_tests;
18
19pub use completion::{CompletionCandidate, CompletionEngine, CompletionKind, CompletionRequest};
20pub use error::{CliError, CliErrorKind};
21pub use help::HelpRenderer;
22pub use parser::{CliParser, ParsedCli, ParsedOption};
23pub use raw::{ArgLimits, RawArgs};
24pub use shell::{render_dynamic_completion_script, Shell, ShellScriptError};
25pub use spec::{ArgumentSpec, CliSpec, CommandSpec, OptionSpec, SpecError, ValueMode, ValueType};