feat(cache): update cache

This commit is contained in:
Barrett Ruth 2025-10-24 14:26:51 -04:00
parent b3168ff3f0
commit 3daf582b7a
5 changed files with 53 additions and 8 deletions

View file

@ -109,10 +109,16 @@ COMMANDS *cp-commands*
switching files to restore your CP environment.
Cache Commands ~
:CP cache clear [contest]
Clear the cache data for the specified contest,
or all contests if none specified.
:CP cache clear [platform] [contest]
Clear cache data at different granularities:
• No args: Clear all cached data
• [platform]: Clear all data for a platform
• [platform] [contest]: Clear specific contest
Examples: >
:CP cache clear " Clear all
:CP cache clear codeforces " Clear CF
:CP cache clear codeforces 1848 " Clear CF 1848
<
:CP cache read
View the cache in a pretty-printed lua buffer.
Exit with q.