runWithOutput method

  1. @override
Future<void> runWithOutput(
  1. Configuration<AppShowCommandOption> commandConfig,
  2. CommandOutput output
)
override

Runs this command with prepared configuration and output.

Subclasses should override this method.

Implementation

@override
Future<void> runWithOutput(
  final Configuration<AppShowCommandOption> commandConfig,
  final CommandOutput output,
) async {
  final projectId = commandConfig.value(AppShowCommandOption.projectId);
  final uploadId = commandConfig.value(AppShowCommandOption.uploadId);

  await AppShow.show(
    runner.serviceProvider.cloudApiClient,
    logger: logger,
    projectId: projectId,
    uploadId: UuidValue.withValidation(uploadId),
  );
}