swh.storage.cli module#

swh.storage.cli.ensure_check_config(storage_cfg: Dict, check_config: str | None, default: str)[source]#

Helper function to inject the setting of check_config option in the storage config dict according to the expected default value (default value depends on the command, eg. backfill can be read-only).

swh.storage.cli.main()[source]#