10up / MU-Migration

This WP-CLI plugin makes the process of moving sites from single WordPress sites to a Multisite instance (or vice-versa) much easier. It exports everything into a zip package which can be used to automatically import it within the desired Multisite installation.
MIT License
329 stars 47 forks source link

Error: 'mu-migration' is not a registered wp command. See 'wp help' for available commands. #45

Closed henrique-voni closed 6 years ago

henrique-voni commented 6 years ago

When i try to export a subsite from a multisite network using: wp mu-migration export all subsite.zip --blog_id=2, it's given that error.

I am running wp_cli in a Local/Flywheel virtual machine with SSH prompt.

Thanks in advance.

nicholasio commented 6 years ago

Did you follow the steps described in the README to install mu-migration? it is a wp-cli plugin and does not come with wp-cli by default.

henrique-voni commented 6 years ago

I just simply ran wp package install 10up/mu-migration as said in README. I ran it again just to be sure and still not working

nicholasio commented 6 years ago

what was the output of running that command? Does it work if you install it as a WordPress plugin? (make sure to run composer install manually)