VersionCommand constructor

VersionCommand()

Implementation

VersionCommand()
    : super(
        'version',
        'Increment a version in ${Spec.fileName}, '
            'where <part> is one of: ${VersionIncrement.namesList}. '
            'A build number is kept as is, '
            'if the --$_argBuild flag is not passed.',
      ) {
  argParser.addFlag(
    _argBuild,
    abbr: 'b',
    help: 'Increment a build number (after +) too. '
        'By default only a version is changed, '
        "because usually a build number is already prepared "
        'for the next build.',
  );
}