-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path__init__.py
More file actions
41 lines (36 loc) · 2.45 KB
/
__init__.py
File metadata and controls
41 lines (36 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# --------------------------------------------------------------------------------------------
# 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 azext_partnercenter.operations.marketplace_offer import MarketplaceOfferOperations
from azext_partnercenter.operations.marketplace_offer_plan import MarketplaceOfferPlanOperations
from azext_partnercenter.operations.marketplace_offer_plan_technicalconfiguration import MarketplaceOfferPlanTechnicalConfigurationOperations
from azext_partnercenter.operations.marketplace_offer_plan_listing import MarketplaceOfferPlanListingOperations
from azext_partnercenter.operations.marketplace_offer_listing_contact import MarketplaceOfferListingContactOperations
from azext_partnercenter.operations.marketplace_offer_listing_uri import MarketplaceOfferListingUriOperations
from azext_partnercenter.operations.marketplace_offer_listing import MarketplaceOfferListingOperations
from azext_partnercenter.operations.marketplace_offer_listing_media import MarketplaceOfferListingImageOperations
from azext_partnercenter.operations.marketplace_offer_package import MarketplaceOfferPackageOperations
from azext_partnercenter.operations.marketplace_offer_submission import MarketplaceOfferSubmissionOperations
class PartnerCenterSubGroupCommandsLoader():
def __init__(self, commands_loader):
self.commands_loader = commands_loader
self.subgroup_command_loaders = [
MarketplaceOfferOperations(self),
MarketplaceOfferPlanOperations(self),
MarketplaceOfferPlanTechnicalConfigurationOperations(self),
MarketplaceOfferListingOperations(self),
MarketplaceOfferPackageOperations(self),
MarketplaceOfferSubmissionOperations(self),
MarketplaceOfferPlanListingOperations(self),
MarketplaceOfferListingContactOperations(self),
MarketplaceOfferListingUriOperations(self),
MarketplaceOfferListingImageOperations(self)
]
def load_arguments(self, _):
for command_loader in self.subgroup_command_loaders:
command_loader.load_arguments(_)
def load_command_table(self, _):
for command_loader in self.subgroup_command_loaders:
command_loader.load_command_table(_)