Downloads cloud images from configured directories to some locations
One may read architecture documentation to know project's architecture.
Create a TOML configuration file:
db_path tells where to store the sqlite database (default
is ~/.cache/cid.sqlite).
Use [[sites]] to define a site as an array of sites
from whom to download cloud images. Each site may have
the following keys:
nameas a string to name the site,version_listas an array of versions to look for,base_urlas a string that tells cloud-image-download the base url where to download images,after_version_urlas an array of directories to be added after the version (fromversion_list),image_name_filteras a Regex string to filter only these image names to download,image_name_cleanseas an array of Regex string to filter out the images (the images to download should not match any of those strings),normalizeis a string that will be used as a template to normalize the filename of the saved image. You can use{version},{date}and{after_version}modifiers in this string to customize the image name after these variable.destinationis a directory where to store the downloaded images.
[test_data/cloud-image-download.toml] is a configuration file example used for testing