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

https://github.com/gozeloglu/gitignore

Command line application to create .gitignore files in the terminal.
https://github.com/gozeloglu/gitignore

cli gitignore gitignore-generator go golang

Last synced: 11 months ago
JSON representation

Command line application to create .gitignore files in the terminal.

Awesome Lists containing this project

README

          

# gitignore

gitignore is a command line application that enables us to create `.gitignore` files in terminal.

## Install

```shell
git clone https://github.com/gozeloglu/gitignore.git
cd gitignore
go build -o ~/go/bin/gitignore cmd/*
```

After you run these commands, you will be able to run `gitignore`. You may change the target file location(`~/go/bin/gitignore`) with your
preference.

## Usage

### With CLI

```shell
gitignore cli
```
It opens a new prompt to write technologies by helping auto-complete feature. Type and select option by tab button.

![img.png](img/cli_arg.png)

```shell
>>> Go GoLand macOS
```

### With multiselect prompt

```shell
gitignore
```
It opens multiselect prompt to select technologies. You can also type and select if you don't want to traverse whole list.
```shell
[ ] Fortran
[ ] Git
[ ] GitBook
[x] Go
[x] GoLand
[ ] Gradle
[ ] Groovy
[ ] Haskell
[ ] Helm
> [x] Hugo
```

![img_3.png](img/selected.png)

It suggests when you type something.

![img_2.png](img/suggest.png)

## LICENSE
[MIT](LICENSE)