Skip to content

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

@mrkmiller

Description

@mrkmiller

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions