We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally posted by lesomnus December 14, 2024 Assume I run following taskfile at /home/lesomnus/foo:
/home/lesomnus/foo
version: "3" tasks: hello: dir: bar cmds: - echo $(pwd)
It will print /home/lesomnus/foo/bar. However, I believe it should be templated rather than executing pwd.
/home/lesomnus/foo/bar
pwd
There was an issue about it at #525 but is closed as duplication of #215 but #215 does not state that.
Maybe I can:
version: "3" tasks: gen-proto: dir: proto vars: PWD: sh: pwd cmds: - echo {{.PWD}}
but it is too verbose.
Is there already a special variable for this?
The text was updated successfully, but these errors were encountered:
vmaerten
Successfully merging a pull request may close this issue.
Discussed in #1957
Originally posted by lesomnus December 14, 2024
Assume I run following taskfile at
/home/lesomnus/foo
:It will print
/home/lesomnus/foo/bar
.However, I believe it should be templated rather than executing
pwd
.There was an issue about it at #525 but is closed as duplication of #215 but #215 does not state that.
Maybe I can:
but it is too verbose.
Is there already a special variable for this?
The text was updated successfully, but these errors were encountered: