Hello!
I was going to make an issue on the PeerTube gitHub but I thought I’d ask here first.
It would be extremely useful to be able to control user creation/modification through the peertube-cli. Having looked through PeerTube/apps/peertube-cli/src something like peertube-upload.ts would be ideal.
peertube-user.ts would have the following functionality.
Create User
$ peertube-cli user add -u "username" -p "password/password_hash" --type "User" --video_quota "None" --daily_video_quota "None"
Returns list of users and various attributes
$ peertube-cli user list
Block/Unblock User
$ peertube-cli user block "username"
$ peertube-cli user unblock "username"
First question would be, is this feasable? How difficult would it be? Are there any other admins wanting to do this type of thing? Should I go ahead and post a feature request on gitHub?
I looked into doing a similar thing by editing the database directly but the schema seems far too complicated.
Thanks ![]()