toptal / gitignore.io

Create useful .gitignore files for your project
https://www.toptal.com/developers/gitignore
MIT License
8.21k stars 623 forks source link

Add `.gitignore` as suffix to URL (feature request) #587

Closed asinghani closed 1 year ago

asinghani commented 2 years ago

It would be handy if instead of the URL ending with the list of templates, it ended with .gitignore so that it could be fed directly into wget, save-as, etc. and get a file named .gitignore

i.e. instead of https://www.toptal.com/developers/gitignore/api/python,linux,vim, having it be https://www.toptal.com/developers/gitignore/api/python,linux,vim/.gitignore so the "filename" becomes .gitignore

konstrybakov commented 2 years ago

Hey @asinghani! Thank you for taking the time to suggest this.

Did you know you could install a gi function for your cli of choice and then use it like this.

gi java,python >> .gitignore

Would it not be enough for your usecase?

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.