Skip to content

Add CLI commands for task management#60

Merged
bborn merged 1 commit intomainfrom
task/130-the-task-command-should-allow-adding-tas
Jan 9, 2026
Merged

Add CLI commands for task management#60
bborn merged 1 commit intomainfrom
task/130-the-task-command-should-allow-adding-tas

Conversation

@bborn
Copy link
Copy Markdown
Owner

@bborn bborn commented Jan 9, 2026

Summary

  • Add comprehensive CLI commands to manage tasks from the command line, enabling programmatic task management without the TUI
  • Implements create, list, show, update, execute, close, and retry commands
  • All commands support JSON output for programmatic use

New Commands

Command Description Example
task create <title> Create a new task task create "Fix bug" -x --priority high
task list List tasks with filters task list --status queued --json
task show <id> Show task details task show 42 --logs
task update <id> Update task fields task update 42 --title "New title"
task execute <id> Queue for execution task execute 42 (aliases: queue, run)
task close <id> Mark as done task close 42 (aliases: done, complete)
task retry <id> Retry blocked task task retry 42 -m "Try different approach"

Test plan

  • All new CLI tests pass (go test ./cmd/task/...)
  • Existing tests still pass
  • Manual testing of each command
  • Test JSON output parsing with jq

🤖 Generated with Claude Code

Add comprehensive CLI commands to manage tasks from the command line,
enabling programmatic task management without the TUI:

- `task create`: Create tasks with title, body, type, project, priority
- `task list`: List tasks with filters (status, project, priority, type)
- `task show`: Display task details and optionally logs
- `task update`: Update task fields (title, body, type, project, priority)
- `task execute`: Queue a task for execution (aliases: queue, run)
- `task close`: Mark a task as done (aliases: done, complete)
- `task retry`: Retry a blocked task with optional feedback

All commands support JSON output for programmatic use.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bborn bborn merged commit cb015c0 into main Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant