fix(shorebird_cli): update shorebird apps list copy (#69)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user