Use drush 12 autodiscovery of drush commands

Created on 16 January 2024, 5 months ago
Updated 6 June 2024, 22 days ago

Problem/Motivation

Drush 12 has introduced 2 important features for command authoring: auto-discovery of commands and using attributes for commands annotation.

Old-style commands definition is declared obsolete and will be removed from Drush 13 (https://www.drush.org/12.x/commands/).

Drush 12 supports both annotation- and attributes-based command discovery, so probably both can be used at once.

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡¬Bulgaria valthebald Sofia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024