lolcatbois / ignore-it

A tool written in ruby which helps in fetching and creating .gitignore files. Currently .gitignore files will be fetched from https://gitignore.io or from local user-made templates.
MIT License
1 stars 0 forks source link

Error handling when running with wrong command args #37

Closed NINNiT closed 3 years ago

NINNiT commented 3 years ago

Currently it throws an ugly exception...

Steps to reproduce: ignore-it -z or ignore-it -f <empty>

Zerebratox commented 3 years ago

Changing chaining and flags.

removing -f adding compatibility with -a option array to --y (yes) or --n (no)