You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CLI.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,16 +20,18 @@ Applies after evaluating `--checks`.
20
20
: Ignore error codes provided as an argument in comma-separated values.
21
21
22
22
[--format=<format>]
23
-
: Format to display the results. Options are table, csv, json, strict-table, strict-csv, and strict-json. The default will be a table.
23
+
: Format to display the results. Options are table, csv, json, ctrf, strict-table, strict-csv, strict-json, and strict-ctrf. The default will be a table.
Copy file name to clipboardExpand all lines: includes/CLI/Plugin_Check_Command.php
+18-1Lines changed: 18 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,9 +43,11 @@ final class Plugin_Check_Command {
43
43
'table',
44
44
'csv',
45
45
'json',
46
+
'ctrf',
46
47
'strict-table',
47
48
'strict-csv',
48
49
'strict-json',
50
+
'strict-ctrf',
49
51
);
50
52
51
53
/**
@@ -78,16 +80,18 @@ public function __construct( Plugin_Context $plugin_context ) {
78
80
* : Ignore error codes provided as an argument in comma-separated values.
79
81
*
80
82
* [--format=<format>]
81
-
* : Format to display the results. Options are table, csv, json, strict-table, strict-csv, and strict-json. The default will be a table.
83
+
* : Format to display the results. Options are table, csv, json, ctrf, strict-table, strict-csv, strict-json, and strict-ctrf. The default will be a table.
82
84
* ---
83
85
* default: table
84
86
* options:
85
87
* - table
86
88
* - csv
87
89
* - json
90
+
* - ctrf
88
91
* - strict-table
89
92
* - strict-csv
90
93
* - strict-json
94
+
* - strict-ctrf
91
95
* ---
92
96
*
93
97
* [--categories]
@@ -324,6 +328,19 @@ static function ( $dirs ) use ( $excluded_files ) {
0 commit comments