drupal / console-extend-example
Drupal Console library extend example
Installs: 3 038
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 3
Open Issues: 2
Type:drupal-console-library
Requires (Dev)
- drupal/console-core: ~1.0
This package is auto-updated.
Last update: 2024-10-24 05:30:53 UTC
README
This project contains instructions and sample code to extend Drupal Console adding commands using a standard package/library.
Install on a site:
cd /path/to/drupal/
composer require drupal/console-extend-example
Install globally:
cd cd ~/.console/extend/
composer require drupal/console-extend-example
- For more information about adding commands globally Drupal Console Extend
Conventions to follow
- Composer package type must be declared as
drupal-console-library
. - Command registration must be done using the
console.services.yml
file at package root. - Service definition should done by tagging services as
drupal.command
.