The documentation you are viewing is for an older version of this component.
Switch to the latest (v5) version.
Run the following command in your application’s root directory:
php ./bin/cli.php admin:create -i {IDENTITY} -p {PASSWORD} -f {FIRST_NAME} -l {LAST_NAME}
OR
php ./bin/cli.php admin:create --identity {IDENTITY} --password {PASSWORD} --firstName {FIRST_NAME} --lastName {LAST_NAME}
after replacing:
NOTE:
If the submitted data is valid, the outputted response is:
Admin account has been created.
The new admin account is ready to use.
You can get more help with this command by running:
php ./bin/cli.php help admin:create