Create user without sending invite

Dear Community,

I’ve found useful information in an old post Can I add users to Discourse without sending invites? - #2 by Pravi), but would like to know where I can find information on the other commands I can throw at the app using this Rails console.

For example, I made a mistake with the username and couldn’t find how to list existing users / delete a specific user. Is there any documentation for this (i.e. User.delete(username:"fakeuser"))? Google wan’t helpful today…

Thanks in advance for any help!

I think that Administrative Bulk Operations might offer some clues.


It works fine, thanks a lot!
Where can I find the full list of commands available from the command line?

Thanks again for your help!

Tree complete list is the source code. The link I provided gives some more examples.