Beispiel #1
0
 def load_command_table(self, args):
     from azure.cli.command_modules.vm.commands import load_command_table
     load_command_table(self, args)
     try:
         from .generated.commands import load_command_table as load_command_table_generated
         load_command_table_generated(self, args)
         from .manual.commands import load_command_table as load_command_table_manual
         load_command_table_manual(self, args)
     except ImportError:
         pass
     return self.command_table
Beispiel #2
0
 def load_command_table(self, args):
     from azure.cli.command_modules.vm.commands import load_command_table
     load_command_table(self, args)
     try:
         # When generated commands are required uncomment the following two lines.
         # from .generated.commands import load_command_table as load_command_table_generated
         # load_command_table_generated(self, args)
         from .manual.commands import load_command_table as load_command_table_manual
         load_command_table_manual(self, args)
     except ImportError:
         pass
     return self.command_table
Beispiel #3
0
 def load_command_table(self, args):
     from azure.cli.command_modules.vm.commands import load_command_table
     load_command_table(self, args)
     try:
         from .generated.commands import load_command_table as load_command_table_generated
         load_command_table_generated(self, args)
         from .manual.commands import load_command_table as load_command_table_manual
         load_command_table_manual(self, args)
     except ImportError as e:
         if e.name.endswith('manual.commands'):
             pass
         else:
             raise e
     return self.command_table
Beispiel #4
0
 def load_command_table(self, args):
     from azure.cli.command_modules.vm.commands import load_command_table
     load_command_table(self, args)
     return self.command_table
Beispiel #5
0
 def load_command_table(self, args):
     from azure.cli.command_modules.vm.commands import load_command_table
     load_command_table(self, args)
     return self.command_table