Is there a standard Capistrano idiom for passing in, and parsing, user
defined parameters from the command line? I know vars can be set using
-S.  But I'd like more: supporting boolean switches, or switches with
a default val. If I was writing my own script, I'd use OptionParser or
the like - what's the preferred Capistrano way to do this?

Along similar lines, is there a standard idiom for a task to take a
parameter, or return a result?  I could hack this with a global
variable, but I'd like to find a preferred way.
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to