cache
Manage the card cache.
./ritual cache <subcommand> [options]Subcommands
Section titled “Subcommands”preload-set
Section titled “preload-set”Preload all cards from a specific set into the cache.
./ritual cache preload-set <setCode>| Argument | Description | Required |
|---|---|---|
<setCode> | Set code to preload (e.g., khm, lea) | Yes |
Examples
Section titled “Examples”Preload Kaldheim cards:
./ritual cache preload-set khmPreload Alpha cards:
./ritual cache preload-set lea- Set codes are the official Scryfall/Gatherer set codes
- Preloading a set fetches all cards and stores them locally
- This speeds up subsequent operations that reference cards from that set
- The cache is stored in the
cache/directory