#macro-derive #command-line-arguments #interactive #helper #clap #arguments-parser #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

#1591 in Procedural macros

Download history 505/week @ 2024-11-29 586/week @ 2024-12-06 1115/week @ 2024-12-13 300/week @ 2024-12-20 111/week @ 2024-12-27 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 588/week @ 2025-03-14

2,046 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