It's high time I be able to type 'eff you' and have it get something useful done at the same time. In light of this, I think we need some aliases for the drush commands:

For instance, say I want to update my Suckah feature. Currently I must type:

drush features-update suckah

I propose:

drush fu suckah

Or, imagine that I want to update all features. Currently I type this:

drush features-update-all

Why not this lovely piece of command line beauty?

drush fu-all

Enough small talk. Here's the patch!

CommentFileSizeAuthor
eff-you-all.patch1.5 KBq0rban

Comments

yhahn’s picture

Status: Active » Needs review

Community feedback pls.

jmiccolis’s picture

Wow and the patch is even fair to the `features-revert` command, short form is the much less fun `fr`. I think that this makes the patch socially acceptable.

q0rban’s picture

I like to pronounce that 'effer', as in 'Eff the effin effers.'

sirkitree’s picture

Haha! Plus 1! This is actually pretty useful as well as funny. Tested and working on my end. Anything to shorten commands is great in my book, and I do tend to type these command quite often now.

seanr’s picture

I am all over this, having had to type out features-update at least a dozen times in the last week. Got a good laugh out of my coworker too. ;-)

walkah’s picture

Title: Add censored explatives to my daily workflow » Add censored expletives to my daily workflow

Plus one! This is awesome. As a super special bonus : fixing the typo in the title ;-)

randallknutson’s picture

Title: Add censored expletives to my daily workflow » Add censored explatives to my daily workflow

This would be hugely helpful for me. I type drush features-update and drush features-revert dozens of times a day. I've been wanting to fu for a long time.

randallknutson’s picture

Title: Add censored explatives to my daily workflow » Add censored expletives to my daily workflow

Whoops. Commit collide changed title back.

mfer’s picture

As someone with the handle mfer (think mf...er and that double meaning on the tip of your tongue) I think this would be fun.

Though, I do have an ssh alias that when used goes "ssh it". So, this is just a warning.

sirkitree’s picture

Status: Needs review » Reviewed & tested by the community

Now I just need an mfer feature so i can drush fu mfer ;)

chrisfromredfin’s picture

Status: Needs review » Reviewed & tested by the community

+1. Hilarity aside, I'm huge on the short-form aliases. Drush is a command line tool, and being zippier on the CLI is always good. Huge #WIN, though, for being the first f-command to be able to claim the 'fu' :)

q0rban’s picture

Status: Reviewed & tested by the community » Needs review

Please note: In light of the pronunciation for 'fr' outlined in #3, proceed with caution when pronouncing the 'fra' command alias. You may get more than you bargained for.

q0rban’s picture

Cross post.

alex_b’s picture

LOL - Love it.

eclipsegc’s picture

yeah, I'm afraid I have no options except to +1 this... so +1

crashtest_’s picture

Absolutely perfect! +1

tranquille’s picture

yes - for the lulz
+1

brentratliff’s picture

+ 1, thanks.

bonobo’s picture

Now that we are using features more and more to manage changes, we are swearing less and less.

This patch remedies that situation.

+1 to the functionality.

beeradb’s picture

Really looking forward to my first drush fu. +1.

MichaelP’s picture

what about "drush wtf" as opposed to "drush status".

Or is that a different feature request? ;-)

yhahn’s picture

Status: Reviewed & tested by the community » Fixed

Well I suppose it's time. Committed: http://drupal.org/cvs?commit=372314

basvredeling’s picture

I like the idea of short aliases but it should interfere with other modules commands. So drush fu is a bit too short for my taste. could coincide with drush commands for any contrib starting with f. Howsabout "drush feat-up" or something of the like? To distinguish drush core commands from drush contrib commands. Or a configurable alias list. That would be sexy.

[edit]never mind, I see it's been committed.[/edit]

mfer’s picture

Status: Fixed » Active

This should to be ported to the Drupal-7--1 branch. I don't see that as a version option though.

jcamfield’s picture

It would also be nice to do a dry run to see what would be updated and what queries would be run, so in longhand:

features-upgrade-check

The shorthand is left as an exercise for the implementing developer :)

samhassell’s picture

Just read about this in the release notes, OMG im updating now!

yhahn’s picture

Title: Add censored expletives to my daily workflow » PORT: Add censored expletives to my daily workflow
Version: 6.x-1.x-dev » 7.x-1.x-dev

Sorry about that, setting version.

yhahn’s picture

Priority: Critical » Minor

Not critical.

yhahn’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.