@@ -207,20 +207,38 @@ Each example is fully tested to demonstrate best practices for plugin testing as
207207
208208# ## Common Command Options
209209
210- | Option | Type | Default | Description |
211- | --------------------------- | -------------------- | -------- | --------------------------------------------------------------------------- |
212- | **`--persist.outputDir`** | `string` | n/a | Directory for the produced reports. |
213- | **`--persist.filename`** | `string` | `report` | Filename for the produced reports without extension. |
214- | **`--persist.format`** | `('json' \| 'md')[]` | `json` | Format(s) of the report file. |
215- | **`--persist.skipReports`** | `boolean` | `false` | Skip generating report files. (useful in combination with caching) |
216- | **`--upload.organization`** | `string` | n/a | Organization slug from portal. |
217- | **`--upload.project`** | `string` | n/a | Project slug from portal. |
218- | **`--upload.server`** | `string` | n/a | URL to your portal server. |
219- | **`--upload.apiKey`** | `string` | n/a | API key for the portal server. |
220- | **`--cache.read`** | `boolean` | `false` | If plugin audit outputs should be read from file system cache. |
221- | **`--cache.write`** | `boolean` | `false` | If plugin audit outputs should be written to file system cache. |
222- | **`--onlyPlugins`** | `string[]` | `[]` | Only run the specified plugins. Applicable to all commands except `upload`. |
223- | **`--skipPlugins`** | `string[]` | `[]` | Skip the specified plugins. Applicable to all commands except `upload`. |
210+ # ### Global Options
211+
212+ | Option | Type | Default | Description |
213+ | ------------------- | ---------- | ------- | --------------------------------------------------------------------------- |
214+ | **`--onlyPlugins`** | `string[]` | `[]` | Only run the specified plugins. Applicable to all commands except `upload`. |
215+ | **`--skipPlugins`** | `string[]` | `[]` | Skip the specified plugins. Applicable to all commands except `upload`. |
216+
217+ # ### Cache Options
218+
219+ | Option | Type | Default | Description |
220+ | ------------------- | --------- | ------- | --------------------------------------------------------------- |
221+ | **`--cache`** | `boolean` | `false` | Cache runner outputs (both read and write). |
222+ | **`--cache.read`** | `boolean` | `false` | If plugin audit outputs should be read from file system cache. |
223+ | **`--cache.write`** | `boolean` | `false` | If plugin audit outputs should be written to file system cache. |
224+
225+ # ### Persist Options
226+
227+ | Option | Type | Default | Description |
228+ | --------------------------- | -------------------- | -------- | ------------------------------------------------------------------ |
229+ | **`--persist.outputDir`** | `string` | n/a | Directory for the produced reports. |
230+ | **`--persist.filename`** | `string` | `report` | Filename for the produced reports without extension. |
231+ | **`--persist.format`** | `('json' \| 'md')[]` | `json` | Format(s) of the report file. |
232+ | **`--persist.skipReports`** | `boolean` | `false` | Skip generating report files. (useful in combination with caching) |
233+
234+ # ### Upload Options
235+
236+ | Option | Type | Default | Description |
237+ | --------------------------- | -------- | ------- | ------------------------------ |
238+ | **`--upload.organization`** | `string` | n/a | Organization slug from portal. |
239+ | **`--upload.project`** | `string` | n/a | Project slug from portal. |
240+ | **`--upload.server`** | `string` | n/a | URL to your portal server. |
241+ | **`--upload.apiKey`** | `string` | n/a | API key for the portal server. |
224242
225243> [!NOTE]
226244> All common options, except `--onlyPlugins` and `--skipPlugins`, can be specified in the configuration file as well.
0 commit comments