gig-cli

Crates.iogig-cli
lib.rsgig-cli
version0.2.0
sourcesrc
created_at2021-04-21 17:14:38.312305
updated_at2021-04-21 17:54:47.61818
descriptionSimple cli to create a .gitignore based off Github's gitignore repo
homepagehttps://github.com/mdaverde/gig
repositoryhttps://github.com/mdaverde/gig
max_upload_size
id387752
size23,711
Milan (mdaverde)

documentation

README

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

Commit count: 10

cargo fmt