Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReadCmd = &cobra.Command{
Use: "read",
Short: "Read the memory index",
Long: "\nRead and display the memory index maintained by the daemon.\n\n" +
"This command exports the graph-native memory index from FalkorDB and formats it for output. " +
"The index contains metadata and semantic analysis for all files in your memory directory.\n\n" +
"The read command is typically called by agent framework hooks (like Claude Code's " +
"SessionStart hooks) to load the memory index into the agent's context.\n\n" +
"Uses the graph-native format with flattened FileEntry structures.",
Example: ` # Plain XML output (structured format)
memorizer read
# Plain markdown output (human-readable)
memorizer read --format markdown
# Plain JSON output (programmatic access)
memorizer read --format json
# Verbose output with insights and related files
memorizer read -v
# Output wrapped for Claude Code SessionStart hook
memorizer read --integration claude-code-hook
# Output wrapped for Gemini CLI SessionStart hook
memorizer read --integration gemini-cli-hook`,
PreRunE: validateRead,
RunE: runRead,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.