pub mod cli;
pub mod core;
pub use cli::{
Argument, Command, CommandBuilder, CommandMetaData, CommandStrategy, FunctionStrategy,
StrategyError, StrategyErrorKind, SubcommandCatalog, SubcommandRouter, Switch, argument,
command, switch,
};
pub use core::{
CliCore, CliCoreError, CoreConfig, HelpRenderer, LockPoisonPolicy, PlainTextHelpRenderer,
};
pub fn run_with_commands(commands: &[Command]) {
core::run_with_commands(commands)
}
pub fn try_run_with_commands(commands: &[Command]) -> Result<(), CliCoreError> {
core::try_run_with_commands(commands)
}
pub fn init() -> CliCore {
CliCore::new()
}