Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitializeCmd = &cobra.Command{
Use: "initialize",
Short: "Initialize configuration and memory directory",
Long: "\nCreates default configuration file and memory directory.\n\n" +
"The initialize command sets up the Agentic Memorizer by creating a default configuration " +
"file and the memory directory where you'll store files for analysis and indexing.\n\n" +
"By default, runs an interactive TUI wizard. Use --unattended for scripted setup.\n\n" +
"After initialization, start the daemon manually with 'memorizer daemon start' " +
"or set up as a system service for automatic management (recommended for production).\n\n" +
"By default, configuration and data files are stored in ~/.memorizer/. " +
"You can customize this location by setting the MEMORIZER_APP_DIR environment variable " +
"before running initialize.",
Example: ` # Interactive initialization (TUI wizard)
memorizer initialize
# Unattended initialization with required flags
memorizer initialize --unattended \
--use-env-anthropic-api-key \
--start-falkordb \
--integrations claude-code-hook,claude-code-mcp
# Unattended with explicit API keys
memorizer initialize --unattended \
--anthropic-api-key sk-ant-... \
--openai-api-key sk-... \
--enable-embeddings \
--graph-host localhost \
--graph-port 6379
# Force overwrite existing config
memorizer initialize --force`,
PreRunE: validateInit,
RunE: runInit,
}
Functions ¶
This section is empty.
Types ¶
type StartupInfo ¶ added in v0.13.0
type StartupInfo struct {
InstallChoice int // 0=InstallUser, 1=InstallSystem, 2=InstallSkip
StartChoice int // 0=StartNow, 1=StartLater (only relevant for InstallUser)
}
StartupInfo contains information about service-manager setup choices
Click to show internal directories.
Click to hide internal directories.