SamuelSchlesinger / commander-cli

A simple library I wrote to allow me to quickly and easily construct command line interfaces.
MIT License
29 stars 2 forks source link

alternate env var names #39

Closed BebeSparkelSparkel closed 1 year ago

BebeSparkelSparkel commented 3 years ago

do not pull befor #35

Allows for alternative env var names to use the same handler.

Does have breaking changes with data Env :: Optionality -> [Symbol] -> * -> *. Compatibility could possible be accomplished with a type alias of type Env (o :: Optionality) (name :: Symbol) = EnvMulti o '[name] but I am not sure that this complexity is worth it.