@dellamina/gitignore-cli

1.0.1 • Public • Published

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

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

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

Package Sidebar

Install

npm i @dellamina/gitignore-cli

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

34.3 kB

Total Files

13

Last publish

Collaborators

  • dellamina