Added
- Now
rustormywill try to get data from other providers if the first one fails. - Added
providersoption to config file to specify a list of providers in order of preference. - Added
-v/--verboseoption to show error details when a provider fails. - Implemented simple file cache for getting coordinates from city names to reduce API calls.
- Added
use_geocoding_cacheoption to config file to enable/disable caching (disabled for default). - Added
--no-cacheCLI option to disable caching for current run (overrides config file). - Added
--clear-cacheCLI option to clear cache directory and exit.
Changed
- Deprecated config file option
providerin favor ofproviderswhich accepts a list of providers in order of
preference. Old name is still supported for backward compatibility. Also--providerCLI option is still supported
and will override config file providers list with a single provider.
Fixed
- Improved code quality and maintainability.