mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Add get users to crafty command
This commit is contained in:
parent
834f6f3c3b
commit
7eb8e2bfd9
@ -92,6 +92,9 @@ class MainPrompt(cmd.Cmd):
|
||||
|
||||
self.controller.users.update_user(user_id, {"password": new_pass})
|
||||
|
||||
def do_get_users(self, _line):
|
||||
Console.info(self.controller.users.get_all_usernames())
|
||||
|
||||
@staticmethod
|
||||
def do_threads(_line):
|
||||
for thread in threading.enumerate():
|
||||
|
Loading…
Reference in New Issue
Block a user