Drupal Console library extend example
This project contains instructions and sample code to extend Drupal Console adding commands using a standard package/library.
cd /path/to/drupal/ composer require drupal/console-extend-example
cd cd ~/.console/extend/ composer require drupal/console-extend-example
- For more information about adding commands globally Drupal Console Extend
- Composer package type must be declared as
- Command registration must be done using the
console.services.ymlfile at package root.
- Service definition should done by tagging services as