vigetlabs / blendid

A delicious blend of gulp tasks combined into a configurable asset pipeline and static site builder
MIT License
4.97k stars 683 forks source link

invalid options should error #528

Open olets opened 6 years ago

olets commented 6 years ago

Example: if a user makes the typo yarn run blendid --build (instead of yarn run blendid -- build), yarn run blendid is run. This can be problematic for someone waiting for a notification, someone using the command in a script, or someone simply unfamiliar with watching (that user could reasonably think yarn run blendid -- build was hanging).

Invalid options should return a failure with an explanatory error log.