removeAllConfig method
Removes multiple config keys from stackName.
Implementation
Future<PulumiCommandResult> removeAllConfig(
String stackName,
Iterable<String> keys, {
bool path = false,
}) {
final filteredKeys = keys.where((key) => key.trim().isNotEmpty).toList();
if (filteredKeys.isEmpty) {
throw ArgumentError.value(keys, 'keys', 'At least one key is required');
}
final args = <String>['config', 'rm-all'];
if (path) {
args.add('--path');
}
args.addAll(<String>[...filteredKeys, '--stack', stackName]);
return runPulumiCommand(args);
}