BumpCommand constructor

BumpCommand()

Creates the bump command and its supported flags.

Implementation

BumpCommand() {
  argParser
    ..addFlag('no-commit', negatable: false, help: 'Do not create a commit')
    ..addFlag('no-tag', negatable: false, help: 'Do not create a tag')
    ..addFlag(
      'dry-run',
      negatable: false,
      help: 'Simulate the release without changes',
    )
    ..addFlag(
      'push',
      negatable: false,
      help: 'Push changes after the release',
    )
    ..addFlag(
      'no-changelog',
      negatable: false,
      help: 'Do not generate a Changelog',
    );
}