chore(shorebird_cli): deprecate accounts upgrade command (#933)

This commit is contained in:
Felix Angelov
2023-07-27 10:12:36 -05:00
committed by GitHub
parent 6764a2f5b1
commit 8eafd2b402
@@ -25,6 +25,13 @@ class UpgradeAccountCommand extends ShorebirdCommand
@override
Future<int> run() async {
final consoleLink = link(uri: Uri.parse('https://console.shorebird.dev'));
logger.warn(
'''
This command is deprecated and will be removed in a future release.
Please use $consoleLink instead.''',
);
try {
await validatePreconditions(
checkUserIsAuthenticated: true,