summaryrefslogtreecommitdiff
path: root/internal/askcli/command_fish.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-08 09:58:02 +0300
committerPaul Buetow <paul@buetow.org>2026-04-08 09:58:02 +0300
commit8e351c86502cea78f1f0b3aa19cde7ca702bacab (patch)
tree1340e27219255b0ebe49bdbe3b5c2fbd95df8810 /internal/askcli/command_fish.go
parent9e8f558a1f6fcdb09a8a02dfcd2e3d8fc9ce613f (diff)
Rename task CLI from ask to do
- Move cmd/ask to cmd/do; mage BuildDo builds binary named do - Update askcli help text, errors, Fish completion (complete -c do, __do_*) - Task alias cache path: XDG cache hexai/do/task-aliases-v2.json - Refresh README and docs; go install path cmd/do@latest - Remove accidentally tracked cmd/ask build artifact; ignore cmd/do/do and cmd/do/ask Made-with: Cursor
Diffstat (limited to 'internal/askcli/command_fish.go')
-rw-r--r--internal/askcli/command_fish.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/askcli/command_fish.go b/internal/askcli/command_fish.go
index f4ca9e0..401a9e2 100644
--- a/internal/askcli/command_fish.go
+++ b/internal/askcli/command_fish.go
@@ -10,12 +10,12 @@ import (
func (d *Dispatcher) handleFish(ctx context.Context, args []string, stdout, stderr io.Writer) (int, error) {
_ = ctx
if len(args) != 1 {
- fmt.Fprintln(stderr, "usage: ask fish")
+ fmt.Fprintln(stderr, "usage: do fish")
return 1, nil
}
binaryPath, err := os.Executable()
if err != nil {
- binaryPath = "ask"
+ binaryPath = "do"
}
if _, err := io.WriteString(stdout, FishCompletionFor(binaryPath)); err != nil {
return 1, err