loving wp db import and many of the functions.
yet i am mindblown to not finde ...or too dumb... to export and import customers and orders.
their github https://github.com/woocommerce/woocommerce/wiki/WC-CLI-Overview#examples has a lot of empty space
What is WP-CLI?
WooCommerce Commands
Examples
Command:
Response:
Command:
Response:
Command:
Response:
Command:
Response:
Command:
Response:
Command:
🤷
anyways thats useless.
i could
wp wc shop_order list --user=URNAMEHERE --after="2023-08-17T23:59:59" --format=csv > my_cool_orders.csv
or maybe sth like
wp export --post__in=$(wp eval 'foreach( get_posts(array("post_type" => "shop_order", "posts_per_page" => -1, "fields" => "ids")) as $id ) { echo $id. ","; }') --max_file_size=200
but how to import? is there any standard way on CLI to export and import orders and users?
(I am not interested in any plugin suggestions)