10
10
gh closed-pending-release
11
11
gh closed-pending-release remove-label
12
12
gh dependabot
13
+ gh dependabot comment
13
14
gh dependabot merge
14
15
gh dependabot pr-engines
15
16
gh dependabot remove-label
@@ -18,6 +19,7 @@ gh dependabot review
18
19
gh graphql
19
20
gh graphql add-template-oss
20
21
gh graphql clone
22
+ gh graphql comment
21
23
gh graphql delete-branches
22
24
gh graphql merge
23
25
gh graphql metrics
@@ -33,13 +35,15 @@ gh graphql set-secret
33
35
gh graphql template-oss-fix
34
36
gh labels
35
37
gh pending-release
38
+ gh pending-release comment
36
39
gh pending-release merge
37
40
gh pending-release pr-engines
38
41
gh pending-release publish-release
39
42
gh pending-release remove-label
40
43
gh pending-release rerun-failed-workflows
41
44
gh pending-release review
42
45
gh pull-requests
46
+ gh pull-requests comment
43
47
gh pull-requests merge
44
48
gh pull-requests pr-engines
45
49
gh pull-requests remove-label
@@ -55,6 +59,7 @@ gh repos pull
55
59
gh repos repo-settings
56
60
gh repos set-secret
57
61
gh template-oss
62
+ gh template-oss comment
58
63
gh template-oss merge
59
64
gh template-oss pr-engines
60
65
gh template-oss remove-label
@@ -165,6 +170,7 @@ npx -p @npmcli/stafftools gh dependabot
165
170
Fetch dependabot pull requests
166
171
167
172
Commands:
173
+ npx -p @npmcli/stafftools gh dependabot comment Comment on pull requests
168
174
npx -p @npmcli/stafftools gh dependabot merge Merge pull requests
169
175
npx -p @npmcli/stafftools gh dependabot pr-engines Get engine changes in a pull request
170
176
npx -p @npmcli/stafftools gh dependabot remove-label Remove a label from pull requests
@@ -194,6 +200,35 @@ Other Options:
194
200
--config Path to JSON config file
195
201
`
196
202
203
+ exports [ `test/gh.mjs TAP all commands help dependabot comment > must match snapshot 1` ] = `
204
+ npx -p @npmcli/stafftools gh dependabot comment
205
+
206
+ Comment on pull requests
207
+
208
+ Command Options:
209
+ --cache how long for gh to cache the query [string] [default: "1m"]
210
+ --repos query to filter repos [string] [required] [default: "org:npm topic:npm-cli fork:true archived:false"]
211
+ --table shorthand for --template=table [boolean] [default: false]
212
+ --confirm shorthand for --template=confirm [boolean] [default: false]
213
+ --report shorthand for --template=report [boolean] [default: false]
214
+ --body the body to post [string] [default: false]
215
+
216
+ Global Options:
217
+ -c, --cwd base directory to run filesystem related commands [string] [default: null]
218
+ -f, --filter filters to be parsed as relaxed json and applied to the data [array]
219
+ -r, --reject rejectors to be parsed as relaxed json and applied to the data [array]
220
+ --clean whether to rimraf the cwd first [boolean] [default: false]
221
+ --template how to format the final output [string] [required] [choices: "json", "silent", "table", "confirm", "report"] [default: "report"]
222
+ --sort key to sort results by [string] [default: "id"]
223
+ --json shorthand for --template=json [boolean] [default: false]
224
+ --silent shorthand for --template=silent [boolean] [default: false]
225
+
226
+ Other Options:
227
+ --help Show help [boolean]
228
+ --version Show version number [boolean]
229
+ --config Path to JSON config file
230
+ `
231
+
197
232
exports [ `test/gh.mjs TAP all commands help dependabot merge > must match snapshot 1` ] = `
198
233
npx -p @npmcli/stafftools gh dependabot merge
199
234
@@ -349,6 +384,7 @@ Fetch a graphql query
349
384
Commands:
350
385
npx -p @npmcli/stafftools gh graphql add-template-oss Add template-oss to a repo
351
386
npx -p @npmcli/stafftools gh graphql clone Clone repos into a directory
387
+ npx -p @npmcli/stafftools gh graphql comment Comment on pull requests
352
388
npx -p @npmcli/stafftools gh graphql delete-branches Delete branches of repos with no remote counterpart
353
389
npx -p @npmcli/stafftools gh graphql merge Merge pull requests
354
390
npx -p @npmcli/stafftools gh graphql pr-engines Get engine changes in a pull request
@@ -444,6 +480,33 @@ Other Options:
444
480
--config Path to JSON config file
445
481
`
446
482
483
+ exports [ `test/gh.mjs TAP all commands help graphql comment > must match snapshot 1` ] = `
484
+ npx -p @npmcli/stafftools gh graphql comment
485
+
486
+ Comment on pull requests
487
+
488
+ Command Options:
489
+ --query path to a query file passed directly to gh api graphql [string] [required]
490
+ --cache how long for gh to cache the query [string] [default: "1m"]
491
+ --report shorthand for --template=report [boolean] [default: false]
492
+ --body the body to post [string] [default: false]
493
+
494
+ Global Options:
495
+ -c, --cwd base directory to run filesystem related commands [string] [default: null]
496
+ -f, --filter filters to be parsed as relaxed json and applied to the data [array]
497
+ -r, --reject rejectors to be parsed as relaxed json and applied to the data [array]
498
+ --clean whether to rimraf the cwd first [boolean] [default: false]
499
+ --template how to format the final output [string] [required] [choices: "json", "silent", "report"] [default: "report"]
500
+ --sort key to sort results by [string] [default: "id"]
501
+ --json shorthand for --template=json [boolean] [default: false]
502
+ --silent shorthand for --template=silent [boolean] [default: false]
503
+
504
+ Other Options:
505
+ --help Show help [boolean]
506
+ --version Show version number [boolean]
507
+ --config Path to JSON config file
508
+ `
509
+
447
510
exports [ `test/gh.mjs TAP all commands help graphql delete-branches > must match snapshot 1` ] = `
448
511
npx -p @npmcli/stafftools gh graphql delete-branches
449
512
@@ -848,6 +911,7 @@ npx -p @npmcli/stafftools gh pending-release
848
911
Fetch pending release pull requests
849
912
850
913
Commands:
914
+ npx -p @npmcli/stafftools gh pending-release comment Comment on pull requests
851
915
npx -p @npmcli/stafftools gh pending-release merge Merge pull requests
852
916
npx -p @npmcli/stafftools gh pending-release pr-engines Get engine changes in a pull request
853
917
npx -p @npmcli/stafftools gh pending-release publish-release Merge pending release PRs and publish the resulting release
@@ -880,6 +944,37 @@ Other Options:
880
944
--config Path to JSON config file
881
945
`
882
946
947
+ exports [ `test/gh.mjs TAP all commands help pending-release comment > must match snapshot 1` ] = `
948
+ npx -p @npmcli/stafftools gh pending-release comment
949
+
950
+ Comment on pull requests
951
+
952
+ Command Options:
953
+ --cache how long for gh to cache the query [string] [default: "1m"]
954
+ --repos query to filter repos [string] [required] [default: "org:npm topic:npm-cli fork:true archived:false"]
955
+ --noDeps Only return items that do not depend on any other items returned [boolean] [default: false]
956
+ --depsPrs Only return items that have no open deps PRs [string] [choices: "", "none", "any"] [default: ""]
957
+ --table shorthand for --template=table [boolean] [default: false]
958
+ --confirm shorthand for --template=confirm [boolean] [default: false]
959
+ --report shorthand for --template=report [boolean] [default: false]
960
+ --body the body to post [string] [default: false]
961
+
962
+ Global Options:
963
+ -c, --cwd base directory to run filesystem related commands [string] [default: null]
964
+ -f, --filter filters to be parsed as relaxed json and applied to the data [array]
965
+ -r, --reject rejectors to be parsed as relaxed json and applied to the data [array]
966
+ --clean whether to rimraf the cwd first [boolean] [default: false]
967
+ --template how to format the final output [string] [required] [choices: "json", "silent", "table", "confirm", "report"] [default: "report"]
968
+ --sort key to sort results by [string] [default: "id"]
969
+ --json shorthand for --template=json [boolean] [default: false]
970
+ --silent shorthand for --template=silent [boolean] [default: false]
971
+
972
+ Other Options:
973
+ --help Show help [boolean]
974
+ --version Show version number [boolean]
975
+ --config Path to JSON config file
976
+ `
977
+
883
978
exports [ `test/gh.mjs TAP all commands help pending-release merge > must match snapshot 1` ] = `
884
979
npx -p @npmcli/stafftools gh pending-release merge
885
980
@@ -1076,6 +1171,7 @@ npx -p @npmcli/stafftools gh pull-requests
1076
1171
Fetch pull requests
1077
1172
1078
1173
Commands:
1174
+ npx -p @npmcli/stafftools gh pull-requests comment Comment on pull requests
1079
1175
npx -p @npmcli/stafftools gh pull-requests merge Merge pull requests
1080
1176
npx -p @npmcli/stafftools gh pull-requests pr-engines Get engine changes in a pull request
1081
1177
npx -p @npmcli/stafftools gh pull-requests remove-label Remove a label from pull requests
@@ -1107,6 +1203,37 @@ Other Options:
1107
1203
--config Path to JSON config file
1108
1204
`
1109
1205
1206
+ exports [ `test/gh.mjs TAP all commands help pull-requests comment > must match snapshot 1` ] = `
1207
+ npx -p @npmcli/stafftools gh pull-requests comment
1208
+
1209
+ Comment on pull requests
1210
+
1211
+ Command Options:
1212
+ --cache how long for gh to cache the query [string] [default: "1m"]
1213
+ --repos query to filter repos [string] [required] [default: "org:npm topic:npm-cli fork:true archived:false"]
1214
+ --label label to filter pull requests [string]
1215
+ --state state to filter pull requests [string] [choices: "CLOSED", "MERGED", "OPEN"] [default: "OPEN"]
1216
+ --table shorthand for --template=table [boolean] [default: false]
1217
+ --confirm shorthand for --template=confirm [boolean] [default: false]
1218
+ --report shorthand for --template=report [boolean] [default: false]
1219
+ --body the body to post [string] [default: false]
1220
+
1221
+ Global Options:
1222
+ -c, --cwd base directory to run filesystem related commands [string] [default: null]
1223
+ -f, --filter filters to be parsed as relaxed json and applied to the data [array]
1224
+ -r, --reject rejectors to be parsed as relaxed json and applied to the data [array]
1225
+ --clean whether to rimraf the cwd first [boolean] [default: false]
1226
+ --template how to format the final output [string] [required] [choices: "json", "silent", "table", "confirm", "report"] [default: "report"]
1227
+ --sort key to sort results by [string] [default: "id"]
1228
+ --json shorthand for --template=json [boolean] [default: false]
1229
+ --silent shorthand for --template=silent [boolean] [default: false]
1230
+
1231
+ Other Options:
1232
+ --help Show help [boolean]
1233
+ --version Show version number [boolean]
1234
+ --config Path to JSON config file
1235
+ `
1236
+
1110
1237
exports [ `test/gh.mjs TAP all commands help pull-requests merge > must match snapshot 1` ] = `
1111
1238
npx -p @npmcli/stafftools gh pull-requests merge
1112
1239
@@ -1558,6 +1685,7 @@ npx -p @npmcli/stafftools gh template-oss
1558
1685
Fetch template-oss pull requests
1559
1686
1560
1687
Commands:
1688
+ npx -p @npmcli/stafftools gh template-oss comment Comment on pull requests
1561
1689
npx -p @npmcli/stafftools gh template-oss merge Merge pull requests
1562
1690
npx -p @npmcli/stafftools gh template-oss pr-engines Get engine changes in a pull request
1563
1691
npx -p @npmcli/stafftools gh template-oss remove-label Remove a label from pull requests
@@ -1588,6 +1716,35 @@ Other Options:
1588
1716
--config Path to JSON config file
1589
1717
`
1590
1718
1719
+ exports [ `test/gh.mjs TAP all commands help template-oss comment > must match snapshot 1` ] = `
1720
+ npx -p @npmcli/stafftools gh template-oss comment
1721
+
1722
+ Comment on pull requests
1723
+
1724
+ Command Options:
1725
+ --cache how long for gh to cache the query [string] [default: "1m"]
1726
+ --repos query to filter repos [string] [required] [default: "org:npm topic:npm-cli fork:true archived:false"]
1727
+ --table shorthand for --template=table [boolean] [default: false]
1728
+ --confirm shorthand for --template=confirm [boolean] [default: false]
1729
+ --report shorthand for --template=report [boolean] [default: false]
1730
+ --body the body to post [string] [default: false]
1731
+
1732
+ Global Options:
1733
+ -c, --cwd base directory to run filesystem related commands [string] [default: null]
1734
+ -f, --filter filters to be parsed as relaxed json and applied to the data [array]
1735
+ -r, --reject rejectors to be parsed as relaxed json and applied to the data [array]
1736
+ --clean whether to rimraf the cwd first [boolean] [default: false]
1737
+ --template how to format the final output [string] [required] [choices: "json", "silent", "table", "confirm", "report"] [default: "report"]
1738
+ --sort key to sort results by [string] [default: "id"]
1739
+ --json shorthand for --template=json [boolean] [default: false]
1740
+ --silent shorthand for --template=silent [boolean] [default: false]
1741
+
1742
+ Other Options:
1743
+ --help Show help [boolean]
1744
+ --version Show version number [boolean]
1745
+ --config Path to JSON config file
1746
+ `
1747
+
1591
1748
exports [ `test/gh.mjs TAP all commands help template-oss merge > must match snapshot 1` ] = `
1592
1749
npx -p @npmcli/stafftools gh template-oss merge
1593
1750
0 commit comments