fix(shorebird_cli): update shorebird apps list copy (#69)

This commit is contained in:
Felix Angelov
2023-03-14 14:49:19 -05:00
committed by GitHub
parent b87f83f4c5
commit a4bec065b9
2 changed files with 4 additions and 4 deletions
@@ -8,7 +8,7 @@ import 'package:shorebird_code_push_client/shorebird_code_push_client.dart';
/// {@template list_apps_command}
///
/// `shorebird apps list`
/// List all Shorebird apps.
/// List all apps using Shorebird.
/// {@endtemplate}
class ListAppsCommand extends ShorebirdCommand {
/// {@macro list_apps_command}
@@ -19,7 +19,7 @@ class ListAppsCommand extends ShorebirdCommand {
});
@override
String get description => 'List all Shorebird apps.';
String get description => 'List all apps using Shorebird.';
@override
String get name => 'list';
@@ -31,7 +31,7 @@ class ListAppsCommand extends ShorebirdCommand {
Future<int>? run() async {
final session = auth.currentSession;
if (session == null) {
logger.err('You must be logged in to publish.');
logger.err('You must be logged in.');
return ExitCode.noUser.code;
}
@@ -39,7 +39,7 @@ void main() {
});
test('description is correct', () {
expect(command.description, equals('List all Shorebird apps.'));
expect(command.description, equals('List all apps using Shorebird.'));
});
test('returns ExitCode.noUser when not logged in', () async {