Skip to content

Commit

Permalink
Add note about dir change in Drush 12 (#5696)
Browse files Browse the repository at this point in the history
* Add note about dir change in Drush 12

* indent
  • Loading branch information
weitzman committed Jul 8, 2023
1 parent 3d0d136 commit ae6e89f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

!!! tip

Drush 11 and prior required [dependency injection via a drush.services.yml file](https://www.drush.org/11.x/dependency-injection/#services-files). This approach is deprecated in Drush 12 and will be removed in Drush 13. See [create() method](dependency-injection.md#create-method).
1. Drush 11 and prior required [dependency injection via a drush.services.yml file](https://www.drush.org/11.x/dependency-injection/#services-files). This approach is deprecated in Drush 12 and will be removed in Drush 13. See [create() method](dependency-injection.md#create-method).
1. Drush 12 expects all commandfiles in the <module-name>/Drush/<Commands|Generators> directory. The `Drush` subdirectory is a new requirement.

Creating a new Drush command is easy. Follow the steps below.

Expand Down

0 comments on commit ae6e89f

Please sign in to comment.