Create .gitignore has never been so easy
Last updated 2 years ago by dellamina .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @dellamina/gitignore-cli 
SYNC missed versions from official npm registry.

Gitignore cli

Build Version Dependencies Size 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).


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


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 :)


gi has two main commands, run is also the default comman 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


Usage: gi [options] [command]


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


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


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

  help                     Show help message

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (8)
Dev Dependencies (5)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |