chore(website): sync translations (#1145)

This commit is contained in:
task-bot
2023-05-06 18:55:50 -03:00
committed by GitHub
parent 7ec5cac56b
commit bf043f411b
36 changed files with 284 additions and 248 deletions

View File

@@ -17,10 +17,12 @@ task [--flags] [tasks...] [-- CLI_ARGS...]
:::tip
Se `--` é informado, todos os argumentos remanescentes serão atribuídos a uma variável especial chamada `CLI_ARGS`
:::
| Abreviação | Modificador | Tipo | Predefinição | Descrição |
| ---------- | --------------------------- | -------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `-c` | `--color` | `bool` | `true` | Saída colorida. Habilitado por padrão. Defina o modificador como `false` ou use `NO_COLOR=1` para desativar. |
@@ -76,9 +78,11 @@ Uma lista completa dos códigos de saída e suas descrições podem ser encontra
Esses códigos também podem ser encontrados no repositório em [`errors/errors.go`](https://github.com/go-task/task/blob/main/errors/errors.go).
:::info
Quando o Task é executado com o modificador `-x`/`--exit-code`, o código de saída de todos os comandos falhados será passado para o usuário.
When Task is run with the `-x`/`--exit-code` flag, the exit code of any failed commands will be passed through to the user instead.
:::
## Saída em JSON
Quando estiver usando o modificador `--json` em combinação com o modificador `--list` ou `--list-all`, a saída será um objeto JSON com a seguinte estrutura:
@@ -165,6 +169,7 @@ Some environment variables can be overriden to adjust Task behavior.
:::info
Informing only a string like below is equivalent to setting that value to the `taskfile` attribute.
```yaml
@@ -174,6 +179,7 @@ includes:
:::
### Variable
| Attribute | Type | Default | Description |
@@ -183,6 +189,7 @@ includes:
:::info
Static and dynamic variables have different syntaxes, like below:
```yaml
@@ -194,6 +201,7 @@ vars:
:::
### Task
| Attribute | Type | Default | Description |
@@ -225,6 +233,7 @@ vars:
:::info
These alternative syntaxes are available. They will set the given values to `cmds` and everything else will be set to their default values:
```yaml
@@ -241,6 +250,7 @@ tasks:
:::
#### Command
| Attribute | Type | Default | Description |
@@ -257,6 +267,7 @@ tasks:
:::info
If given as a a string, the value will be assigned to `cmd`:
```yaml
@@ -269,6 +280,7 @@ tasks:
:::
#### Dependency
| Attribute | Type | Default | Description |
@@ -278,6 +290,7 @@ tasks:
:::tip
If you don't want to set additional variables, it's enough to declare the dependency as a list of strings (they will be assigned to `task`):
```yaml
@@ -288,6 +301,7 @@ tasks:
:::
#### Precondition
| Attribute | Type | Default | Description |
@@ -297,6 +311,7 @@ tasks:
:::tip
If you don't want to set a different message, you can declare a precondition like this and the value will be assigned to `sh`:
```yaml