Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReloadCmd = &cobra.Command{
Use: "reload",
Short: "Reload configuration",
Long: "\nReload the configuration file and apply changes to running daemon.\n\n" +
"This command validates the new configuration and applies hot-reloadable " +
"changes to the daemon if it is running. If the daemon is not running, " +
"the configuration is validated and the next daemon start will use the new settings.\n\n" +
"Hot-reloadable settings:\n" +
"- Claude API settings (key, model, tokens, vision, timeout)\n" +
"- Worker pool size and rate limits\n" +
"- Debounce interval\n" +
"- Log level\n" +
"- Health check port\n" +
"- Rebuild interval\n" +
"- Skip patterns\n\n" +
"Settings that require daemon restart:\n" +
"- memory_root\n" +
"- analysis.cache_dir\n" +
"- daemon.log_file",
Example: ` # Reload configuration
agentic-memorizer config reload
# Check what's changed without applying
agentic-memorizer config validate`,
PreRunE: validateReload,
RunE: runReload,
}
View Source
var ValidateCmd = &cobra.Command{
Use: "validate",
Short: "Validate configuration file",
Long: "\nValidate the configuration file for errors.\n\n" +
"Performs comprehensive validation including:\n" +
"- Required fields are present\n" +
"- Values are within valid ranges\n" +
"- Paths are safe and accessible\n" +
"- Enums have valid values\n" +
"- Cross-field dependencies are satisfied",
Example: ` # Validate current configuration
agentic-memorizer config validate
# Validate specific config file
agentic-memorizer config validate --config /path/to/config.yaml`,
PreRunE: validateValidate,
RunE: runValidate,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.