You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--table shorthand for --template=table [boolean] [default: false]
394
+
--confirm shorthand for --template=confirm [boolean] [default: false]
395
+
--report shorthand for --template=report [boolean] [default: false]
396
+
--workflow Name of the workflow to trigger [required] [default: "CI"]
397
+
398
+
Global Options:
399
+
-c, --cwd base directory to run filesystem related commands [string] [default: null]
400
+
-f, --filter filters to be parsed as relaxed json and applied to the data [array]
401
+
-r, --reject rejectors to be parsed as relaxed json and applied to the data [array]
402
+
--clean whether to rimraf the cwd first [boolean] [default: false]
403
+
--template how to format the final output [string] [required] [choices: "json", "silent", "table", "confirm", "report"] [default: "report"]
404
+
--sort key to sort results by [string] [default: "id"]
405
+
--json shorthand for --template=json [boolean] [default: false]
406
+
--silent shorthand for --template=silent [boolean] [default: false]
407
+
408
+
Other Options:
409
+
--help Show help [boolean]
410
+
--version Show version number [boolean]
411
+
--config Path to JSON config file
412
+
413
+
Examples:
414
+
npx -p @npmcli/stafftools@latest gh template-oss trigger-ci --reject 'status: SUCCESS' --reject 'status: FAILURE' Trigger CI for template-oss PRs without definitive status
415
+
`
416
+
379
417
exports[`test/gh.mjs TAP all commands help graphql > must match snapshot 1`]=`
npx -p @npmcli/stafftools gh graphql trigger-ci Trigger CI workflows for pull requests
400
439
401
440
Command Options:
402
441
--query path to a query file passed directly to gh api graphql [string] [required]
@@ -877,6 +916,36 @@ Other Options:
877
916
--config Path to JSON config file
878
917
`
879
918
919
+
exports[`test/gh.mjs TAP all commands help graphql trigger-ci > must match snapshot 1`]=`
920
+
npx -p @npmcli/stafftools gh graphql trigger-ci
921
+
922
+
Trigger CI workflows for pull requests
923
+
924
+
Command Options:
925
+
--query path to a query file passed directly to gh api graphql [string] [required]
926
+
--cache how long for gh to cache the query [string] [default: "1m"]
927
+
--report shorthand for --template=report [boolean] [default: false]
928
+
--workflow Name of the workflow to trigger [required] [default: "CI"]
929
+
930
+
Global Options:
931
+
-c, --cwd base directory to run filesystem related commands [string] [default: null]
932
+
-f, --filter filters to be parsed as relaxed json and applied to the data [array]
933
+
-r, --reject rejectors to be parsed as relaxed json and applied to the data [array]
934
+
--clean whether to rimraf the cwd first [boolean] [default: false]
935
+
--template how to format the final output [string] [required] [choices: "json", "silent", "report"] [default: "report"]
936
+
--sort key to sort results by [string] [default: "id"]
937
+
--json shorthand for --template=json [boolean] [default: false]
938
+
--silent shorthand for --template=silent [boolean] [default: false]
939
+
940
+
Other Options:
941
+
--help Show help [boolean]
942
+
--version Show version number [boolean]
943
+
--config Path to JSON config file
944
+
945
+
Examples:
946
+
npx -p @npmcli/stafftools@latest gh template-oss trigger-ci --reject 'status: SUCCESS' --reject 'status: FAILURE' Trigger CI for template-oss PRs without definitive status
947
+
`
948
+
880
949
exports[`test/gh.mjs TAP all commands help labels > must match snapshot 1`]=`
881
950
npx -p @npmcli/stafftools gh labels
882
951
@@ -919,6 +988,7 @@ Commands:
919
988
npx -p @npmcli/stafftools gh pending-release remove-label Remove a label from pull requests
920
989
npx -p @npmcli/stafftools gh pending-release rerun-failed-workflows Get engine changes in a pull request
--noDeps Only return items that do not depend on any other items returned [boolean] [default: false]
1248
+
--depsPrs Only return items that have no open deps PRs [string] [choices: "", "none", "any"] [default: ""]
1249
+
--table shorthand for --template=table [boolean] [default: false]
1250
+
--confirm shorthand for --template=confirm [boolean] [default: false]
1251
+
--report shorthand for --template=report [boolean] [default: false]
1252
+
--workflow Name of the workflow to trigger [required] [default: "CI"]
1253
+
1254
+
Global Options:
1255
+
-c, --cwd base directory to run filesystem related commands [string] [default: null]
1256
+
-f, --filter filters to be parsed as relaxed json and applied to the data [array]
1257
+
-r, --reject rejectors to be parsed as relaxed json and applied to the data [array]
1258
+
--clean whether to rimraf the cwd first [boolean] [default: false]
1259
+
--template how to format the final output [string] [required] [choices: "json", "silent", "table", "confirm", "report"] [default: "report"]
1260
+
--sort key to sort results by [string] [default: "id"]
1261
+
--json shorthand for --template=json [boolean] [default: false]
1262
+
--silent shorthand for --template=silent [boolean] [default: false]
1263
+
1264
+
Other Options:
1265
+
--help Show help [boolean]
1266
+
--version Show version number [boolean]
1267
+
--config Path to JSON config file
1268
+
1269
+
Examples:
1270
+
npx -p @npmcli/stafftools@latest gh template-oss trigger-ci --reject 'status: SUCCESS' --reject 'status: FAILURE' Trigger CI for template-oss PRs without definitive status
1271
+
`
1272
+
1169
1273
exports[`test/gh.mjs TAP all commands help pull-requests > must match snapshot 1`]=`
1170
1274
npx -p @npmcli/stafftools gh pull-requests
1171
1275
@@ -1178,6 +1282,7 @@ Commands:
1178
1282
npx -p @npmcli/stafftools gh pull-requests remove-label Remove a label from pull requests
1179
1283
npx -p @npmcli/stafftools gh pull-requests rerun-failed-workflows Get engine changes in a pull request
--state state to filter pull requests [string] [choices: "CLOSED", "MERGED", "OPEN"] [default: "OPEN"]
1510
+
--table shorthand for --template=table [boolean] [default: false]
1511
+
--confirm shorthand for --template=confirm [boolean] [default: false]
1512
+
--report shorthand for --template=report [boolean] [default: false]
1513
+
--workflow Name of the workflow to trigger [required] [default: "CI"]
1514
+
1515
+
Global Options:
1516
+
-c, --cwd base directory to run filesystem related commands [string] [default: null]
1517
+
-f, --filter filters to be parsed as relaxed json and applied to the data [array]
1518
+
-r, --reject rejectors to be parsed as relaxed json and applied to the data [array]
1519
+
--clean whether to rimraf the cwd first [boolean] [default: false]
1520
+
--template how to format the final output [string] [required] [choices: "json", "silent", "table", "confirm", "report"] [default: "report"]
1521
+
--sort key to sort results by [string] [default: "id"]
1522
+
--json shorthand for --template=json [boolean] [default: false]
1523
+
--silent shorthand for --template=silent [boolean] [default: false]
1524
+
1525
+
Other Options:
1526
+
--help Show help [boolean]
1527
+
--version Show version number [boolean]
1528
+
--config Path to JSON config file
1529
+
1530
+
Examples:
1531
+
npx -p @npmcli/stafftools@latest gh template-oss trigger-ci --reject 'status: SUCCESS' --reject 'status: FAILURE' Trigger CI for template-oss PRs without definitive status
1532
+
`
1533
+
1395
1534
exports[`test/gh.mjs TAP all commands help repos > must match snapshot 1`]=`
1396
1535
npx -p @npmcli/stafftools gh repos
1397
1536
@@ -1693,6 +1832,7 @@ Commands:
1693
1832
npx -p @npmcli/stafftools gh template-oss rerun-failed-workflows Get engine changes in a pull request
--table shorthand for --template=table [boolean] [default: false]
2077
+
--confirm shorthand for --template=confirm [boolean] [default: false]
2078
+
--report shorthand for --template=report [boolean] [default: false]
2079
+
--workflow Name of the workflow to trigger [required] [default: "CI"]
2080
+
2081
+
Global Options:
2082
+
-c, --cwd base directory to run filesystem related commands [string] [default: null]
2083
+
-f, --filter filters to be parsed as relaxed json and applied to the data [array]
2084
+
-r, --reject rejectors to be parsed as relaxed json and applied to the data [array]
2085
+
--clean whether to rimraf the cwd first [boolean] [default: false]
2086
+
--template how to format the final output [string] [required] [choices: "json", "silent", "table", "confirm", "report"] [default: "report"]
2087
+
--sort key to sort results by [string] [default: "id"]
2088
+
--json shorthand for --template=json [boolean] [default: false]
2089
+
--silent shorthand for --template=silent [boolean] [default: false]
2090
+
2091
+
Other Options:
2092
+
--help Show help [boolean]
2093
+
--version Show version number [boolean]
2094
+
--config Path to JSON config file
2095
+
2096
+
Examples:
2097
+
npx -p @npmcli/stafftools@latest gh template-oss trigger-ci --reject 'status: SUCCESS' --reject 'status: FAILURE' Trigger CI for template-oss PRs without definitive status
0 commit comments