Skip to main content

appcore_args/
lib.rs

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;
12
13#[cfg(test)]
14mod parser_tests;
15#[cfg(test)]
16mod spec_tests;
17
18pub use completion::{CompletionCandidate, CompletionEngine, CompletionKind, CompletionRequest};
19pub use error::{CliError, CliErrorKind};
20pub use help::HelpRenderer;
21pub use parser::{CliParser, ParsedCli, ParsedOption};
22pub use raw::{ArgLimits, RawArgs};
23pub use shell::{render_dynamic_completion_script, Shell, ShellScriptError};
24pub use spec::{ArgumentSpec, CliSpec, CommandSpec, OptionSpec, SpecError, ValueMode, ValueType};