DDEV post-import-db hook fails with "The --username option does not exist."
Summary
The post-import-db
hook in the default ddev configuration calls the backend:createadmin
command using username
and password
as option. These parameters however are registered as arguments
.
Steps to reproduce
Run ddev import-db --src=%source%
What is the current bug behavior?
Error on execution
What is the expected correct behavior?
Backend user gets created without further errors
Possible fixes
The correct hook therefore would be:
- exec: vendor/bin/typo3cms backend:createadmin admin password