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 overriding the task name in the logger output #321
Comments
Hi @adamwasila, Sounds like a reasonable feature request |
I made a quick hack to check how it could work. You may see it in this branch: https://github.com/adamwasila/task/tree/subtask-alias Example
|
@adamwasila Sounds like a good way to implement it Just remember to use Also, I'm not sure |
Given example Taskfile:
Then if
source.txt
is present I see following output:Now, the problem is that I cannot customize this output to parametrize task name for each execution separately. This makes output quite unclear of what has actually happened and it could be easily solved using following syntax:
Now, the real use case is I have kind of "template" task to build single go binary which I don't want to repeat for every command for obvious reasons (DRY):
Now, project has multiple commands to build, but all I see is:
instead of desired:
The text was updated successfully, but these errors were encountered: