3 namespace Drupal\{{ machine_name }}\Commands;
6 use Consolidation\OutputFormatters\StructuredData\RowsOfFields;
8 use Drush\Commands\DrushCommands;
11 * A Drush commandfile.
13 * In addition to this file, you need a drush.services.yml
14 * in root of your module, and a composer.json file that provides the name
15 * of the services file to use.
17 * See these files for an example of injecting Drupal services:
18 * - http://cgit.drupalcode.org/devel/tree/src/Commands/DevelCommands.php
19 * - http://cgit.drupalcode.org/devel/tree/drush.services.yml
21 class {{ class }} extends DrushCommands {
24 {% include 'ported-methods.twig' %}
26 {% include 'default-methods.twig' %}