use-cli
Facade crate for RustUse CLI-adjacent primitives.
This crate is not a CLI framework. It does not parse full command lines, route commands, define a DSL, run an async runtime, generate shell completions, log messages, or manage configuration. It re-exports focused primitive crates behind stable module names.
Example
use ;
let command = new?;
let flag = try_from_token?;
let output = from_name_value?;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
# Ok::
Modules
The facade exposes arg, flag, option, env_var, exit_code, stdin, stdout, stderr, prompt, command_name, and terminal.
Scope
Use this crate when one dependency and one import surface are useful. Use the focused child crates directly when a library only needs one primitive area.
License
Licensed under either the MIT license or Apache License, Version 2.0.