I want to create a User through Salesforce CLI.
- I know that I can create
Scratch-Org
users (DOC), but I want to create one in production organization; - I know that I can create user through API (DOC, DOC), but I don't want to use API(*1);
- If it's not possible at all through one or more steps(*1) with CLI, then If you link the source of such claim, then it's the valid answer too;
- Please do not confuse
User
withAccount
object;
*1 - If the solution to the problem is to create REST API access to SF through CLI and then create user through REST API, then it's also a valid answer, as long it does not require human interaction (i.e. copying API credentials from SF GUI - however it requires a user secret that have to be obtained through reset and email, for the first time...). I'm just mentioning it here because I have not figured it out yet myself.