MXS-1300: Add create/destroy/list commands for users
Users can now be listed, created and destroyed via MaxCtrl.
This commit is contained in:
@ -65,6 +65,11 @@ exports.builder = function(yargs) {
|
||||
{'Version': 'attributes.version'}
|
||||
])
|
||||
})
|
||||
.command('users', 'List created network users', {}, function() {
|
||||
getCollection('users/inet',[
|
||||
{'Name':'id'}
|
||||
])
|
||||
})
|
||||
.usage('Usage: list <command>')
|
||||
.help()
|
||||
.command('*', 'the default command', {}, () => {
|
||||
|
Reference in New Issue
Block a user