#command-line-arguments #interactive #arguments-parser #extension #clap #mode #prompt

interactive-clap

Interactive mode extension crate to Command Line Arguments Parser (https://crates.io/crates/clap)

11 releases

new 0.2.9 Mar 25, 2024
0.2.8 Jan 15, 2024
0.2.7 Oct 13, 2023
0.2.5 Sep 30, 2023
0.1.0 Dec 20, 2022

#410 in Command-line interface

Download history 107/week @ 2023-12-06 91/week @ 2023-12-13 182/week @ 2023-12-20 35/week @ 2023-12-27 55/week @ 2024-01-03 170/week @ 2024-01-10 170/week @ 2024-01-17 351/week @ 2024-01-24 227/week @ 2024-01-31 93/week @ 2024-02-07 98/week @ 2024-02-14 203/week @ 2024-02-21 100/week @ 2024-02-28 90/week @ 2024-03-06 253/week @ 2024-03-13 197/week @ 2024-03-20

674 downloads per month
Used in 14 crates (13 directly)

MIT/Apache

26KB
209 lines

Interactive clap

interactive-clap is a Rust crate of helpers for clap that enable interactive prompts for structs.

Crates.io Crates.io License License Contributors

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
~35K SLoC