Task Completed
Task Completed
Section titled “Task Completed”Configuration for task completed hooks with pattern-based command execution.
Commands run when a task is completed. Exit code 2 blocks completion.
Configuration Properties
Section titled “Configuration Properties”commands
Section titled “commands”Map of task subject patterns to command configurations. Keys are glob patterns matching task subjects.
| Attribute | Value |
|---|---|
| Type | object |
| Default | {} |
Nested Types
Section titled “Nested Types”This section uses the following nested type definitions:
TaskCompletedCommand Type
Section titled “TaskCompletedCommand Type”Configuration for individual task completed commands with optional messages
Properties:
| Property | Type | Default | Description |
|---|---|---|---|
maxOutputLines | `integer | null` | null |
message | `string | null` | null |
notifyPerCommand | `boolean | null` | null |
run | string | - | The shell command to execute |
showCommand | `boolean | null` | true |
showStderr | `boolean | null` | null |
showStdout | `boolean | null` | null |
timeout | `integer | null` | null |
See Also
Section titled “See Also”- Configuration Overview - Complete reference for all configuration options