Creating new users via the CLI

Hello all,

I’ve been really happy playing around with dolibarr. The UI is very well documented, but I’m having some issues figuring out about how I can work from the CLI.

I was hoping to be able to create a new user (making them an admin also would be great!) from the CLI. This could be either by using an API, a CLI script, or just POSTing to the application.

I’m not sure what the “usual” way of work with dolibarr via the CLI is, so I figured I’d reach out before trying something on my own.

Hello,

For CLI you need to use Dolibarr REST API I think

That makes sense. Thanks for the hint!