runWithOutput method
Future<void>
runWithOutput(
- Configuration<
AppLogCommandOption> commandConfig, - CommandOutput output
override
Runs this command with prepared configuration and output.
Subclasses should override this method.
Implementation
@override
Future<void> runWithOutput(
final Configuration<AppLogCommandOption> commandConfig,
final CommandOutput output,
) async {
final projectId = commandConfig.value(AppLogCommandOption.projectId);
final uploadId = commandConfig.value(AppLogCommandOption.uploadId);
final platform = commandConfig.value(AppLogCommandOption.platform);
await renderCommand(
output,
operation: () => AppOperations.followBuildLog(
runner.serviceProvider.cloudApiClient,
projectId: projectId,
uploadId: UuidValue.withValidation(uploadId),
platform: platform,
),
textOutputUi: const AppLogTextUi(),
);
}