drupal-console icon indicating copy to clipboard operation
drupal-console copied to clipboard

[generate:command] Custom commands are no longer detected in themes

Open mrkmiller opened this issue 8 years ago • 5 comments

Custom commands created in a theme used to be detected and shown as commands that could be executed. However, they no longer appear in the list of available commands. Commands created in modules still work fine. It appears only to be an issue with themes.

I have a custom command in a theme which no longer is available. I have tried creating new commands to ensure that it is not specifically a problem with my old one, but they don't show up either. I have also tried new commands in different themes which do not appear. New commands created in a module work fine.

Drupal 8.4.2 Console 1.2.0

mrkmiller avatar Dec 19 '17 01:12 mrkmiller

Thanks for reporting checking and ping you back once I found why.

jmolivas avatar Dec 31 '17 22:12 jmolivas

Found the fix ping you back once the fix is committed.

jmolivas avatar Jan 10 '18 20:01 jmolivas

Any progress on a fix for this? This bug has been happening since 1.2.0, and is keeping me from upgrading

rwstca avatar Apr 30 '18 19:04 rwstca

I have an issue with this as well. I want to create a custom command to generate sub themes but I can't right now. Any updates?

Drupal 8.5.3 Drupal Console version 1.8.0

fabianderijk avatar May 03 '18 06:05 fabianderijk

This issue is related to: https://www.drupal.org/project/drupal/issues/2002606

hatuhay avatar Jun 10 '18 14:06 hatuhay