hash
Compute and save SHA-256 hashes for all deck, collection, and wanted list files.
Ritual stores a .sha256 sidecar file alongside each list file so that content hashes do not need to be recomputed on every request. Hashes are automatically updated whenever a file is saved through the CLI or admin UI. Use this command to recompute and persist hashes for all lists at once — for example after editing files externally or restoring from a backup.
./ritual hash [options]Options
Section titled “Options”| Option | Description | Default |
|---|---|---|
--dry-run | Print computed hashes without writing .sha256 files | false |
Examples
Section titled “Examples”Recompute and save hashes for all lists:
./ritual hashPreview what would be written without making changes:
./ritual hash --dry-runUse a custom base directory:
./ritual --base-dir /path/to/site hash