Following https://weitzman.github.io/blog/port-to-drush9, we should update the Drush 8 .inc file and instead use the drush.services.yml and src/Commands files.

Comments

afireintheattic created an issue. See original summary.

afireintheattic’s picture

This could potentially also need a patch for drush, as support for drush commands in themes has been removed: https://github.com/drush-ops/drush/pull/3089

This has been marked as "won't fix" by drush maintainers. Instead, we need to look into creating this as a separate module, declared as a dependency of the theme. This will require https://www.drupal.org/project/drupal/issues/474684 to be rolled in to core, unfortunately.

afireintheattic’s picture

Status: Active » Postponed
afireintheattic’s picture

Status: Postponed » Active
afireintheattic’s picture

Assigned: Unassigned » afireintheattic

  • afireintheattic authored 66648f4 on 8.x-1.x
    Issue #3082455 by afireintheattic: Port Drush commands for Drush 9
    
afireintheattic’s picture

Status: Active » Fixed

Rather than porting these commands to Drush 9/10, as they are using a ton on functions that are no longer supported, we are instead opting for manually renaming occurrences of "starterkit" when creating a custom theme. This is a common practice for many contrib themes; however, this will be revisited at a later date if the need arises.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.