runWithConfig method

  1. @override
Future<void> runWithConfig(
  1. Configuration<AdminUpdatePlanOption> commandConfig
)
override

Runs this command with prepared configuration (options). Subclasses should override this method.

Implementation

@override
Future<void> runWithConfig(
  final Configuration<AdminUpdatePlanOption> commandConfig,
) async {
  final externalPlanId = commandConfig.value(
    AdminUpdatePlanOption.externalPlanId,
  );

  await PlanAdminCommands.updateOrbPlan(
    runner.serviceProvider.cloudApiClient,
    logger: logger,
    externalPlanId: externalPlanId,
  );
}