The shock CLI currently doesn't notice when it's out of date. It should check it's build number via the build_version package and then check that against the currently available version to using the pub_updater package to print a message, e.g.
static_shock_cli update available: 0.0.1 -> 0.7.11. run "shock update" to get the latest version.
The shock CLI currently doesn't notice when it's out of date. It should check it's build number via the build_version package and then check that against the currently available version to using the pub_updater package to print a message, e.g.
The Keeping the CLI up to date section of the Generate a Dart CLI with Very Good CLI blog post provides more details.