#arguments-parser #helper #clap-derive #macro-derive #struct #macro-helpers

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

#2553 in Procedural macros

Download history 488/week @ 2025-11-01 464/week @ 2025-11-08 321/week @ 2025-11-15 594/week @ 2025-11-22 511/week @ 2025-11-29 377/week @ 2025-12-06 497/week @ 2025-12-13 412/week @ 2025-12-20 472/week @ 2025-12-27 519/week @ 2026-01-03 614/week @ 2026-01-10 493/week @ 2026-01-17 360/week @ 2026-01-24 678/week @ 2026-01-31 473/week @ 2026-02-07 442/week @ 2026-02-14

2,023 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
~40K SLoC