urlscan-cli update to download the newest release of urlscan-cli and replace it with the current one (overwrite the current binary in place).
See https://pkg.go.dev/github.com/minio/selfupdate#section-readme for example.
Restic is an example of a Go program that has this feature and it's very convenient, imho.
cc @heipei