3 unstable releases
0.2.0 | Apr 21, 2021 |
---|---|
0.1.1 | Apr 21, 2021 |
0.1.0 | Apr 21, 2021 |
#43 in #gitignore
10KB
215 lines
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
~3–4MB
~100K SLoC