'Run command.'

def run(self):

    info = {}
    info['platform'] = sublime.platform()
    info['version'] = sublime.version()
    info['arch'] = sublime.arch()
    info['bh_version'] = __version__
    info['pc_install'] = is_installed_by_package_control()
    try:
        import mdpopups
        info['mdpopups_version'] = format_version(mdpopups, 'version', call=True)
    except Exception:
        info['mdpopups_version'] = 'Version    could    not    be    acquired!'
    try:
        import markdown
        info['markdown_version'] = format_version(markdown, 'version')
    except Exception:
        info['markdown_version'] = 'Version    could    not    be    acquired!'
    try:
        import jinja2
        info['jinja_version'] = format_version(jinja2, '__version__')
    except Exception:
        info['jinja_version'] = 'Version    could    not    be    acquired!'
    try:
        import pygments
        info['pygments_version'] = format_version(pygments, '__version__')
    except Exception:
        info['pygments_version'] = 'Version    could    not    be    acquired!'
    msg = textwrap.dedent(('                                                -    Sublime    Text:            %(version)s\n                                                -    Platform:            %(platform)s\n                                                -    Arch:            %(arch)s\n                                                -    Theme:            %(bh_version)s\n                                                -    Install    via    PC:            %(pc_install)s\n                                                -    Dependencies:\n                                                                *    mdpopups:            %(mdpopups_version)s\n                                                                *    markdown:            %(markdown_version)s\n                                                                *    pygments:            %(pygments_version)s\n                                                                *    jinja2:            %(jinja_version)s\n                                                ' % info))
    view = sublime.active_window().active_view()
    def copy_and_hide(msg):
        sublime.set_clipboard(msg)
        view.hide_popup()
    view.show_popup((((msg.replace('\n', '<br>') + '<br><a    href="') + msg) + '">Copy</a>'), on_navigate=copy_and_hide, max_height=340)
