Reputation: 5236
What is the equivalent API of Capistrano::CLI#password_prompt
in Capistrano 3? It seems to me this DSL has been removed. For the time being, I ended up using highline
gem.
Upvotes: 1
Views: 1106
Reputation: 6370
It was removed as Cap is an automation tool, for special use cases like your own Highline is Perfect. Cap3 does include an "#ask" method (see the docs) which is probably suitable for password input, but is used by default for asking which branch do deploy.
Upvotes: 1