runWithConfig method

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

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

Implementation

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

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