gitignore

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

README

Gitignore generator

This is a CLI tool for generating gitignores

Why I wrote this

Most commonly, when I start my project, my workflow looks like this

mkdir -p ~/dev/my-project
cd ~/dev/my-project
git init
touch .gitignore
# search github for gitignore file for the language/framework I'm using
# paste gitignore contents into file

This project aims to replicate those 2 manual steps with a simple command - for a Go project, for example:

gitignore generate go

Installation

The easiest way to install this package is to download a versioned release at the releases page

Building from source

Requires a working go installation. This package was developed in go 1.12, but should work with any decently recent version of go.

go get -u github.com/emman27/gitignore

Supported keywords

The list of supported gitignores will grow based on usage. As of now, only the following keywords are supported for generation

go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
cli
Package cli contains a CLI controller to the gitignore workflow
Package cli contains a CLI controller to the gitignore workflow
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL