derimagia / pantheon-bitbar

A Bitbar Plugin for Pantheon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pantheon Bitbar

A Bitbar Plugin for Pantheon

Screenshot

Features:

  1. List sites you have access to on Pantheon in your Menubar.
  2. You can click on a site to open the site.
  3. If you hold ⌥ (Option) you can open a Drupal site and automatically login as user 1.
  4. You can change the environments you are working on by clicking the top menu item.

Prerequesites

  1. Terminus - Testing with Version > 0.10.3. (Make sure you add a machine key and have authed)
  2. Bitbar

Installing

You have two choices:

If you already have Bitbar you can copy this command into your console to install it:

open "bitbar://openPlugin?title=Pantheon&src=https://raw.githubusercontent.com/derimagia/pantheon-bitbar/master/pantheon-list-sites.1h.php"

You can also simply clone this repo and copy the script to your Bitbar plugin's folder.

Common Issues

  1. Make sure the command terminus sites list --format=json returns your sites in JSON format. If it does not, update your terminus version.
  2. Confirm terminus is located at /usr/local/bin/terminus. If it is not, you can change this at the top of the script.

Suggestions

Feel free to open any issues or pull requests to contribute.

About

A Bitbar Plugin for Pantheon


Languages

Language:PHP 100.0%