5 releases

0.1.4 Mar 11, 2023
0.1.3 Mar 11, 2023
0.1.2 Mar 10, 2023
0.1.1 Mar 5, 2023
0.1.0 Mar 5, 2023

#33 in #gitignore

Apache-2.0

24KB
207 lines

ignorers

License GitHub CI Unsafe Forbidden

Generate gitignores from the command line 🛠️

  • Free software: Apache Software License 2.0

Project Description

Extremely simple (but very useful) CLI that generates .gitignore files from the command line (sort of 😉). It's a sister project to goignore, replicated here in rust 🦀.

Why?

goignore was the first real program I wrote while learning Go, so I thought why not do it in Rust too? Like goignore it's mostly a thin wrapper around the gitignore API. The list of things you can pass are documented on gitignore.io.

Installation

There are pre-compiled binaries available in the GitHub releases, or there is a homebrew tap available:

brew install FollowTheProcess/homebrew-tap/ignorers

Quickstart

The binary itself is called ig (for ignorers), so you can run it like so:

ig macos python visualstudiocode

Credits

This package was created with copier and the FollowTheProcess/rust_copier project template.

Dependencies

~4–19MB
~234K SLoC