đž cache
Manage the local geol cache.
đĨī¸ Usageâ
geol cache [command] [options]
đ Descriptionâ
The cache command manages the local cache stored by geol.
The cache file contains the list of products and aliases retrieved from the endoflife.date API. It is stored in the user's configuration directory.
Typical location:
geol/products.json
Use this command to:
- Refresh the local cache
- Remove the cache file
- View cache information
âī¸ Global Optionsâ
The following option is available for this command:
-l, --log-level
Supported values:
debuginfo(default)warnerror
Example:
geol cache refresh --log-level debug
đ Available Subcommandsâ
| Subcommand | Description |
|---|---|
refresh | Download the latest products and aliases from endoflife.date |
status | Display information about the local cache |
clear | Delete the local cache file |
đ Refresh the Cacheâ
Download the latest list of products and aliases from the endoflife.date API and store it locally.
Usageâ
geol cache refresh
Exampleâ
geol cache refresh
Run this command if you want to make sure you are using the latest product data.
đ Display Cache Statusâ
Display information about the local cache file.
Usageâ
geol cache status
Exampleâ
geol cache status
This command can be used to verify whether a cache file exists and check its current status.
đī¸ Clear the Cacheâ
Delete the locally cached products file.
Usageâ
geol cache clear
Exampleâ
geol cache clear
After clearing the cache, geol may need to download product information again the next time cache data is required.
đĄ Common Use Casesâ
Use this command to:
- Refresh local product data
- Troubleshoot cache-related issues
- Remove outdated cache files
- Verify cache availability