runWithConfig method
Runs this command with prepared configuration (options). Subclasses should override this method.
Implementation
@override
Future<void> runWithConfig(
final Configuration<DeploymentsShowOption> commandConfig,
) async {
final projectId = commandConfig.value(DeploymentsShowOption.projectId);
final inUtc = commandConfig.value(DeploymentsShowOption.utc);
final wait = commandConfig.value(DeploymentsShowOption.wait);
final deploymentArg = commandConfig.optionalValue(
DeploymentsShowOption.deploy,
);
final overallStatus = commandConfig.value(
DeploymentsShowOption.overallStatus,
);
await DeploymentCommands.showDeployment(
runner.serviceProvider.cloudApiClient,
logger: logger,
baseCommand: baseCommand,
projectId: projectId,
wait: wait,
overallStatus: overallStatus,
inUtc: inUtc,
deploymentArg: deploymentArg,
);
}