14 releases
0.3.1 | Sep 18, 2024 |
---|---|
0.2.10 | Apr 21, 2024 |
0.2.9 | Mar 25, 2024 |
0.2.7 | Oct 13, 2023 |
0.1.0 | Dec 20, 2022 |
#394 in Command-line interface
2,093 downloads per month
Used in 18 crates
(15 directly)
29KB
221 lines
Interactive clap
interactive-clap
is a Rust crate of helpers forclap
that enable interactive prompts for structs.
See examples in the examples/
folder.
See it in action in near-cli-rs
and bos-cli-rs
.
lib.rs
:
The Interactive-clap library is an add-on for the Command Line Argument Parser (https://crates.io/crates/clap). Interactive-clap allows you to parse command line options. The peculiarity of this macro is that in the absence of command line parameters, the interactive mode of entering these data by the user is activated.
Dependencies
~1.5MB
~39K SLoC