1 unstable release
0.2.0 | Mar 6, 2020 |
---|
#10 in #instantiation
23KB
465 lines
mkgitignore
mkgitignore
is a simple small Rust program that allows very, VERY quick instantiation of a .gitignore
file in your current working directory. Good if you're a trigger happy programmer like me. It has the ability to download config files (which are key to making mkgitignore
work) from the internet automatically.
Configuration
mkgitignore
works by fetching up a list of gitignores, their aliases and how to get them (via. http or text). The configuration is in TOML. Each entry is stored in an array of tables named gitignore
. You may use the clutterly inline table option to create config files, but I think that the built in "array of table" syntax is easier on the eyes.
[[gitignore]]
name = "C++"
url = "https://raw.githubusercontent.com/github/gitignore/master/C++.gitignore"
alias = ["cpp", "cplusplus"]
Dependencies
~3.5–7.5MB
~158K SLoC