VerifyCommand constructor
VerifyCommand()
Implementation
VerifyCommand() {
argParser
// Both default to what the project has, found from the repository root
// rather than the working directory — a literal 'CHANGELOG.md' default
// would resolve against wherever this was invoked from, which for every
// consumer is the package that pins it rather than the repository.
..addOption(
'changelog',
help:
'CHANGELOG.md to check every version section of. Defaults to the '
"repository's, when it has one.",
)
..addOption(
'appstore',
help:
'App Store metadata tree to validate. Defaults to store/appstore '
'when the project has one, and is skipped when it does not.',
)
..addMultiOption(
'require-screenshot-type',
help:
'A ScreenshotDisplayType the listing must carry, e.g. '
'APP_IPAD_PRO_3GEN_129. A universal app needs an iPad set as well '
'as an iPhone one, and Apple refuses the submission rather than '
'the upload.',
)
..addMultiOption(
'require-locale',
help: 'A locale the listing must carry, e.g. en-US.',
);
}