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

interactive-clap

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

15 releases

new 0.3.2 Feb 11, 2025
0.3.1 Sep 18, 2024
0.3.0 Aug 9, 2024
0.2.10 Apr 21, 2024
0.1.0 Dec 20, 2022

#460 in Command-line interface

Download history 564/week @ 2024-10-27 370/week @ 2024-11-03 344/week @ 2024-11-10 495/week @ 2024-11-17 288/week @ 2024-11-24 541/week @ 2024-12-01 720/week @ 2024-12-08 951/week @ 2024-12-15 234/week @ 2024-12-22 102/week @ 2024-12-29 296/week @ 2025-01-05 457/week @ 2025-01-12 542/week @ 2025-01-19 303/week @ 2025-01-26 319/week @ 2025-02-02 630/week @ 2025-02-09

1,797 downloads per month
Used in 18 crates (15 directly)

MIT/Apache

395KB
246 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.

Usage example showing a simple struct annotated with interactive-clap

See it in action in near-cli-rs and bos-cli-rs.

Dependencies

~1.5MB
~40K SLoC