From 69d3ec004b8de3b9f7cfeb34686b9c344c787db4 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 11 Apr 2026 22:20:57 +0300 Subject: Rename task CLI binary from do back to ask - Move cmd/do to cmd/ask; mage builds and installs ask; Fish completions to ask.fish - Update askcli help text, errors, executor default label, and Fish script (__ask_*) - Task alias cache subdirectory under XDG cache: hexai/ask/ - Rename integration test files and helpers; refresh README and docs - Rename plan-do-uuid-wrapper.md to plan-ask-uuid-wrapper.md Made-with: Cursor --- internal/askcli/taskexec.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/askcli/taskexec.go') diff --git a/internal/askcli/taskexec.go b/internal/askcli/taskexec.go index d479c34..0b68e3b 100644 --- a/internal/askcli/taskexec.go +++ b/internal/askcli/taskexec.go @@ -16,7 +16,7 @@ type repoTopLevelDetector func(context.Context) (string, error) type commandRunner func(context.Context, string, []string, io.Reader, io.Writer, io.Writer) error -// Executor encapsulates how the do CLI communicates with the Taskwarrior binary. +// Executor encapsulates how the ask CLI communicates with the Taskwarrior binary. type Executor struct { commandName string findBinary binaryFinder @@ -97,14 +97,14 @@ func (e Executor) Run(ctx context.Context, args []string, stdin io.Reader, stdou func (e Executor) label() string { label := strings.TrimSpace(e.commandName) if label == "" { - return "do" + return "ask" } return label } func normalizeExecutor(e Executor) Executor { if e.commandName == "" { - e.commandName = "do" + e.commandName = "ask" } if e.findBinary == nil { e.findBinary = findTaskBinary -- cgit v1.2.3