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

CLI Improvement: Export Donor List in Machine Readable Format #1191

Closed
shawnhooper opened this issue Nov 1, 2016 · 1 comment
Closed

CLI Improvement: Export Donor List in Machine Readable Format #1191

shawnhooper opened this issue Nov 1, 2016 · 1 comment
Assignees
Milestone

Comments

@shawnhooper
Copy link

Issue Overview

The tabular format used for listing donors in the CLI integration isn't useful for much other than looking through the list with human eyes. Exporting this data in a machine-readable format would be great!

Expected Behavior

Being able to specify that you want the donor list exported in a machine-readable format.

Current Behavior

Only a tabular format is available.

Possible Solution

Adding a --format parameter to the donors command where you could specify the format you would like the data listed in. Example:

wp give donors --format=table (default)
wp give donors --format=csv (comma-separated list)
wp give donors --format=tab (tab-separated list)
wp give donors --format=json (JSON string)

@ravinderk
Copy link
Collaborator

@shawnhooper what is --format=tab?
Can you explain more?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants