hacktivist123 / goignore

A lightweight CLI tool for generating .gitignore file in your project. Built with Go and ❤️
MIT License
29 stars 6 forks source link

Chore/protect new command #33

Closed hacktivist123 closed 1 year ago

hacktivist123 commented 1 year ago

Why?

This PR fixes a bug where the goignore new command could take any random argument and still runs the command. So a check is added to ensure that it doesn't take an undefined argument before it runs.

Before

Screenshot 2023-08-06 at 12 22 19 PM

Now

Screenshot 2023-08-06 at 12 21 57 PM