nategood / commando

An Elegant CLI Library for PHP
MIT License
798 stars 80 forks source link

Add support for conflicting options #74

Closed omnicolor closed 6 years ago

omnicolor commented 7 years ago

Some options are mutually exclusive; passing both in should be an error. For example, if you're defining the environment a script should run against, you should not be able to pass both a --dev and --prod flag in.