def showPlugins(self):
import textwrap<EOL>class DummyParser:<EOL><INDENT>def __init__(self):<EOL><INDENT>self.options = []<EOL><DEDENT>def add_option(self, *arg, **kw):<EOL><INDENT>self.options.append((arg, kw.pop('<STR_LIT>', '<STR_LIT>')))<EOL><DEDENT><DEDENT>v = self.config.verbosity<EOL>self.config.plugins.sort()<EOL>for p in self.config.plugins:<EOL><INDENT>print("<STR_LIT>" % p.name)<EOL>if v >= <NUM_LIT:2>:<EOL><INDENT>print("<STR_LIT>" % p.score)<EOL>print('<STR_LIT:\n>'.join(textwrap.wrap(p.help().strip(),<EOL>initial_indent='<STR_LIT:U+0020>',<EOL>subsequent_indent='<STR_LIT:U+0020>')))<EOL>if v >= <NUM_LIT:3>:<EOL><INDENT>parser = DummyParser()<EOL>p.addOptions(parser)<EOL>if len(parser.options):<EOL><INDENT>print()<EOL>print("<STR_LIT>")<EOL>for opts, help in parser.options:<EOL><INDENT>print('<STR_LIT>' % ('<STR_LIT:U+002CU+0020>'.join(opts)))<EOL>if help:<EOL><INDENT>print('<STR_LIT:\n>'.join(<EOL>textwrap.wrap(help.strip(),<EOL>initial_indent='<STR_LIT:U+0020>',<EOL>subsequent_indent='<STR_LIT:U+0020>')))<EOL><DEDENT><DEDENT><DEDENT><DEDENT>print()<EOL><DEDENT><DEDENT>
Print list of available plugins.