Skip to main content

appcore_args/
lib.rs

1// =============================================================================
2//        #######
3//     ###       ###     F: lib.rs
4//    ##   ## ##   ##    P: AppCore-Runtime
5//         ## ##
6//                       C: 2026/08/19 12:52:57 by dnettoRaw
7//    ##   ## ##   ##    U: 2026/08/19 13:34:54 by dnettoRaw
8//      ###########      S: 1.0.1-rc.8
9// =============================================================================
10
11#![doc = include_str!("../README.en.md")]
12#![forbid(unsafe_code)]
13
14mod completion;
15mod error;
16mod help;
17mod parser;
18mod raw;
19mod shell;
20mod spec;
21mod spec_validation;
22mod suggestion;
23mod value_parser;
24
25#[cfg(test)]
26mod parser_tests;
27#[cfg(test)]
28mod spec_tests;
29
30pub use completion::{CompletionCandidate, CompletionEngine, CompletionKind, CompletionRequest};
31pub use error::{CliError, CliErrorKind};
32pub use help::HelpRenderer;
33pub use parser::{CliParser, ParsedCli, ParsedOption};
34pub use raw::{ArgLimits, RawArgs};
35pub use shell::{render_dynamic_completion_script, Shell, ShellScriptError};
36pub use spec::{ArgumentSpec, CliSpec, CommandSpec, OptionSpec, SpecError, ValueMode, ValueType};