PublishWindowsMsStoreCommand constructor
PublishWindowsMsStoreCommand()
Implementation
PublishWindowsMsStoreCommand() {
argParser
..addOption(argMsStoreTenantId, mandatory: true)
..addOption(argMsStoreClientId, mandatory: true)
..addOption(
argMsStoreClientSecret,
mandatory: true,
help: 'The key of the Microsoft Entra application in Partner Center.',
)
..addOption(argMsStoreSellerId, mandatory: true)
..addOption(
argMsStoreProductId,
mandatory: true,
help:
'The Store id (e.g. 9N...), see Partner Center > Product identity.',
)
..addMultiOption(
argMsStorePackage,
help: 'The MSIX packages (e.g. one per architecture) built via '
'`build msix --store`. Multiple packages are published as bundle. '
'Takes the packages of the app version in the release folder by default.',
)
..addOption(
argMsStoreFlightId,
help: 'The package flight, publishes to the public by default.',
)
..addOption(
argMsStoreRolloutPercentage,
help: 'The rollout percentage of the package (0-100).',
)
..addOption(
argReleaseStatus,
allowed: WindowsReleaseStatus.values.map((s) => s.name),
defaultsTo: WindowsReleaseStatus.draft.name,
help: 'The status of the submission, '
'"${WindowsReleaseStatus.completed.name}" submits it for certification.',
);
}