read

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL