heroku 10.13.2 → 10.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/lib/commands/pg/backups/cancel.js +4 -4
  2. package/lib/commands/pg/backups/capture.js +5 -5
  3. package/lib/commands/pg/backups/delete.js +2 -2
  4. package/lib/commands/pg/backups/download.js +3 -3
  5. package/lib/commands/pg/backups/index.js +2 -2
  6. package/lib/commands/pg/backups/info.js +3 -3
  7. package/lib/commands/pg/backups/restore.js +5 -5
  8. package/lib/commands/pg/backups/schedule.js +7 -7
  9. package/lib/commands/pg/backups/schedules.js +2 -2
  10. package/lib/commands/pg/backups/unschedule.js +6 -5
  11. package/lib/commands/pg/backups/url.js +3 -3
  12. package/lib/commands/pg/bloat.js +5 -4
  13. package/lib/commands/pg/blocking.js +5 -4
  14. package/lib/commands/pg/connection-pooling/attach.js +5 -6
  15. package/lib/commands/pg/copy.js +6 -7
  16. package/lib/commands/pg/credentials/create.js +4 -4
  17. package/lib/commands/pg/credentials/destroy.js +4 -4
  18. package/lib/commands/pg/credentials/repair-default.js +4 -4
  19. package/lib/commands/pg/credentials/rotate.js +4 -4
  20. package/lib/commands/pg/credentials/url.js +4 -4
  21. package/lib/commands/pg/credentials.js +4 -4
  22. package/lib/commands/pg/diagnose.js +6 -5
  23. package/lib/commands/pg/info.js +5 -3
  24. package/lib/commands/pg/kill.js +6 -5
  25. package/lib/commands/pg/killall.js +4 -4
  26. package/lib/commands/pg/links/create.js +10 -8
  27. package/lib/commands/pg/links/destroy.js +4 -4
  28. package/lib/commands/pg/links/index.js +14 -8
  29. package/lib/commands/pg/locks.js +5 -4
  30. package/lib/commands/pg/maintenance/index.js +4 -4
  31. package/lib/commands/pg/maintenance/run.js +4 -4
  32. package/lib/commands/pg/maintenance/window.js +4 -4
  33. package/lib/commands/pg/outliers.d.ts +2 -2
  34. package/lib/commands/pg/outliers.js +9 -7
  35. package/lib/commands/pg/promote.js +5 -4
  36. package/lib/commands/pg/ps.js +6 -5
  37. package/lib/commands/pg/psql.js +6 -4
  38. package/lib/commands/pg/pull.d.ts +1 -1
  39. package/lib/commands/pg/pull.js +4 -4
  40. package/lib/commands/pg/push.d.ts +1 -1
  41. package/lib/commands/pg/push.js +4 -4
  42. package/lib/commands/pg/reset.js +4 -4
  43. package/lib/commands/pg/settings/index.js +2 -2
  44. package/lib/commands/pg/unfollow.js +5 -5
  45. package/lib/commands/pg/upgrade/cancel.js +5 -5
  46. package/lib/commands/pg/upgrade/dryrun.js +5 -5
  47. package/lib/commands/pg/upgrade/index.js +5 -5
  48. package/lib/commands/pg/upgrade/prepare.js +5 -5
  49. package/lib/commands/pg/upgrade/run.js +5 -5
  50. package/lib/commands/pg/upgrade/wait.js +9 -4
  51. package/lib/commands/pg/vacuum-stats.js +5 -4
  52. package/lib/commands/pg/wait.js +6 -4
  53. package/lib/commands/run/detached.d.ts +1 -0
  54. package/lib/commands/run/detached.js +5 -1
  55. package/lib/commands/run/index.d.ts +1 -0
  56. package/lib/commands/run/index.js +7 -2
  57. package/lib/commands/run/inside.js +1 -6
  58. package/lib/lib/addons/resolve.d.ts +6 -7
  59. package/lib/lib/pg/backups.js +4 -4
  60. package/lib/lib/pg/fetcher.d.ts +3 -34
  61. package/lib/lib/pg/fetcher.js +3 -92
  62. package/lib/lib/pg/psql.d.ts +5 -36
  63. package/lib/lib/pg/psql.js +17 -195
  64. package/lib/lib/pg/push_pull.d.ts +2 -7
  65. package/lib/lib/pg/push_pull.js +9 -7
  66. package/lib/lib/pg/setter.js +3 -3
  67. package/lib/lib/pg/types.d.ts +10 -15
  68. package/lib/lib/pg/util.d.ts +6 -32
  69. package/lib/lib/pg/util.js +3 -70
  70. package/lib/lib/run/helpers.d.ts +10 -0
  71. package/lib/lib/run/helpers.js +22 -1
  72. package/oclif.manifest.json +430 -418
  73. package/package.json +4 -6
  74. package/lib/lib/pg/bastion.d.ts +0 -29
  75. package/lib/lib/pg/bastion.js +0 -121
  76. package/lib/lib/pg/config.d.ts +0 -2
  77. package/lib/lib/pg/config.js +0 -13
  78. package/lib/lib/pg/host.d.ts +0 -1
  79. package/lib/lib/pg/host.js +0 -6
