TaskT
Task2y ago
2 replies
trim21

variable for current taskfile?

Is there a variable can be used in taskfile works like
__dirname
in js , which is the directory of current
taskfile.yaml
?

for example, when CWD=
/home/user/src/project1/internal/
, running task with
/home/user/src/project1/taskfile.yaml
, a variable for
/home/user/src/project1/
Was this page helpful?