Skip to content
kasha

kasha ls

List the remote cache's generations with the verdict `gc` would apply
Usage: kasha ls [OPTIONS] --remote <REMOTE>
Options:
--remote <REMOTE>
Remote cache as s3://bucket?endpoint=…&region=… (read-only creds suffice) [env: KASHA_REMOTE=]
--main-keep <MAIN_KEEP>
Keep the N newest `main` generations per group [default: 5]
--main-age-weeks <MAIN_AGE_WEEKS>
Also keep `main` generations younger than this many weeks [default: 4]
--other-keep <OTHER_KEEP>
Keep the N newest non-`main` generations per group [default: 1]
--other-age-weeks <OTHER_AGE_WEEKS>
Also keep non-`main` generations younger than this many weeks [default: 1]
--stale-weeks <STALE_WEEKS>
Drop a group's count-retained generations once its newest one trails the newest of its flake's tier (main or other) by this many weeks; release tags (`v1.2.3`) never go stale; 0 disables [default: 4]
-h, --help
Print help