drupal-console-core
drupal-console-core copied to clipboard
readTarget() does not work when the command is called via chain
I have a situation where I have a chain e.g. https://github.com/dennisinteractive/drupal_console_commands/blob/extend_properly/chain/chain-site-build.yml
When I run drupal site:build --name="example.dev" it will show a message saying that it could not find the configuration for example.dev.
If you look at the chain, the first command is site:checkout
if I run drupal site:checkout example.dev the function readTarget() will return the configuration