@@ -580,6 +580,134 @@
580
580
  "update.js"
581
581
  ]
582
582
  },
583
+ "accounts:add": {
584
+ "aliases": [],
585
+ "args": {
586
+ "name": {
587
+ "description": "name of Heroku account to add",
588
+ "name": "name",
589
+ "required": true
590
+ }
591
+ },
592
+ "description": "add a Heroku account to your cache",
593
+ "examples": "heroku accounts:add my-account",
594
+ "flags": {},
595
+ "hasDynamicHelp": false,
596
+ "hiddenAliases": [],
597
+ "id": "accounts:add",
598
+ "pluginAlias": "heroku",
599
+ "pluginName": "heroku",
600
+ "pluginType": "core",
601
+ "strict": true,
602
+ "example": "heroku accounts:add my-account",
603
+ "isESM": false,
604
+ "relativePath": [
605
+ "lib",
606
+ "commands",
607
+ "accounts",
608
+ "add.js"
609
+ ]
610
+ },
611
+ "accounts:current": {
612
+ "aliases": [],
613
+ "args": {},
614
+ "description": "display the current Heroku account",
615
+ "examples": "heroku accounts:current",
616
+ "flags": {},
617
+ "hasDynamicHelp": false,
618
+ "hiddenAliases": [],
619
+ "id": "accounts:current",
620
+ "pluginAlias": "heroku",
621
+ "pluginName": "heroku",
622
+ "pluginType": "core",
623
+ "strict": true,
624
+ "example": "heroku accounts:current",
625
+ "isESM": false,
626
+ "relativePath": [
627
+ "lib",
628
+ "commands",
629
+ "accounts",
630
+ "current.js"
631
+ ]
632
+ },
633
+ "accounts": {
634
+ "aliases": [],
635
+ "args": {},
636
+ "description": "list the Heroku accounts in your cache",
637
+ "examples": "heroku accounts",
638
+ "flags": {},
639
+ "hasDynamicHelp": false,
640
+ "hiddenAliases": [],
641
+ "id": "accounts",
642
+ "pluginAlias": "heroku",
643
+ "pluginName": "heroku",
644
+ "pluginType": "core",
645
+ "strict": true,
646
+ "example": "heroku accounts",
647
+ "isESM": false,
648
+ "relativePath": [
649
+ "lib",
650
+ "commands",
651
+ "accounts",
652
+ "index.js"
653
+ ]
654
+ },
655
+ "accounts:remove": {
656
+ "aliases": [],
657
+ "args": {
658
+ "name": {
659
+ "description": "name of Heroku account to remove",
660
+ "name": "name",
661
+ "required": true
662
+ }
663
+ },
664
+ "description": "remove a Heroku account from your cache",
665
+ "examples": "heroku accounts:remove my-account",
666
+ "flags": {},
667
+ "hasDynamicHelp": false,
668
+ "hiddenAliases": [],
669
+ "id": "accounts:remove",
670
+ "pluginAlias": "heroku",
671
+ "pluginName": "heroku",
672
+ "pluginType": "core",
673
+ "strict": true,
674
+ "example": "heroku accounts:remove my-account",
675
+ "isESM": false,
676
+ "relativePath": [
677
+ "lib",
678
+ "commands",
679
+ "accounts",
680
+ "remove.js"
681
+ ]
682
+ },
683
+ "accounts:set": {
684
+ "aliases": [],
685
+ "args": {
686
+ "name": {
687
+ "description": "name of account to set",
688
+ "name": "name",
689
+ "required": true
690
+ }
691
+ },
692
+ "description": "set the current Heroku account from your cache",
693
+ "examples": "heroku accounts:set my-account",
694
+ "flags": {},
695
+ "hasDynamicHelp": false,
696
+ "hiddenAliases": [],
697
+ "id": "accounts:set",
698
+ "pluginAlias": "heroku",
699
+ "pluginName": "heroku",
700
+ "pluginType": "core",
701
+ "strict": true,
702
+ "example": "heroku accounts:set my-account",
703
+ "isESM": false,
704
+ "relativePath": [
705
+ "lib",
706
+ "commands",
707
+ "accounts",
708
+ "set.js"
709
+ ]
710
+ },
583
711
  "addons:attach": {
584
712
  "aliases": [],
585
713
  "args": {
@@ -1234,134 +1362,6 @@
1234
1362
  "wait.js"
1235
1363
  ]
1236
1364
  },
1237
- "accounts:add": {
1238
- "aliases": [],
1239
- "args": {
1240
- "name": {
1241
- "description": "name of Heroku account to add",
1242
- "name": "name",
1243
- "required": true
1244
- }
1245
- },
1246
- "description": "add a Heroku account to your cache",
1247
- "examples": "heroku accounts:add my-account",
1248
- "flags": {},
1249
- "hasDynamicHelp": false,
1250
- "hiddenAliases": [],
1251
- "id": "accounts:add",
1252
- "pluginAlias": "heroku",
1253
- "pluginName": "heroku",
1254
- "pluginType": "core",
1255
- "strict": true,
1256
- "example": "heroku accounts:add my-account",
1257
- "isESM": false,
1258
- "relativePath": [
1259
- "lib",
1260
- "commands",
1261
- "accounts",
1262
- "add.js"
1263
- ]
1264
- },
1265
- "accounts:current": {
1266
- "aliases": [],
1267
- "args": {},
1268
- "description": "display the current Heroku account",
1269
- "examples": "heroku accounts:current",
1270
- "flags": {},
1271
- "hasDynamicHelp": false,
1272
- "hiddenAliases": [],
1273
- "id": "accounts:current",
1274
- "pluginAlias": "heroku",
1275
- "pluginName": "heroku",
1276
- "pluginType": "core",
1277
- "strict": true,
1278
- "example": "heroku accounts:current",
1279
- "isESM": false,
1280
- "relativePath": [
1281
- "lib",
1282
- "commands",
1283
- "accounts",
1284
- "current.js"
1285
- ]
1286
- },
1287
- "accounts": {
1288
- "aliases": [],
1289
- "args": {},
1290
- "description": "list the Heroku accounts in your cache",
1291
- "examples": "heroku accounts",
1292
- "flags": {},
1293
- "hasDynamicHelp": false,
1294
- "hiddenAliases": [],
1295
- "id": "accounts",
1296
- "pluginAlias": "heroku",
1297
- "pluginName": "heroku",
1298
- "pluginType": "core",
1299
- "strict": true,
1300
- "example": "heroku accounts",
1301
- "isESM": false,
1302
- "relativePath": [
1303
- "lib",
1304
- "commands",
1305
- "accounts",
1306
- "index.js"
1307
- ]
1308
- },
1309
- "accounts:remove": {
1310
- "aliases": [],
1311
- "args": {
1312
- "name": {
1313
- "description": "name of Heroku account to remove",
1314
- "name": "name",
1315
- "required": true
1316
- }
1317
- },
1318
- "description": "remove a Heroku account from your cache",
1319
- "examples": "heroku accounts:remove my-account",
1320
- "flags": {},
1321
- "hasDynamicHelp": false,
1322
- "hiddenAliases": [],
1323
- "id": "accounts:remove",
1324
- "pluginAlias": "heroku",
1325
- "pluginName": "heroku",
1326
- "pluginType": "core",
1327
- "strict": true,
1328
- "example": "heroku accounts:remove my-account",
1329
- "isESM": false,
1330
- "relativePath": [
1331
- "lib",
1332
- "commands",
1333
- "accounts",
1334
- "remove.js"
1335
- ]
1336
- },
1337
- "accounts:set": {
1338
- "aliases": [],
1339
- "args": {
1340
- "name": {
1341
- "description": "name of account to set",
1342
- "name": "name",
1343
- "required": true
1344
- }
1345
- },
1346
- "description": "set the current Heroku account from your cache",
1347
- "examples": "heroku accounts:set my-account",
1348
- "flags": {},
1349
- "hasDynamicHelp": false,
1350
- "hiddenAliases": [],
1351
- "id": "accounts:set",
1352
- "pluginAlias": "heroku",
1353
- "pluginName": "heroku",
1354
- "pluginType": "core",
1355
- "strict": true,
1356
- "example": "heroku accounts:set my-account",
1357
- "isESM": false,
1358
- "relativePath": [
1359
- "lib",
1360
- "commands",
1361
- "accounts",
1362
- "set.js"
1363
- ]
1364
- },
1365
1365
  "apps:create": {
1366
1366
  "aliases": [],
1367
1367
  "args": {
@@ -2102,47 +2102,49 @@
2102
2102
  "unlock.js"
2103
2103
  ]
2104
2104
  },
