Cryosparcm generate registration token

Hi, I’m trying to automate user creation through scripts, and for now I generate a random password that I send to users, but they need to change it and I can’t handle all the password change token requests.
Would it be possible to add a cli function to generate a registration token ?
And also function to generate password reset token while we are at it ?

Thank you,