question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Defining tasks with description

See original GitHub issue

I see gulp -T and gulp --tasks-simple provides list of tasks like the following

$ gulp --tasks-simple
clean
build:js
build:css
docs
watch
build
test

I wished that it looked like the following

$ gulp -T
clean      clear build directory
build:js   build minified javascript
build:css  build css from sass files
docs       generate documentation
watch      run monitoring tasks for .js and .sass
build      run all build tasks
test       run a test

From the API documentation, I see task “description” is not a part of gulp.task parameters since syntax is like this gulp.task(name[, deps], fn)

I googled around if defining description for gulp.task is possible, then find this help plugin that overwrites gulp.task and accepts description as help.

I think it is a good idea to accept description like the following and wished it was the core feature of gulp without using extra plugin.

gulp.task(name[, description, deps, fn, taskOptions])

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:32 (24 by maintainers)

github_iconTop GitHub Comments

9reactions
yocontracommented, Jul 16, 2014

No, this issue has been raised about 20 times. Please read those threads for more info.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Write Project Task Description 2016 | Yanado Blog
How to Write Better Task Descriptions. First, define the purpose by asking “Why?” You need to know where you're going before plotting the ......
Read more >
What is a task? Definition, examples, and how to get more done
In project management, a task is a work item or activity with a specific purpose related to the larger goal. It's a necessary...
Read more >
How do you define a task? - Ensemble Consulting Group
If you want to markedly improve productivity, it pays to pay attention to the proper definition of a task.
Read more >
Task Definition & Meaning - Merriam-Webster
noun ; a · a usually assigned piece of work often to be finished within a certain time ; b · something hard...
Read more >
Defining Tasks and Activities in Project Management
The purpose of task definition is to allow you to break down the work of the project into manageable components so that you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found