Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jcgay/chtignore

Print .gitignore template from https://github.com/github/gitignore
https://github.com/jcgay/chtignore

Last synced: 5 days ago
JSON representation

Print .gitignore template from https://github.com/github/gitignore

Awesome Lists containing this project

README

        

# chtignore

Print `.gitignore` template from [https://github.com/github/gitignore](https://github.com/github/gitignore) in standard output.

## Installation

### Binaries

#### Darwin (Apple Mac)

* [chtignore\_1.1.0\_darwin\_amd64.zip](chtignore_1.1.0_darwin_amd64.zip)

#### Linux

* [chtignore\_1.1.0\_amd64.deb](chtignore_1.1.0_amd64.deb)
* [chtignore\_1.1.0\_linux\_amd64.tar.gz](chtignore_1.1.0_linux_amd64.tar.gz)

#### MS Windows

* [chtignore\_1.1.0\_windows\_amd64.zip](chtignore_1.1.0_windows_amd64.zip)

### From source, clone the repository, then

go install

## Usage

chtignore Java

will output:

```
# Java
*.class

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
```

Use multiple arguments to get separate templates at once:

chtignore Go JetBrains

Use `list` to discover available templates:

chtignore list

## Build

### Status

[![Build Status](https://travis-ci.org/jcgay/chtignore.svg?branch=master)](https://travis-ci.org/jcgay/chtignore)
[![Code Report](https://goreportcard.com/badge/github.com/jcgay/chtignore)](https://goreportcard.com/report/github.com/jcgay/chtignore)
[![Coverage Status](https://coveralls.io/repos/github/jcgay/chtignore/badge.svg?branch=master)](https://coveralls.io/github/jcgay/chtignore?branch=master)

### Release

- Configure Bintray deployment in `.goxc.local.json`:

```json
{
"ConfigVersion": "0.9",
"TaskSettings": {
"bintray": {
"apikey": "12d312314235afe56090932ea13234"
}
}
}
```

- run `goxc default bintray`

### List available tasks

goxc -h tasks