Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FactsCmd = &cobra.Command{
Use: "facts",
Short: "Read stored facts",
Long: "\nRead and display all stored facts from the knowledge graph.\n\n" +
"Facts are user-defined context items that are injected into agent sessions " +
"via hooks. This command is typically called by UserPromptSubmit or BeforeAgent hooks " +
"to provide persistent context to the agent.",
Example: ` # Plain XML output (structured format, default)
memorizer read facts
# Plain JSON output (programmatic access)
memorizer read facts --format json
# Output wrapped for Claude Code UserPromptSubmit hook
memorizer read facts --integration claude-code-hook
# Output wrapped for Gemini CLI BeforeAgent hook
memorizer read facts --integration gemini-cli-hook`,
PreRunE: validateReadFacts,
RunE: runReadFacts,
}
View Source
var FilesCmd = &cobra.Command{
Use: "files",
Short: "Read the file memory index",
Long: "\nRead and display the file 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 files 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, default)
memorizer read files
# Plain JSON output (programmatic access)
memorizer read files --format json
# Verbose output with insights and related files
memorizer read files -v
# Output wrapped for Claude Code SessionStart hook
memorizer read files --integration claude-code-hook
# Output wrapped for Gemini CLI SessionStart hook
memorizer read files --integration gemini-cli-hook`,
PreRunE: validateReadFiles,
RunE: runReadFiles,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.