File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ This package implements the following commands:
1616Verifies WordPress files against WordPress.org's checksums.
1717
1818~~~
19- wp core verify-checksums [--include-root] [--version=<version>] [--locale=<locale>] [--insecure] [--exclude=<files>]
19+ wp core verify-checksums [--include-root] [--version=<version>] [--locale=<locale>] [--insecure] [--exclude=<files>] [--format=<format>]
2020~~~
2121
2222Downloads md5 checksums for the current version from WordPress.org, and
4646 [--exclude=<files>]
4747 Exclude specific files from the checksum verification. Provide a comma-separated list of file paths.
4848
49+ [--format=<format>]
50+ Render output in a specific format. When provided, messages are displayed in the chosen format.
51+ ---
52+ default: plain
53+ options:
54+ - plain
55+ - table
56+ - json
57+ - csv
58+ - yaml
59+ - count
60+ ---
61+
4962** EXAMPLES**
5063
5164 # Verify checksums
7184 $ wp core verify-checksums --exclude="readme.html"
7285 Success: WordPress installation verifies against checksums.
7386
87+ # Verify checksums with formatted output
88+ $ wp core verify-checksums --format=json
89+ [{"file":"readme.html","message":"File doesn't verify against checksum"}]
90+ Error: WordPress installation doesn't verify against checksums.
91+
7492
7593
7694### wp plugin verify-checksums
You can’t perform that action at this time.
0 commit comments