Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClearCmd = &cobra.Command{
Use: "clear",
Short: "Clear entries from the semantic analysis cache",
Long: "\nClear entries from the semantic analysis cache.\n\n" +
"By default, this command requires a flag to specify what to clear:\n" +
" --all Clear all cached entries\n" +
" --stale Clear only stale entries (non-current versions)\n\n" +
"Cleared entries will be re-analyzed on next daemon rebuild or when " +
"the corresponding files are modified.",
Example: ` # Clear all cache entries
memorizer cache clear --all
# Clear only stale/legacy entries
memorizer cache clear --stale`,
PreRunE: validateClear,
RunE: runClear,
}
View Source
var StatusCmd = &cobra.Command{
Use: "status",
Short: "Show cache statistics and version distribution",
Long: "\nShow statistics about the semantic analysis cache.\n\n" +
"Displays the total number of cached entries, their size, and version distribution. " +
"Legacy entries (v0.0.0) are entries created before versioning was implemented and " +
"will be re-analyzed on next daemon rebuild.",
Example: ` # Show cache status and statistics
memorizer cache status`,
PreRunE: validateStatus,
RunE: runStatus,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.