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: messages/rules-command.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,4 +102,14 @@ Format to display the rules in the terminal.
102
102
103
103
# flags.view.description
104
104
105
-
The format `table` is concise and shows minimal output, the format `detail` shows all available information.
105
+
The format `table` is concise and shows minimal output, the format `detail` shows all available information. If you specify neither --view nor --output-file, then the default table view is shown. If you specify --output-file but not --view, only summary information is shown.
106
+
107
+
# flags.output-file.summary
108
+
109
+
Output file location to write the selected rules. The file is written in JSON format.
110
+
111
+
# flags.output-file.description
112
+
113
+
Use this flag to write the selected rules to a JSON file. For example: "--output-file ./out/rules.json” creates a JSON results file in the "./out" folder. If the file exists already, it will be overwritten.
114
+
115
+
If you don't specify this flag, the command outputs the rules in the terminal. The view flag can be used in combination with this flag to save the file and output the results.
0 commit comments