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