Tuesday, August 5, 2008

bash Shortcut For rake

alias rake?="rake -T | g? $1"



(Where g? is an alias for grep, for reasons I don't recall.)

Update: Doh! Jamie tells this functionality's already in rake.

rake -T db gets you exactly the same thing.

But Gavin Stark points out that Jamie missed a subtle difference between the two.