cleo add
Create new task with metadata (title, priority, labels, phase, dependencies)Agent Relevance: High - Frequently used by LLM agents
Synopsis
Options
| Option | Description |
|---|---|
--format | Output format: text, json |
--quiet | Suppress output, return only essential data |
--json | Force JSON output |
--human | Force human-readable output |
--dry-run | Preview changes without applying |
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 |
3 | File operation failure | No |
4 | Resource not found | No |
5 | Missing dependency | No |
6 | Validation error | No |
7 | Lock timeout | Yes |
10 | Parent task not found | No |
11 | Max depth exceeded | No |
12 | Max siblings exceeded | No |
13 | Invalid parent type | No |
See Also
- Commands Index - Full command reference
- update - Modify tasks
- complete - Mark tasks done
