Replies: 2 comments 3 replies
-
I found this tool which seems to pair nicely with what we are trying to do. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I am also interested in creating files with task (wonderful tool by the way). I did something similar then the example here: https://taskfile.dev/#/usage?id=gos-template-engine It creates a file using cat. This works fine until a college from me run the task on windows. Do you think it would be possible to add the possibility to create/replace files? For example cmds:
- file: |
content of file |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We currently use an internal tool very similar to
go-task
. I'd like to replace it, however it has the ability to template files. It has a special command that allows files,--vars
and--varFiles
to be passed in, templated using Go templates (and sprig) and output to stdout.This is especially useful for extending configuration files and providing a bit more power of Go templates and variables based on environments, parameters, etc.
Does anyone have thoughts on how to go about this or how it might specifically be implemented in
go-task
?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions