summaryrefslogtreecommitdiff
path: root/Taskfile.yaml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-17 08:54:20 +0300
committerPaul Buetow <paul@buetow.org>2025-08-17 08:54:20 +0300
commita61f40a4221c1586d801308da9ae1869fb6bdbb6 (patch)
tree477ecc7313b4f9e6fd5dd57ea2a727b7befc8f13 /Taskfile.yaml
parent17e9d33f2a5dc9305b4dbae1bc400b28f9b6c211 (diff)
cli: add hexai command-line tool and split LSP to hexai-lsp
- New cmd/hexai CLI: reads stdin/arg, prints LLM output to stdout - Prints provider/model immediately to stderr; summary at end - Refactor config loader to internal/appconfig - Update Taskfile to build/install/run both binaries - Update README with new CLI and LSP names
Diffstat (limited to 'Taskfile.yaml')
-rw-r--r--Taskfile.yaml17
1 files changed, 13 insertions, 4 deletions
diff --git a/Taskfile.yaml b/Taskfile.yaml
index beb76f8..753a5f7 100644
--- a/Taskfile.yaml
+++ b/Taskfile.yaml
@@ -7,19 +7,28 @@ tasks:
deps: ["build"]
cmds:
- cp -v ./hexai-lsp ~/go/bin/
+ - cp -v ./hexai ~/go/bin/
run:
deps: ["dev"]
cmds:
- - go run cmd/hexai/main.go
+ - go run cmd/hexai-lsp/main.go
build:
- deps: ["build-hexai-lsp"]
+ deps: ["build-hexai-lsp", "build-hexai-cli"]
build-hexai-lsp:
cmds:
- - go build -o hexai-lsp cmd/hexai/main.go
+ - go build -o hexai-lsp cmd/hexai-lsp/main.go
+ build-hexai-cli:
+ cmds:
+ - go build -o hexai cmd/hexai/main.go
dev:
deps: ["test", "vet", "lint"]
cmds:
- - go build -race -o hexai-lsp cmd/hexai/main.go
+ - go build -race -o hexai-lsp cmd/hexai-lsp/main.go
+ - go build -race -o hexai cmd/hexai/main.go
+ run-cli:
+ deps: ["dev"]
+ cmds:
+ - echo 'test' | go run cmd/hexai/main.go
test:
cmds:
- go clean -testcache