-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Existing document
https://www.drush.org/latest/commands/ says:
In Drush 9, the default services file, drush.services.yml, will be used in instances where there is no services section in the Drush extras of the project's composer.json file. In Drush 10, however, the services section must exist, and must name the services file to be used
What are you attempting to do
Write custom commands
In what way is the existing documentation unclear or incomplete
- If Drush 9 is EOL, then the docs shouldn't mention it (assuming it's possible for a developer maintaining an old codebase to find the documentation for Drush 9 somewhere else)
- The docs should say 'Drush 10 and later', as otherwise it's confusing what happens on Drush 11.
- The docs say that on Drush >10 that the drush services file must exist. However on my project I have a custom module which has no composer.json file and only a drush.services.yml file, the project's root composer.json doesn't declare anything drush-like, the project's ROOT/drush folder contains nothing other than commented-out boilerplate, and the command is getting picked up! I have no idea how!
What should the documentation say instead?
To the best of your ability, explain what additional information would allow you to complete your task. If you already know what the documentation should say, please consider submitting a documentation pull request instead.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels