heroku 11.0.0-alpha.12 → 11.0.0-alpha.13

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 (48) hide show
  1. package/lib/commands/addons/index.d.ts +1 -1
  2. package/lib/commands/addons/index.js +4 -4
  3. package/lib/commands/pg/copy.d.ts +6 -6
  4. package/lib/commands/pg/copy.js +16 -16
  5. package/lib/commands/pg/credentials/url.js +3 -5
  6. package/lib/commands/pg/credentials.d.ts +7 -7
  7. package/lib/commands/pg/credentials.js +10 -10
  8. package/lib/commands/webhooks/add.d.ts +16 -0
  9. package/lib/commands/webhooks/add.js +43 -0
  10. package/lib/commands/webhooks/deliveries/index.d.ts +12 -0
  11. package/lib/commands/webhooks/deliveries/index.js +75 -0
  12. package/lib/commands/webhooks/deliveries/info.d.ts +14 -0
  13. package/lib/commands/webhooks/deliveries/info.js +40 -0
  14. package/lib/commands/webhooks/index.d.ts +11 -0
  15. package/lib/commands/webhooks/index.js +42 -0
  16. package/lib/commands/webhooks/info.d.ts +14 -0
  17. package/lib/commands/webhooks/info.js +29 -0
  18. package/lib/commands/webhooks/remove.d.ts +14 -0
  19. package/lib/commands/webhooks/remove.js +24 -0
  20. package/lib/commands/webhooks/update.d.ts +19 -0
  21. package/lib/commands/webhooks/update.js +36 -0
  22. package/lib/lib/addons/util.js +1 -2
  23. package/lib/lib/data/credentialUtils.js +1 -1
  24. package/lib/lib/data/types.d.ts +10 -6
  25. package/lib/lib/pg/types.d.ts +0 -18
  26. package/lib/lib/pg/util.d.ts +2 -2
  27. package/lib/lib/pg/util.js +5 -0
  28. package/lib/lib/run/dyno.d.ts +3 -11
  29. package/lib/lib/run/dyno.js +15 -18
  30. package/lib/lib/utils/multisort.d.ts +4 -7
  31. package/lib/lib/utils/multisort.js +8 -32
  32. package/npm-shrinkwrap.json +1 -1
  33. package/oclif.manifest.json +1468 -1005
  34. package/package.json +2 -2
  35. package/lib/oldCommands/webhooks/add.d.ts +0 -1
  36. package/lib/oldCommands/webhooks/add.js +0 -56
  37. package/lib/oldCommands/webhooks/deliveries/index.d.ts +0 -1
  38. package/lib/oldCommands/webhooks/deliveries/index.js +0 -90
  39. package/lib/oldCommands/webhooks/deliveries/info.d.ts +0 -1
  40. package/lib/oldCommands/webhooks/deliveries/info.js +0 -54
  41. package/lib/oldCommands/webhooks/index.d.ts +0 -1
  42. package/lib/oldCommands/webhooks/index.js +0 -55
  43. package/lib/oldCommands/webhooks/info.d.ts +0 -1
  44. package/lib/oldCommands/webhooks/info.js +0 -41
  45. package/lib/oldCommands/webhooks/remove.d.ts +0 -1
  46. package/lib/oldCommands/webhooks/remove.js +0 -37
  47. package/lib/oldCommands/webhooks/update.d.ts +0 -1
  48. package/lib/oldCommands/webhooks/update.js +0 -50
@@ -2471,6 +2471,164 @@
2471
2471
  "update.js"
2472
2472
  ]
2473
2473
  },
