Derpseh / Spyglass

Nationstates Sheet-generator for easily finding approximate update times
GNU General Public License v3.0
11 stars 10 forks source link

Spyglass still requires interaction when launched with runtime flags #9

Closed khronion closed 2 years ago

khronion commented 2 years ago

Observed behavior: When launched with runtime flags, Spyglass still requires user interaction to execute if a regions.xml.gz file already exists in the working directory.

Desired behavior: Runtime flags are meant to allow Spyglass execution as a scheduled task (i.e. via cron). Spyglass should probably assume it needs to redownload the dump if launched with flags. Alternatively, a flag should be made available to force redownloading.

khronion commented 2 years ago

Trivial fix - if the user launches Spyglass with -n, force redownloading the dump. We need to consider flags to override update speeds though.