Skip to content
/ nti Public
forked from ruyadorno/ntl

Npm Task Info: Interactive cli menu shown description to list/run npm tasks

License

Notifications You must be signed in to change notification settings

sculove/nti

 
 

Repository files navigation

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

About

Npm Task Info: Interactive cli menu shown description to list/run npm tasks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%