Command line tools
CLI Reference¶
This page provides documentation for PatchScope command line tools.
The PatchScope includes four key elements, each with the corresponding CLI (Command Line Interface) tool:
- extracting patches from a version control system or user-provided folders
either as separate step withdiff-generate, or integrated into the annotation step (diff-annotate) - applying specified annotation rules for selected patches
usingdiff-annotate, which generates one JSON data file per patch - generating configurable reports or summaries
with various subcommands ofdiff-gather-stats; each summary is saved as a single JSON file - advanced visualization with a web application (dashboard),
(using the summaries generated in the previous step), which you can run it withpanel serve, ordiffinsights-web