hasShardSelection static method

bool hasShardSelection(
  1. List<String> arguments
)

Implementation

static bool hasShardSelection(List<String> arguments) {
  const options = {'--id', '--feature', '--profile', '--tag', '--path'};
  return options.any((option) => valueSet(arguments, option).isNotEmpty);
}