Replies: 2 comments 1 reply
-
Is https://taskfile.dev/usage/#running-a-taskfile-from-a-subdirectory https://taskfile.dev/reference/templating/#special-variables |
Beta Was this translation helpful? Give feedback.
0 replies
-
From what I understand, you’re looking for the path where the execution will occur. The |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Assume I run following taskfile at
/home/lesomnus/foo
:It will print
/home/lesomnus/foo/bar
where the cmd's working directory.However, I believe it can be templated without 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?
Beta Was this translation helpful? Give feedback.
All reactions