Crates.io | gig-cli |
lib.rs | gig-cli |
version | 0.2.0 |
source | src |
created_at | 2021-04-21 17:14:38.312305 |
updated_at | 2021-04-21 17:54:47.61818 |
description | Simple cli to create a .gitignore based off Github's gitignore repo |
homepage | https://github.com/mdaverde/gig |
repository | https://github.com/mdaverde/gig |
max_upload_size | |
id | 387752 |
size | 23,711 |
$ 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
$ 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
If you're using a recent version of Cargo, you can see the cargo install
command:
$ cargo install gig-cli
After git cloning this repo, you can install as a cargo crate through
$ cargo install --path path/to/repo
MIT
Maintained by Milan