-
-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow grouping of tasks when running task --list --sort none
#1351
Comments
I agree, this is a great project. I currently use a # the hack i currently use
.PHONY: help
help: ## Display help
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) |
Hi @JakeSummers and @sonnysideup, We currently sort tasks by the namespace. Isn't that enough? For example, if you have a bunch of tasks that start with |
@andreynering I just noticed the feature last night when starting to work with the includes statement. I think I get it now, thank you. |
Thanks for the awesome work on this project. Looks super great.
I am currently migrating from
make
. In our makefile we have a pretty ugly target that usesawk
to parse the makefile and print help. It supports grouping targets into sections, which has been pretty useful.Demo:
I was wondering if there was any desire to add this kind grouping functionality to
task
.The text was updated successfully, but these errors were encountered: