feat(cli): add read-only sql command (#126)

* feat(cli): add read-only sql command

* fix(cli): rename sql connection flag
This commit is contained in:
Andrey Avtomonov 2026-05-17 10:29:07 +02:00 committed by GitHub
parent c89af7733a
commit 33a142f769
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 742 additions and 1 deletions

View file

@ -25,6 +25,7 @@ ktx
search <query>
validate <sourceName>
query
sql
status
mcp
start
@ -79,6 +80,9 @@ ktx ingest --all
ktx sl search "revenue"
ktx wiki search "revenue recognition"
# Execute read-only SQL
ktx sql --connection warehouse "select count(*) from public.orders"
# Start the local MCP server for agent clients
ktx mcp start
```