1.0.7 • Published 2 years ago
@alexcrocha/gitignore v1.0.7
Gitignore Generator
A command-line utility to dynamically generate .gitignore files based on specified languages or frameworks. This tool is developed as a school project and utilizes the gitignore.io API. Please consider supporting gitignore.io if you find this utility helpful.
Installation
Install the package globally using npm:
npm install -g @alexcrocha/gitignoreUsage
gitignore -l node ruby javaOr use:
gitignore node ruby javaThis will generate a .gitignore file in the current directory with ignore rules for Node.js, Ruby, and Java.
Options
-lor--languages- Specify languages or frameworks to generate a .gitignore file for-lior--list- List all available languages and frameworks
Listing All Supported Languages and Frameworks
gitignore -liOr use:
gitignore listThis will print out a list of all the languages and frameworks this utility can generate .gitignore rules for, grouped by the first letter.