docs(cli): include config get/set + reindex + --version in usage()#126
Merged
George-iam merged 1 commit intomainfrom Apr 29, 2026
Merged
docs(cli): include config get/set + reindex + --version in usage()#126George-iam merged 1 commit intomainfrom
George-iam merged 1 commit intomainfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The commands that shipped in v0.5.0 —
axme-code config get/set context.mode,axme-code reindex, plus the--version/-vflag — were present in the implementation but missing from theaxme-code helpoutput. 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()insrc/cli.tsto include all four new entries, with a brief description of whatconfig set context.mode searchactually 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 passnpx tsc --noEmit— cleannpm run build— cleannode dist/axme-code.js helpshows the new entries🤖 Generated with Claude Code