Posted by q0rban on May 27, 2010 at 2:28pm
Jump to:
| Project: | Features |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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!
| Attachment | Size |
|---|---|
| eff-you-all.patch | 1.5 KB |
Comments
#1
Community feedback pls.
#2
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.
#3
I like to pronounce that 'effer', as in 'Eff the effin effers.'
#4
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.
#5
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. ;-)
#6
Plus one! This is awesome. As a super special bonus : fixing the typo in the title ;-)
#7
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.
#8
Whoops. Commit collide changed title back.
#9
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.
#10
Now I just need an mfer feature so i can drush fu mfer ;)
#11
+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' :)
#12
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.
#13
Cross post.
#14
LOL - Love it.
#15
yeah, I'm afraid I have no options except to +1 this... so +1
#16
Absolutely perfect! +1
#17
yes - for the lulz
+1
#18
+ 1, thanks.
#19
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.
#20
Really looking forward to my first drush fu. +1.
#21
what about "drush wtf" as opposed to "drush status".
Or is that a different feature request? ;-)
#22
Well I suppose it's time. Committed: http://drupal.org/cvs?commit=372314
#23
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]
#24
This should to be ported to the Drupal-7--1 branch. I don't see that as a version option though.
#25
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 :)
#26
Just read about this in the release notes, OMG im updating now!
#27
Sorry about that, setting version.
#28
Not critical.
#29
#30
Automatically closed -- issue fixed for 2 weeks with no activity.