cleo reorder
Change task position within sibling group (move to position, before/after, top/bottom)
Synopsis
cleo reorder TASK_ID [OPTIONS]
Options
| Option | Description |
|---|
--position | New position index |
--before | Insert before task ID |
--after | Insert after task ID |
--top | Move to top of list |
--bottom | Move to bottom of list |
--format | Output format: text, json |
--quiet | Suppress output, return only essential data |
This command supports JSON output via --json flag for LLM agent integration.
Examples
Exit Codes
| Code | Meaning | Recoverable |
|---|
0 | Success | No |
2 | Invalid arguments | No |
4 | Resource not found | No |
See Also