Skip to content

Automatically discover chains on extended commands #19

@marcelovani

Description

@marcelovani

Currently, when I use composer require to add my extended commands, I have to manually copy my chains into ~/.console/chain

I was wondering if we could automate that, since the application knows about my command because I registered them using console.services.yml
So the idea is that we add a mechanism to look inside a folder called chain on the same folder where console.services.yml is found.

Example: https://github.com/dennisinteractive/drupal_console_commands/tree/extend_properly

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