Trung Lê
Trung Lê

Reputation: 5236

Asking for password prompt in Capistrano 3

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

Answers (1)

Lee Hambley
Lee Hambley

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

Related Questions