Skip to content

docs(cli): include config get/set + reindex + --version in usage()#126

Merged
George-iam merged 1 commit intomainfrom
docs/cli-help-search-commands-20260429
Apr 29, 2026
Merged

docs(cli): include config get/set + reindex + --version in usage()#126
George-iam merged 1 commit intomainfrom
docs/cli-help-search-commands-20260429

Conversation

@George-iam
Copy link
Copy Markdown
Contributor

Summary

The commands that shipped in v0.5.0 — axme-code config get/set context.mode, axme-code reindex, plus the --version / -v flag — were present in the implementation but missing from the axme-code help output. Users running v0.5.0 still see the old v0.2.x command list when they look for the new search-mode opt-in.

This PR updates usage() in src/cli.ts to include all four new entries, with a brief description of what config set context.mode search actually does (install runtime, build embeddings index, atomic rollback on failure) so users don't have to leave the help to find that out.

Discovered when the user asked "почему её нет в axme-code help?" right after running v0.5.0.

Scope

Pure docs change — single function (usage()) updated, no behaviour change, no test impact. Will land in the next release's CHANGELOG (rolled into v0.5.1 / v0.6.0 / whatever ships next).

Test plan

  • npm test — 536/536 still pass
  • npx tsc --noEmit — clean
  • npm run build — clean
  • node dist/axme-code.js help shows the new entries
  • CI 3-OS matrix green

🤖 Generated with Claude Code

The new commands shipped in v0.5.0 (`axme-code config get/set
context.mode`, `axme-code reindex`, plus the --version / -v flag) were
present in the implementation but missing from the help output, so
users running `axme-code help` only saw the v0.2.x command list.

Adds a dedicated section for the search-mode opt-in flow with a
one-line description of what `config set context.mode search` does
(install runtime, build embeddings index, rollback on failure) so the
help is self-explanatory without forcing a trip to the README.

Discovered when the user asked "почему её нет в axme-code help?"
right after running v0.5.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@George-iam George-iam merged commit 2a99ee8 into main Apr 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant