cleo reparent
Move task to different parent in hierarchy
Synopsis
cleo reparent TASK_ID [OPTIONS]
Options
| Option | Description |
|---|
--format | Output format: text, json |
--quiet | Suppress output, return only essential data |
--to | Target parent ID |
This command supports JSON output via --json flag for LLM agent integration.
Examples
Exit Codes
| Code | Meaning | Recoverable |
|---|
0 | Success | No |
1 | General error | No |
2 | Invalid arguments | No |
3 | File operation failure | No |
4 | Resource not found | No |
10 | Parent task not found | No |
11 | Max depth exceeded | No |
12 | Max siblings exceeded | No |
13 | Invalid parent type | No |
14 | Circular hierarchy | No |
See Also