We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
08e5ea0
enum
struct T { enum Fruit { apple, @ArgumentValue("no-apple","noapple") noapple }; Fruit a; } assert(CLI!T.parseArgs!((T t) { assert(t == T(T.Fruit.apple)); })(["-a","apple"]) == 0); assert(CLI!T.parseArgs!((T t) { assert(t == T(T.Fruit.noapple)); })(["-a=no-apple"]) == 0); assert(CLI!T.parseArgs!((T t) { assert(t == T(T.Fruit.noapple)); })(["-a","noapple"]) == 0);
-preview=in