Skip to content

hardis:git:pull-requests:extract

Description

Extract pull requests with filtering criteria

Parameters

Name Type Description Default Required Options
debug
-d
boolean Activate debug mode (more logs)
flags-dir option undefined
json boolean Format output as json.
min-date
-m
option Minimum date for PR
outputfile
-f
option Force the path and name of output report file. Must end with .csv
skipauth boolean Skip authentication check when a default username is required
status
-x
option Status of the PR open
merged
abandoned
target-branch
-t
option Target branch of PRs
websocket option Websocket host:port for VsCode SFDX Hardis UI integration

Examples

$ sf hardis:git:pull-requests:extract
$ sf hardis:git:pull-requests:extract --target-branch main --status merged