codespeak task
Execute a task with a given name.
Synopsis
codespeak task <task_name> [--spec SPEC] [--no-interactive]Description
Runs a named task (build phase) within the CodeSpeak task engine. Tasks are individual phases like ExtractSpecification, ImproveCoverage, AutoConfigureTestRunner, etc. This is a low-level command for running specific build phases outside the normal build flow.
Task names support case-insensitive matching and CamelHumps abbreviation (e.g., ImpCov matches ImproveCoverage).
Flags
| Flag | Description |
|---|---|
task_name | Name of the task to execute. **Required**. Case-insensitive, supports CamelHumps matching |
--spec SPEC | Path to the specification file. If omitted, all registered specs are considered |
--no-interactive | Run in non-interactive mode without real-time progress updates |
Error messages
| Error | Cause | Resolution |
|---|---|---|
| {path} does not belong to a CodeSpeak project | No codespeak.json found | Run codespeak init first |
| Can't resolve task '{name}'. Available tasks: ... | Task name not found | Use one of the listed task names |
| Ambiguous task name '{name}'. Multiple matches found: ... | CamelHumps matched multiple tasks | Use a more specific name |