Creating .gitignore has never been so easy.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
lib
test
.babelrc
.editorconfig
.gitignore
.npmignore
license
package-lock.json
package.json
readme.md

readme.md

Gitignore cli


Build Version Dependencies License Website

Creating .gitignore has never been so easy

gi is a cli wrapper for gitignore.io api to generate .gitignore files on the fly, you only need to supply the desired tags (languages, framework, platform, etc) and (optionaly) the output directory (defaults to cwd).

Installation

You can install this package with npm i -g @dellamina/gitignore-cli and then you can run gi from everywhere on your pc.

Uninstall

If you are not happy you can uninstall with npm rm -g @dellamina/gitignore-cli, an issue would be also cool to know why gi was not for you :)

Usage

gi has two main commands, run is also the default command if no argument is passed:

  • run (default) that leverages inquirer.js to get the needed parameters
  • for that acceps a variable number of arguments to be used as tags and a switch(-o, --output) for the destination folder

Help

Usage: gi [options] [command]

Options:

  -v, --version            output the version number
  -h, --help               output usage information

Commands:

  run                      Generate .gitignore interactively
  for [options] <tags...>  Generate .gitignore from the passed arguments

  Options:

    -o, --output <directory>  output directory
    -h, --help                output usage information

  help                     Show help message