Ezra, I appreciate that the method_missing idea has a certain appeal to it, but does it really save that much time for the aggravation it might cause?
I don't see a vast saving between sh.rm_rf "fred" and sh.rm "-rf fred" Particularly when you have long strings of options, some of which have parameters and some that do not. The second system is guaranteed to work regardless of whether the options are '-' options, '--' long options or even some horrific mutation ported from Windows. With respect, the underscore idea looks like a hack to me and I reckon it'll cause more problems than it'll solve. Unix commands always give the illusion of conformity and then you find the one you need doesn't conform at all. NeilW Ezra Zygmuntowicz wrote: > Wayne- > > Yeah I already thought about that and there is a decent workaround > for when you have a command that doesn't conform to the method > missing underscore to flag. So similar to RJS you can use << to push > arbitrary commands onto the stack: ) --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
