Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move data-liberation WP-CLI command to separate class #2025

Open
zaerl opened this issue Nov 23, 2024 · 0 comments
Open

Move data-liberation WP-CLI command to separate class #2025

zaerl opened this issue Nov 23, 2024 · 0 comments
Assignees

Comments

@zaerl
Copy link
Collaborator

zaerl commented Nov 23, 2024

Move the wp data-liberation a-file.xml WP-CLI command to a separate class.

It should ideally be changed this way:

  1. A first subcommand import that is callable as wp data-liberation import a-file.xml. So that we are open to other subcommands. E.g. wp data-liberation analyze, preview, restart etc.
  2. A --dry-run option.
  3. pcntl_signal for catching SIGINT and SIGTERM that call exit() when the user presses ctrl+c on the keyboard.
  4. Should output helpful information to the user during the various phases of WP_Stream_Importer::next_step().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Inbox
Development

No branches or pull requests

1 participant