Skip to main content

Crate getargs_derive_macros

Crate getargs_derive_macros 

Source
Expand description

Internal proc-macro implementation for getargs-derive.

This crate is not meant to be used directly. Re-exported via getargs_derive::GetArgs.

Derive Macrosยง

GetArgs
Derive macro for the getargs crate.
Subcommand
Derive macro for an enum of subcommands, used by a #[command(subcommand)] field of a struct deriving GetArgs.
ValueEnum
Derive macro implementing getargs_derive::ValueEnum and FromStr for an enum with unit variants.