Exemplo n.º 1
0
 def format_help(self):
     from azure.cli.core.telemetry import log_telemetry
     is_group = self.is_group()
     log_telemetry('show help', prog=self.prog)
     _help.show_help(self.prog.split()[1:],
                     self._actions[-1] if is_group else self, is_group)
     self.exit()
Exemplo n.º 2
0
 def format_help(self):
     is_group = self.is_group()
     log_telemetry('show help', prog=self.prog)
     _help.show_help(self.prog.split()[1:],
                     self._actions[-1] if is_group else self,
                     is_group)
     self.exit()
Exemplo n.º 3
0
 def format_help(self):
     from azure.cli.core.telemetry import log_telemetry
     is_group = self.is_group()
     log_telemetry('show help', prog=self.prog)
     _help.show_help(self.prog.split()[1:],
                     self._actions[-1] if is_group else self,
                     is_group)
     self.exit()
Exemplo n.º 4
0
    def format_help(self):
        is_group = self.is_group()

        telemetry.set_command_details(command=self.prog[3:])
        telemetry.set_success(summary='show help')

        _help.show_help(self.prog.split()[1:],
                        self._actions[-1] if is_group else self, is_group)
        self.exit()
Exemplo n.º 5
0
    def format_help(self):
        is_group = self.is_group()

        telemetry.set_command_details(command=self.prog[3:])
        telemetry.set_success(summary='show help')

        _help.show_help(self.prog.split()[1:],
                        self._actions[-1] if is_group else self,
                        is_group)
        self.exit()
Exemplo n.º 6
0
    def format_help(self):
        is_group = self.is_group()

        telemetry.set_command_details(
            command=self.prog[3:],
            extension_name=self.command_source.extension_name if self.command_source else None)
        telemetry.set_success(summary='show help')

        _help.show_help(self.prog.split()[1:],
                        self._actions[-1] if is_group else self,
                        is_group)
        self.exit()
Exemplo n.º 7
0
 def format_help(self):
     is_group = self.is_group()
     log_telemetry('show help', prog=self.prog)
     _help.show_help(self.prog.split()[1:],
                     self._actions[-1] if is_group else self, is_group)
     self.exit()