cleo archive
Archive completed tasks based on policy (age, count preservation)Synopsis
Options
| Option | Description |
|---|---|
--format | Output format: text, json |
--quiet | Suppress output, return only essential data |
--dry-run | Preview changes without applying |
--force | Force operation without confirmation |
--all | Apply to all items |
This command supports JSON output via
--json flag for LLM agent integration.Examples
Exit Codes
| Code | Meaning | Recoverable |
|---|---|---|
0 | Success | No |
3 | File operation failure | No |
100 | No data/results | No |
See Also
- Commands Index - Full command reference
- add - Create new tasks
- update - Modify tasks
- complete - Mark tasks done
