@alexcrocha/gitignore

1.0.7 • Public • Published

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/gitignore

Usage

gitignore -l node ruby java

Or use:

gitignore node ruby java

This will generate a .gitignore file in the current directory with ignore rules for Node.js, Ruby, and Java.

Options

  • -l or --languages - Specify languages or frameworks to generate a .gitignore file for

  • -li or --list - List all available languages and frameworks

Listing All Supported Languages and Frameworks

gitignore -li

Or use:

gitignore list

This will print out a list of all the languages and frameworks this utility can generate .gitignore rules for, grouped by the first letter.

Package Sidebar

Install

npm i @alexcrocha/gitignore

Weekly Downloads

1

Version

1.0.7

License

ISC

Unpacked Size

26.8 kB

Total Files

7

Last publish

Collaborators

  • alexcrocha