'modules
List all available modules and their descriptions.'

def do_modules(self, line, cacheonly=False):

    d = self.request((self.ownopts['cli.server_baseurl'] + '/modules'))
    if (not d):
        return
    if cacheonly:
        j = json.loads(d)
        for m in j:
            self.modules.append(m['name'])
        return
    self.send_output(d, line, titles={'name': 'Module    name', 'descr': 'Description'})
