summaryrefslogtreecommitdiff
path: root/internal/askcli/dispatch.go
AgeCommit message (Collapse)Author
2026-03-27release: v0.27.1v0.27.1Paul Buetow
2026-03-27Implement command registry for askcli commandsPaul Buetow
2026-03-27docs: document askcli exportsPaul Buetow
2026-03-27Explicitly ignore askcli write errorsPaul Buetow
2026-03-27Extract parseGlobalFlags helperPaul Buetow
2026-03-27task 3a4c0f14-16ad-487f-af7c-bd99ee6464e6: use pointer Dispatcher receiversPaul Buetow
2026-03-27askcli: support add depends selectorsPaul Buetow
2026-03-27fix ask add alias output for 1a1731dc-1f11-42bd-be12-4c1af7f7e673Paul Buetow
2026-03-27askcli: show task aliases in output (cd322ed1-882d-40e9-ab98-689acd5f161e)Paul Buetow
2026-03-26Implement ask started-task info 4c3640dc-3730-40c9-bfa6-db90564e3171Paul Buetow
2026-03-26release: v0.26.1v0.26.1Paul Buetow
2026-03-26ask: speed up fish UUID completionPaul Buetow
2026-03-24ask: add --json flag for machine-readable outputv0.25.12Paul Buetow
List, ready, all, info, and urgency commands now output JSON arrays when --json is passed. This fixes pi agent-plan-mode extension which expects JSON from ask but was getting human-readable tables. Amp-Thread-ID: https://ampcode.com/threads/T-019d207c-b8e2-748d-af52-dd8f84fb2b32 Co-authored-by: Amp <amp@ampcode.com>
2026-03-22ask: fix CLI commands to use correct Taskwarrior argument formatsv0.25.2Paul Buetow
- handlePriority: use 'uuid:<uuid> modify priority:<level>' instead of 'priority <uuid> <level>' - handleTag: use 'uuid:<uuid> modify +/-tag' instead of 'tag <uuid> +/-tag' - handleDelete: use 'uuid:<uuid> delete' and pass stdin for confirmation - handleDenotate: use 'uuid:<uuid> denotate <pattern>' instead of 'denotate <uuid> <pattern>' - Add integration tests for all ask CLI subcommands - Update unit tests to match new command argument formats - createTask now uses task info to get UUID instead of export parsing - parseTaskInfoText fixed to split tags by ', ' instead of whitespace
2026-03-22ask: add ready command to list READY tasks (not blocked)Paul Buetow
handleReady passes +READY filter to show actionable tasks only. help text updated. tests updated.
2026-03-22ask: default to list, add ask all for complete task visibilityPaul Buetow
- ask (no args) now behaves like ask list (active tasks sorted by priority/urgency) - ask help: explicit help subcommand - ask all: shows ALL tasks including completed/deleted (uses status:any) - handleAll added in command_list.go, mirrors handleList with status:any - Updated tests: help tests use explicit 'ask help', all subcommand added to reachability test - Updated help text to document ask all
2026-03-22Implement 'ask info' and 'ask add' subcommandsPaul Buetow
2026-03-22Implement 'ask list' subcommand: parse export JSON, sort by ↵Paul Buetow
priority/urgency, format UUID table
2026-03-22Implement 'ask dep add/rm/list' subcommandsPaul Buetow
2026-03-22Implement 'ask urgency' subcommand: export tasks, sort by urgency ↵Paul Buetow
descending, format as UUID table
2026-03-22Implement write subcommands: annotate, start, stop, done, priority, tag, ↵Paul Buetow
modify, denotate
2026-03-22Implement 'ask delete' subcommand: forward to Taskwarrior, suppress output, ↵Paul Buetow
print UUID+success
2026-03-22Scaffold internal/askcli package: dispatch, taskexec, taskexport, formatterPaul Buetow