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

interactive-clap

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

15 releases

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

#408 in Command-line interface

Download history 461/week @ 2025-05-22 308/week @ 2025-05-29 294/week @ 2025-06-05 306/week @ 2025-06-12 410/week @ 2025-06-19 284/week @ 2025-06-26 649/week @ 2025-07-03 404/week @ 2025-07-10 373/week @ 2025-07-17 365/week @ 2025-07-24 283/week @ 2025-07-31 284/week @ 2025-08-07 364/week @ 2025-08-14 386/week @ 2025-08-21 645/week @ 2025-08-28 347/week @ 2025-09-04

1,809 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