Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-task-help

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-task-help

Provides a gulp task that will display a help message describing the tasks as well as their dependencies and arguments.

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Gulp Task Help

Provides a gulp task that will display a help message describing the tasks as well as their dependencies and arguments.

Preview

gulp-task-help

Install

npm i --save-dev gulp-task-help

Usage

var Help = require('gulp-task-help');

// create the help task instance
const help = new Help(
	'Project Title',
	'Project Description
);

// register each argument
help.registerArgument(
	'arg-name', 'Argument description', 'default value'
);

help.registerTask(
	'task:name',
	'Task description',
	['task:dependency'],
	['argument-name']
);

// register the task
gulp.task('help', help.helpTask);

API Documentation

Full API Documentation

new Help(title, description)
Argument NameTypeDescription
titlestringGenerally the title of the application
descriptionstringA description of the application or the build system
registerTask(taskName, description, dependencies, args)
Argument NameTypeDescriptionDefault
taskNamestringThe name of the task as registered with gulp
descriptionstringThe description of the tasks
dependenciesstring[]A list of dependant task nams[]
argsstring[]A list of argument names[]
registerArgument(argumentName, description, defaultValue)
Argument NameTypeDescription
argumentNamestringThe name of the argument
descriptionstringThe description of the argument
defaultValuestringA default value, or description of the default value

License

Gulp Task Help is released under the ISC license. See LICENSE.

Keywords

FAQs

Package last updated on 17 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc