Skip to content
Snippets Groups Projects
Commit f214a0bc authored by Tim Rohaly's avatar Tim Rohaly
Browse files

Issue #3475010 by tr: Autodiscover for Drush commands

parent a0344296
No related branches found
No related tags found
1 merge request!32Issue #3475010 by tr: Autodiscover for Drush commands
Pipeline #292700 passed with warnings
...@@ -10,12 +10,5 @@ ...@@ -10,12 +10,5 @@
}, },
"require": { "require": {
"drupal/core": "^10.3 | ^11" "drupal/core": "^10.3 | ^11"
},
"extra": {
"drush": {
"services": {
"drush.services.yml": ">=9"
}
}
} }
} }
services:
typed_data.commands:
class: \Drupal\typed_data\Drush\Commands\TypedDataDrushCommands
tags:
- { name: drush.command }
<?php <?php
declare(strict_types=1);
namespace Drupal\typed_data\Drush\Commands; namespace Drupal\typed_data\Drush\Commands;
use Drush\Attributes as CLI; use Drush\Attributes as CLI;
...@@ -10,7 +12,7 @@ use Drush\Commands\DrushCommands; ...@@ -10,7 +12,7 @@ use Drush\Commands\DrushCommands;
/** /**
* Drush 12+ commands for the Typed Data API Enhancements module. * Drush 12+ commands for the Typed Data API Enhancements module.
*/ */
class TypedDataDrushCommands extends DrushCommands { final class TypedDataDrushCommands extends DrushCommands {
/** /**
* Shows a list of available entities. * Shows a list of available entities.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment