bin/actions/cipher.js
function prompForPassword(done) {
  inquirer.prompt([
    {
      type: 'password',
      message: 'Enter the password',
      name: 'password',
      validate(input) {
        return input.length > 0;
      }
    }
  ], answers => {
    done(answers.password);
  });
}
function prompForPassword(done) {
  inquirer.prompt([
    {
      type: 'password',
      message: 'Enter the password',
      name: 'password',
      validate(input) {
        return input.length > 0;
      }
    }
  ], answers => {
    done(answers.password);
  });
}
function prompForPassword ( done ) { inquirer . prompt ( [ { type : 'password' , message : 'Enter the password' , name : 'password' , validate ( input ) { return input . length > 0 ; } } ] , answers => { done ( answers . password ) ; } ) ; }
Prompts the user to supply a password via Inquirer.

@param {Function} done
Prompts the user to supply a password via Inquirer .