#parser #arguments-parser #argument #arg #parse #cli #macro-derive

macro blarg_derive

A type-safe, domain sensitive, argument/option paradigm command line parser

3 stable releases

1.0.4 Dec 4, 2023
1.0.3 Nov 13, 2023
1.0.0 Nov 11, 2023

#103 in #arg


Used in 3 crates (via blarg)

MIT/Apache

200KB
5K SLoC

blarg_derive

Derive implementation for blarg.

Development

In Intellij, use cmd+shift+a on the macro itself (ex: #[derive(BlargParser)]). Then type/select "show the result of macro expansion (cargo expand)".


lib.rs:

Derive module for blarg. See documentation root for full details.

Dependencies

~235–680KB
~16K SLoC