fubarhouse / dvm

Drush version manager (DVM)
http://fubarhouse.github.io/dvm/
4 stars 2 forks source link

explicit validation of arguments #18

Closed fubarhouse closed 8 years ago

fubarhouse commented 8 years ago

The run function has a validation process which runs depending on the first response which returns true. I'll be reformatting this, applying a standard regex onto the string query and applying an exit after each case statement is complete.

This will effectively spit out all invalid entries and provide error messages as required naturally under the assumption that everything must fit a particular standard input.