summaryrefslogtreecommitdiff
path: root/cmd/ask/main.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 /cmd/ask/main.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 'cmd/ask/main.go')
-rw-r--r--cmd/ask/main.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/cmd/ask/main.go b/cmd/ask/main.go
deleted file mode 100644
index afab992..0000000
--- a/cmd/ask/main.go
+++ /dev/null
@@ -1,22 +0,0 @@
-package main
-
-import (
- "context"
- "fmt"
- "os"
-
- "codeberg.org/snonux/hexai/internal/askcli"
-)
-
-func main() {
- d := askcli.NewDispatcher(nil)
- code, err := d.Dispatch(context.Background(), os.Args[1:], os.Stdin, os.Stdout, os.Stderr)
- if err != nil {
- // Print the internal error so callers get a useful diagnostic message.
- fmt.Fprintln(os.Stderr, err)
- os.Exit(code)
- }
- if code != 0 {
- os.Exit(code)
- }
-}