Hi all,

i want to do get the return value of a capistrano task. Here is an
example:

---

irb:
require 'capistrano/cli'
returnvalue = Capistrano::CLI.parse(%W(ns:testtask)).execute!

deploy.rb:
task :testtask do
  # do stuff on server
  return "value"
end

---

Is this possible? Thanks and regards,
Gerold

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to