Ask for a password in a Capistrano deployment

/ Published in: Ruby
Save to your folder(s)

Copy this code and paste it in your HTML
  1. set(:scm_username) { Capistrano::CLI.ui.ask("Type is your svn username: ") }
  2. set(:scm_password){ Capistrano::CLI.password_prompt("Type your svn password for user #{scm_username}: ") }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.