gulp-help icon indicating copy to clipboard operation
gulp-help copied to clipboard

Is there a way to sort the tasks by whether they're Main or Sub tasks?

Open barlowm opened this issue 8 years ago • 2 comments

Gulp-help has replaced my former help task (gulp-task-listing) mainly because of the ability to add descriptions to the task list. But gulp-task-listing did have one feature I liked and that was it's ability to sort the tasks based on whether they're a Main task or a Sub task (see below). Does this feature exist in gulp-help or can it be added?

Main Tasks

build
compile
help

Sub Tasks

build-css
build-js
compile-css
compile-js

Thanks

barlowm avatar Nov 18 '16 15:11 barlowm

By default, gulp-help sorts alphabetically and has no concept of different task categories. It treats all tasks the same. I could see having the ability to categorize tasks as a useful feature but that would be an enhancement. I would accept a PR on this.

chmontgomery avatar Nov 20 '16 16:11 chmontgomery

+1 for a category feature

blaues0cke avatar Dec 23 '16 22:12 blaues0cke