We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 532d583 commit 6358cd6Copy full SHA for 6358cd6
src/aks-preview/azext_aks_preview/__init__.py
@@ -35,6 +35,21 @@ def __init__(self, cli_ctx=None):
35
36
def load_command_table(self, args):
37
super().load_command_table(args)
38
+
39
+ # Load AAZ-generated commands from the preview API
40
+ from azure.cli.core.aaz import load_aaz_command_table
41
+ try:
42
+ from . import aaz
43
+ except ImportError:
44
+ aaz = None
45
+ if aaz:
46
+ load_aaz_command_table(
47
+ loader=self,
48
+ aaz_pkg_name=aaz.__name__,
49
+ args=args
50
+ )
51
52
+ # Load custom command implementations (will override AAZ commands)
53
from azext_aks_preview.commands import load_command_table
54
load_command_table(self, args)
55
return self.command_table
0 commit comments