Website: Sync translations (#1103)

This commit is contained in:
task-bot
2023-04-05 21:48:43 -03:00
committed by GitHub
parent a729ee6fca
commit 79fde26f4f
32 changed files with 413 additions and 412 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. |
@@ -137,7 +135,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
@@ -147,7 +144,6 @@ includes:
:::
### Variable
| Attribute | Type | Default | Description |
@@ -157,7 +153,6 @@ includes:
:::info
Static and dynamic variables have different syntaxes, like below:
```yaml
@@ -169,7 +164,6 @@ vars:
:::
### Task
| Attribute | Type | Default | Description |
@@ -201,7 +195,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
@@ -218,7 +211,6 @@ tasks:
:::
#### Command
| Attribute | Type | Default | Description |
@@ -235,7 +227,6 @@ tasks:
:::info
If given as a a string, the value will be assigned to `cmd`:
```yaml
@@ -248,7 +239,6 @@ tasks:
:::
#### Dependency
| Attribute | Type | Default | Description |
@@ -258,7 +248,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
@@ -269,7 +258,6 @@ tasks:
:::
#### Precondition
| Attribute | Type | Default | Description |
@@ -279,7 +267,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