feat: auto-detect color output in CI environments (#2569)

This commit is contained in:
Valentin Maerten
2025-12-18 08:40:37 +01:00
committed by GitHub
parent b710259bfa
commit 6660afc8d2
6 changed files with 49 additions and 6 deletions

View File

@@ -91,6 +91,17 @@ experiments:
verbose: true
```
### `color`
- **Type**: `boolean`
- **Default**: `true`
- **Description**: Enable colored output. Colors are automatically enabled in CI environments (`CI=true`).
- **CLI equivalent**: [`-c, --color`](./cli.md#-c---color)
```yaml
color: false
```
### `disable-fuzzy`
- **Type**: `boolean`
@@ -131,6 +142,7 @@ Here's a complete example of a `.taskrc.yml` file with all available options:
```yaml
# Global settings
verbose: true
color: true
disable-fuzzy: false
concurrency: 2