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

FlagDescription
task_nameName of the task to execute. **Required**. Case-insensitive, supports CamelHumps matching
--spec SPECPath to the specification file. If omitted, all registered specs are considered
--no-interactiveRun in non-interactive mode without real-time progress updates

Error messages

ErrorCauseResolution
{path} does not belong to a CodeSpeak projectNo codespeak.json foundRun codespeak init first
Can't resolve task '{name}'. Available tasks: ...Task name not foundUse one of the listed task names
Ambiguous task name '{name}'. Multiple matches found: ...CamelHumps matched multiple tasksUse a more specific name