Skip to content

Commit

Permalink
Generated from d4c6676c1337f154dd9152eabb99b442b9d12ec0
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Oct 7, 2020
1 parent b17f994 commit 3285dd7
Show file tree
Hide file tree
Showing 67 changed files with 16,946 additions and 5,949 deletions.
40 changes: 29 additions & 11 deletions src/storagesync/azext_storagesync/__init__.py
Original file line number Diff line number Diff line change
@@ -1,32 +1,50 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from azure.cli.core import AzCommandsLoader

from azext_storagesync._help import helps # pylint: disable=unused-import
from azext_storagesync.generated._help import helps # pylint: disable=unused-import
try:
from azext_storagesync.manual._help import helps # pylint: disable=reimported
except ImportError:
pass


class MicrosoftStorageSyncCommandsLoader(AzCommandsLoader):

def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
from azext_storagesync._client_factory import cf_storagesync
from azext_storagesync.generated._client_factory import cf_storagesync_cl
storagesync_custom = CliCommandType(
operations_tmpl='azext_storagesync.custom#{}',
client_factory=cf_storagesync)
super(MicrosoftStorageSyncCommandsLoader, self).__init__(cli_ctx=cli_ctx,
custom_command_type=storagesync_custom)
client_factory=cf_storagesync_cl)
parent = super(MicrosoftStorageSyncCommandsLoader, self)
parent.__init__(cli_ctx=cli_ctx, custom_command_type=storagesync_custom)

def load_command_table(self, args):
from azext_storagesync.commands import load_command_table
from azext_storagesync.generated.commands import load_command_table
load_command_table(self, args)
try:
from azext_storagesync.manual.commands import load_command_table as load_command_table_manual
load_command_table_manual(self, args)
except ImportError:
pass
return self.command_table

def load_arguments(self, command):
from azext_storagesync._params import load_arguments
from azext_storagesync.generated._params import load_arguments
load_arguments(self, command)
try:
from azext_storagesync.manual._params import load_arguments as load_arguments_manual
load_arguments_manual(self, command)
except ImportError:
pass


COMMAND_LOADER_CLS = MicrosoftStorageSyncCommandsLoader
38 changes: 0 additions & 38 deletions src/storagesync/azext_storagesync/_client_factory.py

This file was deleted.

285 changes: 0 additions & 285 deletions src/storagesync/azext_storagesync/_help.py

This file was deleted.

Loading

0 comments on commit 3285dd7

Please sign in to comment.