How to export customers from WooCommerce with wp-cli

This is a very usefull feature of wp-cli that allows you to create a list of WooCommerce customers in csv format with a single command line command:

wp wc customer list --user=username --format=csv > customers.csv

where username is the user that has the administrator power

to see all the possible feautres of wc customer list add –help at the end

wp wc customer list --help

here all the info about WooCommerce and WP-CLI