_ = require('lodash') inquirer = require('inquirer') exports.login = (callback) -> inquirer.prompt([ { type: 'input' name: 'username' message: 'Username' } { type: 'password' name: 'password' message: 'Password' } ], _.partial(callback, null))