🛑 gitignore-cli
Provides a simple CLI that uses the fantastic gitignore.io
tool to generate .gitignore
files for your project.
Installation
You will need to have ruby >= 2.3
, or running on Docker.
$ gem install gitignore-cli
Usage
You can use the following commands:
gitignore list
The command list
will return all available environments.
Example:
$ gitignore list
gitignore create
Generates the .gitignore output using an interactive term ui.
$ gitignore create
gitignore generate [environments]
Generates the .gitignore output to stdout using all environments that you choose.
$ gitignore generate ruby vim node > .gitignore
Author
Daniel Vinciguerra daniel.vinciguerra@bivee.com.br
Special Thanks
- Joe Blau for gitignore.io.
- Tejas Kumar for the inspiration, at TejasQ/add-gitignore
License
The gem is available as open source under the terms of the MIT License.