Drupal Console Extend Example
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Command
.gitignore
README.md
composer.json
console.services.yml

README.md

Drupal Console Extend Example

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

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.