ktx/docs-site/content/docs/cli-reference
Andrey Avtomonov 7380311501 feat(cli): smart defaults and flatter command surface for ktx
Bare invocations now do the obvious thing instead of erroring out, and mode-as-subcommand patterns collapse into flags on the parent. No new top-level commands.

- `ktx ingest` (bare) ingests every configured connection. The `text` subcommand is gone; capture inline notes with `ktx ingest --text "..."` and files with `ktx ingest --file path` (use `-` for stdin). `--text`/`--file` reject a positional connection id; pass `--connection-id` to tag captured notes.
- `ktx connection` (bare) lists; `ktx connection test` (bare) tests every configured connection.
- `ktx wiki` and `ktx sl` flatten `list`/`search`: bare lists, with a `[query...]` positional searches (multi-word joined with spaces). `sl validate` and `sl query` stay as distinct verbs and now read `--connection-id` from the parent.
- `ktx mcp` (bare) prints daemon status.

Adds a shared `resolveConnectionSelection` helper consumed by ingest and connection test. Updates README, docs-site cli-reference and guides, next-steps strings, agent SKILL templates, and all affected tests. Per-package type-check, unit tests (605), smoke tests, and dead-code checks all pass.
2026-05-20 01:37:44 +02:00
..
ktx-connection.mdx feat(cli): smart defaults and flatter command surface for ktx 2026-05-20 01:37:44 +02:00
ktx-dev.mdx docs: revamp quickstart and tighten code-block styling (#135) 2026-05-18 19:22:19 +02:00
ktx-ingest.mdx feat(cli): smart defaults and flatter command surface for ktx 2026-05-20 01:37:44 +02:00
ktx-mcp.mdx Improve README scanability and CLI docs (#112) 2026-05-15 13:25:44 -04:00
ktx-setup.mdx docs: rewrite Semantic Querying concept with imperative-vs-declarative diagram (#156) 2026-05-19 23:41:29 +02:00
ktx-sl.mdx feat(cli): smart defaults and flatter command surface for ktx 2026-05-20 01:37:44 +02:00
ktx-sql.mdx feat(cli): add read-only sql command (#126) 2026-05-17 10:29:07 +02:00
ktx-status.mdx feat: add claude-code llm backend with runtime port (#115) 2026-05-16 12:06:34 +02:00
ktx-wiki.mdx feat(cli): smart defaults and flatter command surface for ktx 2026-05-20 01:37:44 +02:00
ktx.mdx feat(cli): smart defaults and flatter command surface for ktx 2026-05-20 01:37:44 +02:00
meta.json docs: remove section overview pages (#130) 2026-05-18 09:49:43 -04:00