Fetch credentials arg from CLI

pull/3214/head
Patrick Easters 2017-07-05 15:20:02 -04:00
parent 12cb8e0dc1
commit d72d79ea82
1 changed files with 5 additions and 0 deletions

View File

@ -34,5 +34,10 @@ for ( var i = 0; i < argv.length; i++ ) {
exports.argv.settings = arg;
}
// Override location of credentials.json file
if ( prevArg == '--credentials' ) {
exports.argv.credentials = arg;
}
prevArg = arg;
}