I asked this question a while back and it was answered correctly and helpfully.

However, I'm currently looking for a different solution.

I need a way to create a custom argument which I can use to specify a different xml document source, like in the following:

drush mi migration_test --xml=test.xml

Can anyone advice how I can create the custom --xml argument ?

  • Try to take a look here, drupal.stackexchange.com/questions/199550/… – user72672 May 27 '19 at 7:18
  • I am also trying to figure out how to do this, and, unless I'm confused, I don't think modifying a drush command is what I'm trying to do. I want to add custom arguments to drush mim that I can check for and react to inside my custom migration plugins. – adfaklsdjf Jun 13 '19 at 14:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.