TemplateVerifyReleaseCommand constructor

TemplateVerifyReleaseCommand()

Implementation

TemplateVerifyReleaseCommand() {
  argParser.addOption(
    'version',
    abbr: 'v',
    help: 'Version constraint/target for template release verification.',
    defaultsTo: '1.0.0',
  );
  argParser.addOption(
    'profile',
    abbr: 'p',
    help: 'Verification policy profile (standard, strict, custom).',
    defaultsTo: 'standard',
  );
  argParser.addOption(
    'output',
    abbr: 'o',
    help: 'Target output directory when writing verification report to disk.',
    defaultsTo: 'doc/release',
  );
  argParser.addFlag(
    'write',
    negatable: false,
    help: 'Write generated release verification report directly to disk.',
  );
  argParser.addFlag(
    'json',
    negatable: false,
    help: 'Output release verification pipeline result as JSON.',
  );
}