Skip to main content

Command Reference

CLEO provides 53 commands organized by function. All commands output JSON when piped.
Use cleo help <command> for detailed help on any command.

Quick Reference

Command Categories

Task Management

CommandDescription
addCreate a new task
updateModify task properties
completeMark task as done
deleteCancel/soft-delete task
reopenRestore completed task
listView tasks with filters
showFull task details
findSearch tasks

Session & Focus

CommandDescription
sessionManage work sessions
focusSet/view active task
contextMonitor context usage

Analysis

CommandDescription
analyzeTask triage with scoring
dashProject dashboard
nextSuggest next task
blockersShow blocked tasks
depsDependency overview

Hierarchy

CommandDescription
treeHierarchical view
reparentMove task to new parent
promoteMake task root-level

Maintenance

CommandDescription
validateCheck data integrity
backupCreate backup
restoreRestore from backup
upgradeUpdate schemas
doctorHealth diagnostics

Common Patterns

# Start a work session
cleo session start --scope epic:T001 --auto-focus

# Add task with full metadata
cleo add "Implement feature" --priority high --phase core

# Complete with notes
cleo complete T001 --notes "Implemented and tested"

# View project status
cleo dash --compact
All commands support --help for detailed usage information.