2474
+ "autocomplete:create": {
2475
+ "aliases": [],
2476
+ "args": {},
2477
+ "description": "create autocomplete setup scripts and completion functions",
2478
+ "flags": {},
2479
+ "hasDynamicHelp": false,
2480
+ "hidden": true,
2481
+ "hiddenAliases": [],
2482
+ "id": "autocomplete:create",
2483
+ "pluginAlias": "heroku",
2484
+ "pluginName": "heroku",
2485
+ "pluginType": "core",
2486
+ "strict": true,
2487
+ "isESM": true,
2488
+ "relativePath": [
2489
+ "lib",
2490
+ "commands",
2491
+ "autocomplete",
2492
+ "create.js"
2493
+ ]
2494
+ },
2495
+ "autocomplete:doctor": {
2496
+ "aliases": [],
2497
+ "args": {
2498
+ "shell": {
2499
+ "description": "shell type",
2500
+ "name": "shell",
2501
+ "required": false
2502
+ }
2503
+ },
2504
+ "description": "autocomplete diagnostic",
2505
+ "flags": {
2506
+ "verbose": {
2507
+ "description": "list completable commands",
2508
+ "name": "verbose",
2509
+ "allowNo": false,
2510
+ "type": "boolean"
2511
+ }
2512
+ },
2513
+ "hasDynamicHelp": false,
2514
+ "hidden": true,
2515
+ "hiddenAliases": [],
2516
+ "id": "autocomplete:doctor",
2517
+ "pluginAlias": "heroku",
2518
+ "pluginName": "heroku",
2519
+ "pluginType": "core",
2520
+ "strict": true,
2521
+ "isESM": true,
2522
+ "relativePath": [
2523
+ "lib",
2524
+ "commands",
2525
+ "autocomplete",
2526
+ "doctor.js"
2527
+ ]
2528
+ },
2529
+ "autocomplete": {
2530
+ "aliases": [],
2531
+ "args": {
2532
+ "shell": {
2533
+ "description": "shell type",
2534
+ "name": "shell",
2535
+ "required": false
2536
+ }
2537
+ },
2538
+ "description": "display autocomplete installation instructions",
2539
+ "examples": [
2540
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku autocomplete \u001b[22m\u001b[39m\u001b[49m",
2541
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku autocomplete bash \u001b[22m\u001b[39m\u001b[49m",
2542
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku autocomplete zsh \u001b[22m\u001b[39m\u001b[49m",
2543
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku autocomplete --refresh-cache \u001b[22m\u001b[39m\u001b[49m"
2544
+ ],
2545
+ "flags": {
2546
+ "refresh-cache": {
2547
+ "char": "r",
2548
+ "description": "refresh cache only (ignores displaying instructions)",
2549
+ "name": "refresh-cache",
2550
+ "allowNo": false,
2551
+ "type": "boolean"
2552
+ }
2553
+ },
2554
+ "hasDynamicHelp": false,
2555
+ "hiddenAliases": [],
2556
+ "id": "autocomplete",
2557
+ "pluginAlias": "heroku",
2558
+ "pluginName": "heroku",
2559
+ "pluginType": "core",
2560
+ "strict": true,
2561
+ "isESM": true,
2562
+ "relativePath": [
2563
+ "lib",
2564
+ "commands",
2565
+ "autocomplete",
2566
+ "index.js"
2567
+ ]
2568
+ },
2569
+ "autocomplete:options": {
2570
+ "aliases": [],
2571
+ "args": {
2572
+ "completion": {
2573
+ "name": "completion"
2574
+ }
2575
+ },
2576
+ "description": "display arg or flag completion options (used internally by completion functions)",
2577
+ "flags": {
2578
+ "app": {
2579
+ "char": "a",
2580
+ "description": "app to run command against",
2581
+ "hidden": true,
2582
+ "name": "app",
2583
+ "required": false,
2584
+ "hasDynamicHelp": false,
2585
+ "multiple": false,
2586
+ "type": "option"
2587
+ }
2588
+ },
2589
+ "hasDynamicHelp": false,
2590
+ "hidden": true,
2591
+ "hiddenAliases": [],
2592
+ "id": "autocomplete:options",
2593
+ "pluginAlias": "heroku",
2594
+ "pluginName": "heroku",
2595
+ "pluginType": "core",
2596
+ "strict": true,
2597
+ "isESM": true,
2598
+ "relativePath": [
2599
+ "lib",
2600
+ "commands",
2601
+ "autocomplete",
2602
+ "options.js"
2603
+ ]
2604
+ },
2605
+ "autocomplete:script": {
2606
+ "aliases": [],
2607
+ "args": {
2608
+ "shell": {
2609
+ "description": "shell type",
2610
+ "name": "shell",
2611
+ "required": false
2612
+ }
2613
+ },
2614
+ "description": "display autocomplete setup script for shell",
2615
+ "flags": {},
2616
+ "hasDynamicHelp": false,
2617
+ "hidden": true,
2618
+ "hiddenAliases": [],
2619
+ "id": "autocomplete:script",
2620
+ "pluginAlias": "heroku",
2621
+ "pluginName": "heroku",
2622
+ "pluginType": "core",
2623
+ "strict": true,
2624
+ "isESM": true,
2625
+ "relativePath": [
2626
+ "lib",
2627
+ "commands",
2628
+ "autocomplete",
2629
+ "script.js"
2630
+ ]
2631
+ },
2474
2632
  "buildpacks:add": {
2475
2633
  "aliases": [],
2476
2634
  "args": {
@@ -3187,454 +3345,63 @@
3187
3345
  "update.js"
3188
3346
  ]
3189
3347
  },
3190
- "autocomplete:create": {
3348
+ "ci:debug": {
3191
3349
  "aliases": [],
3192
3350
  "args": {},
3193
- "description": "create autocomplete setup scripts and completion functions",
3194
- "flags": {},
3195
- "hasDynamicHelp": false,
3196
- "hidden": true,
3197
- "hiddenAliases": [],
3198
- "id": "autocomplete:create",
3199
- "pluginAlias": "heroku",
3200
- "pluginName": "heroku",
3201
- "pluginType": "core",
3202
- "strict": true,
3203
- "isESM": true,
3204
- "relativePath": [
3205
- "lib",
3206
- "commands",
3207
- "autocomplete",
3208
- "create.js"
3209
- ]
3210
- },
3211
- "autocomplete:doctor": {
3212
- "aliases": [],
3213
- "args": {
3214
- "shell": {
3215
- "description": "shell type",
3216
- "name": "shell",
3217
- "required": false
3218
- }
3219
- },
3220
- "description": "autocomplete diagnostic",
3351
+ "description": "opens an interactive test debugging session with the contents of the current directory",
3221
3352
  "flags": {
3222
- "verbose": {
3223
- "description": "list completable commands",
3224
- "name": "verbose",
3353
+ "app": {
3354
+ "char": "a",
3355
+ "description": "app to run command against",
3356
+ "name": "app",
3357
+ "hasDynamicHelp": false,
3358
+ "multiple": false,
3359
+ "type": "option"
3360
+ },
3361
+ "no-cache": {
3362
+ "description": "start test run with an empty cache",
3363
+ "name": "no-cache",
3364
+ "allowNo": false,
3365
+ "type": "boolean"
3366
+ },
3367
+ "no-setup": {
3368
+ "description": "start test dyno without running test-setup",
3369
+ "name": "no-setup",
3225
3370
  "allowNo": false,
3226
3371
  "type": "boolean"
3372
+ },
3373
+ "pipeline": {
3374
+ "char": "p",
3375
+ "description": "name of pipeline",
3376
+ "name": "pipeline",
3377
+ "hasDynamicHelp": false,
3378
+ "multiple": false,
3379
+ "type": "option"
3227
3380
  }
3228
3381
  },
3229
3382
  "hasDynamicHelp": false,
3230
- "hidden": true,
3231
3383
  "hiddenAliases": [],
3232
- "id": "autocomplete:doctor",
3384
+ "id": "ci:debug",
3233
3385
  "pluginAlias": "heroku",
3234
3386
  "pluginName": "heroku",
3235
3387
  "pluginType": "core",
3236
3388
  "strict": true,
3389
+ "help": "Example:\n\n $ heroku ci:debug --pipeline PIPELINE\n Preparing source... done\n Creating test run... done\n Running setup and attaching to test dyno...\n\n~ $\n",
3390
+ "topic": "ci",
3237
3391
  "isESM": true,
3238
3392
  "relativePath": [
3239
3393
  "lib",
3240
3394
  "commands",
3241
- "autocomplete",
3242
- "doctor.js"
3395
+ "ci",
3396
+ "debug.js"
3243
3397
  ]
3244
3398
  },
3245
- "autocomplete": {
3399
+ "ci": {
3246
3400
  "aliases": [],
3247
- "args": {
3248
- "shell": {
3249
- "description": "shell type",
3250
- "name": "shell",
3251
- "required": false
3252
- }
3253
- },
3254
- "description": "display autocomplete installation instructions",
3401
+ "args": {},
3402
+ "description": "display the most recent CI runs for the given pipeline",
3255
3403
  "examples": [
3256
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku autocomplete \u001b[22m\u001b[39m\u001b[49m",
3257
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku autocomplete bash \u001b[22m\u001b[39m\u001b[49m",
3258
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku autocomplete zsh \u001b[22m\u001b[39m\u001b[49m",
3259
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku autocomplete --refresh-cache \u001b[22m\u001b[39m\u001b[49m"
3260
- ],
3261
- "flags": {
3262
- "refresh-cache": {
3263
- "char": "r",
3264
- "description": "refresh cache only (ignores displaying instructions)",
3265
- "name": "refresh-cache",
3266
- "allowNo": false,
3267
- "type": "boolean"
3268
- }
3269
- },
3270
- "hasDynamicHelp": false,
3271
- "hiddenAliases": [],
3272
- "id": "autocomplete",
3273
- "pluginAlias": "heroku",
3274
- "pluginName": "heroku",
3275
- "pluginType": "core",
3276
- "strict": true,
3277
- "isESM": true,
3278
- "relativePath": [
3279
- "lib",
3280
- "commands",
3281
- "autocomplete",
3282
- "index.js"
3283
- ]
3284
- },
3285
- "autocomplete:options": {
3286
- "aliases": [],
3287
- "args": {
3288
- "completion": {
3289
- "name": "completion"
3290
- }
3291
- },
3292
- "description": "display arg or flag completion options (used internally by completion functions)",
3293
- "flags": {
3294
- "app": {
3295
- "char": "a",
3296
- "description": "app to run command against",
3297
- "hidden": true,
3298
- "name": "app",
3299
- "required": false,
3300
- "hasDynamicHelp": false,
3301
- "multiple": false,
3302
- "type": "option"
3303
- }
3304
- },
3305
- "hasDynamicHelp": false,
3306
- "hidden": true,
3307
- "hiddenAliases": [],
3308
- "id": "autocomplete:options",
3309
- "pluginAlias": "heroku",
3310
- "pluginName": "heroku",
3311
- "pluginType": "core",
3312
- "strict": true,
3313
- "isESM": true,
3314
- "relativePath": [
3315
- "lib",
3316
- "commands",
3317
- "autocomplete",
3318
- "options.js"
3319
- ]
3320
- },
3321
- "autocomplete:script": {
3322
- "aliases": [],
3323
- "args": {
3324
- "shell": {
3325
- "description": "shell type",
3326
- "name": "shell",
3327
- "required": false
3328
- }
3329
- },
3330
- "description": "display autocomplete setup script for shell",
3331
- "flags": {},
3332
- "hasDynamicHelp": false,
3333
- "hidden": true,
3334
- "hiddenAliases": [],
3335
- "id": "autocomplete:script",
3336
- "pluginAlias": "heroku",
3337
- "pluginName": "heroku",
3338
- "pluginType": "core",
3339
- "strict": true,
3340
- "isESM": true,
3341
- "relativePath": [
3342
- "lib",
3343
- "commands",
3344
- "autocomplete",
3345
- "script.js"
3346
- ]
3347
- },
3348
- "clients:create": {
3349
- "aliases": [],
3350
- "args": {
3351
- "name": {
3352
- "description": "name of the OAuth client",
3353
- "name": "name",
3354
- "required": true
3355
- },
3356
- "redirect_uri": {
3357
- "description": "redirect URL of the OAuth client",
3358
- "name": "redirect_uri",
3359
- "required": true
3360
- }
3361
- },
3362
- "description": "create a new OAuth client",
3363
- "examples": [
3364
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku clients:create \"Amazing\" https://amazing-client.herokuapp.com/auth/heroku/callback \u001b[22m\u001b[39m\u001b[49m"
3365
- ],
3366
- "flags": {
3367
- "json": {
3368
- "char": "j",
3369
- "description": "output in json format",
3370
- "name": "json",
3371
- "allowNo": false,
3372
- "type": "boolean"
3373
- },
3374
- "shell": {
3375
- "char": "s",
3376
- "description": "output in shell format",
3377
- "name": "shell",
3378
- "allowNo": false,
3379
- "type": "boolean"
3380
- }
3381
- },
3382
- "hasDynamicHelp": false,
3383
- "hiddenAliases": [],
3384
- "id": "clients:create",
3385
- "pluginAlias": "heroku",
3386
- "pluginName": "heroku",
3387
- "pluginType": "core",
3388
- "strict": true,
3389
- "isESM": true,
3390
- "relativePath": [
3391
- "lib",
3392
- "commands",
3393
- "clients",
3394
- "create.js"
3395
- ]
3396
- },
3397
- "clients:destroy": {
3398
- "aliases": [],
3399
- "args": {
3400
- "id": {
3401
- "description": "ID of the OAuth client",
3402
- "name": "id",
3403
- "required": true
3404
- }
3405
- },
3406
- "description": "delete client by ID",
3407
- "flags": {},
3408
- "hasDynamicHelp": false,
3409
- "hiddenAliases": [],
3410
- "id": "clients:destroy",
3411
- "pluginAlias": "heroku",
3412
- "pluginName": "heroku",
3413
- "pluginType": "core",
3414
- "strict": true,
3415
- "isESM": true,
3416
- "relativePath": [
3417
- "lib",
3418
- "commands",
3419
- "clients",
3420
- "destroy.js"
3421
- ]
3422
- },
3423
- "clients": {
3424
- "aliases": [],
3425
- "args": {},
3426
- "description": "list your OAuth clients",
3427
- "flags": {
3428
- "json": {
3429
- "char": "j",
3430
- "description": "output in json format",
3431
- "name": "json",
3432
- "allowNo": false,
3433
- "type": "boolean"
3434
- }
3435
- },
3436
- "hasDynamicHelp": false,
3437
- "hiddenAliases": [],
3438
- "id": "clients",
3439
- "pluginAlias": "heroku",
3440
- "pluginName": "heroku",
3441
- "pluginType": "core",
3442
- "strict": true,
3443
- "isESM": true,
3444
- "relativePath": [
3445
- "lib",
3446
- "commands",
3447
- "clients",
3448
- "index.js"
3449
- ]
3450
- },
3451
- "clients:info": {
3452
- "aliases": [],
3453
- "args": {
3454
- "id": {
3455
- "description": "ID of the OAuth client",
3456
- "name": "id",
3457
- "required": true
3458
- }
3459
- },
3460
- "description": "show details of an oauth client",
3461
- "examples": [
3462
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku clients:info 36120128-fee7-455e-8b7f-807aee130946 \u001b[22m\u001b[39m\u001b[49m"
3463
- ],
3464
- "flags": {
3465
- "json": {
3466
- "char": "j",
3467
- "description": "output in json format",
3468
- "name": "json",
3469
- "allowNo": false,
3470
- "type": "boolean"
3471
- },
3472
- "shell": {
3473
- "char": "s",
3474
- "description": "output in shell format",
3475
- "name": "shell",
3476
- "allowNo": false,
3477
- "type": "boolean"
3478
- }
3479
- },
3480
- "hasDynamicHelp": false,
3481
- "hiddenAliases": [],
3482
- "id": "clients:info",
3483
- "pluginAlias": "heroku",
3484
- "pluginName": "heroku",
3485
- "pluginType": "core",
3486
- "strict": true,
3487
- "isESM": true,
3488
- "relativePath": [
3489
- "lib",
3490
- "commands",
3491
- "clients",
3492
- "info.js"
3493
- ]
3494
- },
3495
- "clients:rotate": {
3496
- "aliases": [],
3497
- "args": {
3498
- "id": {
3499
- "description": "ID of the OAuth client",
3500
- "name": "id",
3501
- "required": true
3502
- }
3503
- },
3504
- "description": "rotate OAuth client secret",
3505
- "flags": {
3506
- "json": {
3507
- "char": "j",
3508
- "description": "output in json format",
3509
- "name": "json",
3510
- "allowNo": false,
3511
- "type": "boolean"
3512
- },
3513
- "shell": {
3514
- "char": "s",
3515
- "description": "output in shell format",
3516
- "name": "shell",
3517
- "allowNo": false,
3518
- "type": "boolean"
3519
- }
3520
- },
3521
- "hasDynamicHelp": false,
3522
- "hiddenAliases": [],
3523
- "id": "clients:rotate",
3524
- "pluginAlias": "heroku",
3525
- "pluginName": "heroku",
3526
- "pluginType": "core",
3527
- "strict": true,
3528
- "isESM": true,
3529
- "relativePath": [
3530
- "lib",
3531
- "commands",
3532
- "clients",
3533
- "rotate.js"
3534
- ]
3535
- },
3536
- "clients:update": {
3537
- "aliases": [],
3538
- "args": {
3539
- "id": {
3540
- "description": "ID of the OAuth client",
3541
- "name": "id",
3542
- "required": true
3543
- }
3544
- },
3545
- "description": "update OAuth client",
3546
- "examples": [
3547
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku clients:update 3e304bda-d376-4278-bdea-6d6c08aa1359 --url https://amazing-client.herokuapp.com/auth/heroku/callback \u001b[22m\u001b[39m\u001b[49m"
3548
- ],
3549
- "flags": {
3550
- "name": {
3551
- "char": "n",
3552
- "description": "change the client name",
3553
- "name": "name",
3554
- "hasDynamicHelp": false,
3555
- "multiple": false,
3556
- "type": "option"
3557
- },
3558
- "url": {
3559
- "description": "change the client redirect URL",
3560
- "name": "url",
3561
- "hasDynamicHelp": false,
3562
- "multiple": false,
3563
- "type": "option"
3564
- }
3565
- },
3566
- "hasDynamicHelp": false,
3567
- "hiddenAliases": [],
3568
- "id": "clients:update",
3569
- "pluginAlias": "heroku",
3570
- "pluginName": "heroku",
3571
- "pluginType": "core",
3572
- "strict": true,
3573
- "isESM": true,
3574
- "relativePath": [
3575
- "lib",
3576
- "commands",
3577
- "clients",
3578
- "update.js"
3579
- ]
3580
- },
3581
- "ci:debug": {
3582
- "aliases": [],
3583
- "args": {},
3584
- "description": "opens an interactive test debugging session with the contents of the current directory",
3585
- "flags": {
3586
- "app": {
3587
- "char": "a",
3588
- "description": "app to run command against",
3589
- "name": "app",
3590
- "hasDynamicHelp": false,
3591
- "multiple": false,
3592
- "type": "option"
3593
- },
3594
- "no-cache": {
3595
- "description": "start test run with an empty cache",
3596
- "name": "no-cache",
3597
- "allowNo": false,
3598
- "type": "boolean"
3599
- },
3600
- "no-setup": {
3601
- "description": "start test dyno without running test-setup",
3602
- "name": "no-setup",
3603
- "allowNo": false,
3604
- "type": "boolean"
3605
- },
3606
- "pipeline": {
3607
- "char": "p",
3608
- "description": "name of pipeline",
3609
- "name": "pipeline",
3610
- "hasDynamicHelp": false,
3611
- "multiple": false,
3612
- "type": "option"
3613
- }
3614
- },
3615
- "hasDynamicHelp": false,
3616
- "hiddenAliases": [],
3617
- "id": "ci:debug",
3618
- "pluginAlias": "heroku",
3619
- "pluginName": "heroku",
3620
- "pluginType": "core",
3621
- "strict": true,
3622
- "help": "Example:\n\n $ heroku ci:debug --pipeline PIPELINE\n Preparing source... done\n Creating test run... done\n Running setup and attaching to test dyno...\n\n~ $\n",
3623
- "topic": "ci",
3624
- "isESM": true,
3625
- "relativePath": [
3626
- "lib",
3627
- "commands",
3628
- "ci",
3629
- "debug.js"
3630
- ]
3631
- },
3632
- "ci": {
3633
- "aliases": [],
3634
- "args": {},
3635
- "description": "display the most recent CI runs for the given pipeline",
3636
- "examples": [
3637
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ci --app murmuring-headland-14719\u001b[22m\u001b[39m\u001b[49m\n\u001b[48;5;237m\u001b[38;5;255m\u001b[1m \u001b[22m\u001b[39m\u001b[49m"
3404
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ci --app murmuring-headland-14719\u001b[22m\u001b[39m\u001b[49m\n\u001b[48;5;237m\u001b[38;5;255m\u001b[1m \u001b[22m\u001b[39m\u001b[49m"
3638
3405
  ],
3639
3406
  "flags": {
3640
3407
  "app": {
@@ -3941,35 +3708,268 @@
3941
3708
  "rerun.js"
3942
3709
  ]
3943
3710
  },
3944
- "ci:run": {
3711
+ "ci:run": {
3712
+ "aliases": [],
3713
+ "args": {},
3714
+ "description": "run tests against current directory",
3715
+ "examples": [
3716
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ci:run --app murmuring-headland-14719\u001b[22m\u001b[39m\u001b[49m\n\u001b[48;5;237m\u001b[38;5;255m\u001b[1m \u001b[22m\u001b[39m\u001b[49m"
3717
+ ],
3718
+ "flags": {
3719
+ "app": {
3720
+ "char": "a",
3721
+ "description": "app to run command against",
3722
+ "name": "app",
3723
+ "hasDynamicHelp": false,
3724
+ "multiple": false,
3725
+ "type": "option"
3726
+ },
3727
+ "pipeline": {
3728
+ "char": "p",
3729
+ "description": "name of pipeline",
3730
+ "name": "pipeline",
3731
+ "required": false,
3732
+ "hasDynamicHelp": false,
3733
+ "multiple": false,
3734
+ "type": "option"
3735
+ },
3736
+ "remote": {
3737
+ "char": "r",
3738
+ "description": "git remote of app to use",
3739
+ "name": "remote",
3740
+ "hasDynamicHelp": false,
3741
+ "multiple": false,
3742
+ "type": "option"
3743
+ }
3744
+ },
3745
+ "hasDynamicHelp": false,
3746
+ "hiddenAliases": [],
3747
+ "id": "ci:run",
3748
+ "pluginAlias": "heroku",
3749
+ "pluginName": "heroku",
3750
+ "pluginType": "core",
3751
+ "strict": true,
3752
+ "isESM": true,
3753
+ "relativePath": [
3754
+ "lib",
3755
+ "commands",
3756
+ "ci",
3757
+ "run.js"
3758
+ ]
3759
+ },
3760
+ "clients:create": {
3761
+ "aliases": [],
3762
+ "args": {
3763
+ "name": {
3764
+ "description": "name of the OAuth client",
3765
+ "name": "name",
3766
+ "required": true
3767
+ },
3768
+ "redirect_uri": {
3769
+ "description": "redirect URL of the OAuth client",
3770
+ "name": "redirect_uri",
3771
+ "required": true
3772
+ }
3773
+ },
3774
+ "description": "create a new OAuth client",
3775
+ "examples": [
3776
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku clients:create \"Amazing\" https://amazing-client.herokuapp.com/auth/heroku/callback \u001b[22m\u001b[39m\u001b[49m"
3777
+ ],
3778
+ "flags": {
3779
+ "json": {
3780
+ "char": "j",
3781
+ "description": "output in json format",
3782
+ "name": "json",
3783
+ "allowNo": false,
3784
+ "type": "boolean"
3785
+ },
3786
+ "shell": {
3787
+ "char": "s",
3788
+ "description": "output in shell format",
3789
+ "name": "shell",
3790
+ "allowNo": false,
3791
+ "type": "boolean"
3792
+ }
3793
+ },
3794
+ "hasDynamicHelp": false,
3795
+ "hiddenAliases": [],
3796
+ "id": "clients:create",
3797
+ "pluginAlias": "heroku",
3798
+ "pluginName": "heroku",
3799
+ "pluginType": "core",
3800
+ "strict": true,
3801
+ "isESM": true,
3802
+ "relativePath": [
3803
+ "lib",
3804
+ "commands",
3805
+ "clients",
3806
+ "create.js"
3807
+ ]
3808
+ },
3809
+ "clients:destroy": {
3810
+ "aliases": [],
3811
+ "args": {
3812
+ "id": {
3813
+ "description": "ID of the OAuth client",
3814
+ "name": "id",
3815
+ "required": true
3816
+ }
3817
+ },
3818
+ "description": "delete client by ID",
3819
+ "flags": {},
3820
+ "hasDynamicHelp": false,
3821
+ "hiddenAliases": [],
3822
+ "id": "clients:destroy",
3823
+ "pluginAlias": "heroku",
3824
+ "pluginName": "heroku",
3825
+ "pluginType": "core",
3826
+ "strict": true,
3827
+ "isESM": true,
3828
+ "relativePath": [
3829
+ "lib",
3830
+ "commands",
3831
+ "clients",
3832
+ "destroy.js"
3833
+ ]
3834
+ },
3835
+ "clients": {
3836
+ "aliases": [],
3837
+ "args": {},
3838
+ "description": "list your OAuth clients",
3839
+ "flags": {
3840
+ "json": {
3841
+ "char": "j",
3842
+ "description": "output in json format",
3843
+ "name": "json",
3844
+ "allowNo": false,
3845
+ "type": "boolean"
3846
+ }
3847
+ },
3848
+ "hasDynamicHelp": false,
3849
+ "hiddenAliases": [],
3850
+ "id": "clients",
3851
+ "pluginAlias": "heroku",
3852
+ "pluginName": "heroku",
3853
+ "pluginType": "core",
3854
+ "strict": true,
3855
+ "isESM": true,
3856
+ "relativePath": [
3857
+ "lib",
3858
+ "commands",
3859
+ "clients",
3860
+ "index.js"
3861
+ ]
3862
+ },
3863
+ "clients:info": {
3864
+ "aliases": [],
3865
+ "args": {
3866
+ "id": {
3867
+ "description": "ID of the OAuth client",
3868
+ "name": "id",
3869
+ "required": true
3870
+ }
3871
+ },
3872
+ "description": "show details of an oauth client",
3873
+ "examples": [
3874
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku clients:info 36120128-fee7-455e-8b7f-807aee130946 \u001b[22m\u001b[39m\u001b[49m"
3875
+ ],
3876
+ "flags": {
3877
+ "json": {
3878
+ "char": "j",
3879
+ "description": "output in json format",
3880
+ "name": "json",
3881
+ "allowNo": false,
3882
+ "type": "boolean"
3883
+ },
3884
+ "shell": {
3885
+ "char": "s",
3886
+ "description": "output in shell format",
3887
+ "name": "shell",
3888
+ "allowNo": false,
3889
+ "type": "boolean"
3890
+ }
3891
+ },
3892
+ "hasDynamicHelp": false,
3893
+ "hiddenAliases": [],
3894
+ "id": "clients:info",
3895
+ "pluginAlias": "heroku",
3896
+ "pluginName": "heroku",
3897
+ "pluginType": "core",
3898
+ "strict": true,
3899
+ "isESM": true,
3900
+ "relativePath": [
3901
+ "lib",
3902
+ "commands",
3903
+ "clients",
3904
+ "info.js"
3905
+ ]
3906
+ },
3907
+ "clients:rotate": {
3908
+ "aliases": [],
3909
+ "args": {
3910
+ "id": {
3911
+ "description": "ID of the OAuth client",
3912
+ "name": "id",
3913
+ "required": true
3914
+ }
3915
+ },
3916
+ "description": "rotate OAuth client secret",
3917
+ "flags": {
3918
+ "json": {
3919
+ "char": "j",
3920
+ "description": "output in json format",
3921
+ "name": "json",
3922
+ "allowNo": false,
3923
+ "type": "boolean"
3924
+ },
3925
+ "shell": {
3926
+ "char": "s",
3927
+ "description": "output in shell format",
3928
+ "name": "shell",
3929
+ "allowNo": false,
3930
+ "type": "boolean"
3931
+ }
3932
+ },
3933
+ "hasDynamicHelp": false,
3934
+ "hiddenAliases": [],
3935
+ "id": "clients:rotate",
3936
+ "pluginAlias": "heroku",
3937
+ "pluginName": "heroku",
3938
+ "pluginType": "core",
3939
+ "strict": true,
3940
+ "isESM": true,
3941
+ "relativePath": [
3942
+ "lib",
3943
+ "commands",
3944
+ "clients",
3945
+ "rotate.js"
3946
+ ]
3947
+ },
3948
+ "clients:update": {
3945
3949
  "aliases": [],
3946
- "args": {},
3947
- "description": "run tests against current directory",
3950
+ "args": {
3951
+ "id": {
3952
+ "description": "ID of the OAuth client",
3953
+ "name": "id",
3954
+ "required": true
3955
+ }
3956
+ },
3957
+ "description": "update OAuth client",
3948
3958
  "examples": [
3949
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ci:run --app murmuring-headland-14719\u001b[22m\u001b[39m\u001b[49m\n\u001b[48;5;237m\u001b[38;5;255m\u001b[1m \u001b[22m\u001b[39m\u001b[49m"
3959
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku clients:update 3e304bda-d376-4278-bdea-6d6c08aa1359 --url https://amazing-client.herokuapp.com/auth/heroku/callback \u001b[22m\u001b[39m\u001b[49m"
3950
3960
  ],
3951
3961
  "flags": {
3952
- "app": {
3953
- "char": "a",
3954
- "description": "app to run command against",
3955
- "name": "app",
3956
- "hasDynamicHelp": false,
3957
- "multiple": false,
3958
- "type": "option"
3959
- },
3960
- "pipeline": {
3961
- "char": "p",
3962
- "description": "name of pipeline",
3963
- "name": "pipeline",
3964
- "required": false,
3962
+ "name": {
3963
+ "char": "n",
3964
+ "description": "change the client name",
3965
+ "name": "name",
3965
3966
  "hasDynamicHelp": false,
3966
3967
  "multiple": false,
3967
3968
  "type": "option"
3968
3969
  },
3969
- "remote": {
3970
- "char": "r",
3971
- "description": "git remote of app to use",
3972
- "name": "remote",
3970
+ "url": {
3971
+ "description": "change the client redirect URL",
3972
+ "name": "url",
3973
3973
  "hasDynamicHelp": false,
3974
3974
  "multiple": false,
3975
3975
  "type": "option"
@@ -3977,7 +3977,7 @@
3977
3977
  },
3978
3978
  "hasDynamicHelp": false,
3979
3979
  "hiddenAliases": [],
3980
- "id": "ci:run",
3980
+ "id": "clients:update",
3981
3981
  "pluginAlias": "heroku",
3982
3982
  "pluginName": "heroku",
3983
3983
  "pluginType": "core",
@@ -3986,8 +3986,8 @@
3986
3986
  "relativePath": [
3987
3987
  "lib",
3988
3988
  "commands",
3989
- "ci",
3990
- "run.js"
3989
+ "clients",
3990
+ "update.js"
3991
3991
  ]
3992
3992
  },
3993
3993
  "config:edit": {
@@ -6388,32 +6388,21 @@
6388
6388
  },
6389
6389
  "description": "copy all data from source db to target",
6390
6390
  "flags": {
6391
- "wait-interval": {
6392
- "name": "wait-interval",
6391
+ "app": {
6392
+ "char": "a",
6393
+ "description": "app to run command against",
6394
+ "name": "app",
6395
+ "required": true,
6393
6396
  "hasDynamicHelp": false,
6394
6397
  "multiple": false,
6395
6398
  "type": "option"
6396
6399
  },
6397
- "verbose": {
6398
- "name": "verbose",
6399
- "allowNo": false,
6400
- "type": "boolean"
6401
- },
6402
6400
  "confirm": {
6403
6401
  "name": "confirm",
6404
6402
  "hasDynamicHelp": false,
6405
6403
  "multiple": false,
6406
6404
  "type": "option"
6407
6405
  },
6408
- "app": {
6409
- "char": "a",
6410
- "description": "app to run command against",
6411
- "name": "app",
6412
- "required": true,
6413
- "hasDynamicHelp": false,
6414
- "multiple": false,
6415
- "type": "option"
6416
- },
6417
6406
  "remote": {
6418
6407
  "char": "r",
6419
6408
  "description": "git remote of app to use",
@@ -6421,6 +6410,17 @@
6421
6410
  "hasDynamicHelp": false,
6422
6411
  "multiple": false,
6423
6412
  "type": "option"
6413
+ },
6414
+ "verbose": {
6415
+ "name": "verbose",
6416
+ "allowNo": false,
6417
+ "type": "boolean"
6418
+ },
6419
+ "wait-interval": {
6420
+ "name": "wait-interval",
6421
+ "hasDynamicHelp": false,
6422
+ "multiple": false,
6423
+ "type": "option"
6424
6424
  }
6425
6425
  },
6426
6426
  "hasDynamicHelp": false,
@@ -7298,18 +7298,13 @@
7298
7298
  "wait.js"
7299
7299
  ]
7300
7300
  },
7301
- "pipelines:add": {
7301
+ "ps": {
7302
7302
  "aliases": [],
7303
- "args": {
7304
- "pipeline": {
7305
- "description": "name of pipeline",
7306
- "name": "pipeline",
7307
- "required": true
7308
- }
7309
- },
7310
- "description": "add this app to a pipeline\nThe app and pipeline names must be specified.\nThe stage of the app will be guessed based on its name if not specified.",
7303
+ "args": {},
7304
+ "description": "list dynos for an app",
7311
7305
  "examples": [
7312
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:add my-pipeline -a my-app -s production \u001b[22m\u001b[39m\u001b[49m"
7306
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps \u001b[22m\u001b[39m\u001b[49m\n=== run: one-off dyno\nrun.1: up for 5m: bash\n=== web: bundle exec thin start -p $PORT\nweb.1: created for 30s\n",
7307
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps run \u001b[22m\u001b[39m\u001b[49m # specifying types\n=== run: one-off dyno\nrun.1: up for 5m: bash\n"
7313
7308
  ],
7314
7309
  "flags": {
7315
7310
  "app": {
@@ -7321,6 +7316,19 @@
7321
7316
  "multiple": false,
7322
7317
  "type": "option"
7323
7318
  },
7319
+ "extended": {
7320
+ "char": "x",
7321
+ "hidden": true,
7322
+ "name": "extended",
7323
+ "allowNo": false,
7324
+ "type": "boolean"
7325
+ },
7326
+ "json": {
7327
+ "description": "display as json",
7328
+ "name": "json",
7329
+ "allowNo": false,
7330
+ "type": "boolean"
7331
+ },
7324
7332
  "remote": {
7325
7333
  "char": "r",
7326
7334
  "description": "git remote of app to use",
@@ -7328,83 +7336,41 @@
7328
7336
  "hasDynamicHelp": false,
7329
7337
  "multiple": false,
7330
7338
  "type": "option"
7331
- },
7332
- "stage": {
7333
- "char": "s",
7334
- "description": "stage of first app in pipeline",
7335
- "name": "stage",
7336
- "hasDynamicHelp": false,
7337
- "multiple": false,
7338
- "type": "option"
7339
7339
  }
7340
7340
  },
7341
7341
  "hasDynamicHelp": false,
7342
7342
  "hiddenAliases": [],
7343
- "id": "pipelines:add",
7343
+ "id": "ps",
7344
7344
  "pluginAlias": "heroku",
7345
7345
  "pluginName": "heroku",
7346
7346
  "pluginType": "core",
7347
- "strict": true,
7347
+ "strict": false,
7348
+ "usage": "ps [TYPE [TYPE ...]]",
7349
+ "topic": "ps",
7348
7350
  "isESM": true,
7349
7351
  "relativePath": [
7350
7352
  "lib",
7351
7353
  "commands",
7352
- "pipelines",
7353
- "add.js"
7354
+ "ps",
7355
+ "index.js"
7354
7356
  ]
7355
7357
  },
7356
- "pipelines:connect": {
7357
- "aliases": [],
7358
- "args": {
7359
- "name": {
7360
- "description": "name of pipeline",
7361
- "name": "name",
7362
- "required": true
7363
- }
7364
- },
7365
- "description": "connect a GitHub repo to an existing pipeline",
7366
- "examples": [
7367
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:connect my-pipeline -r githuborg/reponame \u001b[22m\u001b[39m\u001b[49m"
7358
+ "ps:restart": {
7359
+ "aliases": [
7360
+ "dyno:restart"
7368
7361
  ],
7369
- "flags": {
7370
- "repo": {
7371
- "char": "r",
7372
- "description": "the GitHub repository to connect to",
7373
- "name": "repo",
7374
- "required": true,
7375
- "hasDynamicHelp": false,
7376
- "multiple": false,
7377
- "type": "option"
7378
- }
7379
- },
7380
- "hasDynamicHelp": false,
7381
- "hiddenAliases": [],
7382
- "id": "pipelines:connect",
7383
- "pluginAlias": "heroku",
7384
- "pluginName": "heroku",
7385
- "pluginType": "core",
7386
- "strict": true,
7387
- "isESM": true,
7388
- "relativePath": [
7389
- "lib",
7390
- "commands",
7391
- "pipelines",
7392
- "connect.js"
7393
- ]
7394
- },
7395
- "pipelines:create": {
7396
- "aliases": [],
7397
7362
  "args": {
7398
- "name": {
7399
- "description": "name of pipeline (defaults to basename of the app)",
7400
- "name": "name",
7363
+ "dyno": {
7364
+ "description": "name of the dyno to restart",
7365
+ "name": "dyno",
7401
7366
  "required": false
7402
7367
  }
7403
7368
  },
7404
- "description": "create a new pipeline\n An existing app must be specified as the first app in the pipeline.\n The pipeline name will be inferred from the app name if not specified.\n The stage of the app will be guessed based on its name if not specified.\n The pipeline owner will be the user creating the pipeline if not specified with -t for teams or -o for orgs.",
7369
+ "description": "restart an app dyno or process type\nif neither --dyno nor --type are specified, restarts all dynos on app\n",
7405
7370
  "examples": [
7406
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:create -a my-app-staging \u001b[22m\u001b[39m\u001b[49m",
7407
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:create my-pipeline -a my-app-staging \u001b[22m\u001b[39m\u001b[49m"
7371
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:restart --app myapp --dyno-name web.1 \u001b[22m\u001b[39m\u001b[49m",
7372
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:restart --app myapp --process-type web \u001b[22m\u001b[39m\u001b[49m",
7373
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:restart --app myapp \u001b[22m\u001b[39m\u001b[49m"
7408
7374
  ],
7409
7375
  "flags": {
7410
7376
  "app": {
@@ -7416,81 +7382,61 @@
7416
7382
  "multiple": false,
7417
7383
  "type": "option"
7418
7384
  },
7419
- "remote": {
7420
- "char": "r",
7421
- "description": "git remote of app to use",
7422
- "name": "remote",
7385
+ "dyno-name": {
7386
+ "char": "d",
7387
+ "description": "name of the dyno to restart",
7388
+ "name": "dyno-name",
7423
7389
  "hasDynamicHelp": false,
7424
7390
  "multiple": false,
7425
7391
  "type": "option"
7426
7392
  },
7427
- "stage": {
7428
- "char": "s",
7429
- "description": "stage of first app in pipeline",
7430
- "name": "stage",
7393
+ "process-type": {
7394
+ "char": "p",
7395
+ "description": "name of the process type to restart",
7396
+ "exclusive": [
7397
+ "dyno-name"
7398
+ ],
7399
+ "name": "process-type",
7431
7400
  "hasDynamicHelp": false,
7432
7401
  "multiple": false,
7433
7402
  "type": "option"
7434
7403
  },
7435
- "team": {
7436
- "char": "t",
7437
- "description": "the team which will own the apps",
7438
- "name": "team",
7404
+ "remote": {
7405
+ "char": "r",
7406
+ "description": "git remote of app to use",
7407
+ "name": "remote",
7439
7408
  "hasDynamicHelp": false,
7440
7409
  "multiple": false,
7441
7410
  "type": "option"
7442
7411
  }
7443
7412
  },
7444
7413
  "hasDynamicHelp": false,
7445
- "hiddenAliases": [],
7446
- "id": "pipelines:create",
7447
- "pluginAlias": "heroku",
7448
- "pluginName": "heroku",
7449
- "pluginType": "core",
7450
- "strict": true,
7451
- "isESM": true,
7452
- "relativePath": [
7453
- "lib",
7454
- "commands",
7455
- "pipelines",
7456
- "create.js"
7457
- ]
7458
- },
7459
- "pipelines:destroy": {
7460
- "aliases": [],
7461
- "args": {
7462
- "pipeline": {
7463
- "description": "name of pipeline",
7464
- "name": "pipeline",
7465
- "required": true
7466
- }
7467
- },
7468
- "description": "destroy a pipeline",
7469
- "examples": [
7470
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:destroy my-pipeline \u001b[22m\u001b[39m\u001b[49m"
7414
+ "hiddenAliases": [
7415
+ "restart"
7471
7416
  ],
7472
- "flags": {},
7473
- "hasDynamicHelp": false,
7474
- "hiddenAliases": [],
7475
- "id": "pipelines:destroy",
7417
+ "id": "ps:restart",
7476
7418
  "pluginAlias": "heroku",
7477
7419
  "pluginName": "heroku",
7478
7420
  "pluginType": "core",
7479
7421
  "strict": true,
7422
+ "topic": "ps",
7480
7423
  "isESM": true,
7481
7424
  "relativePath": [
7482
7425
  "lib",
7483
7426
  "commands",
7484
- "pipelines",
7485
- "destroy.js"
7427
+ "ps",
7428
+ "restart.js"
7486
7429
  ]
7487
7430
  },
7488
- "pipelines:diff": {
7489
- "aliases": [],
7431
+ "ps:scale": {
7432
+ "aliases": [
7433
+ "dyno:scale"
7434
+ ],
7490
7435
  "args": {},
7491
- "description": "compares the latest release of this app to its downstream app(s)",
7436
+ "description": "scale dyno quantity up or down\nAppending a size (eg. web=2:Standard-2X) allows simultaneous scaling and resizing.\n\nOmitting any arguments will display the app's current dyno formation, in a\nformat suitable for passing back into ps:scale.\n",
7492
7437
  "examples": [
7493
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:diff -a my-app-staging \u001b[22m\u001b[39m\u001b[49m"
7438
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:scale web=3:Standard-2X worker+1 --app APP \u001b[22m\u001b[39m\u001b[49m\nScaling dynos... done, now running web at 3:Standard-2X, worker at 1:Standard-1X.\n",
7439
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:scale --app APP \u001b[22m\u001b[39m\u001b[49m\nweb=3:Standard-2X worker=1:Standard-1X\n"
7494
7440
  ],
7495
7441
  "flags": {
7496
7442
  "app": {
@@ -7512,129 +7458,145 @@
7512
7458
  }
7513
7459
  },
7514
7460
  "hasDynamicHelp": false,
7515
- "hiddenAliases": [],
7516
- "id": "pipelines:diff",
7517
- "pluginAlias": "heroku",
7518
- "pluginName": "heroku",
7519
- "pluginType": "core",
7520
- "strict": true,
7521
- "isESM": true,
7522
- "relativePath": [
7523
- "lib",
7524
- "commands",
7525
- "pipelines",
7526
- "diff.js"
7527
- ]
7528
- },
7529
- "pipelines": {
7530
- "aliases": [],
7531
- "args": {},
7532
- "description": "list pipelines you have access to",
7533
- "examples": [
7534
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines \u001b[22m\u001b[39m\u001b[49m"
7461
+ "hiddenAliases": [
7462
+ "scale"
7535
7463
  ],
7536
- "flags": {
7537
- "json": {
7538
- "description": "output in json format",
7539
- "name": "json",
7540
- "allowNo": false,
7541
- "type": "boolean"
7542
- }
7543
- },
7544
- "hasDynamicHelp": false,
7545
- "hiddenAliases": [],
7546
- "id": "pipelines",
7464
+ "id": "ps:scale",
7547
7465
  "pluginAlias": "heroku",
7548
7466
  "pluginName": "heroku",
7549
7467
  "pluginType": "core",
7550
- "strict": true,
7468
+ "strict": false,
7551
7469
  "isESM": true,
7552
7470
  "relativePath": [
7553
7471
  "lib",
7554
7472
  "commands",
7555
- "pipelines",
7556
- "index.js"
7473
+ "ps",
7474
+ "scale.js"
7557
7475
  ]
7558
7476
  },
7559
- "pipelines:info": {
7560
- "aliases": [],
7477
+ "ps:stop": {
7478
+ "aliases": [
7479
+ "dyno:stop",
7480
+ "ps:kill",
7481
+ "dyno:kill"
7482
+ ],
7561
7483
  "args": {
7562
- "pipeline": {
7563
- "description": "pipeline to show list of apps for",
7564
- "name": "pipeline",
7565
- "required": true
7484
+ "dyno": {
7485
+ "description": "name of the dyno to stop",
7486
+ "name": "dyno",
7487
+ "required": false
7566
7488
  }
7567
7489
  },
7568
- "description": "show list of apps in a pipeline",
7490
+ "description": "stop an app dyno or process type",
7569
7491
  "examples": [
7570
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:info my-pipeline \u001b[22m\u001b[39m\u001b[49m"
7492
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:stop --app myapp --dyno-name run.1828 \u001b[22m\u001b[39m\u001b[49m",
7493
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:stop --app myapp --process-type run \u001b[22m\u001b[39m\u001b[49m"
7571
7494
  ],
7572
7495
  "flags": {
7573
- "json": {
7574
- "description": "output in json format",
7575
- "name": "json",
7576
- "allowNo": false,
7577
- "type": "boolean"
7496
+ "app": {
7497
+ "char": "a",
7498
+ "description": "app to run command against",
7499
+ "name": "app",
7500
+ "required": true,
7501
+ "hasDynamicHelp": false,
7502
+ "multiple": false,
7503
+ "type": "option"
7578
7504
  },
7579
- "with-owners": {
7580
- "description": "shows owner of every app",
7581
- "hidden": true,
7582
- "name": "with-owners",
7583
- "allowNo": false,
7584
- "type": "boolean"
7505
+ "dyno-name": {
7506
+ "char": "d",
7507
+ "description": "name of the dyno to stop",
7508
+ "name": "dyno-name",
7509
+ "hasDynamicHelp": false,
7510
+ "multiple": false,
7511
+ "type": "option"
7512
+ },
7513
+ "process-type": {
7514
+ "char": "p",
7515
+ "description": "name of the process type to stop",
7516
+ "exclusive": [
7517
+ "dyno-name"
7518
+ ],
7519
+ "name": "process-type",
7520
+ "hasDynamicHelp": false,
7521
+ "multiple": false,
7522
+ "type": "option"
7523
+ },
7524
+ "remote": {
7525
+ "char": "r",
7526
+ "description": "git remote of app to use",
7527
+ "name": "remote",
7528
+ "hasDynamicHelp": false,
7529
+ "multiple": false,
7530
+ "type": "option"
7585
7531
  }
7586
7532
  },
7587
7533
  "hasDynamicHelp": false,
7588
- "hiddenAliases": [],
7589
- "id": "pipelines:info",
7534
+ "hiddenAliases": [
7535
+ "stop",
7536
+ "kill"
7537
+ ],
7538
+ "id": "ps:stop",
7590
7539
  "pluginAlias": "heroku",
7591
7540
  "pluginName": "heroku",
7592
7541
  "pluginType": "core",
7593
7542
  "strict": true,
7543
+ "topic": "ps",
7594
7544
  "isESM": true,
7595
7545
  "relativePath": [
7596
7546
  "lib",
7597
7547
  "commands",
7598
- "pipelines",
7599
- "info.js"
7548
+ "ps",
7549
+ "stop.js"
7600
7550
  ]
7601
7551
  },
7602
- "pipelines:open": {
7603
- "aliases": [],
7604
- "args": {
7605
- "pipeline": {
7606
- "description": "name of pipeline",
7607
- "name": "pipeline",
7608
- "required": true
7552
+ "ps:type": {
7553
+ "aliases": [
7554
+ "ps:resize",
7555
+ "dyno:resize"
7556
+ ],
7557
+ "args": {},
7558
+ "description": "manage dyno sizes\nCalled with no arguments shows the current dyno size.\n\nCalled with one argument sets the size.\nWhere SIZE is one of eco|basic|standard-1x|standard-2x|performance\n\nCalled with 1..n TYPE=SIZE arguments sets the quantity per type.\n",
7559
+ "flags": {
7560
+ "app": {
7561
+ "char": "a",
7562
+ "description": "app to run command against",
7563
+ "name": "app",
7564
+ "required": true,
7565
+ "hasDynamicHelp": false,
7566
+ "multiple": false,
7567
+ "type": "option"
7568
+ },
7569
+ "remote": {
7570
+ "char": "r",
7571
+ "description": "git remote of app to use",
7572
+ "name": "remote",
7573
+ "hasDynamicHelp": false,
7574
+ "multiple": false,
7575
+ "type": "option"
7609
7576
  }
7610
7577
  },
7611
- "description": "open a pipeline in dashboard",
7612
- "examples": [
7613
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:open my-pipeline \u001b[22m\u001b[39m\u001b[49m"
7614
- ],
7615
- "flags": {},
7616
7578
  "hasDynamicHelp": false,
7617
- "hiddenAliases": [],
7618
- "id": "pipelines:open",
7579
+ "hiddenAliases": [
7580
+ "resize",
7581
+ "dyno:type"
7582
+ ],
7583
+ "id": "ps:type",
7619
7584
  "pluginAlias": "heroku",
7620
7585
  "pluginName": "heroku",
7621
7586
  "pluginType": "core",
7622
- "strict": true,
7587
+ "strict": false,
7623
7588
  "isESM": true,
7624
7589
  "relativePath": [
7625
7590
  "lib",
7626
7591
  "commands",
7627
- "pipelines",
7628
- "open.js"
7592
+ "ps",
7593
+ "type.js"
7629
7594
  ]
7630
7595
  },
7631
- "pipelines:promote": {
7596
+ "ps:wait": {
7632
7597
  "aliases": [],
7633
7598
  "args": {},
7634
- "description": "promote the latest release of this app to its downstream app(s)",
7635
- "examples": [
7636
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:promote -a my-app-staging \u001b[22m\u001b[39m\u001b[49m"
7637
- ],
7599
+ "description": "wait for all dynos to be running latest version after a release",
7638
7600
  "flags": {
7639
7601
  "app": {
7640
7602
  "char": "a",
@@ -7653,36 +7615,62 @@
7653
7615
  "multiple": false,
7654
7616
  "type": "option"
7655
7617
  },
7656
- "to": {
7618
+ "type": {
7657
7619
  "char": "t",
7658
- "description": "comma separated list of apps to promote to",
7659
- "name": "to",
7620
+ "description": "wait for one specific dyno type",
7621
+ "name": "type",
7622
+ "hasDynamicHelp": false,
7623
+ "multiple": false,
7624
+ "type": "option"
7625
+ },
7626
+ "wait-interval": {
7627
+ "char": "w",
7628
+ "description": "how frequently to poll in seconds (to avoid hitting Heroku API rate limits)",
7629
+ "name": "wait-interval",
7630
+ "default": 10,
7660
7631
  "hasDynamicHelp": false,
7661
7632
  "multiple": false,
7662
7633
  "type": "option"
7634
+ },
7635
+ "with-run": {
7636
+ "char": "R",
7637
+ "description": "whether to wait for one-off run dynos",
7638
+ "exclusive": [
7639
+ "type"
7640
+ ],
7641
+ "name": "with-run",
7642
+ "allowNo": false,
7643
+ "type": "boolean"
7663
7644
  }
7664
7645
  },
7665
7646
  "hasDynamicHelp": false,
7666
7647
  "hiddenAliases": [],
7667
- "id": "pipelines:promote",
7648
+ "id": "ps:wait",
7668
7649
  "pluginAlias": "heroku",
7669
7650
  "pluginName": "heroku",
7670
7651
  "pluginType": "core",
7671
7652
  "strict": true,
7653
+ "topic": "ps",
7672
7654
  "isESM": true,
7673
7655
  "relativePath": [
7674
7656
  "lib",
7675
7657
  "commands",
7676
- "pipelines",
7677
- "promote.js"
7658
+ "ps",
7659
+ "wait.js"
7678
7660
  ]
7679
7661
  },
7680
- "pipelines:remove": {
7662
+ "pipelines:add": {
7681
7663
  "aliases": [],
7682
- "args": {},
7683
- "description": "remove this app from its pipeline",
7664
+ "args": {
7665
+ "pipeline": {
7666
+ "description": "name of pipeline",
7667
+ "name": "pipeline",
7668
+ "required": true
7669
+ }
7670
+ },
7671
+ "description": "add this app to a pipeline\nThe app and pipeline names must be specified.\nThe stage of the app will be guessed based on its name if not specified.",
7684
7672
  "examples": [
7685
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:remove -a my-app \u001b[22m\u001b[39m\u001b[49m"
7673
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:add my-pipeline -a my-app -s production \u001b[22m\u001b[39m\u001b[49m"
7686
7674
  ],
7687
7675
  "flags": {
7688
7676
  "app": {
@@ -7701,11 +7689,19 @@
7701
7689
  "hasDynamicHelp": false,
7702
7690
  "multiple": false,
7703
7691
  "type": "option"
7692
+ },
7693
+ "stage": {
7694
+ "char": "s",
7695
+ "description": "stage of first app in pipeline",
7696
+ "name": "stage",
7697
+ "hasDynamicHelp": false,
7698
+ "multiple": false,
7699
+ "type": "option"
7704
7700
  }
7705
7701
  },
7706
7702
  "hasDynamicHelp": false,
7707
7703
  "hiddenAliases": [],
7708
- "id": "pipelines:remove",
7704
+ "id": "pipelines:add",
7709
7705
  "pluginAlias": "heroku",
7710
7706
  "pluginName": "heroku",
7711
7707
  "pluginType": "core",
@@ -7715,31 +7711,36 @@
7715
7711
  "lib",
7716
7712
  "commands",
7717
7713
  "pipelines",
7718
- "remove.js"
7714
+ "add.js"
7719
7715
  ]
7720
7716
  },
7721
- "pipelines:rename": {
7717
+ "pipelines:connect": {
7722
7718
  "aliases": [],
7723
7719
  "args": {
7724
- "pipeline": {
7725
- "description": "name of pipeline to rename",
7726
- "name": "pipeline",
7727
- "required": true
7728
- },
7729
7720
  "name": {
7730
- "description": "new name of pipeline",
7721
+ "description": "name of pipeline",
7731
7722
  "name": "name",
7732
7723
  "required": true
7733
7724
  }
7734
7725
  },
7735
- "description": "rename a pipeline",
7736
- "examples": [
7737
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:rename my-pipeline new-pipeline-name \u001b[22m\u001b[39m\u001b[49m"
7738
- ],
7739
- "flags": {},
7726
+ "description": "connect a GitHub repo to an existing pipeline",
7727
+ "examples": [
7728
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:connect my-pipeline -r githuborg/reponame \u001b[22m\u001b[39m\u001b[49m"
7729
+ ],
7730
+ "flags": {
7731
+ "repo": {
7732
+ "char": "r",
7733
+ "description": "the GitHub repository to connect to",
7734
+ "name": "repo",
7735
+ "required": true,
7736
+ "hasDynamicHelp": false,
7737
+ "multiple": false,
7738
+ "type": "option"
7739
+ }
7740
+ },
7740
7741
  "hasDynamicHelp": false,
7741
7742
  "hiddenAliases": [],
7742
- "id": "pipelines:rename",
7743
+ "id": "pipelines:connect",
7743
7744
  "pluginAlias": "heroku",
7744
7745
  "pluginName": "heroku",
7745
7746
  "pluginType": "core",
@@ -7749,47 +7750,61 @@
7749
7750
  "lib",
7750
7751
  "commands",
7751
7752
  "pipelines",
7752
- "rename.js"
7753
+ "connect.js"
7753
7754
  ]
7754
7755
  },
7755
- "pipelines:setup": {
7756
+ "pipelines:create": {
7756
7757
  "aliases": [],
7757
7758
  "args": {
7758
7759
  "name": {
7759
- "description": "name of pipeline",
7760
+ "description": "name of pipeline (defaults to basename of the app)",
7760
7761
  "name": "name",
7761
7762
  "required": false
7762
- },
7763
- "repo": {
7764
- "description": "a GitHub repository to connect the pipeline to",
7765
- "name": "repo",
7766
- "required": false
7767
7763
  }
7768
7764
  },
7769
- "description": "bootstrap a new pipeline with common settings and create a production and staging app (requires a fully formed app.json in the repo)",
7765
+ "description": "create a new pipeline\n An existing app must be specified as the first app in the pipeline.\n The pipeline name will be inferred from the app name if not specified.\n The stage of the app will be guessed based on its name if not specified.\n The pipeline owner will be the user creating the pipeline if not specified with -t for teams or -o for orgs.",
7770
7766
  "examples": [
7771
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:setup my-pipeline githuborg/reponame -t my-team \u001b[22m\u001b[39m\u001b[49m"
7767
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:create -a my-app-staging \u001b[22m\u001b[39m\u001b[49m",
7768
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:create my-pipeline -a my-app-staging \u001b[22m\u001b[39m\u001b[49m"
7772
7769
  ],
7773
7770
  "flags": {
7771
+ "app": {
7772
+ "char": "a",
7773
+ "description": "app to run command against",
7774
+ "name": "app",
7775
+ "required": true,
7776
+ "hasDynamicHelp": false,
7777
+ "multiple": false,
7778
+ "type": "option"
7779
+ },
7780
+ "remote": {
7781
+ "char": "r",
7782
+ "description": "git remote of app to use",
7783
+ "name": "remote",
7784
+ "hasDynamicHelp": false,
7785
+ "multiple": false,
7786
+ "type": "option"
7787
+ },
7788
+ "stage": {
7789
+ "char": "s",
7790
+ "description": "stage of first app in pipeline",
7791
+ "name": "stage",
7792
+ "hasDynamicHelp": false,
7793
+ "multiple": false,
7794
+ "type": "option"
7795
+ },
7774
7796
  "team": {
7775
7797
  "char": "t",
7776
- "description": "the team to assign pipeline ownership to (defaults to current user)",
7798
+ "description": "the team which will own the apps",
7777
7799
  "name": "team",
7778
7800
  "hasDynamicHelp": false,
7779
7801
  "multiple": false,
7780
7802
  "type": "option"
7781
- },
7782
- "yes": {
7783
- "char": "y",
7784
- "description": "accept all default settings without prompting",
7785
- "name": "yes",
7786
- "allowNo": false,
7787
- "type": "boolean"
7788
7803
  }
7789
7804
  },
7790
7805
  "hasDynamicHelp": false,
7791
7806
  "hiddenAliases": [],
7792
- "id": "pipelines:setup",
7807
+ "id": "pipelines:create",
7793
7808
  "pluginAlias": "heroku",
7794
7809
  "pluginName": "heroku",
7795
7810
  "pluginType": "core",
@@ -7799,44 +7814,26 @@
7799
7814
  "lib",
7800
7815
  "commands",
7801
7816
  "pipelines",
7802
- "setup.js"
7817
+ "create.js"
7803
7818
  ]
7804
7819
  },
7805
- "pipelines:transfer": {
7820
+ "pipelines:destroy": {
7806
7821
  "aliases": [],
7807
7822
  "args": {
7808
- "owner": {
7809
- "description": "the owner to transfer the pipeline to",
7810
- "name": "owner",
7811
- "required": true
7812
- }
7813
- },
7814
- "description": "transfer ownership of a pipeline",
7815
- "examples": [
7816
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:transfer admin@example.com -p my-pipeline \u001b[22m\u001b[39m\u001b[49m",
7817
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:transfer admin-team -p my-pipeline \u001b[22m\u001b[39m\u001b[49m"
7818
- ],
7819
- "flags": {
7820
- "confirm": {
7821
- "char": "c",
7822
- "name": "confirm",
7823
- "hasDynamicHelp": false,
7824
- "multiple": false,
7825
- "type": "option"
7826
- },
7827
7823
  "pipeline": {
7828
- "char": "p",
7829
7824
  "description": "name of pipeline",
7830
7825
  "name": "pipeline",
7831
- "required": true,
7832
- "hasDynamicHelp": false,
7833
- "multiple": false,
7834
- "type": "option"
7826
+ "required": true
7835
7827
  }
7836
7828
  },
7829
+ "description": "destroy a pipeline",
7830
+ "examples": [
7831
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:destroy my-pipeline \u001b[22m\u001b[39m\u001b[49m"
7832
+ ],
7833
+ "flags": {},
7837
7834
  "hasDynamicHelp": false,
7838
7835
  "hiddenAliases": [],
7839
- "id": "pipelines:transfer",
7836
+ "id": "pipelines:destroy",
7840
7837
  "pluginAlias": "heroku",
7841
7838
  "pluginName": "heroku",
7842
7839
  "pluginType": "core",
@@ -7846,15 +7843,15 @@
7846
7843
  "lib",
7847
7844
  "commands",
7848
7845
  "pipelines",
7849
- "transfer.js"
7846
+ "destroy.js"
7850
7847
  ]
7851
7848
  },
7852
- "pipelines:update": {
7849
+ "pipelines:diff": {
7853
7850
  "aliases": [],
7854
7851
  "args": {},
7855
- "description": "update the app's stage in a pipeline",
7852
+ "description": "compares the latest release of this app to its downstream app(s)",
7856
7853
  "examples": [
7857
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:update -s staging -a my-app \u001b[22m\u001b[39m\u001b[49m"
7854
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:diff -a my-app-staging \u001b[22m\u001b[39m\u001b[49m"
7858
7855
  ],
7859
7856
  "flags": {
7860
7857
  "app": {
@@ -7873,20 +7870,11 @@
7873
7870
  "hasDynamicHelp": false,
7874
7871
  "multiple": false,
7875
7872
  "type": "option"
7876
- },
7877
- "stage": {
7878
- "char": "s",
7879
- "description": "new stage of app",
7880
- "name": "stage",
7881
- "required": true,
7882
- "hasDynamicHelp": false,
7883
- "multiple": false,
7884
- "type": "option"
7885
7873
  }
7886
7874
  },
7887
7875
  "hasDynamicHelp": false,
7888
7876
  "hiddenAliases": [],
7889
- "id": "pipelines:update",
7877
+ "id": "pipelines:diff",
7890
7878
  "pluginAlias": "heroku",
7891
7879
  "pluginName": "heroku",
7892
7880
  "pluginType": "core",
@@ -7896,108 +7884,124 @@
7896
7884
  "lib",
7897
7885
  "commands",
7898
7886
  "pipelines",
7899
- "update.js"
7887
+ "diff.js"
7900
7888
  ]
7901
7889
  },
7902
- "ps": {
7890
+ "pipelines": {
7903
7891
  "aliases": [],
7904
7892
  "args": {},
7905
- "description": "list dynos for an app",
7893
+ "description": "list pipelines you have access to",
7906
7894
  "examples": [
7907
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps \u001b[22m\u001b[39m\u001b[49m\n=== run: one-off dyno\nrun.1: up for 5m: bash\n=== web: bundle exec thin start -p $PORT\nweb.1: created for 30s\n",
7908
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps run \u001b[22m\u001b[39m\u001b[49m # specifying types\n=== run: one-off dyno\nrun.1: up for 5m: bash\n"
7895
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines \u001b[22m\u001b[39m\u001b[49m"
7909
7896
  ],
7910
7897
  "flags": {
7911
- "app": {
7912
- "char": "a",
7913
- "description": "app to run command against",
7914
- "name": "app",
7915
- "required": true,
7916
- "hasDynamicHelp": false,
7917
- "multiple": false,
7918
- "type": "option"
7919
- },
7920
- "extended": {
7921
- "char": "x",
7922
- "hidden": true,
7923
- "name": "extended",
7924
- "allowNo": false,
7925
- "type": "boolean"
7926
- },
7927
7898
  "json": {
7928
- "description": "display as json",
7899
+ "description": "output in json format",
7929
7900
  "name": "json",
7930
7901
  "allowNo": false,
7931
7902
  "type": "boolean"
7932
- },
7933
- "remote": {
7934
- "char": "r",
7935
- "description": "git remote of app to use",
7936
- "name": "remote",
7937
- "hasDynamicHelp": false,
7938
- "multiple": false,
7939
- "type": "option"
7940
7903
  }
7941
7904
  },
7942
7905
  "hasDynamicHelp": false,
7943
7906
  "hiddenAliases": [],
7944
- "id": "ps",
7907
+ "id": "pipelines",
7945
7908
  "pluginAlias": "heroku",
7946
7909
  "pluginName": "heroku",
7947
7910
  "pluginType": "core",
7948
- "strict": false,
7949
- "usage": "ps [TYPE [TYPE ...]]",
7950
- "topic": "ps",
7911
+ "strict": true,
7951
7912
  "isESM": true,
7952
7913
  "relativePath": [
7953
7914
  "lib",
7954
7915
  "commands",
7955
- "ps",
7916
+ "pipelines",
7956
7917
  "index.js"
7957
7918
  ]
7958
7919
  },
7959
- "ps:restart": {
7960
- "aliases": [
7961
- "dyno:restart"
7962
- ],
7920
+ "pipelines:info": {
7921
+ "aliases": [],
7963
7922
  "args": {
7964
- "dyno": {
7965
- "description": "name of the dyno to restart",
7966
- "name": "dyno",
7967
- "required": false
7923
+ "pipeline": {
7924
+ "description": "pipeline to show list of apps for",
7925
+ "name": "pipeline",
7926
+ "required": true
7968
7927
  }
7969
7928
  },
7970
- "description": "restart an app dyno or process type\nif neither --dyno nor --type are specified, restarts all dynos on app\n",
7929
+ "description": "show list of apps in a pipeline",
7971
7930
  "examples": [
7972
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:restart --app myapp --dyno-name web.1 \u001b[22m\u001b[39m\u001b[49m",
7973
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:restart --app myapp --process-type web \u001b[22m\u001b[39m\u001b[49m",
7974
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:restart --app myapp \u001b[22m\u001b[39m\u001b[49m"
7931
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:info my-pipeline \u001b[22m\u001b[39m\u001b[49m"
7975
7932
  ],
7976
7933
  "flags": {
7977
- "app": {
7978
- "char": "a",
7979
- "description": "app to run command against",
7980
- "name": "app",
7981
- "required": true,
7982
- "hasDynamicHelp": false,
7983
- "multiple": false,
7984
- "type": "option"
7985
- },
7986
- "dyno-name": {
7987
- "char": "d",
7988
- "description": "name of the dyno to restart",
7989
- "name": "dyno-name",
7990
- "hasDynamicHelp": false,
7991
- "multiple": false,
7992
- "type": "option"
7934
+ "json": {
7935
+ "description": "output in json format",
7936
+ "name": "json",
7937
+ "allowNo": false,
7938
+ "type": "boolean"
7993
7939
  },
7994
- "process-type": {
7995
- "char": "p",
7996
- "description": "name of the process type to restart",
7997
- "exclusive": [
7998
- "dyno-name"
7999
- ],
8000
- "name": "process-type",
7940
+ "with-owners": {
7941
+ "description": "shows owner of every app",
7942
+ "hidden": true,
7943
+ "name": "with-owners",
7944
+ "allowNo": false,
7945
+ "type": "boolean"
7946
+ }
7947
+ },
7948
+ "hasDynamicHelp": false,
7949
+ "hiddenAliases": [],
7950
+ "id": "pipelines:info",
7951
+ "pluginAlias": "heroku",
7952
+ "pluginName": "heroku",
7953
+ "pluginType": "core",
7954
+ "strict": true,
7955
+ "isESM": true,
7956
+ "relativePath": [
7957
+ "lib",
7958
+ "commands",
7959
+ "pipelines",
7960
+ "info.js"
7961
+ ]
7962
+ },
7963
+ "pipelines:open": {
7964
+ "aliases": [],
7965
+ "args": {
7966
+ "pipeline": {
7967
+ "description": "name of pipeline",
7968
+ "name": "pipeline",
7969
+ "required": true
7970
+ }
7971
+ },
7972
+ "description": "open a pipeline in dashboard",
7973
+ "examples": [
7974
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:open my-pipeline \u001b[22m\u001b[39m\u001b[49m"
7975
+ ],
7976
+ "flags": {},
7977
+ "hasDynamicHelp": false,
7978
+ "hiddenAliases": [],
7979
+ "id": "pipelines:open",
7980
+ "pluginAlias": "heroku",
7981
+ "pluginName": "heroku",
7982
+ "pluginType": "core",
7983
+ "strict": true,
7984
+ "isESM": true,
7985
+ "relativePath": [
7986
+ "lib",
7987
+ "commands",
7988
+ "pipelines",
7989
+ "open.js"
7990
+ ]
7991
+ },
7992
+ "pipelines:promote": {
7993
+ "aliases": [],
7994
+ "args": {},
7995
+ "description": "promote the latest release of this app to its downstream app(s)",
7996
+ "examples": [
7997
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:promote -a my-app-staging \u001b[22m\u001b[39m\u001b[49m"
7998
+ ],
7999
+ "flags": {
8000
+ "app": {
8001
+ "char": "a",
8002
+ "description": "app to run command against",
8003
+ "name": "app",
8004
+ "required": true,
8001
8005
  "hasDynamicHelp": false,
8002
8006
  "multiple": false,
8003
8007
  "type": "option"
@@ -8009,35 +8013,37 @@
8009
8013
  "hasDynamicHelp": false,
8010
8014
  "multiple": false,
8011
8015
  "type": "option"
8016
+ },
8017
+ "to": {
8018
+ "char": "t",
8019
+ "description": "comma separated list of apps to promote to",
8020
+ "name": "to",
8021
+ "hasDynamicHelp": false,
8022
+ "multiple": false,
8023
+ "type": "option"
8012
8024
  }
8013
8025
  },
8014
8026
  "hasDynamicHelp": false,
8015
- "hiddenAliases": [
8016
- "restart"
8017
- ],
8018
- "id": "ps:restart",
8027
+ "hiddenAliases": [],
8028
+ "id": "pipelines:promote",
8019
8029
  "pluginAlias": "heroku",
8020
8030
  "pluginName": "heroku",
8021
8031
  "pluginType": "core",
8022
8032
  "strict": true,
8023
- "topic": "ps",
8024
8033
  "isESM": true,
8025
8034
  "relativePath": [
8026
8035
  "lib",
8027
8036
  "commands",
8028
- "ps",
8029
- "restart.js"
8037
+ "pipelines",
8038
+ "promote.js"
8030
8039
  ]
8031
8040
  },
8032
- "ps:scale": {
8033
- "aliases": [
8034
- "dyno:scale"
8035
- ],
8041
+ "pipelines:remove": {
8042
+ "aliases": [],
8036
8043
  "args": {},
8037
- "description": "scale dyno quantity up or down\nAppending a size (eg. web=2:Standard-2X) allows simultaneous scaling and resizing.\n\nOmitting any arguments will display the app's current dyno formation, in a\nformat suitable for passing back into ps:scale.\n",
8044
+ "description": "remove this app from its pipeline",
8038
8045
  "examples": [
8039
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:scale web=3:Standard-2X worker+1 --app APP \u001b[22m\u001b[39m\u001b[49m\nScaling dynos... done, now running web at 3:Standard-2X, worker at 1:Standard-1X.\n",
8040
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:scale --app APP \u001b[22m\u001b[39m\u001b[49m\nweb=3:Standard-2X worker=1:Standard-1X\n"
8046
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:remove -a my-app \u001b[22m\u001b[39m\u001b[49m"
8041
8047
  ],
8042
8048
  "flags": {
8043
8049
  "app": {
@@ -8059,145 +8065,158 @@
8059
8065
  }
8060
8066
  },
8061
8067
  "hasDynamicHelp": false,
8062
- "hiddenAliases": [
8063
- "scale"
8064
- ],
8065
- "id": "ps:scale",
8068
+ "hiddenAliases": [],
8069
+ "id": "pipelines:remove",
8066
8070
  "pluginAlias": "heroku",
8067
8071
  "pluginName": "heroku",
8068
8072
  "pluginType": "core",
8069
- "strict": false,
8073
+ "strict": true,
8070
8074
  "isESM": true,
8071
8075
  "relativePath": [
8072
8076
  "lib",
8073
8077
  "commands",
8074
- "ps",
8075
- "scale.js"
8078
+ "pipelines",
8079
+ "remove.js"
8076
8080
  ]
8077
8081
  },
8078
- "ps:stop": {
8079
- "aliases": [
8080
- "dyno:stop",
8081
- "ps:kill",
8082
- "dyno:kill"
8082
+ "pipelines:rename": {
8083
+ "aliases": [],
8084
+ "args": {
8085
+ "pipeline": {
8086
+ "description": "name of pipeline to rename",
8087
+ "name": "pipeline",
8088
+ "required": true
8089
+ },
8090
+ "name": {
8091
+ "description": "new name of pipeline",
8092
+ "name": "name",
8093
+ "required": true
8094
+ }
8095
+ },
8096
+ "description": "rename a pipeline",
8097
+ "examples": [
8098
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:rename my-pipeline new-pipeline-name \u001b[22m\u001b[39m\u001b[49m"
8083
8099
  ],
8100
+ "flags": {},
8101
+ "hasDynamicHelp": false,
8102
+ "hiddenAliases": [],
8103
+ "id": "pipelines:rename",
8104
+ "pluginAlias": "heroku",
8105
+ "pluginName": "heroku",
8106
+ "pluginType": "core",
8107
+ "strict": true,
8108
+ "isESM": true,
8109
+ "relativePath": [
8110
+ "lib",
8111
+ "commands",
8112
+ "pipelines",
8113
+ "rename.js"
8114
+ ]
8115
+ },
8116
+ "pipelines:setup": {
8117
+ "aliases": [],
8084
8118
  "args": {
8085
- "dyno": {
8086
- "description": "name of the dyno to stop",
8087
- "name": "dyno",
8119
+ "name": {
8120
+ "description": "name of pipeline",
8121
+ "name": "name",
8122
+ "required": false
8123
+ },
8124
+ "repo": {
8125
+ "description": "a GitHub repository to connect the pipeline to",
8126
+ "name": "repo",
8088
8127
  "required": false
8089
8128
  }
8090
8129
  },
8091
- "description": "stop an app dyno or process type",
8130
+ "description": "bootstrap a new pipeline with common settings and create a production and staging app (requires a fully formed app.json in the repo)",
8092
8131
  "examples": [
8093
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:stop --app myapp --dyno-name run.1828 \u001b[22m\u001b[39m\u001b[49m",
8094
- "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku ps:stop --app myapp --process-type run \u001b[22m\u001b[39m\u001b[49m"
8132
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:setup my-pipeline githuborg/reponame -t my-team \u001b[22m\u001b[39m\u001b[49m"
8095
8133
  ],
8096
8134
  "flags": {
8097
- "app": {
8098
- "char": "a",
8099
- "description": "app to run command against",
8100
- "name": "app",
8101
- "required": true,
8102
- "hasDynamicHelp": false,
8103
- "multiple": false,
8104
- "type": "option"
8105
- },
8106
- "dyno-name": {
8107
- "char": "d",
8108
- "description": "name of the dyno to stop",
8109
- "name": "dyno-name",
8110
- "hasDynamicHelp": false,
8111
- "multiple": false,
8112
- "type": "option"
8113
- },
8114
- "process-type": {
8115
- "char": "p",
8116
- "description": "name of the process type to stop",
8117
- "exclusive": [
8118
- "dyno-name"
8119
- ],
8120
- "name": "process-type",
8135
+ "team": {
8136
+ "char": "t",
8137
+ "description": "the team to assign pipeline ownership to (defaults to current user)",
8138
+ "name": "team",
8121
8139
  "hasDynamicHelp": false,
8122
8140
  "multiple": false,
8123
8141
  "type": "option"
8124
8142
  },
8125
- "remote": {
8126
- "char": "r",
8127
- "description": "git remote of app to use",
8128
- "name": "remote",
8129
- "hasDynamicHelp": false,
8130
- "multiple": false,
8131
- "type": "option"
8143
+ "yes": {
8144
+ "char": "y",
8145
+ "description": "accept all default settings without prompting",
8146
+ "name": "yes",
8147
+ "allowNo": false,
8148
+ "type": "boolean"
8132
8149
  }
8133
8150
  },
8134
8151
  "hasDynamicHelp": false,
8135
- "hiddenAliases": [
8136
- "stop",
8137
- "kill"
8138
- ],
8139
- "id": "ps:stop",
8152
+ "hiddenAliases": [],
8153
+ "id": "pipelines:setup",
8140
8154
  "pluginAlias": "heroku",
8141
8155
  "pluginName": "heroku",
8142
8156
  "pluginType": "core",
8143
8157
  "strict": true,
8144
- "topic": "ps",
8145
8158
  "isESM": true,
8146
8159
  "relativePath": [
8147
8160
  "lib",
8148
8161
  "commands",
8149
- "ps",
8150
- "stop.js"
8162
+ "pipelines",
8163
+ "setup.js"
8151
8164
  ]
8152
8165
  },
8153
- "ps:type": {
8154
- "aliases": [
8155
- "ps:resize",
8156
- "dyno:resize"
8166
+ "pipelines:transfer": {
8167
+ "aliases": [],
8168
+ "args": {
8169
+ "owner": {
8170
+ "description": "the owner to transfer the pipeline to",
8171
+ "name": "owner",
8172
+ "required": true
8173
+ }
8174
+ },
8175
+ "description": "transfer ownership of a pipeline",
8176
+ "examples": [
8177
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:transfer admin@example.com -p my-pipeline \u001b[22m\u001b[39m\u001b[49m",
8178
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:transfer admin-team -p my-pipeline \u001b[22m\u001b[39m\u001b[49m"
8157
8179
  ],
8158
- "args": {},
8159
- "description": "manage dyno sizes\nCalled with no arguments shows the current dyno size.\n\nCalled with one argument sets the size.\nWhere SIZE is one of eco|basic|standard-1x|standard-2x|performance\n\nCalled with 1..n TYPE=SIZE arguments sets the quantity per type.\n",
8160
8180
  "flags": {
8161
- "app": {
8162
- "char": "a",
8163
- "description": "app to run command against",
8164
- "name": "app",
8165
- "required": true,
8181
+ "confirm": {
8182
+ "char": "c",
8183
+ "name": "confirm",
8166
8184
  "hasDynamicHelp": false,
8167
8185
  "multiple": false,
8168
8186
  "type": "option"
8169
8187
  },
8170
- "remote": {
8171
- "char": "r",
8172
- "description": "git remote of app to use",
8173
- "name": "remote",
8188
+ "pipeline": {
8189
+ "char": "p",
8190
+ "description": "name of pipeline",
8191
+ "name": "pipeline",
8192
+ "required": true,
8174
8193
  "hasDynamicHelp": false,
8175
8194
  "multiple": false,
8176
8195
  "type": "option"
8177
8196
  }
8178
8197
  },
8179
8198
  "hasDynamicHelp": false,
8180
- "hiddenAliases": [
8181
- "resize",
8182
- "dyno:type"
8183
- ],
8184
- "id": "ps:type",
8199
+ "hiddenAliases": [],
8200
+ "id": "pipelines:transfer",
8185
8201
  "pluginAlias": "heroku",
8186
8202
  "pluginName": "heroku",
8187
8203
  "pluginType": "core",
8188
- "strict": false,
8204
+ "strict": true,
8189
8205
  "isESM": true,
8190
8206
  "relativePath": [
8191
8207
  "lib",
8192
8208
  "commands",
8193
- "ps",
8194
- "type.js"
8209
+ "pipelines",
8210
+ "transfer.js"
8195
8211
  ]
8196
8212
  },
8197
- "ps:wait": {
8213
+ "pipelines:update": {
8198
8214
  "aliases": [],
8199
8215
  "args": {},
8200
- "description": "wait for all dynos to be running latest version after a release",
8216
+ "description": "update the app's stage in a pipeline",
8217
+ "examples": [
8218
+ "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku pipelines:update -s staging -a my-app \u001b[22m\u001b[39m\u001b[49m"
8219
+ ],
8201
8220
  "flags": {
8202
8221
  "app": {
8203
8222
  "char": "a",
@@ -8216,48 +8235,29 @@
8216
8235
  "multiple": false,
8217
8236
  "type": "option"
8218
8237
  },
8219
- "type": {
8220
- "char": "t",
8221
- "description": "wait for one specific dyno type",
8222
- "name": "type",
8223
- "hasDynamicHelp": false,
8224
- "multiple": false,
8225
- "type": "option"
8226
- },
8227
- "wait-interval": {
8228
- "char": "w",
8229
- "description": "how frequently to poll in seconds (to avoid hitting Heroku API rate limits)",
8230
- "name": "wait-interval",
8231
- "default": 10,
8238
+ "stage": {
8239
+ "char": "s",
8240
+ "description": "new stage of app",
8241
+ "name": "stage",
8242
+ "required": true,
8232
8243
  "hasDynamicHelp": false,
8233
8244
  "multiple": false,
8234
8245
  "type": "option"
8235
- },
8236
- "with-run": {
8237
- "char": "R",
8238
- "description": "whether to wait for one-off run dynos",
8239
- "exclusive": [
8240
- "type"
8241
- ],
8242
- "name": "with-run",
8243
- "allowNo": false,
8244
- "type": "boolean"
8245
8246
  }
8246
8247
  },
8247
8248
  "hasDynamicHelp": false,
8248
8249
  "hiddenAliases": [],
8249
- "id": "ps:wait",
8250
+ "id": "pipelines:update",
8250
8251
  "pluginAlias": "heroku",
8251
8252
  "pluginName": "heroku",
8252
8253
  "pluginType": "core",
8253
8254
  "strict": true,
8254
- "topic": "ps",
8255
8255
  "isESM": true,
8256
8256
  "relativePath": [
8257
8257
  "lib",
8258
8258
  "commands",
8259
- "ps",
8260
- "wait.js"
8259
+ "pipelines",
8260
+ "update.js"
8261
8261
  ]
8262
8262
  },
8263
8263
  "releases": {
@@ -9617,48 +9617,345 @@
9617
9617
  "required": true
9618
9618
  }
9619
9619
  },
9620
- "description": "show a telemetry drain's info",
9621
- "examples": "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku telemetry:info 022e2e2e-2e2e-2e2e-2e2e-2e2e2e2e2e2e \u001b[22m\u001b[39m\u001b[49m",
9622
- "flags": {},
9620
+ "description": "show a telemetry drain's info",
9621
+ "examples": "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku telemetry:info 022e2e2e-2e2e-2e2e-2e2e-2e2e2e2e2e2e \u001b[22m\u001b[39m\u001b[49m",
9622
+ "flags": {},
9623
+ "hasDynamicHelp": false,
9624
+ "hiddenAliases": [],
9625
+ "id": "telemetry:info",
9626
+ "pluginAlias": "heroku",
9627
+ "pluginName": "heroku",
9628
+ "pluginType": "core",
9629
+ "strict": true,
9630
+ "example": "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku telemetry:info 022e2e2e-2e2e-2e2e-2e2e-2e2e2e2e2e2e \u001b[22m\u001b[39m\u001b[49m",
9631
+ "topic": "telemetry",
9632
+ "isESM": true,
9633
+ "relativePath": [
9634
+ "lib",
9635
+ "commands",
9636
+ "telemetry",
9637
+ "info.js"
9638
+ ]
9639
+ },
9640
+ "telemetry:remove": {
9641
+ "aliases": [],
9642
+ "args": {
9643
+ "telemetry_drain_id": {
9644
+ "description": "ID of the drain to remove",
9645
+ "name": "telemetry_drain_id"
9646
+ }
9647
+ },
9648
+ "description": "remove a telemetry drain",
9649
+ "flags": {
9650
+ "app": {
9651
+ "char": "a",
9652
+ "description": "name of the app to remove all drains from",
9653
+ "name": "app",
9654
+ "hasDynamicHelp": false,
9655
+ "multiple": false,
9656
+ "type": "option"
9657
+ },
9658
+ "space": {
9659
+ "char": "s",
9660
+ "description": "name of the space to remove all drains from",
9661
+ "name": "space",
9662
+ "hasDynamicHelp": false,
9663
+ "multiple": false,
9664
+ "type": "option"
9665
+ }
9666
+ },
9667
+ "hasDynamicHelp": false,
9668
+ "hiddenAliases": [],
9669
+ "id": "telemetry:remove",
9670
+ "pluginAlias": "heroku",
9671
+ "pluginName": "heroku",
9672
+ "pluginType": "core",
9673
+ "strict": true,
9674
+ "topic": "telemetry",
9675
+ "isESM": true,
9676
+ "relativePath": [
9677
+ "lib",
9678
+ "commands",
9679
+ "telemetry",
9680
+ "remove.js"
9681
+ ]
9682
+ },
9683
+ "telemetry:update": {
9684
+ "aliases": [],
9685
+ "args": {
9686
+ "telemetry_drain_id": {
9687
+ "description": "ID of the drain to update",
9688
+ "name": "telemetry_drain_id",
9689
+ "required": true
9690
+ }
9691
+ },
9692
+ "description": "updates a telemetry drain with provided attributes (attributes not provided remain unchanged)",
9693
+ "examples": "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku telemetry:update acde070d-8c4c-4f0d-9d8a-162843c10333 --signals logs,metrics --endpoint https://my-new-endpoint.com \u001b[22m\u001b[39m\u001b[49m",
9694
+ "flags": {
9695
+ "endpoint": {
9696
+ "description": "drain url",
9697
+ "name": "endpoint",
9698
+ "hasDynamicHelp": false,
9699
+ "multiple": false,
9700
+ "type": "option"
9701
+ },
9702
+ "headers": {
9703
+ "description": "custom headers to configure the drain in json format",
9704
+ "name": "headers",
9705
+ "hasDynamicHelp": false,
9706
+ "multiple": false,
9707
+ "type": "option"
9708
+ },
9709
+ "signals": {
9710
+ "description": "comma-delimited list of signals to collect (traces, metrics, logs). Use \"all\" to collect all signals.",
9711
+ "name": "signals",
9712
+ "hasDynamicHelp": false,
9713
+ "multiple": false,
9714
+ "type": "option"
9715
+ },
9716
+ "transport": {
9717
+ "description": "transport protocol for the drain",
9718
+ "name": "transport",
9719
+ "hasDynamicHelp": false,
9720
+ "multiple": false,
9721
+ "options": [
9722
+ "http",
9723
+ "grpc"
9724
+ ],
9725
+ "type": "option"
9726
+ }
9727
+ },
9728
+ "hasDynamicHelp": false,
9729
+ "hiddenAliases": [],
9730
+ "id": "telemetry:update",
9731
+ "pluginAlias": "heroku",
9732
+ "pluginName": "heroku",
9733
+ "pluginType": "core",
9734
+ "strict": true,
9735
+ "example": "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku telemetry:update acde070d-8c4c-4f0d-9d8a-162843c10333 --signals logs,metrics --endpoint https://my-new-endpoint.com \u001b[22m\u001b[39m\u001b[49m",
9736
+ "topic": "telemetry",
9737
+ "isESM": true,
9738
+ "relativePath": [
9739
+ "lib",
9740
+ "commands",
9741
+ "telemetry",
9742
+ "update.js"
9743
+ ]
9744
+ },
9745
+ "usage:addons": {
9746
+ "aliases": [],
9747
+ "args": {},
9748
+ "description": "list usage for metered add-ons attached to an app or apps within a team",
9749
+ "flags": {
9750
+ "app": {
9751
+ "char": "a",
9752
+ "description": "app to list metered add-ons usage for",
9753
+ "name": "app",
9754
+ "hasDynamicHelp": false,
9755
+ "multiple": false,
9756
+ "type": "option"
9757
+ },
9758
+ "team": {
9759
+ "char": "t",
9760
+ "description": "team to list metered add-ons usage for",
9761
+ "name": "team",
9762
+ "hasDynamicHelp": false,
9763
+ "multiple": false,
9764
+ "type": "option"
9765
+ }
9766
+ },
9767
+ "hasDynamicHelp": false,
9768
+ "hiddenAliases": [],
9769
+ "id": "usage:addons",
9770
+ "pluginAlias": "heroku",
9771
+ "pluginName": "heroku",
9772
+ "pluginType": "core",
9773
+ "strict": true,
9774
+ "topic": "usage",
9775
+ "isESM": true,
9776
+ "relativePath": [
9777
+ "lib",
9778
+ "commands",
9779
+ "usage",
9780
+ "addons.js"
9781
+ ]
9782
+ },
9783
+ "webhooks:add": {
9784
+ "aliases": [],
9785
+ "args": {},
9786
+ "description": "add a webhook to an app",
9787
+ "examples": [
9788
+ "$ heroku webhooks:add -i api:dyno -l notify -u https://example.com/hooks"
9789
+ ],
9790
+ "flags": {
9791
+ "app": {
9792
+ "char": "a",
9793
+ "description": "app to run command against",
9794
+ "name": "app",
9795
+ "hasDynamicHelp": false,
9796
+ "multiple": false,
9797
+ "type": "option"
9798
+ },
9799
+ "remote": {
9800
+ "char": "r",
9801
+ "description": "git remote of app to use",
9802
+ "name": "remote",
9803
+ "hasDynamicHelp": false,
9804
+ "multiple": false,
9805
+ "type": "option"
9806
+ },
9807
+ "pipeline": {
9808
+ "char": "p",
9809
+ "description": "pipeline on which to list",
9810
+ "hidden": true,
9811
+ "name": "pipeline",
9812
+ "hasDynamicHelp": false,
9813
+ "multiple": false,
9814
+ "type": "option"
9815
+ },
9816
+ "include": {
9817
+ "char": "i",
9818
+ "description": "comma delimited event types your server will receive ",
9819
+ "name": "include",
9820
+ "required": true,
9821
+ "hasDynamicHelp": false,
9822
+ "multiple": false,
9823
+ "type": "option"
9824
+ },
9825
+ "level": {
9826
+ "char": "l",
9827
+ "description": "notify does not retry, sync will retry until successful or timeout",
9828
+ "name": "level",
9829
+ "required": true,
9830
+ "hasDynamicHelp": false,
9831
+ "multiple": false,
9832
+ "type": "option"
9833
+ },
9834
+ "secret": {
9835
+ "char": "s",
9836
+ "description": "value to sign delivery with in Heroku-Webhook-Hmac-SHA256 header",
9837
+ "name": "secret",
9838
+ "hasDynamicHelp": false,
9839
+ "multiple": false,
9840
+ "type": "option"
9841
+ },
9842
+ "authorization": {
9843
+ "char": "t",
9844
+ "description": "authorization header to send with webhooks",
9845
+ "name": "authorization",
9846
+ "hasDynamicHelp": false,
9847
+ "multiple": false,
9848
+ "type": "option"
9849
+ },
9850
+ "url": {
9851
+ "char": "u",
9852
+ "description": "URL for receiver",
9853
+ "name": "url",
9854
+ "required": true,
9855
+ "hasDynamicHelp": false,
9856
+ "multiple": false,
9857
+ "type": "option"
9858
+ }
9859
+ },
9860
+ "hasDynamicHelp": false,
9861
+ "hiddenAliases": [],
9862
+ "id": "webhooks:add",
9863
+ "pluginAlias": "heroku",
9864
+ "pluginName": "heroku",
9865
+ "pluginType": "core",
9866
+ "strict": true,
9867
+ "isESM": true,
9868
+ "relativePath": [
9869
+ "lib",
9870
+ "commands",
9871
+ "webhooks",
9872
+ "add.js"
9873
+ ]
9874
+ },
9875
+ "webhooks": {
9876
+ "aliases": [],
9877
+ "args": {},
9878
+ "description": "list webhooks on an app",
9879
+ "examples": [
9880
+ "$ heroku webhooks"
9881
+ ],
9882
+ "flags": {
9883
+ "app": {
9884
+ "char": "a",
9885
+ "description": "app to run command against",
9886
+ "name": "app",
9887
+ "hasDynamicHelp": false,
9888
+ "multiple": false,
9889
+ "type": "option"
9890
+ },
9891
+ "remote": {
9892
+ "char": "r",
9893
+ "description": "git remote of app to use",
9894
+ "name": "remote",
9895
+ "hasDynamicHelp": false,
9896
+ "multiple": false,
9897
+ "type": "option"
9898
+ },
9899
+ "pipeline": {
9900
+ "char": "p",
9901
+ "description": "pipeline on which to list",
9902
+ "hidden": true,
9903
+ "name": "pipeline",
9904
+ "hasDynamicHelp": false,
9905
+ "multiple": false,
9906
+ "type": "option"
9907
+ }
9908
+ },
9623
9909
  "hasDynamicHelp": false,
9624
9910
  "hiddenAliases": [],
9625
- "id": "telemetry:info",
9911
+ "id": "webhooks",
9626
9912
  "pluginAlias": "heroku",
9627
9913
  "pluginName": "heroku",
9628
9914
  "pluginType": "core",
9629
9915
  "strict": true,
9630
- "example": "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku telemetry:info 022e2e2e-2e2e-2e2e-2e2e-2e2e2e2e2e2e \u001b[22m\u001b[39m\u001b[49m",
9631
- "topic": "telemetry",
9632
9916
  "isESM": true,
9633
9917
  "relativePath": [
9634
9918
  "lib",
9635
9919
  "commands",
9636
- "telemetry",
9637
- "info.js"
9920
+ "webhooks",
9921
+ "index.js"
9638
9922
  ]
9639
9923
  },
9640
- "telemetry:remove": {
9924
+ "webhooks:info": {
9641
9925
  "aliases": [],
9642
9926
  "args": {
9643
- "telemetry_drain_id": {
9644
- "description": "ID of the drain to remove",
9645
- "name": "telemetry_drain_id"
9927
+ "id": {
9928
+ "description": "ID of the webhook",
9929
+ "name": "id",
9930
+ "required": true
9646
9931
  }
9647
9932
  },
9648
- "description": "remove a telemetry drain",
9933
+ "description": "info for a webhook on an app",
9934
+ "examples": [
9935
+ "$ heroku webhooks:info 99999999-9999-9999-9999-999999999999"
9936
+ ],
9649
9937
  "flags": {
9650
9938
  "app": {
9651
9939
  "char": "a",
9652
- "description": "name of the app to remove all drains from",
9940
+ "description": "app to run command against",
9653
9941
  "name": "app",
9654
9942
  "hasDynamicHelp": false,
9655
9943
  "multiple": false,
9656
9944
  "type": "option"
9657
9945
  },
9658
- "space": {
9659
- "char": "s",
9660
- "description": "name of the space to remove all drains from",
9661
- "name": "space",
9946
+ "remote": {
9947
+ "char": "r",
9948
+ "description": "git remote of app to use",
9949
+ "name": "remote",
9950
+ "hasDynamicHelp": false,
9951
+ "multiple": false,
9952
+ "type": "option"
9953
+ },
9954
+ "pipeline": {
9955
+ "char": "p",
9956
+ "description": "pipeline on which to list",
9957
+ "hidden": true,
9958
+ "name": "pipeline",
9662
9959
  "hasDynamicHelp": false,
9663
9960
  "multiple": false,
9664
9961
  "type": "option"
@@ -9666,99 +9963,152 @@
9666
9963
  },
9667
9964
  "hasDynamicHelp": false,
9668
9965
  "hiddenAliases": [],
9669
- "id": "telemetry:remove",
9966
+ "id": "webhooks:info",
9670
9967
  "pluginAlias": "heroku",
9671
9968
  "pluginName": "heroku",
9672
9969
  "pluginType": "core",
9673
9970
  "strict": true,
9674
- "topic": "telemetry",
9675
9971
  "isESM": true,
9676
9972
  "relativePath": [
9677
9973
  "lib",
9678
9974
  "commands",
9679
- "telemetry",
9680
- "remove.js"
9975
+ "webhooks",
9976
+ "info.js"
9681
9977
  ]
9682
9978
  },
9683
- "telemetry:update": {
9979
+ "webhooks:remove": {
9684
9980
  "aliases": [],
9685
9981
  "args": {
9686
- "telemetry_drain_id": {
9687
- "description": "ID of the drain to update",
9688
- "name": "telemetry_drain_id",
9982
+ "id": {
9983
+ "description": "id of webhook to remove",
9984
+ "name": "id",
9689
9985
  "required": true
9690
9986
  }
9691
9987
  },
9692
- "description": "updates a telemetry drain with provided attributes (attributes not provided remain unchanged)",
9693
- "examples": "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku telemetry:update acde070d-8c4c-4f0d-9d8a-162843c10333 --signals logs,metrics --endpoint https://my-new-endpoint.com \u001b[22m\u001b[39m\u001b[49m",
9988
+ "description": "removes a webhook from an app",
9989
+ "examples": [
9990
+ "$ heroku webhooks:remove 99999999-9999-9999-9999-999999999999"
9991
+ ],
9694
9992
  "flags": {
9695
- "endpoint": {
9696
- "description": "drain url",
9697
- "name": "endpoint",
9698
- "hasDynamicHelp": false,
9699
- "multiple": false,
9700
- "type": "option"
9701
- },
9702
- "headers": {
9703
- "description": "custom headers to configure the drain in json format",
9704
- "name": "headers",
9993
+ "app": {
9994
+ "char": "a",
9995
+ "description": "app to run command against",
9996
+ "name": "app",
9705
9997
  "hasDynamicHelp": false,
9706
9998
  "multiple": false,
9707
9999
  "type": "option"
9708
10000
  },
9709
- "signals": {
9710
- "description": "comma-delimited list of signals to collect (traces, metrics, logs). Use \"all\" to collect all signals.",
9711
- "name": "signals",
10001
+ "remote": {
10002
+ "char": "r",
10003
+ "description": "git remote of app to use",
10004
+ "name": "remote",
9712
10005
  "hasDynamicHelp": false,
9713
10006
  "multiple": false,
9714
10007
  "type": "option"
9715
10008
  },
9716
- "transport": {
9717
- "description": "transport protocol for the drain",
9718
- "name": "transport",
10009
+ "pipeline": {
10010
+ "char": "p",
10011
+ "description": "pipeline on which to list",
10012
+ "hidden": true,
10013
+ "name": "pipeline",
9719
10014
  "hasDynamicHelp": false,
9720
10015
  "multiple": false,
9721
- "options": [
9722
- "http",
9723
- "grpc"
9724
- ],
9725
10016
  "type": "option"
9726
10017
  }
9727
10018
  },
9728
10019
  "hasDynamicHelp": false,
9729
10020
  "hiddenAliases": [],
9730
- "id": "telemetry:update",
10021
+ "id": "webhooks:remove",
9731
10022
  "pluginAlias": "heroku",
9732
10023
  "pluginName": "heroku",
9733
10024
  "pluginType": "core",
9734
10025
  "strict": true,
9735
- "example": "\u001b[48;5;237m\u001b[38;5;255m\u001b[1m $ heroku telemetry:update acde070d-8c4c-4f0d-9d8a-162843c10333 --signals logs,metrics --endpoint https://my-new-endpoint.com \u001b[22m\u001b[39m\u001b[49m",
9736
- "topic": "telemetry",
9737
10026
  "isESM": true,
9738
10027
  "relativePath": [
9739
10028
  "lib",
9740
10029
  "commands",
9741
- "telemetry",
9742
- "update.js"
10030
+ "webhooks",
10031
+ "remove.js"
9743
10032
  ]
9744
10033
  },
9745
- "usage:addons": {
10034
+ "webhooks:update": {
9746
10035
  "aliases": [],
9747
- "args": {},
9748
- "description": "list usage for metered add-ons attached to an app or apps within a team",
10036
+ "args": {
10037
+ "id": {
10038
+ "description": "ID of the webhook",
10039
+ "name": "id",
10040
+ "required": true
10041
+ }
10042
+ },
10043
+ "description": "updates a webhook in an app",
10044
+ "examples": [
10045
+ "$ heroku webhooks:update 99999999-9999-9999-9999-999999999999 -i dyno -l notify -s 09928c40bf1b191b645174a19f7053d16a180da37332e719ef0998f4c0a2 -u https://example.com/hooks"
10046
+ ],
9749
10047
  "flags": {
9750
10048
  "app": {
9751
10049
  "char": "a",
9752
- "description": "app to list metered add-ons usage for",
10050
+ "description": "app to run command against",
9753
10051
  "name": "app",
9754
10052
  "hasDynamicHelp": false,
9755
10053
  "multiple": false,
9756
10054
  "type": "option"
9757
10055
  },
9758
- "team": {
10056
+ "remote": {
10057
+ "char": "r",
10058
+ "description": "git remote of app to use",
10059
+ "name": "remote",
10060
+ "hasDynamicHelp": false,
10061
+ "multiple": false,
10062
+ "type": "option"
10063
+ },
10064
+ "pipeline": {
10065
+ "char": "p",
10066
+ "description": "pipeline on which to list",
10067
+ "hidden": true,
10068
+ "name": "pipeline",
10069
+ "hasDynamicHelp": false,
10070
+ "multiple": false,
10071
+ "type": "option"
10072
+ },
10073
+ "include": {
10074
+ "char": "i",
10075
+ "description": "comma delimited event types your server will receive ",
10076
+ "name": "include",
10077
+ "required": true,
10078
+ "hasDynamicHelp": false,
10079
+ "multiple": false,
10080
+ "type": "option"
10081
+ },
10082
+ "level": {
10083
+ "char": "l",
10084
+ "description": "notify does not retry, sync will retry until successful or timeout",
10085
+ "name": "level",
10086
+ "required": true,
10087
+ "hasDynamicHelp": false,
10088
+ "multiple": false,
10089
+ "type": "option"
10090
+ },
10091
+ "secret": {
10092
+ "char": "s",
10093
+ "description": "value to sign delivery with in Heroku-Webhook-Hmac-SHA256 header",
10094
+ "name": "secret",
10095
+ "hasDynamicHelp": false,
10096
+ "multiple": false,
10097
+ "type": "option"
10098
+ },
10099
+ "authorization": {
9759
10100
  "char": "t",
9760
- "description": "team to list metered add-ons usage for",
9761
- "name": "team",
10101
+ "description": "authorization header to send with webhooks",
10102
+ "name": "authorization",
10103
+ "hasDynamicHelp": false,
10104
+ "multiple": false,
10105
+ "type": "option"
10106
+ },
10107
+ "url": {
10108
+ "char": "u",
10109
+ "description": "URL for receiver",
10110
+ "name": "url",
10111
+ "required": true,
9762
10112
  "hasDynamicHelp": false,
9763
10113
  "multiple": false,
9764
10114
  "type": "option"
@@ -9766,18 +10116,17 @@
9766
10116
  },
9767
10117
  "hasDynamicHelp": false,
9768
10118
  "hiddenAliases": [],
9769
- "id": "usage:addons",
10119
+ "id": "webhooks:update",
9770
10120
  "pluginAlias": "heroku",
9771
10121
  "pluginName": "heroku",
9772
10122
  "pluginType": "core",
9773
10123
  "strict": true,
9774
- "topic": "usage",
9775
10124
  "isESM": true,
9776
10125
  "relativePath": [
9777
10126
  "lib",
9778
10127
  "commands",
9779
- "usage",
9780
- "addons.js"
10128
+ "webhooks",
10129
+ "update.js"
9781
10130
  ]
9782
10131
  },
9783
10132
  "apps:favorites:add": {
@@ -13381,6 +13730,120 @@
13381
13730
  "wait.js"
13382
13731
  ]
13383
13732
  },
13733
+ "webhooks:deliveries": {
13734
+ "aliases": [],
13735
+ "args": {},
13736
+ "description": "list webhook deliveries on an app",
13737
+ "examples": [
13738
+ "$ heroku webhooks:deliveries"
13739
+ ],
13740
+ "flags": {
13741
+ "app": {
13742
+ "char": "a",
13743
+ "description": "app to run command against",
13744
+ "name": "app",
13745
+ "hasDynamicHelp": false,
13746
+ "multiple": false,
13747
+ "type": "option"
13748
+ },
13749
+ "remote": {
13750
+ "char": "r",
13751
+ "description": "git remote of app to use",
13752
+ "name": "remote",
13753
+ "hasDynamicHelp": false,
13754
+ "multiple": false,
13755
+ "type": "option"
13756
+ },
13757
+ "status": {
13758
+ "char": "s",
13759
+ "description": "filter deliveries by status",
13760
+ "name": "status",
13761
+ "hasDynamicHelp": false,
13762
+ "multiple": false,
13763
+ "type": "option"
13764
+ },
13765
+ "pipeline": {
13766
+ "char": "p",
13767
+ "description": "pipeline on which to list",
13768
+ "hidden": true,
13769
+ "name": "pipeline",
13770
+ "hasDynamicHelp": false,
13771
+ "multiple": false,
13772
+ "type": "option"
13773
+ }
13774
+ },
13775
+ "hasDynamicHelp": false,
13776
+ "hiddenAliases": [],
13777
+ "id": "webhooks:deliveries",
13778
+ "pluginAlias": "heroku",
13779
+ "pluginName": "heroku",
13780
+ "pluginType": "core",
13781
+ "strict": true,
13782
+ "isESM": true,
13783
+ "relativePath": [
13784
+ "lib",
13785
+ "commands",
13786
+ "webhooks",
13787
+ "deliveries",
13788
+ "index.js"
13789
+ ]
13790
+ },
13791
+ "webhooks:deliveries:info": {
13792
+ "aliases": [],
13793
+ "args": {
13794
+ "id": {
13795
+ "description": "ID of the webhook event",
13796
+ "name": "id",
13797
+ "required": true
13798
+ }
13799
+ },
13800
+ "description": "info for a webhook event on an app",
13801
+ "examples": [
13802
+ "$ heroku webhooks:deliveries:info 99999999-9999-9999-9999-999999999999"
13803
+ ],
13804
+ "flags": {
13805
+ "app": {
13806
+ "char": "a",
13807
+ "description": "app to run command against",
13808
+ "name": "app",
13809
+ "hasDynamicHelp": false,
13810
+ "multiple": false,
13811
+ "type": "option"
13812
+ },
13813
+ "remote": {
13814
+ "char": "r",
13815
+ "description": "git remote of app to use",
13816
+ "name": "remote",
13817
+ "hasDynamicHelp": false,
13818
+ "multiple": false,
13819
+ "type": "option"
13820
+ },
13821
+ "pipeline": {
13822
+ "char": "p",
13823
+ "description": "pipeline on which to list",
13824
+ "hidden": true,
13825
+ "name": "pipeline",
13826
+ "hasDynamicHelp": false,
13827
+ "multiple": false,
13828
+ "type": "option"
13829
+ }
13830
+ },
13831
+ "hasDynamicHelp": false,
13832
+ "hiddenAliases": [],
13833
+ "id": "webhooks:deliveries:info",
13834
+ "pluginAlias": "heroku",
13835
+ "pluginName": "heroku",
13836
+ "pluginType": "core",
13837
+ "strict": true,
13838
+ "isESM": true,
13839
+ "relativePath": [
13840
+ "lib",
13841
+ "commands",
13842
+ "webhooks",
13843
+ "deliveries",
13844
+ "info.js"
13845
+ ]
13846
+ },
13384
13847
  "pg:settings:auto-explain:log-analyze": {
13385
13848
  "aliases": [],
13386
13849
  "args": {
@@ -13731,5 +14194,5 @@
13731
14194
  ]
13732
14195
  }
13733
14196
  },
13734
- "version": "11.0.0-alpha.12"
14197
+ "version": "11.0.0-alpha.13"
13735
14198
  }