<?php

namespace Drupal\{{ machine_name }}\Commands;

{% if not source %}
use Consolidation\OutputFormatters\StructuredData\RowsOfFields;
{% endif %}
use Drush\Commands\DrushCommands;

/**
 * A Drush commandfile.
 *
 * In addition to this file, you need a drush.services.yml
 * in root of your module, and a composer.json file that provides the name
 * of the services file to use.
 *
 * See these files for an example of injecting Drupal services:
 *   - http://cgit.drupalcode.org/devel/tree/src/Commands/DevelCommands.php
 *   - http://cgit.drupalcode.org/devel/tree/drush.services.yml
 */
class {{ class }} extends DrushCommands {

{% if source %}
{% include 'ported-methods.php.twig' %}
{% else %}
{% include 'default-methods.php.twig' %}
{% endif %}
}
