1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

feat: add ALIAS special var (#1764)

This commit is contained in:
Daniel Story
2024-08-24 18:50:45 -06:00
committed by GitHub
parent 0941de3318
commit 045d054a5f
4 changed files with 22 additions and 4 deletions

View File

@@ -107,6 +107,7 @@ special variable will be overridden.
| `CLI_SILENT` | A boolean containing whether the `--silent` flag was set. |
| `CLI_VERBOSE` | A boolean containing whether the `--verbose` flag was set. |
| `TASK` | The name of the current task. |
| `ALIAS` | The alias used for the current task, otherwise matches `TASK` |
| `TASK_EXE` | The Task executable name or path. |
| `ROOT_TASKFILE` | The absolute path of the root Taskfile. |
| `ROOT_DIR` | The absolute path of the root Taskfile directory. |