drush migrate-upgrade --help
Perform one or more upgrade processes.

Examples:
  migrate-upgrade --legacy-db-url='mysql://root:pass@127.0.0.1/d6'                  Upgrade a Drupal 6 database to Drupal 8                                             
  migrate-upgrade --legacy-db-key='drupal_7'                                        Upgrade Drupal 7 database where the connection to Drupal 7 has already been created 
                                                                                    in settings.php ($databases['drupal_7'])                                            
  migrate-upgrade --legacy-db-url='mysql://root:pass@127.0.0.1/d7' --configure-only Generate migrations for a custom migration from Drupal 7 to Drupal 8                
 --migration-prefix=d7_custom_ --legacy-root=https://www.example.com       

Currently if you copy/paste code from the examples it won't work because it's not prefixed with drush.

I propose we add drush to the examples as it's done in Drush core commands. Meaning
migrate-upgrade --legacy-db-key='drupal_7' will become drush migrate-upgrade --legacy-db-key='drupal_7'.

CommentFileSizeAuthor
#2 3024433.patch1.65 KBheddn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Chi created an issue. See original summary.

heddn’s picture

Status: Active » Needs review
FileSize
1.65 KB

Like this?

Chi’s picture

Status: Needs review » Reviewed & tested by the community

Yes.

  • heddn committed b98bcaa on 8.x-3.x
    Issue #3024433 by heddn, Chi: Show full command in examples
    
heddn’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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