feat: Improve task init template options#2811
Conversation
|
The current Documentation changes still need to be made. As wished for in the issue, this could be expanded to allow the user to set a custom template file via environment variable. It could be added as an additional option It big enough to potentially be a separate PR though. |
|
On further thought, I think this approach is too heavy handed. I worry about stuffing the full opinionated template in every binary and being very rarely used. I think configuring a template file via env var is cleaner and doesn't require an additional flag. I will think further and update the issue |
This PR adds an additional flag
--init-templatethat allows specifying a template to create.It adds an additional template (
full.yml) that shows more complex task usage.User call it with
task --init-template=defaultortask --init-template=fullto template the two types.This is related to issue #2012
Created with assistance from
Claude Haiku 4.5.