#clap #derive #interactive-clap

macro interactive-clap-derive

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

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

#1651 in Procedural macros

Download history 200/week @ 2025-01-03 504/week @ 2025-01-10 513/week @ 2025-01-17 314/week @ 2025-01-24 288/week @ 2025-01-31 596/week @ 2025-02-07 426/week @ 2025-02-14 526/week @ 2025-02-21 496/week @ 2025-02-28 411/week @ 2025-03-07 634/week @ 2025-03-14 582/week @ 2025-03-21 822/week @ 2025-03-28 914/week @ 2025-04-04 597/week @ 2025-04-11 541/week @ 2025-04-18

3,169 downloads per month
Used in 19 crates (11 directly)

MIT/Apache

93KB
2K SLoC

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