commander-cli
commander-cli copied to clipboard
multiple opts
do not pull before #33
Allows multiple option keys to be specified for the same option handler like the example extended and shortened option keys --abcd <value>
and -a <value>
that would both send <value>
to the same handler.
Does have breaking changes with data Opt :: [Symbol] -> Symbol -> * -> *
. Compatibility could possibly be accomplished with a type alias of type Opt (option :: Symbol) (name :: Symbol) = OptMulti '[option] name
but I am not sure that this complexity is worth it.