-
Notifications
You must be signed in to change notification settings - Fork 27
feat: add --format param for core checksums verification #140
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
feat: add --format param for core checksums verification #140
Conversation
|
@alaminfirdows Can you please make sure that tests are not failing? This should not be a breaking change I believe. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…h format parameter
… multiple file types
|
@ernilambar could you please check again? |
|
@swissspidy, @thelovekesh could you please review this? We’re working on a tool based on this, and we’re eagerly waiting for this PR to be merged. It’s going to be a real game-changer for our users! |
…s and format outputs
|
@swissspidy @ernilambar I believe it’s ready for merging. I’ve completed all my parts. |
Summary
This PR adds support for the --format parameter to the
wp core verify-checksumscommand, enabling structured output formats likeplain, table, json, csv, yaml, count, and others.It brings consistency with commands like plugin verify-checksums, improving automation and scripting support.
✅ Supported formats
🧪 Test Guide
Run command in default format:
wp core verify-checksumsRun with JSON output:
wp core verify-checksums --format=jsonRun with CSV output:
wp core verify-checksums --format=csvTrigger an error (e.g., modify a core file) to see results in all formats.
Notes
Resolved: #94