Check if there is a new version of the tool available when a command is run. Perform a GET of a remote path (or GitHub URL) to check https://api.github.com/repos/arduino/arduino-flasher-cli/releases/latest (should be available once the repository is public). Alternatively, perform an investigation starting from here.
If the check fails, do nothing. The tool must work offline. If there is a new version available, just show a message.