runWithConfig method

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

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

Implementation

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

  await UserCommands.listUsers(
    runner.serviceProvider.cloudApiClient,
    logger: logger,
    projectId: projectId,
  );
}