chore: sync translations (#1154)

This commit is contained in:
task-bot
2023-05-06 21:24:46 -03:00
committed by GitHub
parent 51c2a104b2
commit 45dd77ad6d
32 changed files with 279 additions and 257 deletions

View File

@@ -17,12 +17,10 @@ task [--flags] [tasks...] [-- CLI_ARGS...]
:::tip
If `--` is given, all remaning arguments will be assigned to a special `CLI_ARGS` variable
:::
| Short | Flag | Type | Default | Description |
| ----- | --------------------------- | -------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `-c` | `--color` | `bool` | `true` | Colored output. Enabled by default. Set flag to `false` or use `NO_COLOR=1` to disable. |
@@ -78,11 +76,9 @@ A full list of the exit codes and their descriptions can be found below:
These codes can also be found in the repository in [`errors/errors.go`](https://github.com/go-task/task/blob/main/errors/errors.go).
:::info
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.
:::
## JSON Output
When using the `--json` flag in combination with either the `--list` or `--list-all` flags, the output will be a JSON object with the following structure:
@@ -169,7 +165,6 @@ 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
@@ -179,7 +174,6 @@ includes:
:::
### Variable
| Attribute | Type | Default | Description |
@@ -189,7 +183,6 @@ includes:
:::info
Static and dynamic variables have different syntaxes, like below:
```yaml
@@ -201,7 +194,6 @@ vars:
:::
### Task
| Attribute | Type | Default | Description |
@@ -233,7 +225,6 @@ 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
@@ -250,7 +241,6 @@ tasks:
:::
#### Command
| Attribute | Type | Default | Description |
@@ -267,7 +257,6 @@ tasks:
:::info
If given as a a string, the value will be assigned to `cmd`:
```yaml
@@ -280,7 +269,6 @@ tasks:
:::
#### Dependency
| Attribute | Type | Default | Description |
@@ -290,7 +278,6 @@ 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
@@ -301,7 +288,6 @@ tasks:
:::
#### Precondition
| Attribute | Type | Default | Description |
@@ -311,7 +297,6 @@ 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