Merge branch 'master' into v3

This commit is contained in:
Andrey Nering
2019-12-07 22:04:16 -03:00
7 changed files with 24 additions and 5 deletions

View File

@@ -699,7 +699,7 @@ With silent mode on, the below will be print instead:
Print something
```
There's three ways to enable silent mode:
There are four ways to enable silent mode:
* At command level:
@@ -725,6 +725,19 @@ tasks:
silent: true
```
* Globally at Taskfile level:
```yaml
version: '2'
silent: true
tasks:
echo:
cmds:
- echo "Print something"
```
* Or globally with `--silent` or `-s` flag
If you want to suppress STDOUT instead, just redirect a command to `/dev/null`: