Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/codemodder/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,19 @@ def parse_args(argv, codemod_registry: CodemodRegistry):
help="maximum number of workers (threads) to use for processing files in parallel",
)

# At this time we don't do anything with the sarif arg.
parser.add_argument(
"--sarif",
action=CsvListAction,
help="Comma-separated set of path(s) to SARIF file(s) to feed to the codemods",
)
# At this time we don't do anything with the sonar-issues-json arg.
parser.add_argument(
"--sonar-issues-json",
action=CsvListAction,
help="Comma-separated set of path(s) to Sonar issues JSON file(s) to feed to the codemods",
)
parser.add_argument(
"--sonar-hotspots-json",
action=CsvListAction,
help="Comma-separated set of path(s) to Sonar hotspots JSON file(s) to feed to the codemods",
)
return parser.parse_args(argv)