diff --git a/lib/src/command_runner.dart b/lib/src/command_runner.dart index 96029fb2e..fbf88292a 100644 --- a/lib/src/command_runner.dart +++ b/lib/src/command_runner.dart @@ -124,7 +124,7 @@ class VeryGoodCommandRunner extends CommandRunner { ''' ${lightYellow.wrap('Update available!')} ${lightCyan.wrap(packageVersion)} \u2192 ${lightCyan.wrap(latestVersion)} ${lightYellow.wrap('Changelog:')} ${lightCyan.wrap('https://github.com/verygoodopensource/very_good_cli/releases/tag/v$latestVersion')} -Run ${lightCyan.wrap('dart pub global activate very_good_cli')} to update''', +Run ${lightCyan.wrap('very_good update')} to update''', ); } } catch (_) {} diff --git a/test/src/command_runner_test.dart b/test/src/command_runner_test.dart index 69c4fa8f2..c0b7ff906 100644 --- a/test/src/command_runner_test.dart +++ b/test/src/command_runner_test.dart @@ -47,7 +47,7 @@ const latestVersion = '0.0.0'; final updatePrompt = ''' ${lightYellow.wrap('Update available!')} ${lightCyan.wrap(packageVersion)} \u2192 ${lightCyan.wrap(latestVersion)} ${lightYellow.wrap('Changelog:')} ${lightCyan.wrap('https://github.com/verygoodopensource/very_good_cli/releases/tag/v$latestVersion')} -Run ${lightCyan.wrap('dart pub global activate very_good_cli')} to update'''; +Run ${lightCyan.wrap('very_good update')} to update'''; void main() { group('VeryGoodCommandRunner', () {