mirror of
https://github.com/go-task/task.git
synced 2025-02-07 13:41:53 +02:00
docs: add CLI_SILENT and CLI_VERBOSE in the docs (#1717)
This commit is contained in:
parent
9ee4f21d62
commit
cdafc67bef
@ -101,9 +101,11 @@ engine. If you define a variable with the same name as a special variable, the
|
|||||||
special variable will be overridden.
|
special variable will be overridden.
|
||||||
|
|
||||||
| Var | Description |
|
| Var | Description |
|
||||||
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `CLI_ARGS` | Contain all extra arguments passed after `--` when calling Task through the CLI. |
|
| `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_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` | The name of the current task. |
|
||||||
| `TASK_EXE` | The Task executable name or path. |
|
| `TASK_EXE` | The Task executable name or path. |
|
||||||
| `ROOT_TASKFILE` | The absolute path of the root Taskfile. |
|
| `ROOT_TASKFILE` | The absolute path of the root Taskfile. |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user