I have this problem when I run command drupal generate:module
. I don't know why, despite everything I did was suggested on the documentation for Drupal Console.
I don't see all the possible commands, when I run drupal list
.
Available commands:
about Displays basic information about Drupal Console project
chain Chain command execution
check System requirement checker
exec Execute an external command.
help Displays help for a command
init Copy configuration files.
list Lists all available commands
debug
debug:chain (dch) List available chain files.
debug:settings (dse) List user Drupal Console settings.
debug:site (dsi) List all known local and remote sites.
develop
develop:contribute Download Drupal + Drupal Console to contribute.
generate
generate:site:alias (gsa) Generates a site alias.
quick
quick:start Download, install and serve a new Drupal project
settings
settings:set Change a specific setting value in DrupalConsole config file
site
site:new Download a new Drupal project
drupal8-app_web_1
docker exec -it drupal8-app_web_1 bash
and them got to your Drupal root andvendor/bin/drupal generate:module
. Not related but should make your dockerized Drupal life easier github.com/wodby/docker4drupal