gitignore

ci

.gitignore generator for terminal

Install

Pre-compiled binary

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

$ docker run -it --rm wesleimp/gitignore list

Compiling from source

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

Usage

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"

License

MIT