JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q53128F
  • License ISC

pretty helptext for your gulp tasks

Package Exports

  • gulp-helptext

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-helptext) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-helptext

Generates pretty help text for your gulpfile.

Usage

Supply an optional description object to specify pretty descriptions for tasks. Tasks will automatically print out their names and dependent tasks.

var helptext = require('gulp-helptext');

gulp.task('help', helptext({
  'default': 'Shows the help message',
  'help': 'This help message',
  'styles': 'Compiles stylus',
  'lint': 'Runs JSHint on your code',
  'server': 'Start the development server'
}));

Output looks like the following:

Registered tasks:

lint    - Runs JSHint on your code
styles  - Compiles stylus
build   - Runs lint, styles
connect
watch
server  - Start the development server
          Runs build, connect, watch
bump
help    - This help message
deploy
default - Shows the help message
          Runs help