Small command-line utility that adds new entries to your .gitignore
- ✅ Linux
- ✅ Windows
- ❌ MacOS (not tested)
deno install --unstable --allow-env --allow-net --allow-read --allow-write https://deno.land/x/gitignore/mod.ts
# add new files (if a .gitignore does not exist, it will be created)
gitignore node_modules/ "*.out" "*.o"
# list available languages/frameworks
gitignore -s
# or just get the template for a language
gitignore -l rust
# supports pipes
curl -fLw '\n' https://www.gitignore.io/api/node | gitignore -v
# see help for more
gitignore --help