drush icon indicating copy to clipboard operation
drush copied to clipboard

Migrate status with empty --tag doesn't work

Open claudiu-cristea opened this issue 3 years ago • 2 comments

The second example, migrate:status --tag does not work. The error message is The "--tag" option requires a value.

Initially reported as https://www.drush.org/latest/commands/migrate_status/ comment

claudiu-cristea avatar Mar 25 '21 07:03 claudiu-cristea

This is still an issue in Drush 11.1.1. The documentation states this about drush help migrate:status --tag:

$ drush help migrate:status
List all migrations with current status.

Examples:
 migrate:status           Retrieve status for all migrations
 migrate:status --tag     Retrieve status for all migrations, grouped by tag
[...]

... yet using solely --tag is rejected:

$ drush migrate:status --tag
  The "--tag" option requires a value.  

It would be great to get this fixed, since this makes it impossible to discover the tags, and use them, for example like this:

drush migrate:status --tag="Drupal 7"

gitressa avatar Aug 31 '22 21:08 gitressa

The problem still exists in Drush 12.5.2.0. And it makes dividing a list of 250+ migrations into digestible chunks not easier. (Yes, I know about --all, but for reasons beyond the scope of this issue I'm not comfortable with just firing them all away at once.)

hkockerbeck avatar Jun 26 '24 15:06 hkockerbeck