DEV Community

Tomochika Hara
Tomochika Hara

Posted on

ignor, a utility to fetch .gitignore templates from gitignore.io.

I published ignor on Cargo.

You can do this using ignor.

$ ignor rust intellij > .gitignore
Enter fullscreen mode Exit fullscreen mode

Why not use cURL?

You can generate .gitignore using a command like this.

$ curl -L -s https://www.gitignore.io/api/rust,intellij
Enter fullscreen mode Exit fullscreen mode

However, it is too difficult for find out in my bash/zsh history.

Why not use bash/zsh function?

I want to press space key instead of , key :)
It is tough for me to press , key than space key.


Thanks to other crates, the LOC is less than 100 and it is easy to understand.
PR welcome.

Happy coding!

Top comments (0)