def list_commands(self, ctx):
        """
        List CLI commands
        @type   ctx:    Context
        @rtype: list
        """
        commands_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'commands')
        command_list = [name for __, name, ispkg in pkgutil.iter_modules([commands_path]) if ispkg]
        command_list.sort()
        return command_list
def list_commands ( self , ctx ) : commands_path = os . path . join ( os . path . dirname ( os . path . realpath ( __file__ ) ) , 'commands' ) command_list = [ name for __ , name , ispkg in pkgutil . iter_modules ( [ commands_path ] ) if ispkg ] command_list . sort ( ) return command_list
List CLI commands
        @type   ctx:    Context
        @rtype: list