Draft: Issue #3485600: Allow reporting pages that are missing to migrate
1 unresolved thread
Open
requested to merge issue/wordpress_migrate_sql-3485600:3485600-allow-reporting-pages into 1.0.x
1 unresolved thread
Closes #3485600
Merge request reports
Activity
30 $container->get('file_url_generator'), 31 ); 32 } 33 34 /** 35 * Command description here. 36 */ 37 #[CLI\Command(name: 'wordpress_migrate_sql:missing-urls', aliases: ['wms:mu'])] 38 #[CLI\Argument(name: 'database_name', description: 'Database name.')] 39 #[CLI\Argument(name: 'result_file', description: 'Result file.')] 40 #[Cli\Option(name: 'post-types', description: 'Post types.')] 41 #[Cli\Option(name: 'wordpress-base-url', description: 'Wordpress base url.')] 42 #[CLI\Usage(name: 'wordpress_migrate_sql:missing-urls', description: 'Get list of missing urls')] 43 public function analyzeAttachments( 44 $database_name, 45 string $result_file = 'public://wordpress-migrate-sql-missing-urls.csv', A better flexibility for this would be to levarage Drush's output formats rather than hardcoding as a public CSV file. This allows the users to pipe the output into a different file name and format.
Please register or sign in to reply