Skip to content

Commit 2a99ee8

Browse files
authored
Merge pull request #126 from AxmeAI/docs/cli-help-search-commands-20260429
docs(cli): include config get/set + reindex + --version in usage()
2 parents 1c02ee5 + 2163f1c commit 2a99ee8

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)