#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

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

#2002 in Procedural macros

Download history 566/week @ 2024-10-28 366/week @ 2024-11-04 366/week @ 2024-11-11 502/week @ 2024-11-18 267/week @ 2024-11-25 551/week @ 2024-12-02 754/week @ 2024-12-09 921/week @ 2024-12-16 233/week @ 2024-12-23 132/week @ 2024-12-30 333/week @ 2025-01-06 410/week @ 2025-01-13 529/week @ 2025-01-20 289/week @ 2025-01-27 343/week @ 2025-02-03 680/week @ 2025-02-10

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