DowngradeCommand constructor
DowngradeCommand()
Implementation
DowngradeCommand() {
addGlobalPubArgs(argParser);
argParser.addFlag(
'offline',
help: 'Use cached packages instead of accessing the network',
);
argParser.addFlag(
'dry-run',
abbr: 'n',
help: "Report what dependencies would change but don't change any",
);
argParser.addFlag(
'tighten',
help:
'Updates lower bounds in pubspec.yaml to match the resolved version',
negatable: false,
);
}