Manage tasks within change nodes
List tasks across change nodes. Optionally filter by change ID and/or pending status.
Library function: src/operations/taskList!taskListOp
spm task list [options]
| Flag | Description | Required |
|---|---|---|
--path |
SysProM document path (auto-detected if omitted) | |
--json |
output as JSON | |
--change |
Filter by change ID | |
--pending |
Show only pending tasks |
Append a new task to a change node's plan array. Returns a new document.
Library function: src/operations/addPlanTask!addPlanTaskOp
spm task add <change-id> <description> [options]
| Argument | Description |
|---|---|
<change-id> |
Change node ID |
<description> |
Task description |
| Flag | Description | Required |
|---|---|---|
--path |
SysProM document path (auto-detected if omitted) |
Mark a task as done
Library function: src/operations/markTaskDone!markTaskDoneOp
spm task done <change-id> <task-index> [options]
| Argument | Description |
|---|---|
<change-id> |
Change node ID |
<task-index> |
Task index |
| Flag | Description | Required |
|---|---|---|
--path |
SysProM document path (auto-detected if omitted) |
Mark a task as undone
Library function: src/operations/markTaskUndone!markTaskUndoneOp
spm task undone <change-id> <task-index> [options]
| Argument | Description |
|---|---|
<change-id> |
Change node ID |
<task-index> |
Task index |
| Flag | Description | Required |
|---|---|---|
--path |
SysProM document path (auto-detected if omitted) |