1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

feat: add TASK_DIR special variable (#1961)

Co-authored-by: Pete Davison <pd93.uk@outlook.com>
This commit is contained in:
Valentin Maerten
2024-12-30 11:45:25 +01:00
committed by GitHub
parent 1bda388925
commit 9d8c4ba7e6
4 changed files with 11 additions and 3 deletions

View File

@@ -19,3 +19,6 @@ tasks:
cmds:
- echo "{{.ALIAS}}"
print-task-alias-default: echo "{{.ALIAS}}"
print-task-dir:
dir: 'foo'
cmd: echo {{.TASK_DIR}}