PrepareReleaseCommand constructor

PrepareReleaseCommand({
  1. required Printer printer,
  2. required NextVersionCommand nextVersionCommand,
  3. required RemoteTagIdCommand remoteTagIdCommand,
  4. required ChangelogCommand changelogCommand,
  5. required UpdateVersionCommand updateVersionCommand,
})

Implementation

PrepareReleaseCommand({
  required this.printer,
  required this.nextVersionCommand,
  required this.remoteTagIdCommand,
  required this.changelogCommand,
  required this.updateVersionCommand,
}) {
  argParser.addFlag(
    'writeSummary',
    abbr: 'w',
    help:
        'Writes release information to files (VERSION.txt and RELEASE_SUMMARY.txt)',
  );
}