feat: support excluding task namespaces (#2959)

This commit is contained in:
星尘
2026-08-10 22:23:51 +08:00
committed by GitHub
parent fc49c72647
commit 2888867c94
8 changed files with 78 additions and 10 deletions

View File

@@ -308,13 +308,14 @@ includes:
### `excludes`
- **Type**: `[]string`
- **Description**: Tasks to exclude from inclusion
- **Description**: Task names or namespace patterns ending in `:*` to exclude
from inclusion
```yaml
includes:
shared:
taskfile: ./shared.yml
excludes: [internal-setup, debug-only]
excludes: [internal-setup, 'debug:*', 'experimental:*']
```
### `vars`