.gitignore generator for terminal
shell script
curl -sf https://gobinaries.com/wesleimp/gitignore | sh
manually
Download the pre-compiled binaries from the releases page and copy to the desired location
$ docker run -it --rm wesleimp/gitignore list
Clone the repository
$ git clone git@github.com:wesleimp/gitignore.git
$ cd gitignore
download dependencies
$ go mod download
build
$ go build -o gitignore main.go
verify it works
$ gitignore --help
list templates
$ gitignore list
generate
$ gitignore generate --lang Go --lang yarn
generate in another workspace
$ gitignore generate --lang Go --lang yarn --path ./my/another/workspace
append new language
$ gitignore append --lang Go
append new custom text
$ gitignore append --text "mybin.exe"