Skip to content

Instantly share code, notes, and snippets.

Last active March 2, 2016 23:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
if ( || !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";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment