Merge pull request #3214 from patrickeasters/add_credentials_arg

Add credentials arg to CLI module
This commit is contained in:
Luiza Pagliari 2017-07-12 07:22:17 -03:00 committed by GitHub
commit 3e5d71ad5a

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;
}