@connected
    def show_tables(self, *globs, **kw):
        matches = set()
        if kw.get('views'):
            tablenames = [v.name for v in self.get_metadata().views]
        else:
            tablenames = self.get_metadata().tables
        if not globs:
            matches = tablenames
        else:
            for glob in globs:
                matches.update(fnmatch.filter(tablenames, glob))
        matches = sorted(matches)
        self.render_result(FakedResult(((r,) for r in matches), ['Table']))
        # print '\n'.join(sorted(matches))
Print a list of tablenames matching input glob/s.
dataset/ETHPy150Open jaysw/ipydb/ipydb/plugin.py/SqlPlugin.show_tables