serpent-os / boulder-d-legacy

Replaced by Rust tooling
https://serpentos.com
21 stars 7 forks source link

boulder/cli: Implement delete-cache subcommand #52

Closed joebonrichie closed 1 year ago

joebonrichie commented 1 year ago

By default delete-cache will remove the root cache dir. The user can optionally delete additional caches by passing args to the subcommand such as --upstreams to delete the upstreams cache. All caches can be deleted by passing --all. When a cache is removed, disk usage saved will also be reported.

Additionally, with the --size arg boulder will report the disk usage used by the various boulder caches, without removing them.

ikeycode commented 1 year ago

Does the job, doesn't it? :D Let's get 'er in. Thanks!