#gitignore #github #repo #git #git-repository #cli

app gig-cli

Simple cli to create a .gitignore based off Github's gitignore repo

3 unstable releases

0.2.0 Apr 21, 2021
0.1.1 Apr 21, 2021
0.1.0 Apr 21, 2021

#46 in #gitignore

MIT license

10KB
215 lines

gig

Simple cli to create a .gitignore based off Github's gitignore repo


Usage

$ gig -l # lists out all possible .gitignore
$ gig <keyword> # will print to stdout specific .gitignore
$ gig <keyword> --write # Similar to > .gitignore but is careful not to overwrite
$ gig <keyword> --write-force # Force writes to .gitignore

Example

$ gig -l | grep -i ^c | head -n 3
C++.gitignore
C.gitignore
CFWheels.gitignore
$ gig c++ --write 
Writing c++ gitignore to .gitignore...
$ gig c >> .gitignore 
$ gig rust --write-force 

Install

Cargo

If you're using a recent version of Cargo, you can see the cargo install command:

$ cargo install gig-cli

Build from source

After git cloning this repo, you can install as a cargo crate through

$ cargo install --path path/to/repo

License

MIT

Maintained by Milan

Dependencies

~4.5–6MB
~106K SLoC