Overview
The gk cache command manages GemKit's cache with subcommands for viewing statistics and clearing cached data.
Usage
bash
Subcommands
stats (default)
Displays cache statistics.
bash
Output:
- Total entries count
- Cache size in kilobytes
clear
Removes all cached entries.
bash
Output: Reports the number of entries cleared with a success message.
Examples
bash
Example Output
Stats
Clear
When to Clear Cache
- Troubleshooting unexpected behavior
- After significant codebase changes
- To free up disk space
- Starting fresh with a project
Related Commands
gk session- View session datagk doctor- Diagnose issues