SetCommand constructor

SetCommand()

Creates the set command and its supported flags.

Implementation

SetCommand() {
  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 change')
    ..addFlag(
      'push',
      negatable: false,
      help: 'Push changes after setting version',
    );
}