create-user
Create a user
Auth
Staff
Example
ghit-cli create-user --username alice --name "Alice Doe" --email alice@example.com
Expected Response
Creates the resource and prints the created JSON object.
Errors
400 Bad Requestfor invalid flags/values.404 Not Foundwhen referenced owners/resources are missing.409 Conflictfor uniqueness or state conflicts.
Common auth errors are documented on the CLI overview page.
Help Output
Create a user
Usage: ghit-cli create-user [OPTIONS] --username <USERNAME> --name <NAME> --email <EMAIL>
Options:
--username <USERNAME> Username
--name <NAME> User name
--email <EMAIL> User email
--staff Whether the user is staff
-h, --help Print help