💭 Command Line | gitignore.io / docs ==================================== !https://docs.gitignore.io/install/command-line Date: May 29, 2025 Command Line | gitignore.io / docs To run gitignore.io from your command line you need an active internet connection and an environment function. You need to add a function to your environment that lets you access the gitignore.io API. docs.gitignore.io [1] This is a very interesting cli, its so simple. I stumbled accross the `gi` command awhile back and was like pfft, I dont want to install something for that. Didn't even realize that you **don't** install it, its just http. Their _install_ instructions lead you to putting a curl funtion in your bashrc. ``` bash function gi() { curl -sLw \"\\\n\" https://www.toptal.com/developers/gitignore/api/\$@ ;} ``` This now has me wondering "What else can build like this?" !!! note This post is a thought [2]. It's a short note that I make about someone else's content online #thoughts [3] References: [1]: https://docs.gitignore.io/install/command-line [2]: /thoughts/ [3]: /tags/thoughts/