runWithConfig method
Runs this command with prepared configuration (options). Subclasses should override this method.
Implementation
@override
Future<void> runWithConfig(
final Configuration<ProjectUserRevokeOption> commandConfig,
) async {
final projectId = commandConfig.value(ProjectUserRevokeOption.projectId);
final userEmail = commandConfig.value(ProjectUserRevokeOption.user);
await ProjectCommands.revokeUser(
runner.serviceProvider.cloudApiClient,
logger: logger,
projectId: projectId,
email: userEmail,
unassignRoleNames: const [],
unassignAllRoles: true,
);
}