PubPassthroughCommand constructor
PubPassthroughCommand({})
Implementation
PubPassthroughCommand({
required this.commandName,
required this.commandDescription,
this.commandAliases = const [],
}) {
if (!_pubPassthroughCommandNames.contains(commandName)) {
throw ArgumentError.value(
commandName,
'commandName',
'Must be a supported dart pub passthrough command',
);
}
}