Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antoinegagne/create-gitignore
Program that executes commands against the `gitignore.io` API
https://github.com/antoinegagne/create-gitignore
command-line gitignore haskell network-connection
Last synced: 11 days ago
JSON representation
Program that executes commands against the `gitignore.io` API
- Host: GitHub
- URL: https://github.com/antoinegagne/create-gitignore
- Owner: AntoineGagne
- License: mit
- Created: 2016-12-31T17:17:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-26T23:22:20.000Z (over 7 years ago)
- Last Synced: 2024-10-24T23:29:39.836Z (about 2 months ago)
- Topics: command-line, gitignore, haskell, network-connection
- Language: Haskell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `create-gitignore`
This is a short program to generate `.gitignore` files from the [`gitignore.io`](https://www.gitignore.io/) API.
## Installation
### Prerequisite
To install this program, you will need [`stack`](https://docs.haskellstack.org/en/stable/README/).
The dependencies will be taken care of by `stack`.### Installing
Assuming you have `stack`, you can simply run:
```sh
stack install
```Then, you can call the program by calling `create-gitignore`.
### Auto-completion
You can enable auto-completion by adding the following line to your `.bashrc`:
```sh
eval "$(create-gitignore --bash-completion-script create-gitignore)"
```