partnercenter/azext_partnercenter/operations/marketplace_offer_submission/commands.py (9 lines of code) (raw):

# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- # pylint: disable=line-too-long from azure.cli.core.commands import CliCommandType from azext_partnercenter._client_factory import cf_offer_submission def load_command_table(commands_loader, _): command_type = CliCommandType(operations_tmpl='azext_partnercenter.clients#OfferSubmissionClient.{}', client_factory=cf_offer_submission) custom_command_type = CliCommandType(operations_tmpl='azext_partnercenter.operations.marketplace_offer_submission.custom#{}', client_factory=cf_offer_submission) with commands_loader.command_group('partnercenter marketplace offer submission', command_type=command_type, custom_command_type=custom_command_type, is_preview=True) as g: g.custom_show_command('show', 'get_submission', table_transformer=None) g.custom_command('list', 'list_submission', table_transformer=None) g.custom_command('publish', 'publish_submission') # g.custom_command('delete', 'delete_submission', confirmation=True, supports_no_wait=True, table_transformer=None)