Skip to content

Instantly share code, notes, and snippets.

@danshumaker
danshumaker / p-connect.sh
Last active April 16, 2018 16:27 — forked from aaronbauman/p-connect.sh
Connect to a Pantheon database in Sequel Pro
#!/bin/sh
# Dan Shumaker modified&added features:
# 1. Use terminus instead of drush
# 2. Save standard options (if user wants to they can save their settings on lines 14-18 and not have to have any cli options)
# 3. Auto generate standard live,test,dev enviornment files
# 4. Removed dependency on separate spf template file.
#
# Tested with El Capitan, Sequel Pro 1.1 (Obac 177), terminus 0.10.0
# original: https://gist.github.com/aaronbauman/f50cc691eb3ed60a358c