TL;DR
Factorio CLI should provide commands for updating Factorio and/or modsWhat ?
Factorio command-line interface (CLI) should provide commands for downloading update packages and/or mod updates.I.e., the following:
Code: Select all
./factorio --download-update experimental --latest
./factorio --apply-update 2.0.0 --download
./factorio --update-mods --all
./factorio --download-mods "space-exploration>=0.6,Milestones"
They should also use the already-authorized user's credentials, or allow "--auth USERNAME:PASSWORD" parameter if none.
Why ?
Factorio client already has this functionality, but it is only available in the UI.Factorio CLI supports only applying already downloaded update packages but does not provide any option to download them.
There are multiple 3rd-party scripts covering this functionality, but it would be nice to have them "from the box", here are some of them: