discourse/migrations/lib/cli
Gerhard Schlager 58558849ac
DEV: Add options to run only or skip some steps in converter and importer (#35127)
Examples:

* Run only the "badges" and "users" steps in the converter:
  ```
  migrations/bin/cli convert discourse --reset --only=badges,users
  ```

* Run all steps except "users" in the converter:
  ```
  migrations/bin/cli convert discourse --reset --skip=users
  ```

* Run only the "badges" step in importer:
   This also runs all steps that "badges" depends on (e.g. "users" and "uploads").
  ```
  migrations/bin/cli import --reset --only=badges
  ```

* Run only the "badges" step in importer and skip the "users" on which "badges" depends:
  ```
  migrations/bin/cli import --reset --only=badges --skip=users
  ```
2025-10-03 16:44:36 +02:00
..
convert_command.rb DEV: Add options to run only or skip some steps in converter and importer (#35127) 2025-10-03 16:44:36 +02:00
exception_handler.rb DEV: Add options to run only or skip some steps in converter and importer (#35127) 2025-10-03 16:44:36 +02:00
import_command.rb DEV: Add --reset option to import command (#33317) 2025-06-24 22:58:32 +02:00
schema_sub_command.rb DEV: Add ability to generate enums for IntermediateDB 2025-10-01 15:25:28 +02:00
upload_command.rb DEV: Import uploads from UploadsDB (#33259) 2025-06-20 22:59:57 +02:00