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

WP-CLI: Be more explicit with output #151

GaryJones opened this issue Apr 1, 2019 · 0 comments


None yet
1 participant
Copy link

commented Apr 1, 2019

Currently a command like wp msm-sitemap generate-sitemap-for-year-month --year=0217 --month=01

will generate a list like:

Generating sitemap for 217-1
Generating sitemap for 217-1-1
Generating sitemap for 217-1-2
Generating sitemap for 217-1-3

It would be more useful if it did something like:

Generating sitemap for 217-1
Generating sitemap for 217-1-1 - empty (not generated)
Generating sitemap for 217-1-2 - generated with 2 posts
Generating sitemap for 217-1-3 - empty (old sitemap removed)

...or similar to actually indicate whether a sitemap was generated or deleted. This could optionally be behind a -v verbosity flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.