How to use the gmailpassword function from commander
Find comprehensive JavaScript commander.gmailpassword code examples handpicked from public code repositorys.
GitHub: mdekstrand/mailmerge

41 42 43 44 45 46 47 48 49 50
if (program.gmailpassword){ var mailer = nodemailer.createTransport({ service: 'gmail', auth: { user: program.gmailaddress, pass: program.gmailpassword } }); } else { logger.error('using GMail requires a GMail app password (see: https://support.google.com/accounts/answer/185833)');
+ 9 other calls in file
commander.Option is the most popular function in commander (1786 examples)