JarbasHiveMind / HiveMind-core

Join the OVOS collective, utils for OpenVoiceOS mesh networking
Apache License 2.0
98 stars 14 forks source link

add db cli list and delete action for users #47

Closed flo-mic closed 3 years ago

flo-mic commented 3 years ago

This pull request adds a list and delete functionality to the HiveMind-database CLI. It allows to list all user names and also delete keys based on username and api key.

flo-mic commented 3 years ago

I just added a error handler if you try to remove a key that is not present in the db. Also I improved the list function to list id, name and api key but not the crypto key as I believe this should not be visible from a CLI. Shall I also include a crypto key change function?

JarbasAl commented 3 years ago

thanks for your contributions, these scripts now live in https://github.com/JarbasHiveMind/hmcli/tree/master/hmcli

A full cli utility for managing hivemind is in the works