Skip to content

Task Completed

Configuration for task completed hooks with pattern-based command execution.

Commands run when a task is completed. Exit code 2 blocks completion.

Map of task subject patterns to command configurations. Keys are glob patterns matching task subjects.

AttributeValue
Typeobject
Default{}

This section uses the following nested type definitions:

Configuration for individual task completed commands with optional messages

Properties:

PropertyTypeDefaultDescription
maxOutputLines`integernull`null
message`stringnull`null
notifyPerCommand`booleannull`null
runstring-The shell command to execute
showCommand`booleannull`true
showStderr`booleannull`null
showStdout`booleannull`null
timeout`integernull`null