2105
- "auth:login": {
2106
- "aliases": [
2107
- "login"
2108
- ],
2105
+ "autocomplete:create": {
2106
+ "aliases": [],
2109
2107
  "args": {},
2110
- "description": "login with your Heroku credentials",
2108
+ "description": "create autocomplete setup scripts and completion functions",
2109
+ "flags": {},
2110
+ "hasDynamicHelp": false,
2111
+ "hidden": true,
2112
+ "hiddenAliases": [],
2113
+ "id": "autocomplete:create",
2114
+ "pluginAlias": "heroku",
2115
+ "pluginName": "heroku",
2116
+ "pluginType": "core",
2117
+ "strict": true,
2118
+ "isESM": false,
2119
+ "relativePath": [
2120
+ "lib",
2121
+ "commands",
2122
+ "autocomplete",
2123
+ "create.js"
2124
+ ]
2125
+ },
2126
+ "autocomplete:doctor": {
2127
+ "aliases": [],
2128
+ "args": {
2129
+ "shell": {
2130
+ "description": "shell type",
2131
+ "name": "shell",
2132
+ "required": false
2133
+ }
2134
+ },
2135
+ "description": "autocomplete diagnostic",
2111
2136
  "flags": {
2112
- "browser": {
2113
- "description": "browser to open SSO with (example: \"firefox\", \"safari\")",
2114
- "name": "browser",
2115
- "hasDynamicHelp": false,
2116
- "multiple": false,
2117
- "type": "option"
2118
- },
2119
- "sso": {
2120
- "char": "s",
2121
- "description": "login for enterprise users under SSO",
2122
- "hidden": true,
2123
- "name": "sso",
2124
- "allowNo": false,
2125
- "type": "boolean"
2126
- },
2127
- "interactive": {
2128
- "char": "i",
2129
- "description": "login with username/password",
2130
- "name": "interactive",
2137
+ "verbose": {
2138
+ "description": "list completable commands",
2139
+ "name": "verbose",
2131
2140
  "allowNo": false,
2132
2141
  "type": "boolean"
2133
- },
2134
- "expires-in": {
2135
- "char": "e",
2136
- "description": "duration of token in seconds (default 30 days)",
2137
- "name": "expires-in",
2138
- "hasDynamicHelp": false,
2139
- "multiple": false,
2140
- "type": "option"
2141
2142
  }
2142
2143
  },
2143
2144
  "hasDynamicHelp": false,
2145
+ "hidden": true,
2144
2146
  "hiddenAliases": [],
2145
- "id": "auth:login",
2147
+ "id": "autocomplete:doctor",
2146
2148
  "pluginAlias": "heroku",
2147
2149
  "pluginName": "heroku",
2148
2150
  "pluginType": "core",
@@ -2151,20 +2153,38 @@
2151
2153
  "relativePath": [
2152
2154
  "lib",
2153
2155
  "commands",
2154
- "auth",
2155
- "login.js"
2156
+ "autocomplete",
2157
+ "doctor.js"
2156
2158
  ]
2157
2159
  },
2158
- "auth:logout": {
2159
- "aliases": [
2160
- "logout"
2160
+ "autocomplete": {
2161
+ "aliases": [],
2162
+ "args": {
2163
+ "shell": {
2164
+ "description": "shell type",
2165
+ "name": "shell",
2166
+ "required": false
2167
+ }
2168
+ },
2169
+ "description": "display autocomplete installation instructions",
2170
+ "examples": [
2171
+ "$ heroku autocomplete",
2172
+ "$ heroku autocomplete bash",
2173
+ "$ heroku autocomplete zsh",
2174
+ "$ heroku autocomplete --refresh-cache"
2161
2175
  ],
2162
- "args": {},
2163
- "description": "clears local login credentials and invalidates API session",
2164
- "flags": {},
2176
+ "flags": {
2177
+ "refresh-cache": {
2178
+ "char": "r",
2179
+ "description": "refresh cache only (ignores displaying instructions)",
2180
+ "name": "refresh-cache",
2181
+ "allowNo": false,
2182
+ "type": "boolean"
2183
+ }
2184
+ },
2165
2185
  "hasDynamicHelp": false,
2166
2186
  "hiddenAliases": [],
2167
- "id": "auth:logout",
2187
+ "id": "autocomplete",
2168
2188
  "pluginAlias": "heroku",
2169
2189
  "pluginName": "heroku",
2170
2190
  "pluginType": "core",
@@ -2173,26 +2193,34 @@
2173
2193
  "relativePath": [
2174
2194
  "lib",
2175
2195
  "commands",
2176
- "auth",
2177
- "logout.js"
2196
+ "autocomplete",
2197
+ "index.js"
2178
2198
  ]
2179
2199
  },
2180
- "auth:token": {
2200
+ "autocomplete:options": {
2181
2201
  "aliases": [],
2182
- "args": {},
2183
- "description": "outputs current CLI authentication token.\nBy default, the CLI auth token is only valid for 1 year. To generate a long-lived token, use heroku authorizations:create",
2202
+ "args": {
2203
+ "completion": {
2204
+ "name": "completion"
2205
+ }
2206
+ },
2207
+ "description": "display arg or flag completion options (used internally by completion functions)",
2184
2208
  "flags": {
2185
- "help": {
2186
- "char": "h",
2187
- "description": "Show CLI help.",
2188
- "name": "help",
2189
- "allowNo": false,
2190
- "type": "boolean"
2209
+ "app": {
2210
+ "char": "a",
2211
+ "description": "app to run command against",
2212
+ "hidden": true,
2213
+ "name": "app",
2214
+ "required": false,
2215
+ "hasDynamicHelp": false,
2216
+ "multiple": false,
2217
+ "type": "option"
2191
2218
  }
2192
2219
  },
2193
2220
  "hasDynamicHelp": false,
2221
+ "hidden": true,
2194
2222
  "hiddenAliases": [],
2195
- "id": "auth:token",
2223
+ "id": "autocomplete:options",
2196
2224
  "pluginAlias": "heroku",
2197
2225
  "pluginName": "heroku",
2198
2226
  "pluginType": "core",
@@ -2201,20 +2229,25 @@
2201
2229
  "relativePath": [
2202
2230
  "lib",
2203
2231
  "commands",
2204
- "auth",
2205
- "token.js"
2232
+ "autocomplete",
2233
+ "options.js"
2206
2234
  ]
2207
2235
  },
2208
- "auth:whoami": {
2209
- "aliases": [
2210
- "whoami"
2211
- ],
2212
- "args": {},
2213
- "description": "display the current logged in user",
2236
+ "autocomplete:script": {
2237
+ "aliases": [],
2238
+ "args": {
2239
+ "shell": {
2240
+ "description": "shell type",
2241
+ "name": "shell",
2242
+ "required": false
2243
+ }
2244
+ },
2245
+ "description": "display autocomplete setup script for shell",
2214
2246
  "flags": {},
2215
2247
  "hasDynamicHelp": false,
2248
+ "hidden": true,
2216
2249
  "hiddenAliases": [],
2217
- "id": "auth:whoami",
2250
+ "id": "autocomplete:script",
2218
2251
  "pluginAlias": "heroku",
2219
2252
  "pluginName": "heroku",
2220
2253
  "pluginType": "core",
@@ -2223,8 +2256,8 @@
2223
2256
  "relativePath": [
2224
2257
  "lib",
2225
2258
  "commands",
2226
- "auth",
2227
- "whoami.js"
2259
+ "autocomplete",
2260
+ "script.js"
2228
2261
  ]
2229
2262
  },
2230
2263
  "authorizations:create": {
@@ -2351,205 +2384,29 @@
2351
2384
  "lib",
2352
2385
  "commands",
2353
2386
  "authorizations",
2354
- "info.js"
2355
- ]
2356
- },
2357
- "authorizations:revoke": {
2358
- "aliases": [
2359
- "authorizations:revoke",
2360
- "authorizations:destroy"
2361
- ],
2362
- "args": {
2363
- "id": {
2364
- "description": "ID of the authorization",
2365
- "name": "id",
2366
- "required": true
2367
- }
2368
- },
2369
- "description": "revoke OAuth authorization",
2370
- "examples": [
2371
- "$ heroku authorizations:revoke 105a7bfa-34c3-476e-873a-b1ac3fdc12fb"
2372
- ],
2373
- "flags": {},
2374
- "hasDynamicHelp": false,
2375
- "hiddenAliases": [],
2376
- "id": "authorizations:revoke",
2377
- "pluginAlias": "heroku",
2378
- "pluginName": "heroku",
2379
- "pluginType": "core",
2380
- "strict": true,
2381
- "isESM": false,
2382
- "relativePath": [
2383
- "lib",
2384
- "commands",
2385
- "authorizations",
2386
- "revoke.js"
2387
- ]
2388
- },
2389
- "authorizations:rotate": {
2390
- "aliases": [],
2391
- "args": {
2392
- "id": {
2393
- "description": "ID of the authorization",
2394
- "name": "id",
2395
- "required": true
2396
- }
2397
- },
2398
- "description": "updates an OAuth authorization token",
2399
- "flags": {},
2400
- "hasDynamicHelp": false,
2401
- "hiddenAliases": [],
2402
- "id": "authorizations:rotate",
2403
- "pluginAlias": "heroku",
2404
- "pluginName": "heroku",
2405
- "pluginType": "core",
2406
- "strict": true,
2407
- "isESM": false,
2408
- "relativePath": [
2409
- "lib",
2410
- "commands",
2411
- "authorizations",
2412
- "rotate.js"
2413
- ]
2414
- },
2415
- "authorizations:update": {
2416
- "aliases": [],
2417
- "args": {
2418
- "id": {
2419
- "description": "ID of the authorization",
2420
- "name": "id",
2421
- "required": true
2422
- }
2423
- },
2424
- "description": "updates an OAuth authorization",
2425
- "flags": {
2426
- "description": {
2427
- "char": "d",
2428
- "description": "set a custom authorization description",
2429
- "name": "description",
2430
- "hasDynamicHelp": false,
2431
- "multiple": false,
2432
- "type": "option"
2433
- },
2434
- "client-id": {
2435
- "dependsOn": [
2436
- "client-secret"
2437
- ],
2438
- "description": "identifier of OAuth client to set",
2439
- "name": "client-id",
2440
- "hasDynamicHelp": false,
2441
- "multiple": false,
2442
- "type": "option"
2443
- },
2444
- "client-secret": {
2445
- "dependsOn": [
2446
- "client-id"
2447
- ],
2448
- "description": "secret of OAuth client to set",
2449
- "name": "client-secret",
2450
- "hasDynamicHelp": false,
2451
- "multiple": false,
2452
- "type": "option"
2453
- }
2454
- },
2455
- "hasDynamicHelp": false,
2456
- "hiddenAliases": [],
2457
- "id": "authorizations:update",
2458
- "pluginAlias": "heroku",
2459
- "pluginName": "heroku",
2460
- "pluginType": "core",
2461
- "strict": true,
2462
- "isESM": false,
2463
- "relativePath": [
2464
- "lib",
2465
- "commands",
2466
- "authorizations",
2467
- "update.js"
2468
- ]
2469
- },
2470
- "autocomplete:create": {
2471
- "aliases": [],
2472
- "args": {},
2473
- "description": "create autocomplete setup scripts and completion functions",
2474
- "flags": {},
2475
- "hasDynamicHelp": false,
2476
- "hidden": true,
2477
- "hiddenAliases": [],
2478
- "id": "autocomplete:create",
2479
- "pluginAlias": "heroku",
2480
- "pluginName": "heroku",
2481
- "pluginType": "core",
2482
- "strict": true,
2483
- "isESM": false,
2484
- "relativePath": [
2485
- "lib",
2486
- "commands",
2487
- "autocomplete",
2488
- "create.js"
2489
- ]
2490
- },
2491
- "autocomplete:doctor": {
2492
- "aliases": [],
2493
- "args": {
2494
- "shell": {
2495
- "description": "shell type",
2496
- "name": "shell",
2497
- "required": false
2498
- }
2499
- },
2500
- "description": "autocomplete diagnostic",
2501
- "flags": {
2502
- "verbose": {
2503
- "description": "list completable commands",
2504
- "name": "verbose",
2505
- "allowNo": false,
2506
- "type": "boolean"
2507
- }
2508
- },
2509
- "hasDynamicHelp": false,
2510
- "hidden": true,
2511
- "hiddenAliases": [],
2512
- "id": "autocomplete:doctor",
2513
- "pluginAlias": "heroku",
2514
- "pluginName": "heroku",
2515
- "pluginType": "core",
2516
- "strict": true,
2517
- "isESM": false,
2518
- "relativePath": [
2519
- "lib",
2520
- "commands",
2521
- "autocomplete",
2522
- "doctor.js"
2387
+ "info.js"
2523
2388
  ]
2524
2389
  },
2525
- "autocomplete": {
2526
- "aliases": [],
2390
+ "authorizations:revoke": {
2391
+ "aliases": [
2392
+ "authorizations:revoke",
2393
+ "authorizations:destroy"
2394
+ ],
2527
2395
  "args": {
2528
- "shell": {
2529
- "description": "shell type",
2530
- "name": "shell",
2531
- "required": false
2396
+ "id": {
2397
+ "description": "ID of the authorization",
2398
+ "name": "id",
2399
+ "required": true
2532
2400
  }
2533
2401
  },
2534
- "description": "display autocomplete installation instructions",
2402
+ "description": "revoke OAuth authorization",
2535
2403
  "examples": [
2536
- "$ heroku autocomplete",
2537
- "$ heroku autocomplete bash",
2538
- "$ heroku autocomplete zsh",
2539
- "$ heroku autocomplete --refresh-cache"
2404
+ "$ heroku authorizations:revoke 105a7bfa-34c3-476e-873a-b1ac3fdc12fb"
2540
2405
  ],
2541
- "flags": {
2542
- "refresh-cache": {
2543
- "char": "r",
2544
- "description": "refresh cache only (ignores displaying instructions)",
2545
- "name": "refresh-cache",
2546
- "allowNo": false,
2547
- "type": "boolean"
2548
- }
2549
- },
2406
+ "flags": {},
2550
2407
  "hasDynamicHelp": false,
2551
2408
  "hiddenAliases": [],
2552
- "id": "autocomplete",
2409
+ "id": "authorizations:revoke",
2553
2410
  "pluginAlias": "heroku",
2554
2411
  "pluginName": "heroku",
2555
2412
  "pluginType": "core",
@@ -2558,34 +2415,24 @@
2558
2415
  "relativePath": [
2559
2416
  "lib",
2560
2417
  "commands",
2561
- "autocomplete",
2562
- "index.js"
2418
+ "authorizations",
2419
+ "revoke.js"
2563
2420
  ]
2564
2421
  },
2565
- "autocomplete:options": {
2422
+ "authorizations:rotate": {
2566
2423
  "aliases": [],
2567
2424
  "args": {
2568
- "completion": {
2569
- "name": "completion"
2570
- }
2571
- },
2572
- "description": "display arg or flag completion options (used internally by completion functions)",
2573
- "flags": {
2574
- "app": {
2575
- "char": "a",
2576
- "description": "app to run command against",
2577
- "hidden": true,
2578
- "name": "app",
2579
- "required": false,
2580
- "hasDynamicHelp": false,
2581
- "multiple": false,
2582
- "type": "option"
2425
+ "id": {
2426
+ "description": "ID of the authorization",
2427
+ "name": "id",
2428
+ "required": true
2583
2429
  }
2584
2430
  },
2431
+ "description": "updates an OAuth authorization token",
2432
+ "flags": {},
2585
2433
  "hasDynamicHelp": false,
2586
- "hidden": true,
2587
2434
  "hiddenAliases": [],
2588
- "id": "autocomplete:options",
2435
+ "id": "authorizations:rotate",
2589
2436
  "pluginAlias": "heroku",
2590
2437
  "pluginName": "heroku",
2591
2438
  "pluginType": "core",
@@ -2594,25 +2441,53 @@
2594
2441
  "relativePath": [
2595
2442
  "lib",
2596
2443
  "commands",
2597
- "autocomplete",
2598
- "options.js"
2444
+ "authorizations",
2445
+ "rotate.js"
2599
2446
  ]
2600
2447
  },
2601
- "autocomplete:script": {
2448
+ "authorizations:update": {
2602
2449
  "aliases": [],
2603
2450
  "args": {
2604
- "shell": {
2605
- "description": "shell type",
2606
- "name": "shell",
2607
- "required": false
2451
+ "id": {
2452
+ "description": "ID of the authorization",
2453
+ "name": "id",
2454
+ "required": true
2455
+ }
2456
+ },
2457
+ "description": "updates an OAuth authorization",
2458
+ "flags": {
2459
+ "description": {
2460
+ "char": "d",
2461
+ "description": "set a custom authorization description",
2462
+ "name": "description",
2463
+ "hasDynamicHelp": false,
2464
+ "multiple": false,
2465
+ "type": "option"
2466
+ },
2467
+ "client-id": {
2468
+ "dependsOn": [
2469
+ "client-secret"
2470
+ ],
2471
+ "description": "identifier of OAuth client to set",
2472
+ "name": "client-id",
2473
+ "hasDynamicHelp": false,
2474
+ "multiple": false,
2475
+ "type": "option"
2476
+ },
2477
+ "client-secret": {
2478
+ "dependsOn": [
2479
+ "client-id"
2480
+ ],
2481
+ "description": "secret of OAuth client to set",
2482
+ "name": "client-secret",
2483
+ "hasDynamicHelp": false,
2484
+ "multiple": false,
2485
+ "type": "option"
2608
2486
  }
2609
2487
  },
2610
- "description": "display autocomplete setup script for shell",
2611
- "flags": {},
2612
2488
  "hasDynamicHelp": false,
2613
- "hidden": true,
2614
2489
  "hiddenAliases": [],
2615
- "id": "autocomplete:script",
2490
+ "id": "authorizations:update",
2616
2491
  "pluginAlias": "heroku",
2617
2492
  "pluginName": "heroku",
2618
2493
  "pluginType": "core",
@@ -2621,8 +2496,8 @@
2621
2496
  "relativePath": [
2622
2497
  "lib",
2623
2498
  "commands",
2624
- "autocomplete",
2625
- "script.js"
2499
+ "authorizations",
2500
+ "update.js"
2626
2501
  ]
2627
2502
  },
2628
2503
  "buildpacks:add": {
@@ -2954,6 +2829,131 @@
2954
2829
  "versions.js"
2955
2830
  ]
2956
2831
  },
2832
+ "auth:login": {
2833
+ "aliases": [
2834
+ "login"
2835
+ ],
2836
+ "args": {},
2837
+ "description": "login with your Heroku credentials",
2838
+ "flags": {
2839
+ "browser": {
2840
+ "description": "browser to open SSO with (example: \"firefox\", \"safari\")",
2841
+ "name": "browser",
2842
+ "hasDynamicHelp": false,
2843
+ "multiple": false,
2844
+ "type": "option"
2845
+ },
2846
+ "sso": {
2847
+ "char": "s",
2848
+ "description": "login for enterprise users under SSO",
2849
+ "hidden": true,
2850
+ "name": "sso",
2851
+ "allowNo": false,
2852
+ "type": "boolean"
2853
+ },
2854
+ "interactive": {
2855
+ "char": "i",
2856
+ "description": "login with username/password",
2857
+ "name": "interactive",
2858
+ "allowNo": false,
2859
+ "type": "boolean"
2860
+ },
2861
+ "expires-in": {
2862
+ "char": "e",
2863
+ "description": "duration of token in seconds (default 30 days)",
2864
+ "name": "expires-in",
2865
+ "hasDynamicHelp": false,
2866
+ "multiple": false,
2867
+ "type": "option"
2868
+ }
2869
+ },
2870
+ "hasDynamicHelp": false,
2871
+ "hiddenAliases": [],
2872
+ "id": "auth:login",
2873
+ "pluginAlias": "heroku",
2874
+ "pluginName": "heroku",
2875
+ "pluginType": "core",
2876
+ "strict": true,
2877
+ "isESM": false,
2878
+ "relativePath": [
2879
+ "lib",
2880
+ "commands",
2881
+ "auth",
2882
+ "login.js"
2883
+ ]
2884
+ },
2885
+ "auth:logout": {
2886
+ "aliases": [
2887
+ "logout"
2888
+ ],
2889
+ "args": {},
2890
+ "description": "clears local login credentials and invalidates API session",
2891
+ "flags": {},
2892
+ "hasDynamicHelp": false,
2893
+ "hiddenAliases": [],
2894
+ "id": "auth:logout",
2895
+ "pluginAlias": "heroku",
2896
+ "pluginName": "heroku",
2897
+ "pluginType": "core",
2898
+ "strict": true,
2899
+ "isESM": false,
2900
+ "relativePath": [
2901
+ "lib",
2902
+ "commands",
2903
+ "auth",
2904
+ "logout.js"
2905
+ ]
2906
+ },
2907
+ "auth:token": {
2908
+ "aliases": [],
2909
+ "args": {},
2910
+ "description": "outputs current CLI authentication token.\nBy default, the CLI auth token is only valid for 1 year. To generate a long-lived token, use heroku authorizations:create",
2911
+ "flags": {
2912
+ "help": {
2913
+ "char": "h",
2914
+ "description": "Show CLI help.",
2915
+ "name": "help",
2916
+ "allowNo": false,
2917
+ "type": "boolean"
2918
+ }
2919
+ },
2920
+ "hasDynamicHelp": false,
2921
+ "hiddenAliases": [],
2922
+ "id": "auth:token",
2923
+ "pluginAlias": "heroku",
2924
+ "pluginName": "heroku",
2925
+ "pluginType": "core",
2926
+ "strict": true,
2927
+ "isESM": false,
2928
+ "relativePath": [
2929
+ "lib",
2930
+ "commands",
2931
+ "auth",
2932
+ "token.js"
2933
+ ]
2934
+ },
2935
+ "auth:whoami": {
2936
+ "aliases": [
2937
+ "whoami"
2938
+ ],
2939
+ "args": {},
2940
+ "description": "display the current logged in user",
2941
+ "flags": {},
2942
+ "hasDynamicHelp": false,
2943
+ "hiddenAliases": [],
2944
+ "id": "auth:whoami",
2945
+ "pluginAlias": "heroku",
2946
+ "pluginName": "heroku",
2947
+ "pluginType": "core",
2948
+ "strict": true,
2949
+ "isESM": false,
2950
+ "relativePath": [
2951
+ "lib",
2952
+ "commands",
2953
+ "auth",
2954
+ "whoami.js"
2955
+ ]
2956
+ },
2957
2957
  "certs:add": {
2958
2958
  "aliases": [],
2959
2959
  "args": {
@@ -9399,6 +9399,12 @@
9399
9399
  "hasDynamicHelp": false,
9400
9400
  "multiple": false,
9401
9401
  "type": "option"
9402
+ },
9403
+ "no-launcher": {
9404
+ "description": "don’t prepend ‘launcher’ before a command",
9405
+ "name": "no-launcher",
9406
+ "allowNo": false,
9407
+ "type": "boolean"
9402
9408
  }
9403
9409
  },
9404
9410
  "hasDynamicHelp": false,
@@ -9419,7 +9425,7 @@
9419
9425
  "run": {
9420
9426
  "aliases": [],
9421
9427
  "args": {},
9422
- "description": "run a one-off process inside a heroku dyno\nShows a notification if the dyno takes more than 20 seconds to start.",
9428
+ "description": "run a one-off process inside a heroku dyno\nShows a notification if the dyno takes more than 20 seconds to start.\nHeroku automatically prepends ‘launcher’ to the command on CNB apps (use --no-launcher to disable).",
9423
9429
  "examples": [
9424
9430
  "$ heroku run bash",
9425
9431
  "$ heroku run -s standard-2x -- myscript.sh -a arg1 -s arg2"
@@ -9490,6 +9496,12 @@
9490
9496
  "name": "no-notify",
9491
9497
  "allowNo": false,
9492
9498
  "type": "boolean"
9499
+ },
9500
+ "no-launcher": {
9501
+ "description": "don’t prepend ‘launcher’ before a command",
9502
+ "name": "no-launcher",
9503
+ "allowNo": false,
9504
+ "type": "boolean"
9493
9505
  }
9494
9506
  },
9495
9507
  "hasDynamicHelp": false,
@@ -15007,5 +15019,5 @@
15007
15019
  ]
15008
15020
  }
15009
15021
  },
15010
- "version": "10.13.2"
15022
+ "version": "10.14.0"
15011
15023
  }