runWithConfig method
Runs this command with prepared configuration (options). Subclasses should override this method.
Implementation
@override
Future<void> runWithConfig(
final Configuration<AdminProjectStatusOption> commandConfig,
) async {
final projectId = commandConfig.value(AdminProjectStatusOption.projectId);
final limit = commandConfig.value(AdminProjectStatusOption.limit);
final inUtc = commandConfig.value(AdminProjectStatusOption.utc);
final statuses = await runner.serviceProvider.cloudApiClient.adminProjects
.getDeployAttempts(
cloudCapsuleId: projectId,
limit: limit,
);
final table = DeployStatusTable(inUtc: inUtc)..addRows(statuses);
table.writeLines(logger.line);
}