项目作者: wesleimp

项目描述 :
.gitignore generator for terminal
高级语言: Go
项目地址: git://github.com/wesleimp/gitignore.git
创建时间: 2020-09-01T14:07:40Z
项目社区:https://github.com/wesleimp/gitignore

开源协议:MIT License

下载


gitignore

ci

.gitignore generator for terminal

Install

Pre-compiled binary

shell script

  1. 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

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

Compiling from source

Clone the repository

  1. $ git clone git@github.com:wesleimp/gitignore.git
  2. $ cd gitignore

download dependencies

  1. $ go mod download

build

  1. $ go build -o gitignore main.go

verify it works

  1. $ gitignore --help

Usage

list templates

  1. $ gitignore list

generate

  1. $ gitignore generate --lang Go --lang yarn

generate in another workspace

  1. $ gitignore generate --lang Go --lang yarn --path ./my/another/workspace

append new language

  1. $ gitignore append --lang Go

append new custom text

  1. $ gitignore append --text "mybin.exe"

License

MIT