We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67fa4da commit 6bd5a39Copy full SHA for 6bd5a39
1 file changed
serverpod_cloud_cli/lib/command_runner/commands/admin/admin_redeploy_command.dart
@@ -1,16 +1,10 @@
1
import 'package:config/config.dart';
2
import 'package:serverpod_cloud_cli/command_runner/cloud_cli_command.dart';
3
+import 'package:serverpod_cloud_cli/command_runner/helpers/command_options.dart';
4
import 'package:serverpod_cloud_cli/commands/admin/project_admin.dart';
5
6
enum AdminRedeployOption<V> implements OptionDefinition<V> {
- projectId(
7
- StringOption(
8
- argPos: 0,
9
- mandatory: true,
10
- argName: 'project',
11
- helpText: 'The project ID to redeploy.',
12
- ),
13
- );
+ projectId(ProjectIdOption(asFirstArg: true));
14
15
const AdminRedeployOption(this.option);
16
0 commit comments