I'm now using the drush completion stuff (in zsh, as the completion rocks), and have been using these functions for a little while to autcomplete my features commands (which I used rather a lot).

Anyway, it would be ace if they were in the module and not in my .drushrc :o)

Patch to follow…

Members fund testing for the Drupal project. Drupal Association Learn more


stevetweeddale’s picture

And here it is…

mpotter’s picture

Status: Active » Needs review

Looks nice!

Chi’s picture

This issue marked as duplicate: #1867252: Support drush completion

stevetweeddale’s picture

Oops, apologies Chi, I did search for issues before posting this one… the typo must have meant I didn't spot it.

Anyways, I had a look at your patch and perhaps having a function for returning features is a better plan. Also, surrounding the return looks like a nice idea; though I think I'd copied the patterns I saw in drush core so not sure it matters.

hefox’s picture

Issue summary: View changes
Status: Needs review » Needs work

needs work based on #4