1
0
mirror of https://github.com/go-task/task.git synced 2025-01-30 05:39:17 +02:00

docs: add CLI_SILENT and CLI_VERBOSE in the docs (#1717)

This commit is contained in:
Valentin Maerten 2024-07-08 23:18:21 +02:00 committed by GitHub
parent 9ee4f21d62
commit cdafc67bef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,9 +101,11 @@ engine. If you define a variable with the same name as a special variable, the
special variable will be overridden.
| Var | Description |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
| `CLI_ARGS` | Contain all extra arguments passed after `--` when calling Task through the CLI. |
| `CLI_FORCE` | A boolean containing whether the `--force` or `--force-all` flags were set. |
| `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. |
| `TASK_EXE` | The Task executable name or path. |
| `ROOT_TASKFILE` | The absolute path of the root Taskfile. |