Skip to content

Commit eaa8457

Browse files
committed
Add pass-thru for Sonar Hotspots results
1 parent 0701e1a commit eaa8457

File tree

1 file changed

+6
-0
lines changed
  • framework/codemodder-base/src/main/java/io/codemodder

1 file changed

+6
-0
lines changed

framework/codemodder-base/src/main/java/io/codemodder/CLI.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ final class CLI implements Callable<Integer> {
121121
"a path to a file containing the result of a call to the Sonar Web API Issues endpoint")
122122
private Path sonarIssuesJsonFilePath;
123123

124+
@CommandLine.Option(
125+
names = {"--sonar-hotspots-json"},
126+
description =
127+
"a path to a file containing the result of a call to the Sonar Web API Hotspots endpoint")
128+
private Path sonarHotspotsJsonFilePath;
129+
124130
@CommandLine.Option(
125131
names = {"--list"},
126132
description = "print codemod(s) metadata, then exit",

0 commit comments

Comments
 (0)