Procedural macro derive that mimics arg_enum! from clap
Usage
In Cargo.toml:
[]
= "0.1"
In the rust code:
use ArgEnum;
/// All the possible states of Foo
Aliases
It is possible to express an alias using the attribute arg_enum(alias = "AliasVariant".
The FromStr will map the "AliasVariant" string to the decorated enum variant:
/// All the possible states of Foo