-
-
Notifications
You must be signed in to change notification settings - Fork 682
On --list
, have different colors per namespace / included Taskfile
#1668
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
Comments
For me, this would really help when Maybe having a |
I know this idea involves color-coding namespaces when listing all tasks, but I've been thinking about creating groups to categorize tasks in the list. I currently do this manually with Makefiles, and it would be nice to have it here. I implemented an example just to test: The idea is to have a tasks:
build:
group: production
desc: Build for production usage.
cmds:
- echo 'build...'
start:
group: development
desc: Start the application.
cmds:
- echo 'start...' Let me know what you guys think. |
@betofigueiredo This has been requested before. Is there any reason you can't use namespaces for logical sorting/grouping? |
I was thinking about something that could be implemented within a single file. However, in cases involving numerous tasks, it may be more practical to split them across different files. I looked for a similar feature request but couldn't find this one @pd93. Thanks for the reply. |
@betofigueiredo FWIW, namespaces can be used without splitting into multiple files too. Just put a |
Discussed in #824
This was originally asked for
--list
, but we could consider coloring the task name when running tasks as well.The text was updated successfully, but these errors were encountered: