This PR introduces a new --force flag (alias: -f). It overrides the upgrade behavior to force reinstall binaries when they do not have a new version available.
The option can be used when a new version of go is released that fixes vulnerabilities and the user wants to reinstall all the binaries using the new version.
This option cannot be used alongside the --dry-run option, since their behavior is opposite.
This PR introduces a new
--force
flag (alias: -f). It overrides the upgrade behavior to force reinstall binaries when they do not have a new version available.The option can be used when a new version of go is released that fixes vulnerabilities and the user wants to reinstall all the binaries using the new version.
This option cannot be used alongside the
--dry-run
option, since their behavior is opposite.Closes https://github.com/Gelio/go-global-update/issues/22