davetron5000 / gli

Make awesome command-line applications the easy way
http://davetron5000.github.io/gli
Apache License 2.0
1.26k stars 102 forks source link

:must_match and :required do not work when loading commands from a config_file #212

Closed evanstachowiak closed 3 years ago

evanstachowiak commented 9 years ago

These two commands work perfectly fine when passing arguments from the command-line. The problem arises when using the config_file directive to load a YAML.

I'm guessing the checks happen in a different ordering when loading from a config. Or perhaps I'm just declaring confg_file at the wrong moment?

davetron5000 commented 3 years ago

Closing in favor of #305