def ListCommands(self):
    """Print a list of currently available commands and their descriptions."""
    print 'Available commands:'
    commands = dict(self.commands)
    for plugin in self.plugins:
      commands.update(plugin.commands)
    for com in sorted(commands):
      if not com.startswith('_'):
        self.PrintHelpTextLine(com, commands[com])
Print a list of currently available commands and their descriptions.