Skip to content

Commit 2163f1c

Browse files
George-iamclaude
andcommitted
docs(cli): include config get/set + reindex + --version in usage()
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>
1 parent 1c02ee5 commit 2163f1c

1 file changed

Lines changed: 23 additions & 11 deletions

File tree

src/cli.ts

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -320,17 +320,29 @@ function usage(): void {
320320
console.log(`AXME Code - Persistent memory, decisions, and safety guardrails for Claude Code
321321
322322
Usage:
323-
axme-code setup [path] [--force] Initialize project (LLM scan + .mcp.json + CLAUDE.md)
324-
axme-code serve Start MCP server (stdio transport)
325-
axme-code status [path] Show project status
326-
axme-code auth Re-detect and choose auth mode (subscription/api_key)
327-
axme-code auth status Show current auth mode + detected options
328-
axme-code auth use <subscription|api_key> Set auth mode non-interactively
329-
axme-code cleanup legacy-artifacts [--dry-run] Remove pre-PR#7 sessions/logs
330-
axme-code cleanup decisions-normalize [--dry-run] Add status:active to decisions
331-
axme-code audit-kb [path] [--all-repos] KB audit: dedup, conflicts, compaction
332-
axme-code stats [path] Worklog statistics (sessions, costs, safety blocks)
333-
axme-code help Show this help
323+
axme-code setup [path] [--force] Initialize project (LLM scan + .mcp.json + CLAUDE.md)
324+
axme-code serve Start MCP server (stdio transport)
325+
axme-code status [path] Show project status
326+
axme-code --version | -v Print the installed version
327+
328+
axme-code config get <key> Read a value from .axme-code/config.yaml
329+
(keys: context.mode, model, auditor_model, review_enabled)
330+
axme-code config set context.mode <full|search>
331+
Switch context-loading mode. 'search' installs the
332+
semantic-search runtime (~100MB, one-time) and
333+
builds an embeddings index of every memory + decision.
334+
Rolls back to 'full' on install or reindex failure.
335+
axme-code reindex [path] Force a full re-embed of all memories + decisions
336+
into .axme-code/_index/embeddings.json (search mode only)
337+
338+
axme-code auth Re-detect and choose auth mode (subscription/api_key)
339+
axme-code auth status Show current auth mode + detected options
340+
axme-code auth use <subscription|api_key> Set auth mode non-interactively
341+
axme-code cleanup legacy-artifacts [--dry-run] Remove pre-PR#7 sessions/logs
342+
axme-code cleanup decisions-normalize [--dry-run] Add status:active to decisions
343+
axme-code audit-kb [path] [--all-repos] KB audit: dedup, conflicts, compaction
344+
axme-code stats [path] Worklog statistics (sessions, costs, safety blocks)
345+
axme-code help Show this help
334346
335347
After setup, run 'claude' as usual. AXME tools are available automatically.`);
336348
}

0 commit comments

Comments
 (0)