Skip to content

Commit a7f0cef

Browse files
author
SDK Automation
committed
Generated from b5fd6bd4f8e024e1dbda426b375e9b43d0c928ac
1 parent d1ed198 commit a7f0cef

File tree

67 files changed

+17416
-5950
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+17416
-5950
lines changed
Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,50 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
3-
# Licensed under the MIT License. See License.txt in the project root for license information.
4-
# --------------------------------------------------------------------------------------------
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
510

611
from azure.cli.core import AzCommandsLoader
7-
8-
from azext_storagesync._help import helps # pylint: disable=unused-import
12+
from azext_storagesync.generated._help import helps # pylint: disable=unused-import
13+
try:
14+
from azext_storagesync.manual._help import helps # pylint: disable=reimported
15+
except ImportError:
16+
pass
917

1018

1119
class MicrosoftStorageSyncCommandsLoader(AzCommandsLoader):
1220

1321
def __init__(self, cli_ctx=None):
1422
from azure.cli.core.commands import CliCommandType
15-
from azext_storagesync._client_factory import cf_storagesync
23+
from azext_storagesync.generated._client_factory import cf_storagesync_cl
1624
storagesync_custom = CliCommandType(
1725
operations_tmpl='azext_storagesync.custom#{}',
18-
client_factory=cf_storagesync)
19-
super(MicrosoftStorageSyncCommandsLoader, self).__init__(cli_ctx=cli_ctx,
20-
custom_command_type=storagesync_custom)
26+
client_factory=cf_storagesync_cl)
27+
parent = super(MicrosoftStorageSyncCommandsLoader, self)
28+
parent.__init__(cli_ctx=cli_ctx, custom_command_type=storagesync_custom)
2129

2230
def load_command_table(self, args):
23-
from azext_storagesync.commands import load_command_table
31+
from azext_storagesync.generated.commands import load_command_table
2432
load_command_table(self, args)
33+
try:
34+
from azext_storagesync.manual.commands import load_command_table as load_command_table_manual
35+
load_command_table_manual(self, args)
36+
except ImportError:
37+
pass
2538
return self.command_table
2639

2740
def load_arguments(self, command):
28-
from azext_storagesync._params import load_arguments
41+
from azext_storagesync.generated._params import load_arguments
2942
load_arguments(self, command)
43+
try:
44+
from azext_storagesync.manual._params import load_arguments as load_arguments_manual
45+
load_arguments_manual(self, command)
46+
except ImportError:
47+
pass
3048

3149

3250
COMMAND_LOADER_CLS = MicrosoftStorageSyncCommandsLoader

src/storagesync/azext_storagesync/_client_factory.py

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/storagesync/azext_storagesync/_help.py

Lines changed: 0 additions & 285 deletions
This file was deleted.

0 commit comments

Comments
 (0)