Last active
March 2, 2016 23:24
-
-
Save ajwagner777/9929d32a8335ce706205 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (args.help || !args.safeIds || !args.permission || !args.setting) { | |
var help = "\n\nThis utility helps to update users' permissions enmasse. \nThe utility expects the following parameters (REQUIRED):\n" + | |
"-----------------------------------------------------------------------------------------\n" + | |
"\t--safeIds=String\t\t-- Comma separate list of Safe IDs (NOT the serials)\n" + | |
"\t--permission=String\t-- Should be a single permission parameter\n" + | |
"\t--setting=String\t-- Value to pass to the safe for the permission (usually TRUE or FALSE)\n" + | |
" \n" + | |
"Optional parameters: \n" + | |
"\t--type=Enum\t\t-- Should be a comma separated list of EmployeeTypes (Exec,Manager,Clerk)\n" + | |
"\t\t\t\t (Defaults to Clerk, Courier is ignored)\n" + | |
"\t--test\t\t\t-- Do not send the request to the safe, but display the output in the console.\n\n"; | |
console.log(help); | |
process.exit(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment