commander-cli
commander-cli copied to clipboard
multiple flags
do not pull before #35
Allows multiple flag keys to be specified for the same flag handler like the example extended and shortened flags ~~flag
and ~f
that would both use the same flag handler.
Does have breaking changes with data Flag :: [Symbol] -> *
. Compatibility could possibly be accomplished with a type alias of type Flag (flag :: Symbol) = FlagMulti '[flag]
but I am not sure that this complexity is worth it.