incrementBuildFromOption method

void incrementBuildFromOption()

Implementation

void incrementBuildFromOption() {
  argParser.addFlag(
    'freeze-build',
    abbr: 'b',
    help: 'Do not increment build number',
    aliases: ['freezeBuild'],
  );
  argParser.addFlag(
    'no-build',
    abbr: 'n',
    help: 'Do not include build number in output',
    aliases: ['noBuild'],
  );
  argParser.addFlag(
    'ensure-major',
    abbr: 'm',
    help: 'Ensure next version >= 1.0.0',
    aliases: ['ensureMajor'],
  );
}