updateMessage property

String get updateMessage

Get formatted update message

Implementation

String get updateMessage {
  if (!hasUpdate) return '';

  return '${OutputConfig.warningEmoji} Update available: $latestVersion (current: $currentVersion)\n'
      'Run `smartpub --update` to update.';
}