Problem/Motivation

The latest version doesn't have any drush commands defined! This was working in the 1.0 release.

$drush menu_migration:export main
                                                                    
  There are no commands defined in the "menu_migration" namespace.  
                                                                    
Failed to run drush menu_migration:export main: exit status 1

Steps to reproduce

  1. install & enable the module
  2. run the command "drush menu_migration:export main" will produce the error
  3. also the command "drush" shows no menu_migration commands
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

monaw created an issue. See original summary.

bbu23’s picture

Version: 2.0.0-alpha1 » 2.0.x-dev
bbu23’s picture

Hi,

Thank you for reporting this. I'll provide a fix now.

bbu23’s picture

Assigned: Unassigned » bbu23

bbu23’s picture

Please try out this patch: https://git.drupalcode.org/project/menu_migration/-/merge_requests/3.patch and let me know if everything is fine now.

bbu23’s picture

Status: Active » Needs review
bbu23’s picture

Assigned: bbu23 » Unassigned
monaw’s picture

@bbu23 - that worked, thank you so much for the quick patch! any chance that will make it out to a release soon?

bbu23’s picture

@monaw Thank you for confirming! I will plan a release for later today.

bbu23’s picture

Status: Needs review » Reviewed & tested by the community

  • bbu23 committed d8259ff4 on 2.0.x
    Issue #3388973: Move the drush commands to drush.services.yml.
    
bbu23’s picture

Status: Reviewed & tested by the community » Fixed
bbu23’s picture

We might need this for version1 as well, this happens depending on the drush version. I'm not sure.

Status: Fixed » Closed (fixed)

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