Skip to content

Commit 6bd5a39

Browse files
author
serverpod_cloud
committed
fix(cli): 2ee05e99eb20b8509d9360c36b4d4781fbd7c6e3
1 parent 67fa4da commit 6bd5a39

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

serverpod_cloud_cli/lib/command_runner/commands/admin/admin_redeploy_command.dart

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
import 'package:config/config.dart';
22
import 'package:serverpod_cloud_cli/command_runner/cloud_cli_command.dart';
3+
import 'package:serverpod_cloud_cli/command_runner/helpers/command_options.dart';
34
import 'package:serverpod_cloud_cli/commands/admin/project_admin.dart';
45

56
enum AdminRedeployOption<V> implements OptionDefinition<V> {
6-
projectId(
7-
StringOption(
8-
argPos: 0,
9-
mandatory: true,
10-
argName: 'project',
11-
helpText: 'The project ID to redeploy.',
12-
),
13-
);
7+
projectId(ProjectIdOption(asFirstArg: true));
148

159
const AdminRedeployOption(this.option);
1610

0 commit comments

Comments
 (0)