Class: ClaudeMemory::Commands::HelpCommand

Inherits:
BaseCommand
  • Object
show all
Defined in:
lib/claude_memory/commands/help_command.rb

Overview

Displays help information for claude-memory CLI

Instance Attribute Summary

Attributes inherited from BaseCommand

#stderr, #stdin, #stdout

Instance Method Summary collapse

Methods inherited from BaseCommand

#initialize

Constructor Details

This class inherits a constructor from ClaudeMemory::Commands::BaseCommand

Instance Method Details

#call(_args) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/claude_memory/commands/help_command.rb', line 7

def call(_args)
  stdout.puts <<~HELP
    claude-memory - Long-term memory for Claude Code

    Usage: claude-memory <command> [options]

    Commands:
      changes    Show recent fact changes
      compact    Compact databases (VACUUM + integrity check)
      conflicts  Show open conflicts
      db:init    Initialize the SQLite database
      doctor     Check system health
      explain    Explain a fact with receipts
      export     Export facts to JSON for backup
      help       Show this help message
      hook       Run hook entrypoints (ingest|sweep|publish|context)
      init       Initialize ClaudeMemory in a project
      ingest     Ingest transcript delta
      promote    Promote a project fact to global memory
      publish    Publish snapshot to Claude Code memory
      recall     Recall facts matching a query
      recover    Recover stuck operations
      reject     Mark a fact as rejected (e.g. hallucination)
      restore    Restore superseded facts from reclassified predicates
      search     Search indexed content
      serve-mcp  Start MCP server
      stats      Show statistics (--tools for MCP telemetry)
      sweep      Run maintenance/pruning
      uninstall  Remove ClaudeMemory configuration
      version    Show version number

    Utilities:
      completion     Generate shell completions (bash/zsh)
      embeddings     Inspect embedding backend
      git-lfs        Git LFS integration for memory DB
      index          Build or rebuild content indexes
      install-skill  Install agent skills to ~/.claude/commands/

    Run 'claude-memory <command> --help' for more information on a command.
  HELP
  0
end