nti

0.0.1 • Public • Published

When you have a lot of npm-scripts, it's difficult to know the function of the script, so I forked a well-made ntl project.

nti NPM version Build Status

Npm Task Info

Interactive cli menu shown description to list and run npm tasks.

You can add description using # like following.

"scripts"{
  "task1": "ava # this is description1",
  "task2": "ava # this is description2"
},

Install

$ npm install -g nti

Usage

cd to a folder containing a package.json files that has configured scripts, then:

nti

You can also specify a project folder containing a package.json file:

nti ./my-node-project

More info

cli options can also be invoked as their shorter alias:

  • -a -> --all
  • -m -> --multiple
  • -i -> --info
  • -h -> --help
  • -v -> --version

Here is what the help page looks like:

nti --help
 
Usage:
  nti [<path>]
 
Options:
  -v --version   Displays app version number
  -h --help      Shows this help message
  -a --all       Includes pre and post scripts on the list
  -m --multiple  Allows a selection of multiple tasks to run at once
  -i --info      Displays the contents of each script

License

MIT © sculove

Package Sidebar

Install

npm i nti

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • sculove