hechoendrupal / drupal-console-extend-plugin

Drupal Console Extend Composer Plugin
131 stars 31 forks source link

Automatically discover chains on extended commands #19

Open marcelovani opened 7 years ago

marcelovani commented 7 years ago

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

mmenavas commented 6 years ago

That would be a really nice feature, indeed!