Repository navigation
What's Changed
Fixed
drush kit:config-applyis found by Drush 13 (#162) — the command never appeared indrush list, although thedrupal_kit.config_applierservice worked. Two causes.ConfigApplierCommandssat insrc/Commands, and Drush 12 and later discover a module's commands only insrc/Drush/Commands. Drush 13 also builds a command through a staticcreate()method, and the class had none. Checked on Drush 13.8;AutowireTraitneeds Drush 12.5 or later. The class moved tosrc/Drush/Commands(namespaceDrupal\drupal_kit\Drush\Commands) and uses Drush'sAutowireTraitwith the service named by#[Autowire]. New unit tests ask Drush's own PSR-4 discovery for the class, build it throughcreate(), and fail when a class that extendsDrushCommandssits outsidesrc/Drush/Commands. The class is not public API (RELEASING.md§ Public API surface); the command name, options and output are unchanged. Also fixed a docblock that named a--show-hashoption that does not exist.
Pull Requests
Full Changelog: v3.5.0...v3.5.1