Merge pull request #3214 from patrickeasters/add_credentials_arg

Add credentials arg to CLI module
pull/3205/head
Luiza Pagliari 2017-07-12 07:22:17 -03:00 committed by GitHub
commit 3e5d71ad5a
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;
}