mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-25 08:48:08 +02:00
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:
parent
c89af7733a
commit
33a142f769
11 changed files with 742 additions and 1 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue