Adds a batch method to the Customers generator using the same pattern as the other generators. Updates the CLI command to use the batch method.
Depends on #134. This should be rebased to trunk once that PR is merged.
Towards #121
How to test the changes in this Pull Request:
Run the basic command and make sure it successfully generates customers: wp wc generate customers
Try generating more than 100 customers (the limit for a single batch). It should seamlessly generate the requested amount over multiple batches. E.g. wp wc generate customers 150
Changelog entry
Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.
Changes proposed in this Pull Request:
Adds a batch method to the Customers generator using the same pattern as the other generators. Updates the CLI command to use the batch method.
Depends on #134. This should be rebased to trunk once that PR is merged.
Towards #121
How to test the changes in this Pull Request:
wp wc generate customers
wp wc generate customers 150
Changelog entry