gulp-help
gulp-help copied to clipboard
Is there a way to sort the tasks by whether they're Main or Sub tasks?
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
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.
+1 for a category feature