mirror of
https://github.com/go-task/task.git
synced 2026-07-08 14:35:18 +00:00
chore: sync translations (#1182)
This commit is contained in:
@@ -405,6 +405,7 @@ tasks:
|
||||
vars: { TEXT: 'before 1' }
|
||||
- task: echo_sth
|
||||
vars: { TEXT: 'before 2' }
|
||||
silent: true
|
||||
cmds:
|
||||
- echo "after"
|
||||
|
||||
@@ -503,7 +504,7 @@ tasks:
|
||||
- echo "Another task"
|
||||
```
|
||||
|
||||
Overriding variables in the called task is as simple as informing `vars` attribute:
|
||||
Using the `vars` and `silent` attributes you can choose to pass variables and toggle [silent mode](#silent-mode) on a call-by-call basis:
|
||||
|
||||
```yaml
|
||||
version: '3'
|
||||
@@ -519,6 +520,7 @@ tasks:
|
||||
cmds:
|
||||
- task: greet
|
||||
vars: { RECIPIENT: 'Cruel World' }
|
||||
silent: true
|
||||
```
|
||||
|
||||
The above syntax is also supported in `deps`.
|
||||
|
||||
Reference in New Issue
Block a user