oputil updates

* oputil.js user ... now works more like other "action" based commands
* add oputil.js user group .... for add/removal from groups
This commit is contained in:
Bryan Ashby 2018-05-21 20:36:34 -06:00
parent 388e581b90
commit 8a428e6f74
2 changed files with 160 additions and 67 deletions

View file

@ -21,18 +21,19 @@ commands:
fb file base management
mb message base management
`,
User :
`usage: optutil.js user --user USERNAME <args>
User :
`usage: optutil.js user <action> [<args>]
valid args:
--user USERNAME specify username for further actions
--password PASS set new password
--delete delete user
--activate activate user
--deactivate deactivate user
actions:
pw USERNAME PASSWORD set password to PASSWORD for USERNAME
rm USERNAME permanantely removes USERNAME user from system
activate USERNAME sets USERNAME's status to active
deactivate USERNAME sets USERNAME's status to deactive
disable USERNAME sets USERNAME's status to disabled
group USERNAME [+|-]GROUP adds (+) or removes (-) user from GROUP
`,
Config :
Config :
`usage: optutil.js config <action> [<args>]
actions: