Advanced Drupal Workflow for Alfred V2
15 MarBrian GilbertA more up to date version of this module is now the basis for the d.o Alfred modules 2.x release
I've been a longtime fan of Alfred App, an award-winning productivity application for Mac OS X.
They've just released Alfred v2 which is re-written from the ground up to be faster, more efficient and easier to use, as a powerpack user of V1 I've been beta testing it for several months now.
Alfred 2 has a new replacement for extensions called workflows and I have written a Drupal workflow that handles the Drupal API integration in a much faster way than the old Version 1 extension.
Along the way I found a bug in the api modules handling of function dumps which is now fixed and live on api.drupal.org thanks to jhodgdon, verified that this workflow causes less requests to api.drupal.org than the Alfred V1 extension, and generally had a lot of fun debugging things until it was working properly.
This workflow caches the Drupal api function list's locally and shows the variables that the function expects to receive as well, hitting enter opens the relevant page on api.drupal.org.
Usage
Drupal API lookup
d5 [substring_of-hook] (cached for 90 days)
d6 [substring_of-hook] (cached for 90 days)
d7 [substring_of-hook] (cached for 30 days)
d8 [substring_of-hook] (cached for 2 days)
g.d.o
dg [nid or group]
d.o
do [nid or project]
Search Drupal site network
ds [string to search]
Drupal user
du [user id or name]
Drush (drush as per Alfred v1 Drupal plugin)
dd d [command] (a Drush alias with a Drush command command Action - Invokes Drush
dd o [command] (a Drush alias Action - Opens the URI associated with the Drush alias in a browser)
A more up to date version of this module is now the basis for the d.o Alfred modules 2.x release
See it in action
drupal planetdrupalos x