isUpdateAvailable static method
Check if an update is available
Implementation
static Future<bool> isUpdateAvailable(String currentVersion) async {
final latestVersion = await getLatestCLIVersion();
if (latestVersion == null) return false;
return compareVersions(currentVersion, latestVersion) < 0;
}