@code-pushup/cli 0.26.1 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/index.js +1088 -336
- package/package.json +2 -3
- package/src/lib/autorun/autorun-command.d.ts +0 -1
- package/src/lib/compare/compare-command.d.ts +7 -0
- package/src/lib/implementation/compare.model.d.ts +2 -0
- package/src/lib/implementation/compare.options.d.ts +3 -0
- package/src/lib/implementation/logging.d.ts +0 -4
- package/src/lib/implementation/only-plugins.middleware.d.ts +1 -3
- package/src/lib/implementation/only-plugins.model.d.ts +5 -2
- package/src/lib/implementation/only-plugins.utils.d.ts +5 -9
- package/src/lib/options.d.ts +6 -0
- package/src/lib/print-config/print-config-command.d.ts +0 -3
- package/src/lib/yargs-cli.d.ts +4 -0
package/README.md
CHANGED
|
@@ -240,6 +240,21 @@ Run plugins, collect results and upload the report to the Code PushUp portal.
|
|
|
240
240
|
|
|
241
241
|
Refer to the [Common Command Options](#common-command-options) for the list of available options.
|
|
242
242
|
|
|
243
|
+
### `compare` command
|
|
244
|
+
|
|
245
|
+
Usage:
|
|
246
|
+
`code-pushup compare --before SOURCE_PATH --after TARGET_PATH [options]`
|
|
247
|
+
|
|
248
|
+
Description:
|
|
249
|
+
Compare 2 reports and produce a report diff file.
|
|
250
|
+
|
|
251
|
+
In addition to the [Common Command Options](#common-command-options), the following options are required:
|
|
252
|
+
|
|
253
|
+
| Option | Type | Description |
|
|
254
|
+
| -------------- | -------- | ----------------------------- |
|
|
255
|
+
| **`--before`** | `string` | Path to source `report.json`. |
|
|
256
|
+
| **`--after`** | `string` | Path to target `report.json`. |
|
|
257
|
+
|
|
243
258
|
#### `print-config` command
|
|
244
259
|
|
|
245
260
|
Usage:
|