heroku 10.7.0-alpha.0 → 10.7.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2907,38 +2907,35 @@
2907
2907
  "versions.js"
2908
2908
  ]
2909
2909
  },
2910
- "certs:add": {
2910
+ "ci:debug": {
2911
2911
  "aliases": [],
2912
- "args": {
2913
- "CRT": {
2914
- "description": "absolute path of the certificate file on disk",
2915
- "name": "CRT",
2916
- "required": true
2917
- },
2918
- "KEY": {
2919
- "description": "absolute path of the key file on disk",
2920
- "name": "KEY",
2921
- "required": true
2922
- }
2923
- },
2924
- "description": "Add an SSL certificate to an app.\n\n Note: certificates with PEM encoding are also valid.\n ",
2925
- "examples": [
2926
- "$ heroku certs:add example.com.crt example.com.key\n If you require intermediate certificates, refer to this article on merging certificates to get a complete chain:\n https://help.salesforce.com/s/articleView?id=000333504&type=1"
2927
- ],
2912
+ "args": {},
2913
+ "description": "opens an interactive test debugging session with the contents of the current directory",
2928
2914
  "flags": {
2929
2915
  "app": {
2930
2916
  "char": "a",
2931
2917
  "description": "app to run command against",
2932
2918
  "name": "app",
2933
- "required": true,
2934
2919
  "hasDynamicHelp": false,
2935
2920
  "multiple": false,
2936
2921
  "type": "option"
2937
2922
  },
2938
- "remote": {
2939
- "char": "r",
2940
- "description": "git remote of app to use",
2941
- "name": "remote",
2923
+ "no-cache": {
2924
+ "description": "start test run with an empty cache",
2925
+ "name": "no-cache",
2926
+ "allowNo": false,
2927
+ "type": "boolean"
2928
+ },
2929
+ "no-setup": {
2930
+ "description": "start test dyno without running test-setup",
2931
+ "name": "no-setup",
2932
+ "allowNo": false,
2933
+ "type": "boolean"
2934
+ },
2935
+ "pipeline": {
2936
+ "char": "p",
2937
+ "description": "name of pipeline",
2938
+ "name": "pipeline",
2942
2939
  "hasDynamicHelp": false,
2943
2940
  "multiple": false,
2944
2941
  "type": "option"
@@ -2946,132 +2943,102 @@
2946
2943
  },
2947
2944
  "hasDynamicHelp": false,
2948
2945
  "hiddenAliases": [],
2949
- "id": "certs:add",
2946
+ "id": "ci:debug",
2950
2947
  "pluginAlias": "heroku",
2951
2948
  "pluginName": "heroku",
2952
2949
  "pluginType": "core",
2953
2950
  "strict": true,
2954
- "topic": "certs",
2951
+ "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",
2952
+ "topic": "ci",
2955
2953
  "isESM": false,
2956
2954
  "relativePath": [
2957
2955
  "lib",
2958
2956
  "commands",
2959
- "certs",
2960
- "add.js"
2957
+ "ci",
2958
+ "debug.js"
2961
2959
  ]
2962
2960
  },
2963
- "certs:generate": {
2961
+ "ci": {
2964
2962
  "aliases": [],
2965
- "args": {
2966
- "domain": {
2967
- "description": "domain name to generate",
2968
- "name": "domain",
2969
- "required": true
2970
- }
2971
- },
2972
- "description": "generate a key and a CSR or self-signed certificate",
2963
+ "args": {},
2964
+ "description": "display the most recent CI runs for the given pipeline",
2965
+ "examples": [
2966
+ "$ heroku ci --app murmuring-headland-14719\n"
2967
+ ],
2973
2968
  "flags": {
2974
- "selfsigned": {
2975
- "description": "generate a self-signed certificate instead of a CSR",
2976
- "name": "selfsigned",
2977
- "required": false,
2978
- "allowNo": false,
2979
- "type": "boolean"
2980
- },
2981
- "keysize": {
2982
- "description": "RSA key size in bits (default: 2048)",
2983
- "name": "keysize",
2984
- "hasDynamicHelp": false,
2985
- "multiple": false,
2986
- "type": "option"
2987
- },
2988
- "owner": {
2989
- "description": "name of organization certificate belongs to",
2990
- "name": "owner",
2991
- "hasDynamicHelp": false,
2992
- "multiple": false,
2993
- "type": "option"
2994
- },
2995
- "country": {
2996
- "description": "country of owner, as a two-letter ISO country code",
2997
- "name": "country",
2998
- "hasDynamicHelp": false,
2999
- "multiple": false,
3000
- "type": "option"
3001
- },
3002
- "area": {
3003
- "description": "sub-country area (state, province, etc.) of owner",
3004
- "name": "area",
3005
- "hasDynamicHelp": false,
3006
- "multiple": false,
3007
- "type": "option"
3008
- },
3009
- "city": {
3010
- "description": "city of owner",
3011
- "name": "city",
2969
+ "app": {
2970
+ "char": "a",
2971
+ "description": "app to run command against",
2972
+ "name": "app",
3012
2973
  "hasDynamicHelp": false,
3013
2974
  "multiple": false,
3014
2975
  "type": "option"
3015
2976
  },
3016
- "subject": {
3017
- "description": "specify entire certificate subject",
3018
- "name": "subject",
2977
+ "remote": {
2978
+ "char": "r",
2979
+ "description": "git remote of app to use",
2980
+ "name": "remote",
3019
2981
  "hasDynamicHelp": false,
3020
2982
  "multiple": false,
3021
2983
  "type": "option"
3022
2984
  },
3023
- "now": {
3024
- "description": "do not prompt for any owner information",
3025
- "name": "now",
2985
+ "watch": {
2986
+ "description": "keep running and watch for new and update tests",
2987
+ "name": "watch",
3026
2988
  "required": false,
3027
2989
  "allowNo": false,
3028
2990
  "type": "boolean"
3029
2991
  },
3030
- "app": {
3031
- "char": "a",
3032
- "description": "app to run command against",
3033
- "name": "app",
3034
- "required": true,
2992
+ "pipeline": {
2993
+ "char": "p",
2994
+ "description": "name of pipeline",
2995
+ "name": "pipeline",
2996
+ "required": false,
3035
2997
  "hasDynamicHelp": false,
3036
2998
  "multiple": false,
3037
2999
  "type": "option"
3038
3000
  },
3039
- "remote": {
3040
- "char": "r",
3041
- "description": "git remote of app to use",
3042
- "name": "remote",
3043
- "hasDynamicHelp": false,
3044
- "multiple": false,
3045
- "type": "option"
3001
+ "json": {
3002
+ "description": "output in json format",
3003
+ "name": "json",
3004
+ "required": false,
3005
+ "allowNo": false,
3006
+ "type": "boolean"
3046
3007
  }
3047
3008
  },
3048
3009
  "hasDynamicHelp": false,
3049
3010
  "hiddenAliases": [],
3050
- "id": "certs:generate",
3011
+ "id": "ci",
3051
3012
  "pluginAlias": "heroku",
3052
3013
  "pluginName": "heroku",
3053
3014
  "pluginType": "core",
3054
3015
  "strict": true,
3055
- "topic": "certs",
3056
- "help": "Generate a key and certificate signing request (or self-signed certificate)\nfor an app. Prompts for information to put in the certificate unless --now\nis used, or at least one of the --subject, --owner, --country, --area, or\n--city options is specified.",
3057
3016
  "isESM": false,
3058
3017
  "relativePath": [
3059
3018
  "lib",
3060
3019
  "commands",
3061
- "certs",
3062
- "generate.js"
3020
+ "ci",
3021
+ "index.js"
3063
3022
  ]
3064
3023
  },
3065
- "certs": {
3024
+ "ci:info": {
3066
3025
  "aliases": [],
3067
- "args": {},
3068
- "description": "list SSL certificates for an app",
3026
+ "args": {
3027
+ "test-run": {
3028
+ "description": "auto-incremented test run number",
3029
+ "name": "test-run",
3030
+ "required": true
3031
+ }
3032
+ },
3033
+ "description": "show the status of a specific test run",
3034
+ "examples": [
3035
+ "$ heroku ci:info 1288 --app murmuring-headland-14719\n"
3036
+ ],
3069
3037
  "flags": {
3070
3038
  "app": {
3071
3039
  "char": "a",
3072
3040
  "description": "app to run command against",
3073
3041
  "name": "app",
3074
- "required": true,
3075
3042
  "hasDynamicHelp": false,
3076
3043
  "multiple": false,
3077
3044
  "type": "option"
@@ -3083,54 +3050,52 @@
3083
3050
  "hasDynamicHelp": false,
3084
3051
  "multiple": false,
3085
3052
  "type": "option"
3053
+ },
3054
+ "node": {
3055
+ "description": "the node number to show its setup and output",
3056
+ "name": "node",
3057
+ "required": false,
3058
+ "hasDynamicHelp": false,
3059
+ "multiple": false,
3060
+ "type": "option"
3061
+ },
3062
+ "pipeline": {
3063
+ "char": "p",
3064
+ "description": "name of pipeline",
3065
+ "name": "pipeline",
3066
+ "required": false,
3067
+ "hasDynamicHelp": false,
3068
+ "multiple": false,
3069
+ "type": "option"
3086
3070
  }
3087
3071
  },
3088
3072
  "hasDynamicHelp": false,
3089
3073
  "hiddenAliases": [],
3090
- "id": "certs",
3074
+ "id": "ci:info",
3091
3075
  "pluginAlias": "heroku",
3092
3076
  "pluginName": "heroku",
3093
3077
  "pluginType": "core",
3094
3078
  "strict": true,
3095
- "topic": "certs",
3096
3079
  "isESM": false,
3097
3080
  "relativePath": [
3098
3081
  "lib",
3099
3082
  "commands",
3100
- "certs",
3101
- "index.js"
3083
+ "ci",
3084
+ "info.js"
3102
3085
  ]
3103
3086
  },
3104
- "certs:info": {
3087
+ "ci:last": {
3105
3088
  "aliases": [],
3106
3089
  "args": {},
3107
- "description": "show certificate information for an SSL certificate",
3090
+ "description": "looks for the most recent run and returns the output of that run",
3091
+ "examples": [
3092
+ "$ heroku ci:last --pipeline=my-pipeline --node 100\n"
3093
+ ],
3108
3094
  "flags": {
3109
- "name": {
3110
- "description": "name to check info on",
3111
- "name": "name",
3112
- "hasDynamicHelp": false,
3113
- "multiple": false,
3114
- "type": "option"
3115
- },
3116
- "endpoint": {
3117
- "description": "endpoint to check info on",
3118
- "name": "endpoint",
3119
- "hasDynamicHelp": false,
3120
- "multiple": false,
3121
- "type": "option"
3122
- },
3123
- "show-domains": {
3124
- "description": "show associated domains",
3125
- "name": "show-domains",
3126
- "allowNo": false,
3127
- "type": "boolean"
3128
- },
3129
3095
  "app": {
3130
3096
  "char": "a",
3131
3097
  "description": "app to run command against",
3132
3098
  "name": "app",
3133
- "required": true,
3134
3099
  "hasDynamicHelp": false,
3135
3100
  "multiple": false,
3136
3101
  "type": "option"
@@ -3142,49 +3107,78 @@
3142
3107
  "hasDynamicHelp": false,
3143
3108
  "multiple": false,
3144
3109
  "type": "option"
3110
+ },
3111
+ "node": {
3112
+ "description": "the node number to show its setup and output",
3113
+ "name": "node",
3114
+ "required": false,
3115
+ "hasDynamicHelp": false,
3116
+ "multiple": false,
3117
+ "type": "option"
3118
+ },
3119
+ "pipeline": {
3120
+ "char": "p",
3121
+ "description": "name of pipeline",
3122
+ "name": "pipeline",
3123
+ "required": false,
3124
+ "hasDynamicHelp": false,
3125
+ "multiple": false,
3126
+ "type": "option"
3145
3127
  }
3146
3128
  },
3147
3129
  "hasDynamicHelp": false,
3148
3130
  "hiddenAliases": [],
3149
- "id": "certs:info",
3131
+ "id": "ci:last",
3150
3132
  "pluginAlias": "heroku",
3151
3133
  "pluginName": "heroku",
3152
3134
  "pluginType": "core",
3153
3135
  "strict": true,
3154
- "topic": "certs",
3155
3136
  "isESM": false,
3156
3137
  "relativePath": [
3157
3138
  "lib",
3158
3139
  "commands",
3159
- "certs",
3160
- "info.js"
3140
+ "ci",
3141
+ "last.js"
3161
3142
  ]
3162
3143
  },
3163
- "certs:remove": {
3144
+ "ci:migrate-manifest": {
3164
3145
  "aliases": [],
3165
3146
  "args": {},
3166
- "description": "remove an SSL certificate from an app",
3167
- "flags": {
3168
- "confirm": {
3169
- "hidden": true,
3170
- "name": "confirm",
3171
- "hasDynamicHelp": false,
3172
- "multiple": false,
3173
- "type": "option"
3174
- },
3175
- "name": {
3176
- "description": "name to remove",
3177
- "name": "name",
3178
- "hasDynamicHelp": false,
3179
- "multiple": false,
3180
- "type": "option"
3181
- },
3182
- "endpoint": {
3183
- "description": "endpoint to remove",
3184
- "name": "endpoint",
3185
- "hasDynamicHelp": false,
3186
- "multiple": false,
3187
- "type": "option"
3147
+ "description": "app-ci.json is deprecated. Run this command to migrate to app.json with an environments key.",
3148
+ "examples": [
3149
+ "$ heroku ci:migrate-manifest"
3150
+ ],
3151
+ "flags": {},
3152
+ "hasDynamicHelp": false,
3153
+ "hiddenAliases": [],
3154
+ "id": "ci:migrate-manifest",
3155
+ "pluginAlias": "heroku",
3156
+ "pluginName": "heroku",
3157
+ "pluginType": "core",
3158
+ "strict": true,
3159
+ "topic": "ci",
3160
+ "isESM": false,
3161
+ "relativePath": [
3162
+ "lib",
3163
+ "commands",
3164
+ "ci",
3165
+ "migrate-manifest.js"
3166
+ ]
3167
+ },
3168
+ "ci:open": {
3169
+ "aliases": [],
3170
+ "args": {},
3171
+ "description": "open the Dashboard version of Heroku CI",
3172
+ "examples": [
3173
+ "$ heroku ci:open --app murmuring-headland-14719"
3174
+ ],
3175
+ "flags": {
3176
+ "help": {
3177
+ "char": "h",
3178
+ "description": "Show CLI help.",
3179
+ "name": "help",
3180
+ "allowNo": false,
3181
+ "type": "boolean"
3188
3182
  },
3189
3183
  "app": {
3190
3184
  "char": "a",
@@ -3202,69 +3196,51 @@
3202
3196
  "hasDynamicHelp": false,
3203
3197
  "multiple": false,
3204
3198
  "type": "option"
3199
+ },
3200
+ "pipeline": {
3201
+ "char": "p",
3202
+ "description": "name of pipeline",
3203
+ "name": "pipeline",
3204
+ "required": false,
3205
+ "hasDynamicHelp": false,
3206
+ "multiple": false,
3207
+ "type": "option"
3205
3208
  }
3206
3209
  },
3207
3210
  "hasDynamicHelp": false,
3208
3211
  "hiddenAliases": [],
3209
- "id": "certs:remove",
3212
+ "id": "ci:open",
3210
3213
  "pluginAlias": "heroku",
3211
3214
  "pluginName": "heroku",
3212
3215
  "pluginType": "core",
3213
3216
  "strict": true,
3214
- "topic": "certs",
3217
+ "topic": "ci",
3215
3218
  "isESM": false,
3216
3219
  "relativePath": [
3217
3220
  "lib",
3218
3221
  "commands",
3219
- "certs",
3220
- "remove.js"
3222
+ "ci",
3223
+ "open.js"
3221
3224
  ]
3222
3225
  },
3223
- "certs:update": {
3226
+ "ci:rerun": {
3224
3227
  "aliases": [],
3225
3228
  "args": {
3226
- "CRT": {
3227
- "description": "absolute path of the certificate file on disk",
3228
- "name": "CRT",
3229
- "required": true
3230
- },
3231
- "KEY": {
3232
- "description": "absolute path of the key file on disk",
3233
- "name": "KEY",
3234
- "required": true
3229
+ "number": {
3230
+ "description": "auto-incremented test run number",
3231
+ "name": "number",
3232
+ "required": false
3235
3233
  }
3236
3234
  },
3237
- "description": "update an SSL certificate on an app\nNote: certificates with PEM encoding are also valid\n",
3235
+ "description": "rerun tests against current directory",
3238
3236
  "examples": [
3239
- "$ heroku certs:update example.com.crt example.com.key\n\n If you require intermediate certificates, refer to this article on merging certificates to get a complete chain:\n https://help.salesforce.com/s/articleView?id=000333504&type=1\n"
3237
+ "$ heroku ci:rerun 985 --app murmuring-headland-14719\n"
3240
3238
  ],
3241
3239
  "flags": {
3242
- "confirm": {
3243
- "hidden": true,
3244
- "name": "confirm",
3245
- "hasDynamicHelp": false,
3246
- "multiple": false,
3247
- "type": "option"
3248
- },
3249
- "name": {
3250
- "description": "name to update",
3251
- "name": "name",
3252
- "hasDynamicHelp": false,
3253
- "multiple": false,
3254
- "type": "option"
3255
- },
3256
- "endpoint": {
3257
- "description": "endpoint to update",
3258
- "name": "endpoint",
3259
- "hasDynamicHelp": false,
3260
- "multiple": false,
3261
- "type": "option"
3262
- },
3263
3240
  "app": {
3264
3241
  "char": "a",
3265
3242
  "description": "app to run command against",
3266
3243
  "name": "app",
3267
- "required": true,
3268
3244
  "hasDynamicHelp": false,
3269
3245
  "multiple": false,
3270
3246
  "type": "option"
@@ -3276,61 +3252,69 @@
3276
3252
  "hasDynamicHelp": false,
3277
3253
  "multiple": false,
3278
3254
  "type": "option"
3255
+ },
3256
+ "pipeline": {
3257
+ "char": "p",
3258
+ "description": "name of pipeline",
3259
+ "name": "pipeline",
3260
+ "required": false,
3261
+ "hasDynamicHelp": false,
3262
+ "multiple": false,
3263
+ "type": "option"
3279
3264
  }
3280
3265
  },
3281
3266
  "hasDynamicHelp": false,
3282
3267
  "hiddenAliases": [],
3283
- "id": "certs:update",
3268
+ "id": "ci:rerun",
3284
3269
  "pluginAlias": "heroku",
3285
3270
  "pluginName": "heroku",
3286
3271
  "pluginType": "core",
3287
3272
  "strict": true,
3288
- "topic": "certs",
3289
3273
  "isESM": false,
3290
3274
  "relativePath": [
3291
3275
  "lib",
3292
3276
  "commands",
3293
- "certs",
3294
- "update.js"
3277
+ "ci",
3278
+ "rerun.js"
3295
3279
  ]
3296
3280
  },
3297
- "clients:create": {
3281
+ "ci:run": {
3298
3282
  "aliases": [],
3299
- "args": {
3300
- "name": {
3301
- "description": "name of the OAuth client",
3302
- "name": "name",
3303
- "required": true
3304
- },
3305
- "redirect_uri": {
3306
- "description": "redirect URL of the OAuth client",
3307
- "name": "redirect_uri",
3308
- "required": true
3309
- }
3310
- },
3311
- "description": "create a new OAuth client",
3283
+ "args": {},
3284
+ "description": "run tests against current directory",
3312
3285
  "examples": [
3313
- "$ heroku clients:create \"Amazing\" https://amazing-client.herokuapp.com/auth/heroku/callback"
3286
+ "$ heroku ci:run --app murmuring-headland-14719\n"
3314
3287
  ],
3315
3288
  "flags": {
3316
- "json": {
3317
- "char": "j",
3318
- "description": "output in json format",
3319
- "name": "json",
3320
- "allowNo": false,
3321
- "type": "boolean"
3289
+ "app": {
3290
+ "char": "a",
3291
+ "description": "app to run command against",
3292
+ "name": "app",
3293
+ "hasDynamicHelp": false,
3294
+ "multiple": false,
3295
+ "type": "option"
3322
3296
  },
3323
- "shell": {
3324
- "char": "s",
3325
- "description": "output in shell format",
3326
- "name": "shell",
3327
- "allowNo": false,
3328
- "type": "boolean"
3297
+ "remote": {
3298
+ "char": "r",
3299
+ "description": "git remote of app to use",
3300
+ "name": "remote",
3301
+ "hasDynamicHelp": false,
3302
+ "multiple": false,
3303
+ "type": "option"
3304
+ },
3305
+ "pipeline": {
3306
+ "char": "p",
3307
+ "description": "name of pipeline",
3308
+ "name": "pipeline",
3309
+ "required": false,
3310
+ "hasDynamicHelp": false,
3311
+ "multiple": false,
3312
+ "type": "option"
3329
3313
  }
3330
3314
  },
3331
3315
  "hasDynamicHelp": false,
3332
3316
  "hiddenAliases": [],
3333
- "id": "clients:create",
3317
+ "id": "ci:run",
3334
3318
  "pluginAlias": "heroku",
3335
3319
  "pluginName": "heroku",
3336
3320
  "pluginType": "core",
@@ -3339,174 +3323,183 @@
3339
3323
  "relativePath": [
3340
3324
  "lib",
3341
3325
  "commands",
3342
- "clients",
3343
- "create.js"
3326
+ "ci",
3327
+ "run.js"
3344
3328
  ]
3345
3329
  },
3346
- "clients:destroy": {
3330
+ "certs:add": {
3347
3331
  "aliases": [],
3348
3332
  "args": {
3349
- "id": {
3350
- "description": "ID of the OAuth client",
3351
- "name": "id",
3333
+ "CRT": {
3334
+ "description": "absolute path of the certificate file on disk",
3335
+ "name": "CRT",
3352
3336
  "required": true
3353
- }
3354
- },
3355
- "description": "delete client by ID",
3356
- "flags": {},
3357
- "hasDynamicHelp": false,
3358
- "hiddenAliases": [],
3359
- "id": "clients:destroy",
3360
- "pluginAlias": "heroku",
3361
- "pluginName": "heroku",
3362
- "pluginType": "core",
3363
- "strict": true,
3364
- "isESM": false,
3365
- "relativePath": [
3366
- "lib",
3367
- "commands",
3368
- "clients",
3369
- "destroy.js"
3370
- ]
3371
- },
3372
- "clients": {
3373
- "aliases": [],
3374
- "args": {},
3375
- "description": "list your OAuth clients",
3376
- "flags": {
3377
- "json": {
3378
- "char": "j",
3379
- "description": "output in json format",
3380
- "name": "json",
3381
- "allowNo": false,
3382
- "type": "boolean"
3383
- }
3384
- },
3385
- "hasDynamicHelp": false,
3386
- "hiddenAliases": [],
3387
- "id": "clients",
3388
- "pluginAlias": "heroku",
3389
- "pluginName": "heroku",
3390
- "pluginType": "core",
3391
- "strict": true,
3392
- "isESM": false,
3393
- "relativePath": [
3394
- "lib",
3395
- "commands",
3396
- "clients",
3397
- "index.js"
3398
- ]
3399
- },
3400
- "clients:info": {
3401
- "aliases": [],
3402
- "args": {
3403
- "id": {
3404
- "description": "ID of the OAuth client",
3405
- "name": "id",
3337
+ },
3338
+ "KEY": {
3339
+ "description": "absolute path of the key file on disk",
3340
+ "name": "KEY",
3406
3341
  "required": true
3407
3342
  }
3408
3343
  },
3409
- "description": "show details of an oauth client",
3344
+ "description": "Add an SSL certificate to an app.\n\n Note: certificates with PEM encoding are also valid.\n ",
3410
3345
  "examples": [
3411
- "$ heroku clients:info 36120128-fee7-455e-8b7f-807aee130946"
3346
+ "$ heroku certs:add example.com.crt example.com.key\n If you require intermediate certificates, refer to this article on merging certificates to get a complete chain:\n https://help.salesforce.com/s/articleView?id=000333504&type=1"
3412
3347
  ],
3413
3348
  "flags": {
3414
- "json": {
3415
- "char": "j",
3416
- "description": "output in json format",
3417
- "name": "json",
3418
- "allowNo": false,
3419
- "type": "boolean"
3349
+ "app": {
3350
+ "char": "a",
3351
+ "description": "app to run command against",
3352
+ "name": "app",
3353
+ "required": true,
3354
+ "hasDynamicHelp": false,
3355
+ "multiple": false,
3356
+ "type": "option"
3420
3357
  },
3421
- "shell": {
3422
- "char": "s",
3423
- "description": "output in shell format",
3424
- "name": "shell",
3425
- "allowNo": false,
3426
- "type": "boolean"
3358
+ "remote": {
3359
+ "char": "r",
3360
+ "description": "git remote of app to use",
3361
+ "name": "remote",
3362
+ "hasDynamicHelp": false,
3363
+ "multiple": false,
3364
+ "type": "option"
3427
3365
  }
3428
3366
  },
3429
3367
  "hasDynamicHelp": false,
3430
3368
  "hiddenAliases": [],
3431
- "id": "clients:info",
3369
+ "id": "certs:add",
3432
3370
  "pluginAlias": "heroku",
3433
3371
  "pluginName": "heroku",
3434
3372
  "pluginType": "core",
3435
3373
  "strict": true,
3374
+ "topic": "certs",
3436
3375
  "isESM": false,
3437
3376
  "relativePath": [
3438
3377
  "lib",
3439
3378
  "commands",
3440
- "clients",
3441
- "info.js"
3379
+ "certs",
3380
+ "add.js"
3442
3381
  ]
3443
3382
  },
3444
- "clients:rotate": {
3383
+ "certs:generate": {
3445
3384
  "aliases": [],
3446
3385
  "args": {
3447
- "id": {
3448
- "description": "ID of the OAuth client",
3449
- "name": "id",
3386
+ "domain": {
3387
+ "description": "domain name to generate",
3388
+ "name": "domain",
3450
3389
  "required": true
3451
3390
  }
3452
3391
  },
3453
- "description": "rotate OAuth client secret",
3392
+ "description": "generate a key and a CSR or self-signed certificate",
3454
3393
  "flags": {
3455
- "json": {
3456
- "char": "j",
3457
- "description": "output in json format",
3458
- "name": "json",
3394
+ "selfsigned": {
3395
+ "description": "generate a self-signed certificate instead of a CSR",
3396
+ "name": "selfsigned",
3397
+ "required": false,
3459
3398
  "allowNo": false,
3460
3399
  "type": "boolean"
3461
3400
  },
3462
- "shell": {
3463
- "char": "s",
3464
- "description": "output in shell format",
3465
- "name": "shell",
3401
+ "keysize": {
3402
+ "description": "RSA key size in bits (default: 2048)",
3403
+ "name": "keysize",
3404
+ "hasDynamicHelp": false,
3405
+ "multiple": false,
3406
+ "type": "option"
3407
+ },
3408
+ "owner": {
3409
+ "description": "name of organization certificate belongs to",
3410
+ "name": "owner",
3411
+ "hasDynamicHelp": false,
3412
+ "multiple": false,
3413
+ "type": "option"
3414
+ },
3415
+ "country": {
3416
+ "description": "country of owner, as a two-letter ISO country code",
3417
+ "name": "country",
3418
+ "hasDynamicHelp": false,
3419
+ "multiple": false,
3420
+ "type": "option"
3421
+ },
3422
+ "area": {
3423
+ "description": "sub-country area (state, province, etc.) of owner",
3424
+ "name": "area",
3425
+ "hasDynamicHelp": false,
3426
+ "multiple": false,
3427
+ "type": "option"
3428
+ },
3429
+ "city": {
3430
+ "description": "city of owner",
3431
+ "name": "city",
3432
+ "hasDynamicHelp": false,
3433
+ "multiple": false,
3434
+ "type": "option"
3435
+ },
3436
+ "subject": {
3437
+ "description": "specify entire certificate subject",
3438
+ "name": "subject",
3439
+ "hasDynamicHelp": false,
3440
+ "multiple": false,
3441
+ "type": "option"
3442
+ },
3443
+ "now": {
3444
+ "description": "do not prompt for any owner information",
3445
+ "name": "now",
3446
+ "required": false,
3466
3447
  "allowNo": false,
3467
3448
  "type": "boolean"
3449
+ },
3450
+ "app": {
3451
+ "char": "a",
3452
+ "description": "app to run command against",
3453
+ "name": "app",
3454
+ "required": true,
3455
+ "hasDynamicHelp": false,
3456
+ "multiple": false,
3457
+ "type": "option"
3458
+ },
3459
+ "remote": {
3460
+ "char": "r",
3461
+ "description": "git remote of app to use",
3462
+ "name": "remote",
3463
+ "hasDynamicHelp": false,
3464
+ "multiple": false,
3465
+ "type": "option"
3468
3466
  }
3469
3467
  },
3470
3468
  "hasDynamicHelp": false,
3471
3469
  "hiddenAliases": [],
3472
- "id": "clients:rotate",
3470
+ "id": "certs:generate",
3473
3471
  "pluginAlias": "heroku",
3474
3472
  "pluginName": "heroku",
3475
3473
  "pluginType": "core",
3476
3474
  "strict": true,
3475
+ "topic": "certs",
3476
+ "help": "Generate a key and certificate signing request (or self-signed certificate)\nfor an app. Prompts for information to put in the certificate unless --now\nis used, or at least one of the --subject, --owner, --country, --area, or\n--city options is specified.",
3477
3477
  "isESM": false,
3478
3478
  "relativePath": [
3479
3479
  "lib",
3480
3480
  "commands",
3481
- "clients",
3482
- "rotate.js"
3481
+ "certs",
3482
+ "generate.js"
3483
3483
  ]
3484
3484
  },
3485
- "clients:update": {
3485
+ "certs": {
3486
3486
  "aliases": [],
3487
- "args": {
3488
- "id": {
3489
- "description": "ID of the OAuth client",
3490
- "name": "id",
3491
- "required": true
3492
- }
3493
- },
3494
- "description": "update OAuth client",
3495
- "examples": [
3496
- "$ heroku clients:update 3e304bda-d376-4278-bdea-6d6c08aa1359 --url https://amazing-client.herokuapp.com/auth/heroku/callback"
3497
- ],
3487
+ "args": {},
3488
+ "description": "list SSL certificates for an app",
3498
3489
  "flags": {
3499
- "name": {
3500
- "char": "n",
3501
- "description": "change the client name",
3502
- "name": "name",
3490
+ "app": {
3491
+ "char": "a",
3492
+ "description": "app to run command against",
3493
+ "name": "app",
3494
+ "required": true,
3503
3495
  "hasDynamicHelp": false,
3504
3496
  "multiple": false,
3505
3497
  "type": "option"
3506
3498
  },
3507
- "url": {
3508
- "description": "change the client redirect URL",
3509
- "name": "url",
3499
+ "remote": {
3500
+ "char": "r",
3501
+ "description": "git remote of app to use",
3502
+ "name": "remote",
3510
3503
  "hasDynamicHelp": false,
3511
3504
  "multiple": false,
3512
3505
  "type": "option"
@@ -3514,48 +3507,58 @@
3514
3507
  },
3515
3508
  "hasDynamicHelp": false,
3516
3509
  "hiddenAliases": [],
3517
- "id": "clients:update",
3510
+ "id": "certs",
3518
3511
  "pluginAlias": "heroku",
3519
3512
  "pluginName": "heroku",
3520
3513
  "pluginType": "core",
3521
3514
  "strict": true,
3515
+ "topic": "certs",
3522
3516
  "isESM": false,
3523
3517
  "relativePath": [
3524
3518
  "lib",
3525
3519
  "commands",
3526
- "clients",
3527
- "update.js"
3520
+ "certs",
3521
+ "index.js"
3528
3522
  ]
3529
3523
  },
3530
- "ci:debug": {
3524
+ "certs:info": {
3531
3525
  "aliases": [],
3532
3526
  "args": {},
3533
- "description": "opens an interactive test debugging session with the contents of the current directory",
3527
+ "description": "show certificate information for an SSL certificate",
3534
3528
  "flags": {
3535
- "app": {
3536
- "char": "a",
3537
- "description": "app to run command against",
3538
- "name": "app",
3529
+ "name": {
3530
+ "description": "name to check info on",
3531
+ "name": "name",
3539
3532
  "hasDynamicHelp": false,
3540
3533
  "multiple": false,
3541
3534
  "type": "option"
3542
3535
  },
3543
- "no-cache": {
3544
- "description": "start test run with an empty cache",
3545
- "name": "no-cache",
3546
- "allowNo": false,
3547
- "type": "boolean"
3536
+ "endpoint": {
3537
+ "description": "endpoint to check info on",
3538
+ "name": "endpoint",
3539
+ "hasDynamicHelp": false,
3540
+ "multiple": false,
3541
+ "type": "option"
3548
3542
  },
3549
- "no-setup": {
3550
- "description": "start test dyno without running test-setup",
3551
- "name": "no-setup",
3543
+ "show-domains": {
3544
+ "description": "show associated domains",
3545
+ "name": "show-domains",
3552
3546
  "allowNo": false,
3553
3547
  "type": "boolean"
3554
3548
  },
3555
- "pipeline": {
3556
- "char": "p",
3557
- "description": "name of pipeline",
3558
- "name": "pipeline",
3549
+ "app": {
3550
+ "char": "a",
3551
+ "description": "app to run command against",
3552
+ "name": "app",
3553
+ "required": true,
3554
+ "hasDynamicHelp": false,
3555
+ "multiple": false,
3556
+ "type": "option"
3557
+ },
3558
+ "remote": {
3559
+ "char": "r",
3560
+ "description": "git remote of app to use",
3561
+ "name": "remote",
3559
3562
  "hasDynamicHelp": false,
3560
3563
  "multiple": false,
3561
3564
  "type": "option"
@@ -3563,33 +3566,51 @@
3563
3566
  },
3564
3567
  "hasDynamicHelp": false,
3565
3568
  "hiddenAliases": [],
3566
- "id": "ci:debug",
3569
+ "id": "certs:info",
3567
3570
  "pluginAlias": "heroku",
3568
3571
  "pluginName": "heroku",
3569
3572
  "pluginType": "core",
3570
3573
  "strict": true,
3571
- "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",
3572
- "topic": "ci",
3574
+ "topic": "certs",
3573
3575
  "isESM": false,
3574
3576
  "relativePath": [
3575
3577
  "lib",
3576
3578
  "commands",
3577
- "ci",
3578
- "debug.js"
3579
+ "certs",
3580
+ "info.js"
3579
3581
  ]
3580
3582
  },
3581
- "ci": {
3583
+ "certs:remove": {
3582
3584
  "aliases": [],
3583
3585
  "args": {},
3584
- "description": "display the most recent CI runs for the given pipeline",
3585
- "examples": [
3586
- "$ heroku ci --app murmuring-headland-14719\n"
3587
- ],
3586
+ "description": "remove an SSL certificate from an app",
3588
3587
  "flags": {
3588
+ "confirm": {
3589
+ "hidden": true,
3590
+ "name": "confirm",
3591
+ "hasDynamicHelp": false,
3592
+ "multiple": false,
3593
+ "type": "option"
3594
+ },
3595
+ "name": {
3596
+ "description": "name to remove",
3597
+ "name": "name",
3598
+ "hasDynamicHelp": false,
3599
+ "multiple": false,
3600
+ "type": "option"
3601
+ },
3602
+ "endpoint": {
3603
+ "description": "endpoint to remove",
3604
+ "name": "endpoint",
3605
+ "hasDynamicHelp": false,
3606
+ "multiple": false,
3607
+ "type": "option"
3608
+ },
3589
3609
  "app": {
3590
3610
  "char": "a",
3591
3611
  "description": "app to run command against",
3592
3612
  "name": "app",
3613
+ "required": true,
3593
3614
  "hasDynamicHelp": false,
3594
3615
  "multiple": false,
3595
3616
  "type": "option"
@@ -3601,89 +3622,77 @@
3601
3622
  "hasDynamicHelp": false,
3602
3623
  "multiple": false,
3603
3624
  "type": "option"
3604
- },
3605
- "watch": {
3606
- "description": "keep running and watch for new and update tests",
3607
- "name": "watch",
3608
- "required": false,
3609
- "allowNo": false,
3610
- "type": "boolean"
3611
- },
3612
- "pipeline": {
3613
- "char": "p",
3614
- "description": "name of pipeline",
3615
- "name": "pipeline",
3616
- "required": false,
3617
- "hasDynamicHelp": false,
3618
- "multiple": false,
3619
- "type": "option"
3620
- },
3621
- "json": {
3622
- "description": "output in json format",
3623
- "name": "json",
3624
- "required": false,
3625
- "allowNo": false,
3626
- "type": "boolean"
3627
3625
  }
3628
3626
  },
3629
3627
  "hasDynamicHelp": false,
3630
3628
  "hiddenAliases": [],
3631
- "id": "ci",
3629
+ "id": "certs:remove",
3632
3630
  "pluginAlias": "heroku",
3633
3631
  "pluginName": "heroku",
3634
3632
  "pluginType": "core",
3635
3633
  "strict": true,
3634
+ "topic": "certs",
3636
3635
  "isESM": false,
3637
3636
  "relativePath": [
3638
3637
  "lib",
3639
3638
  "commands",
3640
- "ci",
3641
- "index.js"
3639
+ "certs",
3640
+ "remove.js"
3642
3641
  ]
3643
3642
  },
3644
- "ci:info": {
3643
+ "certs:update": {
3645
3644
  "aliases": [],
3646
3645
  "args": {
3647
- "test-run": {
3648
- "description": "auto-incremented test run number",
3649
- "name": "test-run",
3646
+ "CRT": {
3647
+ "description": "absolute path of the certificate file on disk",
3648
+ "name": "CRT",
3649
+ "required": true
3650
+ },
3651
+ "KEY": {
3652
+ "description": "absolute path of the key file on disk",
3653
+ "name": "KEY",
3650
3654
  "required": true
3651
3655
  }
3652
3656
  },
3653
- "description": "show the status of a specific test run",
3657
+ "description": "update an SSL certificate on an app\nNote: certificates with PEM encoding are also valid\n",
3654
3658
  "examples": [
3655
- "$ heroku ci:info 1288 --app murmuring-headland-14719\n"
3659
+ "$ heroku certs:update example.com.crt example.com.key\n\n If you require intermediate certificates, refer to this article on merging certificates to get a complete chain:\n https://help.salesforce.com/s/articleView?id=000333504&type=1\n"
3656
3660
  ],
3657
3661
  "flags": {
3658
- "app": {
3659
- "char": "a",
3660
- "description": "app to run command against",
3661
- "name": "app",
3662
+ "confirm": {
3663
+ "hidden": true,
3664
+ "name": "confirm",
3662
3665
  "hasDynamicHelp": false,
3663
3666
  "multiple": false,
3664
3667
  "type": "option"
3665
3668
  },
3666
- "remote": {
3667
- "char": "r",
3668
- "description": "git remote of app to use",
3669
- "name": "remote",
3669
+ "name": {
3670
+ "description": "name to update",
3671
+ "name": "name",
3670
3672
  "hasDynamicHelp": false,
3671
3673
  "multiple": false,
3672
3674
  "type": "option"
3673
3675
  },
3674
- "node": {
3675
- "description": "the node number to show its setup and output",
3676
- "name": "node",
3677
- "required": false,
3676
+ "endpoint": {
3677
+ "description": "endpoint to update",
3678
+ "name": "endpoint",
3678
3679
  "hasDynamicHelp": false,
3679
3680
  "multiple": false,
3680
3681
  "type": "option"
3681
3682
  },
3682
- "pipeline": {
3683
- "char": "p",
3684
- "description": "name of pipeline",
3685
- "name": "pipeline",
3686
- "required": false,
3683
+ "app": {
3684
+ "char": "a",
3685
+ "description": "app to run command against",
3686
+ "name": "app",
3687
+ "required": true,
3688
+ "hasDynamicHelp": false,
3689
+ "multiple": false,
3690
+ "type": "option"
3691
+ },
3692
+ "remote": {
3693
+ "char": "r",
3694
+ "description": "git remote of app to use",
3695
+ "name": "remote",
3687
3696
  "hasDynamicHelp": false,
3688
3697
  "multiple": false,
3689
3698
  "type": "option"
@@ -3691,64 +3700,83 @@
3691
3700
  },
3692
3701
  "hasDynamicHelp": false,
3693
3702
  "hiddenAliases": [],
3694
- "id": "ci:info",
3703
+ "id": "certs:update",
3695
3704
  "pluginAlias": "heroku",
3696
3705
  "pluginName": "heroku",
3697
3706
  "pluginType": "core",
3698
3707
  "strict": true,
3708
+ "topic": "certs",
3699
3709
  "isESM": false,
3700
3710
  "relativePath": [
3701
3711
  "lib",
3702
3712
  "commands",
3703
- "ci",
3704
- "info.js"
3713
+ "certs",
3714
+ "update.js"
3705
3715
  ]
3706
3716
  },
3707
- "ci:last": {
3717
+ "clients:create": {
3708
3718
  "aliases": [],
3709
- "args": {},
3710
- "description": "looks for the most recent run and returns the output of that run",
3719
+ "args": {
3720
+ "name": {
3721
+ "description": "name of the OAuth client",
3722
+ "name": "name",
3723
+ "required": true
3724
+ },
3725
+ "redirect_uri": {
3726
+ "description": "redirect URL of the OAuth client",
3727
+ "name": "redirect_uri",
3728
+ "required": true
3729
+ }
3730
+ },
3731
+ "description": "create a new OAuth client",
3711
3732
  "examples": [
3712
- "$ heroku ci:last --pipeline=my-pipeline --node 100\n"
3733
+ "$ heroku clients:create \"Amazing\" https://amazing-client.herokuapp.com/auth/heroku/callback"
3713
3734
  ],
3714
3735
  "flags": {
3715
- "app": {
3716
- "char": "a",
3717
- "description": "app to run command against",
3718
- "name": "app",
3719
- "hasDynamicHelp": false,
3720
- "multiple": false,
3721
- "type": "option"
3722
- },
3723
- "remote": {
3724
- "char": "r",
3725
- "description": "git remote of app to use",
3726
- "name": "remote",
3727
- "hasDynamicHelp": false,
3728
- "multiple": false,
3729
- "type": "option"
3730
- },
3731
- "node": {
3732
- "description": "the node number to show its setup and output",
3733
- "name": "node",
3734
- "required": false,
3735
- "hasDynamicHelp": false,
3736
- "multiple": false,
3737
- "type": "option"
3736
+ "json": {
3737
+ "char": "j",
3738
+ "description": "output in json format",
3739
+ "name": "json",
3740
+ "allowNo": false,
3741
+ "type": "boolean"
3738
3742
  },
3739
- "pipeline": {
3740
- "char": "p",
3741
- "description": "name of pipeline",
3742
- "name": "pipeline",
3743
- "required": false,
3744
- "hasDynamicHelp": false,
3745
- "multiple": false,
3746
- "type": "option"
3743
+ "shell": {
3744
+ "char": "s",
3745
+ "description": "output in shell format",
3746
+ "name": "shell",
3747
+ "allowNo": false,
3748
+ "type": "boolean"
3749
+ }
3750
+ },
3751
+ "hasDynamicHelp": false,
3752
+ "hiddenAliases": [],
3753
+ "id": "clients:create",
3754
+ "pluginAlias": "heroku",
3755
+ "pluginName": "heroku",
3756
+ "pluginType": "core",
3757
+ "strict": true,
3758
+ "isESM": false,
3759
+ "relativePath": [
3760
+ "lib",
3761
+ "commands",
3762
+ "clients",
3763
+ "create.js"
3764
+ ]
3765
+ },
3766
+ "clients:destroy": {
3767
+ "aliases": [],
3768
+ "args": {
3769
+ "id": {
3770
+ "description": "ID of the OAuth client",
3771
+ "name": "id",
3772
+ "required": true
3747
3773
  }
3748
3774
  },
3775
+ "description": "delete client by ID",
3776
+ "flags": {},
3749
3777
  "hasDynamicHelp": false,
3750
3778
  "hiddenAliases": [],
3751
- "id": "ci:last",
3779
+ "id": "clients:destroy",
3752
3780
  "pluginAlias": "heroku",
3753
3781
  "pluginName": "heroku",
3754
3782
  "pluginType": "core",
@@ -3757,135 +3785,111 @@
3757
3785
  "relativePath": [
3758
3786
  "lib",
3759
3787
  "commands",
3760
- "ci",
3761
- "last.js"
3788
+ "clients",
3789
+ "destroy.js"
3762
3790
  ]
3763
3791
  },
3764
- "ci:migrate-manifest": {
3792
+ "clients": {
3765
3793
  "aliases": [],
3766
3794
  "args": {},
3767
- "description": "app-ci.json is deprecated. Run this command to migrate to app.json with an environments key.",
3768
- "examples": [
3769
- "$ heroku ci:migrate-manifest"
3770
- ],
3771
- "flags": {},
3795
+ "description": "list your OAuth clients",
3796
+ "flags": {
3797
+ "json": {
3798
+ "char": "j",
3799
+ "description": "output in json format",
3800
+ "name": "json",
3801
+ "allowNo": false,
3802
+ "type": "boolean"
3803
+ }
3804
+ },
3772
3805
  "hasDynamicHelp": false,
3773
3806
  "hiddenAliases": [],
3774
- "id": "ci:migrate-manifest",
3807
+ "id": "clients",
3775
3808
  "pluginAlias": "heroku",
3776
3809
  "pluginName": "heroku",
3777
3810
  "pluginType": "core",
3778
3811
  "strict": true,
3779
- "topic": "ci",
3780
3812
  "isESM": false,
3781
3813
  "relativePath": [
3782
3814
  "lib",
3783
3815
  "commands",
3784
- "ci",
3785
- "migrate-manifest.js"
3816
+ "clients",
3817
+ "index.js"
3786
3818
  ]
3787
3819
  },
3788
- "ci:open": {
3820
+ "clients:info": {
3789
3821
  "aliases": [],
3790
- "args": {},
3791
- "description": "open the Dashboard version of Heroku CI",
3822
+ "args": {
3823
+ "id": {
3824
+ "description": "ID of the OAuth client",
3825
+ "name": "id",
3826
+ "required": true
3827
+ }
3828
+ },
3829
+ "description": "show details of an oauth client",
3792
3830
  "examples": [
3793
- "$ heroku ci:open --app murmuring-headland-14719"
3831
+ "$ heroku clients:info 36120128-fee7-455e-8b7f-807aee130946"
3794
3832
  ],
3795
3833
  "flags": {
3796
- "help": {
3797
- "char": "h",
3798
- "description": "Show CLI help.",
3799
- "name": "help",
3834
+ "json": {
3835
+ "char": "j",
3836
+ "description": "output in json format",
3837
+ "name": "json",
3800
3838
  "allowNo": false,
3801
3839
  "type": "boolean"
3802
3840
  },
3803
- "app": {
3804
- "char": "a",
3805
- "description": "app to run command against",
3806
- "name": "app",
3807
- "required": true,
3808
- "hasDynamicHelp": false,
3809
- "multiple": false,
3810
- "type": "option"
3811
- },
3812
- "remote": {
3813
- "char": "r",
3814
- "description": "git remote of app to use",
3815
- "name": "remote",
3816
- "hasDynamicHelp": false,
3817
- "multiple": false,
3818
- "type": "option"
3819
- },
3820
- "pipeline": {
3821
- "char": "p",
3822
- "description": "name of pipeline",
3823
- "name": "pipeline",
3824
- "required": false,
3825
- "hasDynamicHelp": false,
3826
- "multiple": false,
3827
- "type": "option"
3841
+ "shell": {
3842
+ "char": "s",
3843
+ "description": "output in shell format",
3844
+ "name": "shell",
3845
+ "allowNo": false,
3846
+ "type": "boolean"
3828
3847
  }
3829
3848
  },
3830
3849
  "hasDynamicHelp": false,
3831
3850
  "hiddenAliases": [],
3832
- "id": "ci:open",
3851
+ "id": "clients:info",
3833
3852
  "pluginAlias": "heroku",
3834
3853
  "pluginName": "heroku",
3835
3854
  "pluginType": "core",
3836
3855
  "strict": true,
3837
- "topic": "ci",
3838
3856
  "isESM": false,
3839
3857
  "relativePath": [
3840
3858
  "lib",
3841
3859
  "commands",
3842
- "ci",
3843
- "open.js"
3860
+ "clients",
3861
+ "info.js"
3844
3862
  ]
3845
3863
  },
3846
- "ci:rerun": {
3864
+ "clients:rotate": {
3847
3865
  "aliases": [],
3848
3866
  "args": {
3849
- "number": {
3850
- "description": "auto-incremented test run number",
3851
- "name": "number",
3852
- "required": false
3867
+ "id": {
3868
+ "description": "ID of the OAuth client",
3869
+ "name": "id",
3870
+ "required": true
3853
3871
  }
3854
3872
  },
3855
- "description": "rerun tests against current directory",
3856
- "examples": [
3857
- "$ heroku ci:rerun 985 --app murmuring-headland-14719\n"
3858
- ],
3873
+ "description": "rotate OAuth client secret",
3859
3874
  "flags": {
3860
- "app": {
3861
- "char": "a",
3862
- "description": "app to run command against",
3863
- "name": "app",
3864
- "hasDynamicHelp": false,
3865
- "multiple": false,
3866
- "type": "option"
3867
- },
3868
- "remote": {
3869
- "char": "r",
3870
- "description": "git remote of app to use",
3871
- "name": "remote",
3872
- "hasDynamicHelp": false,
3873
- "multiple": false,
3874
- "type": "option"
3875
+ "json": {
3876
+ "char": "j",
3877
+ "description": "output in json format",
3878
+ "name": "json",
3879
+ "allowNo": false,
3880
+ "type": "boolean"
3875
3881
  },
3876
- "pipeline": {
3877
- "char": "p",
3878
- "description": "name of pipeline",
3879
- "name": "pipeline",
3880
- "required": false,
3881
- "hasDynamicHelp": false,
3882
- "multiple": false,
3883
- "type": "option"
3882
+ "shell": {
3883
+ "char": "s",
3884
+ "description": "output in shell format",
3885
+ "name": "shell",
3886
+ "allowNo": false,
3887
+ "type": "boolean"
3884
3888
  }
3885
3889
  },
3886
3890
  "hasDynamicHelp": false,
3887
3891
  "hiddenAliases": [],
3888
- "id": "ci:rerun",
3892
+ "id": "clients:rotate",
3889
3893
  "pluginAlias": "heroku",
3890
3894
  "pluginName": "heroku",
3891
3895
  "pluginType": "core",
@@ -3894,39 +3898,35 @@
3894
3898
  "relativePath": [
3895
3899
  "lib",
3896
3900
  "commands",
3897
- "ci",
3898
- "rerun.js"
3901
+ "clients",
3902
+ "rotate.js"
3899
3903
  ]
3900
3904
  },
3901
- "ci:run": {
3905
+ "clients:update": {
3902
3906
  "aliases": [],
3903
- "args": {},
3904
- "description": "run tests against current directory",
3907
+ "args": {
3908
+ "id": {
3909
+ "description": "ID of the OAuth client",
3910
+ "name": "id",
3911
+ "required": true
3912
+ }
3913
+ },
3914
+ "description": "update OAuth client",
3905
3915
  "examples": [
3906
- "$ heroku ci:run --app murmuring-headland-14719\n"
3916
+ "$ heroku clients:update 3e304bda-d376-4278-bdea-6d6c08aa1359 --url https://amazing-client.herokuapp.com/auth/heroku/callback"
3907
3917
  ],
3908
3918
  "flags": {
3909
- "app": {
3910
- "char": "a",
3911
- "description": "app to run command against",
3912
- "name": "app",
3913
- "hasDynamicHelp": false,
3914
- "multiple": false,
3915
- "type": "option"
3916
- },
3917
- "remote": {
3918
- "char": "r",
3919
- "description": "git remote of app to use",
3920
- "name": "remote",
3919
+ "name": {
3920
+ "char": "n",
3921
+ "description": "change the client name",
3922
+ "name": "name",
3921
3923
  "hasDynamicHelp": false,
3922
3924
  "multiple": false,
3923
3925
  "type": "option"
3924
3926
  },
3925
- "pipeline": {
3926
- "char": "p",
3927
- "description": "name of pipeline",
3928
- "name": "pipeline",
3929
- "required": false,
3927
+ "url": {
3928
+ "description": "change the client redirect URL",
3929
+ "name": "url",
3930
3930
  "hasDynamicHelp": false,
3931
3931
  "multiple": false,
3932
3932
  "type": "option"
@@ -3934,7 +3934,7 @@
3934
3934
  },
3935
3935
  "hasDynamicHelp": false,
3936
3936
  "hiddenAliases": [],
3937
- "id": "ci:run",
3937
+ "id": "clients:update",
3938
3938
  "pluginAlias": "heroku",
3939
3939
  "pluginName": "heroku",
3940
3940
  "pluginType": "core",
@@ -3943,8 +3943,8 @@
3943
3943
  "relativePath": [
3944
3944
  "lib",
3945
3945
  "commands",
3946
- "ci",
3947
- "run.js"
3946
+ "clients",
3947
+ "update.js"
3948
3948
  ]
3949
3949
  },
3950
3950
  "config:edit": {
@@ -7145,7 +7145,59 @@
7145
7145
  },
7146
7146
  "hasDynamicHelp": false,
7147
7147
  "hiddenAliases": [],
7148
- "id": "pg:reset",
7148
+ "id": "pg:reset",
7149
+ "pluginAlias": "heroku",
7150
+ "pluginName": "heroku",
7151
+ "pluginType": "core",
7152
+ "strict": true,
7153
+ "topic": "pg",
7154
+ "isESM": false,
7155
+ "relativePath": [
7156
+ "lib",
7157
+ "commands",
7158
+ "pg",
7159
+ "reset.js"
7160
+ ]
7161
+ },
7162
+ "pg:unfollow": {
7163
+ "aliases": [],
7164
+ "args": {
7165
+ "database": {
7166
+ "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::`",
7167
+ "name": "database",
7168
+ "required": true
7169
+ }
7170
+ },
7171
+ "description": "stop a replica from following and make it a writeable database",
7172
+ "flags": {
7173
+ "confirm": {
7174
+ "char": "c",
7175
+ "name": "confirm",
7176
+ "hasDynamicHelp": false,
7177
+ "multiple": false,
7178
+ "type": "option"
7179
+ },
7180
+ "app": {
7181
+ "char": "a",
7182
+ "description": "app to run command against",
7183
+ "name": "app",
7184
+ "required": true,
7185
+ "hasDynamicHelp": false,
7186
+ "multiple": false,
7187
+ "type": "option"
7188
+ },
7189
+ "remote": {
7190
+ "char": "r",
7191
+ "description": "git remote of app to use",
7192
+ "name": "remote",
7193
+ "hasDynamicHelp": false,
7194
+ "multiple": false,
7195
+ "type": "option"
7196
+ }
7197
+ },
7198
+ "hasDynamicHelp": false,
7199
+ "hiddenAliases": [],
7200
+ "id": "pg:unfollow",
7149
7201
  "pluginAlias": "heroku",
7150
7202
  "pluginName": "heroku",
7151
7203
  "pluginType": "core",
@@ -7156,19 +7208,18 @@
7156
7208
  "lib",
7157
7209
  "commands",
7158
7210
  "pg",
7159
- "reset.js"
7211
+ "unfollow.js"
7160
7212
  ]
7161
7213
  },
7162
- "pg:unfollow": {
7214
+ "pg:upgrade": {
7163
7215
  "aliases": [],
7164
7216
  "args": {
7165
7217
  "database": {
7166
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::`",
7167
- "name": "database",
7168
- "required": true
7218
+ "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
7219
+ "name": "database"
7169
7220
  }
7170
7221
  },
7171
- "description": "stop a replica from following and make it a writeable database",
7222
+ "description": "For an Essential-* plan, this command upgrades the database's PostgreSQL version. For a Standard-tier and higher plan, this command unfollows the leader database before upgrading the PostgreSQL version.\nTo upgrade to another PostgreSQL version, use pg:copy instead\n",
7172
7223
  "flags": {
7173
7224
  "confirm": {
7174
7225
  "char": "c",
@@ -7177,6 +7228,14 @@
7177
7228
  "multiple": false,
7178
7229
  "type": "option"
7179
7230
  },
7231
+ "version": {
7232
+ "char": "v",
7233
+ "description": "PostgreSQL version to upgrade to",
7234
+ "name": "version",
7235
+ "hasDynamicHelp": false,
7236
+ "multiple": false,
7237
+ "type": "option"
7238
+ },
7180
7239
  "app": {
7181
7240
  "char": "a",
7182
7241
  "description": "app to run command against",
@@ -7197,7 +7256,7 @@
7197
7256
  },
7198
7257
  "hasDynamicHelp": false,
7199
7258
  "hiddenAliases": [],
7200
- "id": "pg:unfollow",
7259
+ "id": "pg:upgrade",
7201
7260
  "pluginAlias": "heroku",
7202
7261
  "pluginName": "heroku",
7203
7262
  "pluginType": "core",
@@ -7208,7 +7267,7 @@
7208
7267
  "lib",
7209
7268
  "commands",
7210
7269
  "pg",
7211
- "unfollow.js"
7270
+ "upgrade.js"
7212
7271
  ]
7213
7272
  },
7214
7273
  "pg:vacuum-stats": {
@@ -10796,251 +10855,16 @@
10796
10855
  "relativePath": [
10797
10856
  "lib",
10798
10857
  "commands",
10799
- "apps",
10800
- "favorites",
10801
- "index.js"
10802
- ]
10803
- },
10804
- "apps:favorites:remove": {
10805
- "aliases": [],
10806
- "args": {},
10807
- "description": "unfavorites an app",
10808
- "flags": {
10809
- "app": {
10810
- "char": "a",
10811
- "description": "app to run command against",
10812
- "name": "app",
10813
- "required": true,
10814
- "hasDynamicHelp": false,
10815
- "multiple": false,
10816
- "type": "option"
10817
- },
10818
- "remote": {
10819
- "char": "r",
10820
- "description": "git remote of app to use",
10821
- "name": "remote",
10822
- "hasDynamicHelp": false,
10823
- "multiple": false,
10824
- "type": "option"
10825
- }
10826
- },
10827
- "hasDynamicHelp": false,
10828
- "hiddenAliases": [],
10829
- "id": "apps:favorites:remove",
10830
- "pluginAlias": "heroku",
10831
- "pluginName": "heroku",
10832
- "pluginType": "core",
10833
- "strict": true,
10834
- "topic": "apps",
10835
- "isESM": false,
10836
- "relativePath": [
10837
- "lib",
10838
- "commands",
10839
- "apps",
10840
- "favorites",
10841
- "remove.js"
10842
- ]
10843
- },
10844
- "apps:stacks": {
10845
- "aliases": [],
10846
- "args": {},
10847
- "description": "show the list of available stacks",
10848
- "flags": {
10849
- "app": {
10850
- "char": "a",
10851
- "description": "app to run command against",
10852
- "name": "app",
10853
- "required": true,
10854
- "hasDynamicHelp": false,
10855
- "multiple": false,
10856
- "type": "option"
10857
- },
10858
- "remote": {
10859
- "char": "r",
10860
- "description": "git remote of app to use",
10861
- "name": "remote",
10862
- "hasDynamicHelp": false,
10863
- "multiple": false,
10864
- "type": "option"
10865
- }
10866
- },
10867
- "hasDynamicHelp": false,
10868
- "hiddenAliases": [
10869
- "stack"
10870
- ],
10871
- "id": "apps:stacks",
10872
- "pluginAlias": "heroku",
10873
- "pluginName": "heroku",
10874
- "pluginType": "core",
10875
- "strict": true,
10876
- "topic": "apps",
10877
- "isESM": false,
10878
- "relativePath": [
10879
- "lib",
10880
- "commands",
10881
- "apps",
10882
- "stacks",
10883
- "index.js"
10884
- ]
10885
- },
10886
- "apps:stacks:set": {
10887
- "aliases": [],
10888
- "args": {
10889
- "stack": {
10890
- "description": "unique name or identifier of the stack",
10891
- "name": "stack",
10892
- "required": true
10893
- }
10894
- },
10895
- "description": "set the stack of an app",
10896
- "examples": "$ heroku stack:set heroku-24 -a myapp\nSetting stack to heroku-24... done\nYou will need to redeploy myapp for the change to take effect.\nRun git push heroku main to trigger a new build on myapp.",
10897
- "flags": {
10898
- "app": {
10899
- "char": "a",
10900
- "description": "app to run command against",
10901
- "name": "app",
10902
- "required": true,
10903
- "hasDynamicHelp": false,
10904
- "multiple": false,
10905
- "type": "option"
10906
- },
10907
- "remote": {
10908
- "char": "r",
10909
- "description": "git remote of app to use",
10910
- "name": "remote",
10911
- "hasDynamicHelp": false,
10912
- "multiple": false,
10913
- "type": "option"
10914
- }
10915
- },
10916
- "hasDynamicHelp": false,
10917
- "hiddenAliases": [
10918
- "stack:set"
10919
- ],
10920
- "id": "apps:stacks:set",
10921
- "pluginAlias": "heroku",
10922
- "pluginName": "heroku",
10923
- "pluginType": "core",
10924
- "strict": true,
10925
- "example": "$ heroku stack:set heroku-24 -a myapp\nSetting stack to heroku-24... done\nYou will need to redeploy myapp for the change to take effect.\nRun git push heroku main to trigger a new build on myapp.",
10926
- "isESM": false,
10927
- "relativePath": [
10928
- "lib",
10929
- "commands",
10930
- "apps",
10931
- "stacks",
10932
- "set.js"
10933
- ]
10934
- },
10935
- "auth:2fa:disable": {
10936
- "aliases": [
10937
- "twofactor:disable",
10938
- "2fa:disable"
10939
- ],
10940
- "args": {},
10941
- "description": "disables 2fa on account",
10942
- "examples": "$ heroku auth:2fa:disable",
10943
- "flags": {},
10944
- "hasDynamicHelp": false,
10945
- "hiddenAliases": [],
10946
- "id": "auth:2fa:disable",
10947
- "pluginAlias": "heroku",
10948
- "pluginName": "heroku",
10949
- "pluginType": "core",
10950
- "strict": true,
10951
- "example": "$ heroku auth:2fa:disable",
10952
- "isESM": false,
10953
- "relativePath": [
10954
- "lib",
10955
- "commands",
10956
- "auth",
10957
- "2fa",
10958
- "disable.js"
10959
- ]
10960
- },
10961
- "auth:2fa": {
10962
- "aliases": [
10963
- "2fa",
10964
- "twofactor"
10965
- ],
10966
- "args": {},
10967
- "description": "check 2fa status",
10968
- "flags": {},
10969
- "hasDynamicHelp": false,
10970
- "hiddenAliases": [],
10971
- "id": "auth:2fa",
10972
- "pluginAlias": "heroku",
10973
- "pluginName": "heroku",
10974
- "pluginType": "core",
10975
- "strict": true,
10976
- "isESM": false,
10977
- "relativePath": [
10978
- "lib",
10979
- "commands",
10980
- "auth",
10981
- "2fa",
10982
- "index.js"
10983
- ]
10984
- },
10985
- "certs:auto:disable": {
10986
- "aliases": [],
10987
- "args": {},
10988
- "description": "disable ACM for an app",
10989
- "flags": {
10990
- "confirm": {
10991
- "char": "c",
10992
- "hidden": true,
10993
- "name": "confirm",
10994
- "hasDynamicHelp": false,
10995
- "multiple": false,
10996
- "type": "option"
10997
- },
10998
- "app": {
10999
- "char": "a",
11000
- "description": "app to run command against",
11001
- "name": "app",
11002
- "required": true,
11003
- "hasDynamicHelp": false,
11004
- "multiple": false,
11005
- "type": "option"
11006
- },
11007
- "remote": {
11008
- "char": "r",
11009
- "description": "git remote of app to use",
11010
- "name": "remote",
11011
- "hasDynamicHelp": false,
11012
- "multiple": false,
11013
- "type": "option"
11014
- }
11015
- },
11016
- "hasDynamicHelp": false,
11017
- "hiddenAliases": [],
11018
- "id": "certs:auto:disable",
11019
- "pluginAlias": "heroku",
11020
- "pluginName": "heroku",
11021
- "pluginType": "core",
11022
- "strict": true,
11023
- "topic": "certs",
11024
- "isESM": false,
11025
- "relativePath": [
11026
- "lib",
11027
- "commands",
11028
- "certs",
11029
- "auto",
11030
- "disable.js"
10858
+ "apps",
10859
+ "favorites",
10860
+ "index.js"
11031
10861
  ]
11032
10862
  },
11033
- "certs:auto:enable": {
10863
+ "apps:favorites:remove": {
11034
10864
  "aliases": [],
11035
10865
  "args": {},
11036
- "description": "enable ACM status for an app",
10866
+ "description": "unfavorites an app",
11037
10867
  "flags": {
11038
- "wait": {
11039
- "description": "watch ACM status and exit when complete",
11040
- "name": "wait",
11041
- "allowNo": false,
11042
- "type": "boolean"
11043
- },
11044
10868
  "app": {
11045
10869
  "char": "a",
11046
10870
  "description": "app to run command against",
@@ -11061,32 +10885,26 @@
11061
10885
  },
11062
10886
  "hasDynamicHelp": false,
11063
10887
  "hiddenAliases": [],
11064
- "id": "certs:auto:enable",
10888
+ "id": "apps:favorites:remove",
11065
10889
  "pluginAlias": "heroku",
11066
10890
  "pluginName": "heroku",
11067
10891
  "pluginType": "core",
11068
10892
  "strict": true,
11069
- "topic": "certs",
10893
+ "topic": "apps",
11070
10894
  "isESM": false,
11071
10895
  "relativePath": [
11072
10896
  "lib",
11073
10897
  "commands",
11074
- "certs",
11075
- "auto",
11076
- "enable.js"
10898
+ "apps",
10899
+ "favorites",
10900
+ "remove.js"
11077
10901
  ]
11078
10902
  },
11079
- "certs:auto": {
10903
+ "apps:stacks": {
11080
10904
  "aliases": [],
11081
10905
  "args": {},
11082
- "description": "show ACM status for an app",
10906
+ "description": "show the list of available stacks",
11083
10907
  "flags": {
11084
- "wait": {
11085
- "description": "watch ACM status and display the status when complete",
11086
- "name": "wait",
11087
- "allowNo": false,
11088
- "type": "boolean"
11089
- },
11090
10908
  "app": {
11091
10909
  "char": "a",
11092
10910
  "description": "app to run command against",
@@ -11106,26 +10924,35 @@
11106
10924
  }
11107
10925
  },
11108
10926
  "hasDynamicHelp": false,
11109
- "hiddenAliases": [],
11110
- "id": "certs:auto",
10927
+ "hiddenAliases": [
10928
+ "stack"
10929
+ ],
10930
+ "id": "apps:stacks",
11111
10931
  "pluginAlias": "heroku",
11112
10932
  "pluginName": "heroku",
11113
10933
  "pluginType": "core",
11114
10934
  "strict": true,
11115
- "topic": "certs",
10935
+ "topic": "apps",
11116
10936
  "isESM": false,
11117
10937
  "relativePath": [
11118
10938
  "lib",
11119
10939
  "commands",
11120
- "certs",
11121
- "auto",
10940
+ "apps",
10941
+ "stacks",
11122
10942
  "index.js"
11123
10943
  ]
11124
10944
  },
11125
- "certs:auto:refresh": {
10945
+ "apps:stacks:set": {
11126
10946
  "aliases": [],
11127
- "args": {},
11128
- "description": "refresh ACM for an app",
10947
+ "args": {
10948
+ "stack": {
10949
+ "description": "unique name or identifier of the stack",
10950
+ "name": "stack",
10951
+ "required": true
10952
+ }
10953
+ },
10954
+ "description": "set the stack of an app",
10955
+ "examples": "$ heroku stack:set heroku-24 -a myapp\nSetting stack to heroku-24... done\nYou will need to redeploy myapp for the change to take effect.\nRun git push heroku main to trigger a new build on myapp.",
11129
10956
  "flags": {
11130
10957
  "app": {
11131
10958
  "char": "a",
@@ -11146,39 +10973,61 @@
11146
10973
  }
11147
10974
  },
11148
10975
  "hasDynamicHelp": false,
10976
+ "hiddenAliases": [
10977
+ "stack:set"
10978
+ ],
10979
+ "id": "apps:stacks:set",
10980
+ "pluginAlias": "heroku",
10981
+ "pluginName": "heroku",
10982
+ "pluginType": "core",
10983
+ "strict": true,
10984
+ "example": "$ heroku stack:set heroku-24 -a myapp\nSetting stack to heroku-24... done\nYou will need to redeploy myapp for the change to take effect.\nRun git push heroku main to trigger a new build on myapp.",
10985
+ "isESM": false,
10986
+ "relativePath": [
10987
+ "lib",
10988
+ "commands",
10989
+ "apps",
10990
+ "stacks",
10991
+ "set.js"
10992
+ ]
10993
+ },
10994
+ "auth:2fa:disable": {
10995
+ "aliases": [
10996
+ "twofactor:disable",
10997
+ "2fa:disable"
10998
+ ],
10999
+ "args": {},
11000
+ "description": "disables 2fa on account",
11001
+ "examples": "$ heroku auth:2fa:disable",
11002
+ "flags": {},
11003
+ "hasDynamicHelp": false,
11149
11004
  "hiddenAliases": [],
11150
- "id": "certs:auto:refresh",
11005
+ "id": "auth:2fa:disable",
11151
11006
  "pluginAlias": "heroku",
11152
11007
  "pluginName": "heroku",
11153
11008
  "pluginType": "core",
11154
11009
  "strict": true,
11155
- "topic": "certs",
11010
+ "example": "$ heroku auth:2fa:disable",
11156
11011
  "isESM": false,
11157
11012
  "relativePath": [
11158
11013
  "lib",
11159
11014
  "commands",
11160
- "certs",
11161
- "auto",
11162
- "refresh.js"
11015
+ "auth",
11016
+ "2fa",
11017
+ "disable.js"
11163
11018
  ]
11164
11019
  },
11165
- "certs:auto:wait": {
11166
- "aliases": [],
11020
+ "auth:2fa": {
11021
+ "aliases": [
11022
+ "2fa",
11023
+ "twofactor"
11024
+ ],
11167
11025
  "args": {},
11168
- "description": "waits for the certificate to be activated",
11169
- "flags": {
11170
- "help": {
11171
- "char": "h",
11172
- "description": "Show CLI help.",
11173
- "name": "help",
11174
- "allowNo": false,
11175
- "type": "boolean"
11176
- }
11177
- },
11026
+ "description": "check 2fa status",
11027
+ "flags": {},
11178
11028
  "hasDynamicHelp": false,
11179
- "hidden": true,
11180
11029
  "hiddenAliases": [],
11181
- "id": "certs:auto:wait",
11030
+ "id": "auth:2fa",
11182
11031
  "pluginAlias": "heroku",
11183
11032
  "pluginName": "heroku",
11184
11033
  "pluginType": "core",
@@ -11187,9 +11036,9 @@
11187
11036
  "relativePath": [
11188
11037
  "lib",
11189
11038
  "commands",
11190
- "certs",
11191
- "auto",
11192
- "wait.js"
11039
+ "auth",
11040
+ "2fa",
11041
+ "index.js"
11193
11042
  ]
11194
11043
  },
11195
11044
  "ci:config:get": {
@@ -11424,73 +11273,19 @@
11424
11273
  "unset.js"
11425
11274
  ]
11426
11275
  },
11427
- "pg:backups:cancel": {
11428
- "aliases": [],
11429
- "args": {
11430
- "backup_id": {
11431
- "description": "ID of the backup. If omitted, we use the last unfinished backup ID.",
11432
- "name": "backup_id"
11433
- }
11434
- },
11435
- "description": "cancel an in-progress backup or restore (default newest)",
11436
- "flags": {
11437
- "app": {
11438
- "char": "a",
11439
- "description": "app to run command against",
11440
- "name": "app",
11441
- "required": true,
11442
- "hasDynamicHelp": false,
11443
- "multiple": false,
11444
- "type": "option"
11445
- },
11446
- "remote": {
11447
- "char": "r",
11448
- "description": "git remote of app to use",
11449
- "name": "remote",
11450
- "hasDynamicHelp": false,
11451
- "multiple": false,
11452
- "type": "option"
11453
- }
11454
- },
11455
- "hasDynamicHelp": false,
11456
- "hiddenAliases": [],
11457
- "id": "pg:backups:cancel",
11458
- "pluginAlias": "heroku",
11459
- "pluginName": "heroku",
11460
- "pluginType": "core",
11461
- "strict": true,
11462
- "topic": "pg",
11463
- "isESM": false,
11464
- "relativePath": [
11465
- "lib",
11466
- "commands",
11467
- "pg",
11468
- "backups",
11469
- "cancel.js"
11470
- ]
11471
- },
11472
- "pg:backups:capture": {
11276
+ "certs:auto:disable": {
11473
11277
  "aliases": [],
11474
- "args": {
11475
- "database": {
11476
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
11477
- "name": "database"
11478
- }
11479
- },
11480
- "description": "capture a new backup",
11278
+ "args": {},
11279
+ "description": "disable ACM for an app",
11481
11280
  "flags": {
11482
- "wait-interval": {
11483
- "name": "wait-interval",
11281
+ "confirm": {
11282
+ "char": "c",
11283
+ "hidden": true,
11284
+ "name": "confirm",
11484
11285
  "hasDynamicHelp": false,
11485
11286
  "multiple": false,
11486
11287
  "type": "option"
11487
11288
  },
11488
- "verbose": {
11489
- "char": "v",
11490
- "name": "verbose",
11491
- "allowNo": false,
11492
- "type": "boolean"
11493
- },
11494
11289
  "app": {
11495
11290
  "char": "a",
11496
11291
  "description": "app to run command against",
@@ -11511,41 +11306,31 @@
11511
11306
  },
11512
11307
  "hasDynamicHelp": false,
11513
11308
  "hiddenAliases": [],
11514
- "id": "pg:backups:capture",
11309
+ "id": "certs:auto:disable",
11515
11310
  "pluginAlias": "heroku",
11516
11311
  "pluginName": "heroku",
11517
11312
  "pluginType": "core",
11518
11313
  "strict": true,
11519
- "topic": "pg",
11314
+ "topic": "certs",
11520
11315
  "isESM": false,
11521
11316
  "relativePath": [
11522
11317
  "lib",
11523
11318
  "commands",
11524
- "pg",
11525
- "backups",
11526
- "capture.js"
11319
+ "certs",
11320
+ "auto",
11321
+ "disable.js"
11527
11322
  ]
11528
11323
  },
11529
- "pg:backups:delete": {
11324
+ "certs:auto:enable": {
11530
11325
  "aliases": [],
11531
- "args": {
11532
- "backup_id": {
11533
- "description": "ID of the backup",
11534
- "name": "backup_id",
11535
- "required": true
11536
- }
11537
- },
11538
- "description": "delete a backup",
11539
- "examples": [
11540
- "$ heroku pg:backup:delete --app APP_ID BACKUP_ID"
11541
- ],
11326
+ "args": {},
11327
+ "description": "enable ACM status for an app",
11542
11328
  "flags": {
11543
- "confirm": {
11544
- "char": "c",
11545
- "name": "confirm",
11546
- "hasDynamicHelp": false,
11547
- "multiple": false,
11548
- "type": "option"
11329
+ "wait": {
11330
+ "description": "watch ACM status and exit when complete",
11331
+ "name": "wait",
11332
+ "allowNo": false,
11333
+ "type": "boolean"
11549
11334
  },
11550
11335
  "app": {
11551
11336
  "char": "a",
@@ -11567,38 +11352,31 @@
11567
11352
  },
11568
11353
  "hasDynamicHelp": false,
11569
11354
  "hiddenAliases": [],
11570
- "id": "pg:backups:delete",
11355
+ "id": "certs:auto:enable",
11571
11356
  "pluginAlias": "heroku",
11572
11357
  "pluginName": "heroku",
11573
11358
  "pluginType": "core",
11574
11359
  "strict": true,
11575
- "topic": "pg",
11360
+ "topic": "certs",
11576
11361
  "isESM": false,
11577
11362
  "relativePath": [
11578
11363
  "lib",
11579
11364
  "commands",
11580
- "pg",
11581
- "backups",
11582
- "delete.js"
11365
+ "certs",
11366
+ "auto",
11367
+ "enable.js"
11583
11368
  ]
11584
11369
  },
11585
- "pg:backups:download": {
11586
- "aliases": [],
11587
- "args": {
11588
- "backup_id": {
11589
- "description": "ID of the backup. If omitted, we use the last backup ID.",
11590
- "name": "backup_id"
11591
- }
11592
- },
11593
- "description": "downloads database backup",
11594
- "flags": {
11595
- "output": {
11596
- "char": "o",
11597
- "description": "location to download to. Defaults to latest.dump",
11598
- "name": "output",
11599
- "hasDynamicHelp": false,
11600
- "multiple": false,
11601
- "type": "option"
11370
+ "certs:auto": {
11371
+ "aliases": [],
11372
+ "args": {},
11373
+ "description": "show ACM status for an app",
11374
+ "flags": {
11375
+ "wait": {
11376
+ "description": "watch ACM status and display the status when complete",
11377
+ "name": "wait",
11378
+ "allowNo": false,
11379
+ "type": "boolean"
11602
11380
  },
11603
11381
  "app": {
11604
11382
  "char": "a",
@@ -11620,70 +11398,26 @@
11620
11398
  },
11621
11399
  "hasDynamicHelp": false,
11622
11400
  "hiddenAliases": [],
11623
- "id": "pg:backups:download",
11401
+ "id": "certs:auto",
11624
11402
  "pluginAlias": "heroku",
11625
11403
  "pluginName": "heroku",
11626
11404
  "pluginType": "core",
11627
11405
  "strict": true,
11628
- "topic": "pg",
11406
+ "topic": "certs",
11629
11407
  "isESM": false,
11630
11408
  "relativePath": [
11631
11409
  "lib",
11632
11410
  "commands",
11633
- "pg",
11634
- "backups",
11635
- "download.js"
11411
+ "certs",
11412
+ "auto",
11413
+ "index.js"
11636
11414
  ]
11637
11415
  },
11638
- "pg:backups": {
11416
+ "certs:auto:refresh": {
11639
11417
  "aliases": [],
11640
11418
  "args": {},
11641
- "description": "list database backups",
11419
+ "description": "refresh ACM for an app",
11642
11420
  "flags": {
11643
- "verbose": {
11644
- "char": "v",
11645
- "hidden": true,
11646
- "name": "verbose",
11647
- "allowNo": false,
11648
- "type": "boolean"
11649
- },
11650
- "confirm": {
11651
- "char": "c",
11652
- "hidden": true,
11653
- "name": "confirm",
11654
- "hasDynamicHelp": false,
11655
- "multiple": false,
11656
- "type": "option"
11657
- },
11658
- "output": {
11659
- "char": "o",
11660
- "hidden": true,
11661
- "name": "output",
11662
- "hasDynamicHelp": false,
11663
- "multiple": false,
11664
- "type": "option"
11665
- },
11666
- "wait-interval": {
11667
- "hidden": true,
11668
- "name": "wait-interval",
11669
- "hasDynamicHelp": false,
11670
- "multiple": false,
11671
- "type": "option"
11672
- },
11673
- "at": {
11674
- "hidden": true,
11675
- "name": "at",
11676
- "hasDynamicHelp": false,
11677
- "multiple": false,
11678
- "type": "option"
11679
- },
11680
- "quiet": {
11681
- "char": "q",
11682
- "hidden": true,
11683
- "name": "quiet",
11684
- "allowNo": false,
11685
- "type": "boolean"
11686
- },
11687
11421
  "app": {
11688
11422
  "char": "a",
11689
11423
  "description": "app to run command against",
@@ -11704,30 +11438,60 @@
11704
11438
  },
11705
11439
  "hasDynamicHelp": false,
11706
11440
  "hiddenAliases": [],
11707
- "id": "pg:backups",
11441
+ "id": "certs:auto:refresh",
11708
11442
  "pluginAlias": "heroku",
11709
11443
  "pluginName": "heroku",
11710
11444
  "pluginType": "core",
11711
- "strict": false,
11712
- "topic": "pg",
11445
+ "strict": true,
11446
+ "topic": "certs",
11713
11447
  "isESM": false,
11714
11448
  "relativePath": [
11715
11449
  "lib",
11716
11450
  "commands",
11717
- "pg",
11718
- "backups",
11719
- "index.js"
11451
+ "certs",
11452
+ "auto",
11453
+ "refresh.js"
11720
11454
  ]
11721
11455
  },
11722
- "pg:backups:info": {
11456
+ "certs:auto:wait": {
11457
+ "aliases": [],
11458
+ "args": {},
11459
+ "description": "waits for the certificate to be activated",
11460
+ "flags": {
11461
+ "help": {
11462
+ "char": "h",
11463
+ "description": "Show CLI help.",
11464
+ "name": "help",
11465
+ "allowNo": false,
11466
+ "type": "boolean"
11467
+ }
11468
+ },
11469
+ "hasDynamicHelp": false,
11470
+ "hidden": true,
11471
+ "hiddenAliases": [],
11472
+ "id": "certs:auto:wait",
11473
+ "pluginAlias": "heroku",
11474
+ "pluginName": "heroku",
11475
+ "pluginType": "core",
11476
+ "strict": true,
11477
+ "isESM": false,
11478
+ "relativePath": [
11479
+ "lib",
11480
+ "commands",
11481
+ "certs",
11482
+ "auto",
11483
+ "wait.js"
11484
+ ]
11485
+ },
11486
+ "pg:backups:cancel": {
11723
11487
  "aliases": [],
11724
11488
  "args": {
11725
11489
  "backup_id": {
11726
- "description": "ID of the backup. If omitted, we use the last backup ID.",
11490
+ "description": "ID of the backup. If omitted, we use the last unfinished backup ID.",
11727
11491
  "name": "backup_id"
11728
11492
  }
11729
11493
  },
11730
- "description": "get information about a specific backup",
11494
+ "description": "cancel an in-progress backup or restore (default newest)",
11731
11495
  "flags": {
11732
11496
  "app": {
11733
11497
  "char": "a",
@@ -11749,7 +11513,7 @@
11749
11513
  },
11750
11514
  "hasDynamicHelp": false,
11751
11515
  "hiddenAliases": [],
11752
- "id": "pg:backups:info",
11516
+ "id": "pg:backups:cancel",
11753
11517
  "pluginAlias": "heroku",
11754
11518
  "pluginName": "heroku",
11755
11519
  "pluginType": "core",
@@ -11761,42 +11525,21 @@
11761
11525
  "commands",
11762
11526
  "pg",
11763
11527
  "backups",
11764
- "info.js"
11528
+ "cancel.js"
11765
11529
  ]
11766
11530
  },
11767
- "pg:backups:restore": {
11531
+ "pg:backups:capture": {
11768
11532
  "aliases": [],
11769
11533
  "args": {
11770
- "backup": {
11771
- "description": "URL or backup ID from another app",
11772
- "name": "backup"
11773
- },
11774
11534
  "database": {
11775
11535
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
11776
11536
  "name": "database"
11777
11537
  }
11778
11538
  },
11779
- "description": "restore a backup (default latest) to a database",
11780
- "examples": [
11781
- "# Basic Restore from Backup ID\n$ heroku pg:backups:restore b101 DATABASE_URL --app my-heroku-app\n",
11782
- "# Restore from Another App\n$ heroku pg:backups:restore example-app::b101 DATABASE_URL --app my-heroku-app\n",
11783
- "# Restore from a Public URL\n$ heroku pg:backups:restore 'https://s3.amazonaws.com/my-bucket/mydb.dump' DATABASE_URL --app my-heroku-app\n",
11784
- "# Verbose Output\n$ heroku pg:backups:restore b101 DATABASE_URL --app my-heroku-app --verbose\n",
11785
- "# Restore with Confirmation Prompt\n$ heroku pg:backups:restore b101 DATABASE_URL --app my-heroku-app --confirm my-heroku-app\n",
11786
- "# Restore with a Specific Database Name\n$ heroku pg:backups:restore b101 HEROKU_POSTGRESQL_PINK --app my-heroku-app\n"
11787
- ],
11539
+ "description": "capture a new backup",
11788
11540
  "flags": {
11789
11541
  "wait-interval": {
11790
11542
  "name": "wait-interval",
11791
- "default": 3,
11792
- "hasDynamicHelp": false,
11793
- "multiple": false,
11794
- "type": "option"
11795
- },
11796
- "extensions": {
11797
- "char": "e",
11798
- "description": "comma-separated list of extensions to pre-install in the default \npublic schema or an optional custom schema \n(for example: hstore or myschema.hstore)\n",
11799
- "name": "extensions",
11800
11543
  "hasDynamicHelp": false,
11801
11544
  "multiple": false,
11802
11545
  "type": "option"
@@ -11807,13 +11550,6 @@
11807
11550
  "allowNo": false,
11808
11551
  "type": "boolean"
11809
11552
  },
11810
- "confirm": {
11811
- "char": "c",
11812
- "name": "confirm",
11813
- "hasDynamicHelp": false,
11814
- "multiple": false,
11815
- "type": "option"
11816
- },
11817
11553
  "app": {
11818
11554
  "char": "a",
11819
11555
  "description": "app to run command against",
@@ -11834,7 +11570,7 @@
11834
11570
  },
11835
11571
  "hasDynamicHelp": false,
11836
11572
  "hiddenAliases": [],
11837
- "id": "pg:backups:restore",
11573
+ "id": "pg:backups:capture",
11838
11574
  "pluginAlias": "heroku",
11839
11575
  "pluginName": "heroku",
11840
11576
  "pluginType": "core",
@@ -11846,23 +11582,26 @@
11846
11582
  "commands",
11847
11583
  "pg",
11848
11584
  "backups",
11849
- "restore.js"
11585
+ "capture.js"
11850
11586
  ]
11851
11587
  },
11852
- "pg:backups:schedule": {
11588
+ "pg:backups:delete": {
11853
11589
  "aliases": [],
11854
11590
  "args": {
11855
- "database": {
11856
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
11857
- "name": "database"
11591
+ "backup_id": {
11592
+ "description": "ID of the backup",
11593
+ "name": "backup_id",
11594
+ "required": true
11858
11595
  }
11859
11596
  },
11860
- "description": "schedule daily backups for given database",
11597
+ "description": "delete a backup",
11598
+ "examples": [
11599
+ "$ heroku pg:backup:delete --app APP_ID BACKUP_ID"
11600
+ ],
11861
11601
  "flags": {
11862
- "at": {
11863
- "description": "at a specific (24h) hour in the given timezone. Defaults to UTC. --at '[HOUR]:00 [TIMEZONE]'",
11864
- "name": "at",
11865
- "required": true,
11602
+ "confirm": {
11603
+ "char": "c",
11604
+ "name": "confirm",
11866
11605
  "hasDynamicHelp": false,
11867
11606
  "multiple": false,
11868
11607
  "type": "option"
@@ -11887,7 +11626,7 @@
11887
11626
  },
11888
11627
  "hasDynamicHelp": false,
11889
11628
  "hiddenAliases": [],
11890
- "id": "pg:backups:schedule",
11629
+ "id": "pg:backups:delete",
11891
11630
  "pluginAlias": "heroku",
11892
11631
  "pluginName": "heroku",
11893
11632
  "pluginType": "core",
@@ -11899,14 +11638,27 @@
11899
11638
  "commands",
11900
11639
  "pg",
11901
11640
  "backups",
11902
- "schedule.js"
11641
+ "delete.js"
11903
11642
  ]
11904
11643
  },
11905
- "pg:backups:schedules": {
11644
+ "pg:backups:download": {
11906
11645
  "aliases": [],
11907
- "args": {},
11908
- "description": "list backup schedule",
11646
+ "args": {
11647
+ "backup_id": {
11648
+ "description": "ID of the backup. If omitted, we use the last backup ID.",
11649
+ "name": "backup_id"
11650
+ }
11651
+ },
11652
+ "description": "downloads database backup",
11909
11653
  "flags": {
11654
+ "output": {
11655
+ "char": "o",
11656
+ "description": "location to download to. Defaults to latest.dump",
11657
+ "name": "output",
11658
+ "hasDynamicHelp": false,
11659
+ "multiple": false,
11660
+ "type": "option"
11661
+ },
11910
11662
  "app": {
11911
11663
  "char": "a",
11912
11664
  "description": "app to run command against",
@@ -11927,7 +11679,7 @@
11927
11679
  },
11928
11680
  "hasDynamicHelp": false,
11929
11681
  "hiddenAliases": [],
11930
- "id": "pg:backups:schedules",
11682
+ "id": "pg:backups:download",
11931
11683
  "pluginAlias": "heroku",
11932
11684
  "pluginName": "heroku",
11933
11685
  "pluginType": "core",
@@ -11939,19 +11691,58 @@
11939
11691
  "commands",
11940
11692
  "pg",
11941
11693
  "backups",
11942
- "schedules.js"
11694
+ "download.js"
11943
11695
  ]
11944
11696
  },
11945
- "pg:backups:unschedule": {
11697
+ "pg:backups": {
11946
11698
  "aliases": [],
11947
- "args": {
11948
- "database": {
11949
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use a random database attached to the app.",
11950
- "name": "database"
11951
- }
11952
- },
11953
- "description": "stop daily backups",
11699
+ "args": {},
11700
+ "description": "list database backups",
11954
11701
  "flags": {
11702
+ "verbose": {
11703
+ "char": "v",
11704
+ "hidden": true,
11705
+ "name": "verbose",
11706
+ "allowNo": false,
11707
+ "type": "boolean"
11708
+ },
11709
+ "confirm": {
11710
+ "char": "c",
11711
+ "hidden": true,
11712
+ "name": "confirm",
11713
+ "hasDynamicHelp": false,
11714
+ "multiple": false,
11715
+ "type": "option"
11716
+ },
11717
+ "output": {
11718
+ "char": "o",
11719
+ "hidden": true,
11720
+ "name": "output",
11721
+ "hasDynamicHelp": false,
11722
+ "multiple": false,
11723
+ "type": "option"
11724
+ },
11725
+ "wait-interval": {
11726
+ "hidden": true,
11727
+ "name": "wait-interval",
11728
+ "hasDynamicHelp": false,
11729
+ "multiple": false,
11730
+ "type": "option"
11731
+ },
11732
+ "at": {
11733
+ "hidden": true,
11734
+ "name": "at",
11735
+ "hasDynamicHelp": false,
11736
+ "multiple": false,
11737
+ "type": "option"
11738
+ },
11739
+ "quiet": {
11740
+ "char": "q",
11741
+ "hidden": true,
11742
+ "name": "quiet",
11743
+ "allowNo": false,
11744
+ "type": "boolean"
11745
+ },
11955
11746
  "app": {
11956
11747
  "char": "a",
11957
11748
  "description": "app to run command against",
@@ -11972,11 +11763,11 @@
11972
11763
  },
11973
11764
  "hasDynamicHelp": false,
11974
11765
  "hiddenAliases": [],
11975
- "id": "pg:backups:unschedule",
11766
+ "id": "pg:backups",
11976
11767
  "pluginAlias": "heroku",
11977
11768
  "pluginName": "heroku",
11978
11769
  "pluginType": "core",
11979
- "strict": true,
11770
+ "strict": false,
11980
11771
  "topic": "pg",
11981
11772
  "isESM": false,
11982
11773
  "relativePath": [
@@ -11984,10 +11775,10 @@
11984
11775
  "commands",
11985
11776
  "pg",
11986
11777
  "backups",
11987
- "unschedule.js"
11778
+ "index.js"
11988
11779
  ]
11989
11780
  },
11990
- "pg:backups:url": {
11781
+ "pg:backups:info": {
11991
11782
  "aliases": [],
11992
11783
  "args": {
11993
11784
  "backup_id": {
@@ -11995,7 +11786,7 @@
11995
11786
  "name": "backup_id"
11996
11787
  }
11997
11788
  },
11998
- "description": "get secret but publicly accessible URL of a backup",
11789
+ "description": "get information about a specific backup",
11999
11790
  "flags": {
12000
11791
  "app": {
12001
11792
  "char": "a",
@@ -12017,7 +11808,7 @@
12017
11808
  },
12018
11809
  "hasDynamicHelp": false,
12019
11810
  "hiddenAliases": [],
12020
- "id": "pg:backups:url",
11811
+ "id": "pg:backups:info",
12021
11812
  "pluginAlias": "heroku",
12022
11813
  "pluginName": "heroku",
12023
11814
  "pluginType": "core",
@@ -12029,79 +11820,55 @@
12029
11820
  "commands",
12030
11821
  "pg",
12031
11822
  "backups",
12032
- "url.js"
11823
+ "info.js"
12033
11824
  ]
12034
11825
  },
12035
- "pg:connection-pooling:attach": {
11826
+ "pg:backups:restore": {
12036
11827
  "aliases": [],
12037
11828
  "args": {
11829
+ "backup": {
11830
+ "description": "URL or backup ID from another app",
11831
+ "name": "backup"
11832
+ },
12038
11833
  "database": {
12039
11834
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12040
11835
  "name": "database"
12041
11836
  }
12042
11837
  },
12043
- "description": "add an attachment to a database using connection pooling",
11838
+ "description": "restore a backup (default latest) to a database",
12044
11839
  "examples": [
12045
- "$ heroku pg:connection-pooling:attach postgresql-something-12345\n"
11840
+ "# Basic Restore from Backup ID\n$ heroku pg:backups:restore b101 DATABASE_URL --app my-heroku-app\n",
11841
+ "# Restore from Another App\n$ heroku pg:backups:restore example-app::b101 DATABASE_URL --app my-heroku-app\n",
11842
+ "# Restore from a Public URL\n$ heroku pg:backups:restore 'https://s3.amazonaws.com/my-bucket/mydb.dump' DATABASE_URL --app my-heroku-app\n",
11843
+ "# Verbose Output\n$ heroku pg:backups:restore b101 DATABASE_URL --app my-heroku-app --verbose\n",
11844
+ "# Restore with Confirmation Prompt\n$ heroku pg:backups:restore b101 DATABASE_URL --app my-heroku-app --confirm my-heroku-app\n",
11845
+ "# Restore with a Specific Database Name\n$ heroku pg:backups:restore b101 HEROKU_POSTGRESQL_PINK --app my-heroku-app\n"
12046
11846
  ],
12047
11847
  "flags": {
12048
- "as": {
12049
- "description": "name for add-on attachment",
12050
- "name": "as",
11848
+ "wait-interval": {
11849
+ "name": "wait-interval",
11850
+ "default": 3,
12051
11851
  "hasDynamicHelp": false,
12052
11852
  "multiple": false,
12053
11853
  "type": "option"
12054
11854
  },
12055
- "app": {
12056
- "char": "a",
12057
- "description": "app to run command against",
12058
- "name": "app",
12059
- "required": true,
11855
+ "extensions": {
11856
+ "char": "e",
11857
+ "description": "comma-separated list of extensions to pre-install in the default \npublic schema or an optional custom schema \n(for example: hstore or myschema.hstore)\n",
11858
+ "name": "extensions",
12060
11859
  "hasDynamicHelp": false,
12061
11860
  "multiple": false,
12062
11861
  "type": "option"
12063
11862
  },
12064
- "remote": {
12065
- "char": "r",
12066
- "description": "git remote of app to use",
12067
- "name": "remote",
12068
- "hasDynamicHelp": false,
12069
- "multiple": false,
12070
- "type": "option"
12071
- }
12072
- },
12073
- "hasDynamicHelp": false,
12074
- "hiddenAliases": [],
12075
- "id": "pg:connection-pooling:attach",
12076
- "pluginAlias": "heroku",
12077
- "pluginName": "heroku",
12078
- "pluginType": "core",
12079
- "strict": true,
12080
- "topic": "pg",
12081
- "isESM": false,
12082
- "relativePath": [
12083
- "lib",
12084
- "commands",
12085
- "pg",
12086
- "connection-pooling",
12087
- "attach.js"
12088
- ]
12089
- },
12090
- "pg:credentials:create": {
12091
- "aliases": [],
12092
- "args": {
12093
- "database": {
12094
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12095
- "name": "database"
12096
- }
12097
- },
12098
- "description": "create credential within database\nExample:\n\n heroku pg:credentials:create postgresql-something-12345 --name new-cred-name\n",
12099
- "flags": {
12100
- "name": {
12101
- "char": "n",
12102
- "description": "name of the new credential within the database",
12103
- "name": "name",
12104
- "required": true,
11863
+ "verbose": {
11864
+ "char": "v",
11865
+ "name": "verbose",
11866
+ "allowNo": false,
11867
+ "type": "boolean"
11868
+ },
11869
+ "confirm": {
11870
+ "char": "c",
11871
+ "name": "confirm",
12105
11872
  "hasDynamicHelp": false,
12106
11873
  "multiple": false,
12107
11874
  "type": "option"
@@ -12126,7 +11893,7 @@
12126
11893
  },
12127
11894
  "hasDynamicHelp": false,
12128
11895
  "hiddenAliases": [],
12129
- "id": "pg:credentials:create",
11896
+ "id": "pg:backups:restore",
12130
11897
  "pluginAlias": "heroku",
12131
11898
  "pluginName": "heroku",
12132
11899
  "pluginType": "core",
@@ -12137,11 +11904,11 @@
12137
11904
  "lib",
12138
11905
  "commands",
12139
11906
  "pg",
12140
- "credentials",
12141
- "create.js"
11907
+ "backups",
11908
+ "restore.js"
12142
11909
  ]
12143
11910
  },
12144
- "pg:credentials:destroy": {
11911
+ "pg:backups:schedule": {
12145
11912
  "aliases": [],
12146
11913
  "args": {
12147
11914
  "database": {
@@ -12149,25 +11916,16 @@
12149
11916
  "name": "database"
12150
11917
  }
12151
11918
  },
12152
- "description": "destroy credential within database",
12153
- "examples": "$ heroku pg:credentials:destroy postgresql-transparent-56874 --name cred-name -a woodstock-production",
11919
+ "description": "schedule daily backups for given database",
12154
11920
  "flags": {
12155
- "name": {
12156
- "char": "n",
12157
- "description": "unique identifier for the credential",
12158
- "name": "name",
11921
+ "at": {
11922
+ "description": "at a specific (24h) hour in the given timezone. Defaults to UTC. --at '[HOUR]:00 [TIMEZONE]'",
11923
+ "name": "at",
12159
11924
  "required": true,
12160
11925
  "hasDynamicHelp": false,
12161
11926
  "multiple": false,
12162
11927
  "type": "option"
12163
11928
  },
12164
- "confirm": {
12165
- "char": "c",
12166
- "name": "confirm",
12167
- "hasDynamicHelp": false,
12168
- "multiple": false,
12169
- "type": "option"
12170
- },
12171
11929
  "app": {
12172
11930
  "char": "a",
12173
11931
  "description": "app to run command against",
@@ -12188,40 +11946,26 @@
12188
11946
  },
12189
11947
  "hasDynamicHelp": false,
12190
11948
  "hiddenAliases": [],
12191
- "id": "pg:credentials:destroy",
11949
+ "id": "pg:backups:schedule",
12192
11950
  "pluginAlias": "heroku",
12193
11951
  "pluginName": "heroku",
12194
11952
  "pluginType": "core",
12195
11953
  "strict": true,
12196
11954
  "topic": "pg",
12197
- "example": "$ heroku pg:credentials:destroy postgresql-transparent-56874 --name cred-name -a woodstock-production",
12198
11955
  "isESM": false,
12199
11956
  "relativePath": [
12200
11957
  "lib",
12201
11958
  "commands",
12202
11959
  "pg",
12203
- "credentials",
12204
- "destroy.js"
11960
+ "backups",
11961
+ "schedule.js"
12205
11962
  ]
12206
11963
  },
12207
- "pg:credentials:repair-default": {
11964
+ "pg:backups:schedules": {
12208
11965
  "aliases": [],
12209
- "args": {
12210
- "database": {
12211
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12212
- "name": "database"
12213
- }
12214
- },
12215
- "description": "repair the permissions of the default credential within database",
12216
- "examples": "$ heroku pg:credentials:repair-default postgresql-something-12345",
11966
+ "args": {},
11967
+ "description": "list backup schedule",
12217
11968
  "flags": {
12218
- "confirm": {
12219
- "char": "c",
12220
- "name": "confirm",
12221
- "hasDynamicHelp": false,
12222
- "multiple": false,
12223
- "type": "option"
12224
- },
12225
11969
  "app": {
12226
11970
  "char": "a",
12227
11971
  "description": "app to run command against",
@@ -12242,62 +11986,31 @@
12242
11986
  },
12243
11987
  "hasDynamicHelp": false,
12244
11988
  "hiddenAliases": [],
12245
- "id": "pg:credentials:repair-default",
11989
+ "id": "pg:backups:schedules",
12246
11990
  "pluginAlias": "heroku",
12247
11991
  "pluginName": "heroku",
12248
11992
  "pluginType": "core",
12249
11993
  "strict": true,
12250
11994
  "topic": "pg",
12251
- "example": "$ heroku pg:credentials:repair-default postgresql-something-12345",
12252
11995
  "isESM": false,
12253
11996
  "relativePath": [
12254
11997
  "lib",
12255
11998
  "commands",
12256
11999
  "pg",
12257
- "credentials",
12258
- "repair-default.js"
12000
+ "backups",
12001
+ "schedules.js"
12259
12002
  ]
12260
12003
  },
12261
- "pg:credentials:rotate": {
12004
+ "pg:backups:unschedule": {
12262
12005
  "aliases": [],
12263
12006
  "args": {
12264
12007
  "database": {
12265
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12008
+ "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use a random database attached to the app.",
12266
12009
  "name": "database"
12267
12010
  }
12268
12011
  },
12269
- "description": "rotate the database credentials",
12012
+ "description": "stop daily backups",
12270
12013
  "flags": {
12271
- "name": {
12272
- "char": "n",
12273
- "description": "which credential to rotate (default credentials if not specified and --all is not used)",
12274
- "name": "name",
12275
- "hasDynamicHelp": false,
12276
- "multiple": false,
12277
- "type": "option"
12278
- },
12279
- "all": {
12280
- "description": "rotate all credentials",
12281
- "exclusive": [
12282
- "name"
12283
- ],
12284
- "name": "all",
12285
- "allowNo": false,
12286
- "type": "boolean"
12287
- },
12288
- "confirm": {
12289
- "char": "c",
12290
- "name": "confirm",
12291
- "hasDynamicHelp": false,
12292
- "multiple": false,
12293
- "type": "option"
12294
- },
12295
- "force": {
12296
- "description": "forces rotating the targeted credentials",
12297
- "name": "force",
12298
- "allowNo": false,
12299
- "type": "boolean"
12300
- },
12301
12014
  "app": {
12302
12015
  "char": "a",
12303
12016
  "description": "app to run command against",
@@ -12318,7 +12031,7 @@
12318
12031
  },
12319
12032
  "hasDynamicHelp": false,
12320
12033
  "hiddenAliases": [],
12321
- "id": "pg:credentials:rotate",
12034
+ "id": "pg:backups:unschedule",
12322
12035
  "pluginAlias": "heroku",
12323
12036
  "pluginName": "heroku",
12324
12037
  "pluginType": "core",
@@ -12329,29 +12042,20 @@
12329
12042
  "lib",
12330
12043
  "commands",
12331
12044
  "pg",
12332
- "credentials",
12333
- "rotate.js"
12045
+ "backups",
12046
+ "unschedule.js"
12334
12047
  ]
12335
12048
  },
12336
- "pg:credentials:url": {
12049
+ "pg:backups:url": {
12337
12050
  "aliases": [],
12338
12051
  "args": {
12339
- "database": {
12340
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12341
- "name": "database"
12052
+ "backup_id": {
12053
+ "description": "ID of the backup. If omitted, we use the last backup ID.",
12054
+ "name": "backup_id"
12342
12055
  }
12343
12056
  },
12344
- "description": "show information on a database credential",
12057
+ "description": "get secret but publicly accessible URL of a backup",
12345
12058
  "flags": {
12346
- "name": {
12347
- "char": "n",
12348
- "description": "which credential to show (default credentials if not specified)",
12349
- "name": "name",
12350
- "default": "default",
12351
- "hasDynamicHelp": false,
12352
- "multiple": false,
12353
- "type": "option"
12354
- },
12355
12059
  "app": {
12356
12060
  "char": "a",
12357
12061
  "description": "app to run command against",
@@ -12372,7 +12076,7 @@
12372
12076
  },
12373
12077
  "hasDynamicHelp": false,
12374
12078
  "hiddenAliases": [],
12375
- "id": "pg:credentials:url",
12079
+ "id": "pg:backups:url",
12376
12080
  "pluginAlias": "heroku",
12377
12081
  "pluginName": "heroku",
12378
12082
  "pluginType": "core",
@@ -12383,28 +12087,25 @@
12383
12087
  "lib",
12384
12088
  "commands",
12385
12089
  "pg",
12386
- "credentials",
12090
+ "backups",
12387
12091
  "url.js"
12388
12092
  ]
12389
12093
  },
12390
- "pg:links:create": {
12094
+ "pg:connection-pooling:attach": {
12391
12095
  "aliases": [],
12392
12096
  "args": {
12393
- "remote": {
12394
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::`",
12395
- "name": "remote",
12396
- "required": true
12397
- },
12398
12097
  "database": {
12399
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::`",
12400
- "name": "database",
12401
- "required": true
12098
+ "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12099
+ "name": "database"
12402
12100
  }
12403
12101
  },
12404
- "description": "create a link between data stores\nExample:\nheroku pg:links:create HEROKU_REDIS_RED HEROKU_POSTGRESQL_CERULEAN\n",
12102
+ "description": "add an attachment to a database using connection pooling",
12103
+ "examples": [
12104
+ "$ heroku pg:connection-pooling:attach postgresql-something-12345\n"
12105
+ ],
12405
12106
  "flags": {
12406
12107
  "as": {
12407
- "description": "name of link to create",
12108
+ "description": "name for add-on attachment",
12408
12109
  "name": "as",
12409
12110
  "hasDynamicHelp": false,
12410
12111
  "multiple": false,
@@ -12430,7 +12131,7 @@
12430
12131
  },
12431
12132
  "hasDynamicHelp": false,
12432
12133
  "hiddenAliases": [],
12433
- "id": "pg:links:create",
12134
+ "id": "pg:connection-pooling:attach",
12434
12135
  "pluginAlias": "heroku",
12435
12136
  "pluginName": "heroku",
12436
12137
  "pluginType": "core",
@@ -12441,39 +12142,34 @@
12441
12142
  "lib",
12442
12143
  "commands",
12443
12144
  "pg",
12444
- "links",
12445
- "create.js"
12145
+ "connection-pooling",
12146
+ "attach.js"
12446
12147
  ]
12447
12148
  },
12448
- "pg:links:destroy": {
12149
+ "pg:credentials:create": {
12449
12150
  "aliases": [],
12450
12151
  "args": {
12451
12152
  "database": {
12452
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::`",
12453
- "name": "database",
12454
- "required": true
12455
- },
12456
- "link": {
12457
- "description": "name of the linked data store",
12458
- "name": "link",
12459
- "required": true
12153
+ "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12154
+ "name": "database"
12460
12155
  }
12461
12156
  },
12462
- "description": "destroys a link between data stores",
12463
- "examples": "$ heroku pg:links:destroy HEROKU_POSTGRESQL_CERULEAN redis-symmetrical-100",
12157
+ "description": "create credential within database\nExample:\n\n heroku pg:credentials:create postgresql-something-12345 --name new-cred-name\n",
12464
12158
  "flags": {
12465
- "app": {
12466
- "char": "a",
12467
- "description": "app to run command against",
12468
- "name": "app",
12159
+ "name": {
12160
+ "char": "n",
12161
+ "description": "name of the new credential within the database",
12162
+ "name": "name",
12469
12163
  "required": true,
12470
12164
  "hasDynamicHelp": false,
12471
12165
  "multiple": false,
12472
12166
  "type": "option"
12473
12167
  },
12474
- "confirm": {
12475
- "char": "c",
12476
- "name": "confirm",
12168
+ "app": {
12169
+ "char": "a",
12170
+ "description": "app to run command against",
12171
+ "name": "app",
12172
+ "required": true,
12477
12173
  "hasDynamicHelp": false,
12478
12174
  "multiple": false,
12479
12175
  "type": "option"
@@ -12489,23 +12185,22 @@
12489
12185
  },
12490
12186
  "hasDynamicHelp": false,
12491
12187
  "hiddenAliases": [],
12492
- "id": "pg:links:destroy",
12188
+ "id": "pg:credentials:create",
12493
12189
  "pluginAlias": "heroku",
12494
12190
  "pluginName": "heroku",
12495
12191
  "pluginType": "core",
12496
12192
  "strict": true,
12497
12193
  "topic": "pg",
12498
- "example": "$ heroku pg:links:destroy HEROKU_POSTGRESQL_CERULEAN redis-symmetrical-100",
12499
12194
  "isESM": false,
12500
12195
  "relativePath": [
12501
12196
  "lib",
12502
12197
  "commands",
12503
12198
  "pg",
12504
- "links",
12505
- "destroy.js"
12199
+ "credentials",
12200
+ "create.js"
12506
12201
  ]
12507
12202
  },
12508
- "pg:links": {
12203
+ "pg:credentials:destroy": {
12509
12204
  "aliases": [],
12510
12205
  "args": {
12511
12206
  "database": {
@@ -12513,8 +12208,25 @@
12513
12208
  "name": "database"
12514
12209
  }
12515
12210
  },
12516
- "description": "lists all databases and information on link",
12211
+ "description": "destroy credential within database",
12212
+ "examples": "$ heroku pg:credentials:destroy postgresql-transparent-56874 --name cred-name -a woodstock-production",
12517
12213
  "flags": {
12214
+ "name": {
12215
+ "char": "n",
12216
+ "description": "unique identifier for the credential",
12217
+ "name": "name",
12218
+ "required": true,
12219
+ "hasDynamicHelp": false,
12220
+ "multiple": false,
12221
+ "type": "option"
12222
+ },
12223
+ "confirm": {
12224
+ "char": "c",
12225
+ "name": "confirm",
12226
+ "hasDynamicHelp": false,
12227
+ "multiple": false,
12228
+ "type": "option"
12229
+ },
12518
12230
  "app": {
12519
12231
  "char": "a",
12520
12232
  "description": "app to run command against",
@@ -12535,22 +12247,23 @@
12535
12247
  },
12536
12248
  "hasDynamicHelp": false,
12537
12249
  "hiddenAliases": [],
12538
- "id": "pg:links",
12250
+ "id": "pg:credentials:destroy",
12539
12251
  "pluginAlias": "heroku",
12540
12252
  "pluginName": "heroku",
12541
12253
  "pluginType": "core",
12542
12254
  "strict": true,
12543
12255
  "topic": "pg",
12256
+ "example": "$ heroku pg:credentials:destroy postgresql-transparent-56874 --name cred-name -a woodstock-production",
12544
12257
  "isESM": false,
12545
12258
  "relativePath": [
12546
12259
  "lib",
12547
12260
  "commands",
12548
12261
  "pg",
12549
- "links",
12550
- "index.js"
12262
+ "credentials",
12263
+ "destroy.js"
12551
12264
  ]
12552
12265
  },
12553
- "pg:maintenance": {
12266
+ "pg:credentials:repair-default": {
12554
12267
  "aliases": [],
12555
12268
  "args": {
12556
12269
  "database": {
@@ -12558,8 +12271,16 @@
12558
12271
  "name": "database"
12559
12272
  }
12560
12273
  },
12561
- "description": "show current maintenance information",
12274
+ "description": "repair the permissions of the default credential within database",
12275
+ "examples": "$ heroku pg:credentials:repair-default postgresql-something-12345",
12562
12276
  "flags": {
12277
+ "confirm": {
12278
+ "char": "c",
12279
+ "name": "confirm",
12280
+ "hasDynamicHelp": false,
12281
+ "multiple": false,
12282
+ "type": "option"
12283
+ },
12563
12284
  "app": {
12564
12285
  "char": "a",
12565
12286
  "description": "app to run command against",
@@ -12580,22 +12301,23 @@
12580
12301
  },
12581
12302
  "hasDynamicHelp": false,
12582
12303
  "hiddenAliases": [],
12583
- "id": "pg:maintenance",
12304
+ "id": "pg:credentials:repair-default",
12584
12305
  "pluginAlias": "heroku",
12585
12306
  "pluginName": "heroku",
12586
12307
  "pluginType": "core",
12587
12308
  "strict": true,
12588
12309
  "topic": "pg",
12310
+ "example": "$ heroku pg:credentials:repair-default postgresql-something-12345",
12589
12311
  "isESM": false,
12590
12312
  "relativePath": [
12591
12313
  "lib",
12592
12314
  "commands",
12593
12315
  "pg",
12594
- "maintenance",
12595
- "index.js"
12316
+ "credentials",
12317
+ "repair-default.js"
12596
12318
  ]
12597
12319
  },
12598
- "pg:maintenance:run": {
12320
+ "pg:credentials:rotate": {
12599
12321
  "aliases": [],
12600
12322
  "args": {
12601
12323
  "database": {
@@ -12603,10 +12325,34 @@
12603
12325
  "name": "database"
12604
12326
  }
12605
12327
  },
12606
- "description": "start maintenance",
12328
+ "description": "rotate the database credentials",
12607
12329
  "flags": {
12330
+ "name": {
12331
+ "char": "n",
12332
+ "description": "which credential to rotate (default credentials if not specified and --all is not used)",
12333
+ "name": "name",
12334
+ "hasDynamicHelp": false,
12335
+ "multiple": false,
12336
+ "type": "option"
12337
+ },
12338
+ "all": {
12339
+ "description": "rotate all credentials",
12340
+ "exclusive": [
12341
+ "name"
12342
+ ],
12343
+ "name": "all",
12344
+ "allowNo": false,
12345
+ "type": "boolean"
12346
+ },
12347
+ "confirm": {
12348
+ "char": "c",
12349
+ "name": "confirm",
12350
+ "hasDynamicHelp": false,
12351
+ "multiple": false,
12352
+ "type": "option"
12353
+ },
12608
12354
  "force": {
12609
- "char": "f",
12355
+ "description": "forces rotating the targeted credentials",
12610
12356
  "name": "force",
12611
12357
  "allowNo": false,
12612
12358
  "type": "boolean"
@@ -12631,7 +12377,7 @@
12631
12377
  },
12632
12378
  "hasDynamicHelp": false,
12633
12379
  "hiddenAliases": [],
12634
- "id": "pg:maintenance:run",
12380
+ "id": "pg:credentials:rotate",
12635
12381
  "pluginAlias": "heroku",
12636
12382
  "pluginName": "heroku",
12637
12383
  "pluginType": "core",
@@ -12642,26 +12388,29 @@
12642
12388
  "lib",
12643
12389
  "commands",
12644
12390
  "pg",
12645
- "maintenance",
12646
- "run.js"
12391
+ "credentials",
12392
+ "rotate.js"
12647
12393
  ]
12648
12394
  },
12649
- "pg:maintenance:window": {
12395
+ "pg:credentials:url": {
12650
12396
  "aliases": [],
12651
12397
  "args": {
12652
- "window": {
12653
- "description": "timestamp of the maintenance window",
12654
- "name": "window",
12655
- "required": true
12656
- },
12657
12398
  "database": {
12658
12399
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12659
12400
  "name": "database"
12660
12401
  }
12661
12402
  },
12662
- "description": "Set weekly maintenance window.\nAll times are in UTC.\n",
12663
- "examples": "$ heroku pg:maintenance:window \"Sunday 06:00\" postgres-slippery-100",
12403
+ "description": "show information on a database credential",
12664
12404
  "flags": {
12405
+ "name": {
12406
+ "char": "n",
12407
+ "description": "which credential to show (default credentials if not specified)",
12408
+ "name": "name",
12409
+ "default": "default",
12410
+ "hasDynamicHelp": false,
12411
+ "multiple": false,
12412
+ "type": "option"
12413
+ },
12665
12414
  "app": {
12666
12415
  "char": "a",
12667
12416
  "description": "app to run command against",
@@ -12682,36 +12431,44 @@
12682
12431
  },
12683
12432
  "hasDynamicHelp": false,
12684
12433
  "hiddenAliases": [],
12685
- "id": "pg:maintenance:window",
12434
+ "id": "pg:credentials:url",
12686
12435
  "pluginAlias": "heroku",
12687
12436
  "pluginName": "heroku",
12688
12437
  "pluginType": "core",
12689
12438
  "strict": true,
12690
12439
  "topic": "pg",
12691
- "example": "$ heroku pg:maintenance:window \"Sunday 06:00\" postgres-slippery-100",
12692
12440
  "isESM": false,
12693
12441
  "relativePath": [
12694
12442
  "lib",
12695
12443
  "commands",
12696
12444
  "pg",
12697
- "maintenance",
12698
- "window.js"
12445
+ "credentials",
12446
+ "url.js"
12699
12447
  ]
12700
12448
  },
12701
- "pg:settings:auto-explain": {
12449
+ "pg:links:create": {
12702
12450
  "aliases": [],
12703
12451
  "args": {
12704
- "database": {
12705
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12706
- "name": "database"
12452
+ "remote": {
12453
+ "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::`",
12454
+ "name": "remote",
12455
+ "required": true
12707
12456
  },
12708
- "value": {
12709
- "description": "boolean indicating if execution plans of queries will be logged for future connections",
12710
- "name": "value"
12457
+ "database": {
12458
+ "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::`",
12459
+ "name": "database",
12460
+ "required": true
12711
12461
  }
12712
12462
  },
12713
- "description": "Automatically log execution plans of queries without running EXPLAIN by hand.\nThe auto_explain module is loaded at session-time so existing connections will not be logged.\nRestart your Heroku app and/or restart existing connections for logging to start taking place.\n",
12463
+ "description": "create a link between data stores\nExample:\nheroku pg:links:create HEROKU_REDIS_RED HEROKU_POSTGRESQL_CERULEAN\n",
12714
12464
  "flags": {
12465
+ "as": {
12466
+ "description": "name of link to create",
12467
+ "name": "as",
12468
+ "hasDynamicHelp": false,
12469
+ "multiple": false,
12470
+ "type": "option"
12471
+ },
12715
12472
  "app": {
12716
12473
  "char": "a",
12717
12474
  "description": "app to run command against",
@@ -12732,34 +12489,37 @@
12732
12489
  },
12733
12490
  "hasDynamicHelp": false,
12734
12491
  "hiddenAliases": [],
12735
- "id": "pg:settings:auto-explain",
12492
+ "id": "pg:links:create",
12736
12493
  "pluginAlias": "heroku",
12737
12494
  "pluginName": "heroku",
12738
12495
  "pluginType": "core",
12739
- "strict": false,
12496
+ "strict": true,
12740
12497
  "topic": "pg",
12741
12498
  "isESM": false,
12742
12499
  "relativePath": [
12743
12500
  "lib",
12744
12501
  "commands",
12745
12502
  "pg",
12746
- "settings",
12747
- "auto-explain.js"
12503
+ "links",
12504
+ "create.js"
12748
12505
  ]
12749
12506
  },
12750
- "pg:settings:explain-data-connector-details": {
12507
+ "pg:links:destroy": {
12751
12508
  "aliases": [],
12752
12509
  "args": {
12753
12510
  "database": {
12754
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12755
- "name": "database"
12511
+ "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::`",
12512
+ "name": "database",
12513
+ "required": true
12756
12514
  },
12757
- "value": {
12758
- "description": "boolean indicating if data replication slot details get logged",
12759
- "name": "value"
12515
+ "link": {
12516
+ "description": "name of the linked data store",
12517
+ "name": "link",
12518
+ "required": true
12760
12519
  }
12761
12520
  },
12762
- "description": "displays stats on replication slots on your database, the default value is \"off\"\n",
12521
+ "description": "destroys a link between data stores",
12522
+ "examples": "$ heroku pg:links:destroy HEROKU_POSTGRESQL_CERULEAN redis-symmetrical-100",
12763
12523
  "flags": {
12764
12524
  "app": {
12765
12525
  "char": "a",
@@ -12770,6 +12530,13 @@
12770
12530
  "multiple": false,
12771
12531
  "type": "option"
12772
12532
  },
12533
+ "confirm": {
12534
+ "char": "c",
12535
+ "name": "confirm",
12536
+ "hasDynamicHelp": false,
12537
+ "multiple": false,
12538
+ "type": "option"
12539
+ },
12773
12540
  "remote": {
12774
12541
  "char": "r",
12775
12542
  "description": "git remote of app to use",
@@ -12781,21 +12548,23 @@
12781
12548
  },
12782
12549
  "hasDynamicHelp": false,
12783
12550
  "hiddenAliases": [],
12784
- "id": "pg:settings:explain-data-connector-details",
12551
+ "id": "pg:links:destroy",
12785
12552
  "pluginAlias": "heroku",
12786
12553
  "pluginName": "heroku",
12787
12554
  "pluginType": "core",
12555
+ "strict": true,
12788
12556
  "topic": "pg",
12557
+ "example": "$ heroku pg:links:destroy HEROKU_POSTGRESQL_CERULEAN redis-symmetrical-100",
12789
12558
  "isESM": false,
12790
12559
  "relativePath": [
12791
12560
  "lib",
12792
12561
  "commands",
12793
12562
  "pg",
12794
- "settings",
12795
- "explain-data-connector-details.js"
12563
+ "links",
12564
+ "destroy.js"
12796
12565
  ]
12797
12566
  },
12798
- "pg:settings": {
12567
+ "pg:links": {
12799
12568
  "aliases": [],
12800
12569
  "args": {
12801
12570
  "database": {
@@ -12803,7 +12572,7 @@
12803
12572
  "name": "database"
12804
12573
  }
12805
12574
  },
12806
- "description": "show your current database settings",
12575
+ "description": "lists all databases and information on link",
12807
12576
  "flags": {
12808
12577
  "app": {
12809
12578
  "char": "a",
@@ -12825,7 +12594,7 @@
12825
12594
  },
12826
12595
  "hasDynamicHelp": false,
12827
12596
  "hiddenAliases": [],
12828
- "id": "pg:settings",
12597
+ "id": "pg:links",
12829
12598
  "pluginAlias": "heroku",
12830
12599
  "pluginName": "heroku",
12831
12600
  "pluginType": "core",
@@ -12836,23 +12605,19 @@
12836
12605
  "lib",
12837
12606
  "commands",
12838
12607
  "pg",
12839
- "settings",
12608
+ "links",
12840
12609
  "index.js"
12841
12610
  ]
12842
12611
  },
12843
- "pg:settings:log-connections": {
12612
+ "pg:maintenance": {
12844
12613
  "aliases": [],
12845
12614
  "args": {
12846
12615
  "database": {
12847
12616
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12848
12617
  "name": "database"
12849
- },
12850
- "value": {
12851
- "description": "boolean indicating if database login attempts get logged",
12852
- "name": "value"
12853
12618
  }
12854
12619
  },
12855
- "description": "Controls whether a log message is produced when a login attempt is made. Default is true.\nSetting log_connections to false stops emitting log messages for all attempts to login to the database.",
12620
+ "description": "show current maintenance information",
12856
12621
  "flags": {
12857
12622
  "app": {
12858
12623
  "char": "a",
@@ -12874,34 +12639,37 @@
12874
12639
  },
12875
12640
  "hasDynamicHelp": false,
12876
12641
  "hiddenAliases": [],
12877
- "id": "pg:settings:log-connections",
12642
+ "id": "pg:maintenance",
12878
12643
  "pluginAlias": "heroku",
12879
12644
  "pluginName": "heroku",
12880
12645
  "pluginType": "core",
12646
+ "strict": true,
12881
12647
  "topic": "pg",
12882
12648
  "isESM": false,
12883
12649
  "relativePath": [
12884
12650
  "lib",
12885
12651
  "commands",
12886
12652
  "pg",
12887
- "settings",
12888
- "log-connections.js"
12653
+ "maintenance",
12654
+ "index.js"
12889
12655
  ]
12890
12656
  },
12891
- "pg:settings:log-lock-waits": {
12657
+ "pg:maintenance:run": {
12892
12658
  "aliases": [],
12893
12659
  "args": {
12894
12660
  "database": {
12895
12661
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12896
12662
  "name": "database"
12897
- },
12898
- "value": {
12899
- "description": "boolean indicating if a message gets logged when a session waits longer than the deadlock_timeout to acquire a lock",
12900
- "name": "value"
12901
12663
  }
12902
12664
  },
12903
- "description": "Controls whether a log message is produced when a session waits longer than the deadlock_timeout to acquire a lock. deadlock_timeout is set to 1 second\nDelays due to lock contention occur when multiple transactions are trying to access the same resource at the same time.\nApplications and their query patterns should try to avoid changes to many different tables within the same transaction.\n",
12665
+ "description": "start maintenance",
12904
12666
  "flags": {
12667
+ "force": {
12668
+ "char": "f",
12669
+ "name": "force",
12670
+ "allowNo": false,
12671
+ "type": "boolean"
12672
+ },
12905
12673
  "app": {
12906
12674
  "char": "a",
12907
12675
  "description": "app to run command against",
@@ -12922,33 +12690,36 @@
12922
12690
  },
12923
12691
  "hasDynamicHelp": false,
12924
12692
  "hiddenAliases": [],
12925
- "id": "pg:settings:log-lock-waits",
12693
+ "id": "pg:maintenance:run",
12926
12694
  "pluginAlias": "heroku",
12927
12695
  "pluginName": "heroku",
12928
12696
  "pluginType": "core",
12697
+ "strict": true,
12929
12698
  "topic": "pg",
12930
12699
  "isESM": false,
12931
12700
  "relativePath": [
12932
12701
  "lib",
12933
12702
  "commands",
12934
12703
  "pg",
12935
- "settings",
12936
- "log-lock-waits.js"
12704
+ "maintenance",
12705
+ "run.js"
12937
12706
  ]
12938
12707
  },
12939
- "pg:settings:log-min-duration-statement": {
12708
+ "pg:maintenance:window": {
12940
12709
  "aliases": [],
12941
12710
  "args": {
12942
- "database": {
12943
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12944
- "name": "database"
12711
+ "window": {
12712
+ "description": "timestamp of the maintenance window",
12713
+ "name": "window",
12714
+ "required": true
12945
12715
  },
12946
- "value": {
12947
- "description": "milliseconds to wait for a statement to complete before logging it",
12948
- "name": "value"
12716
+ "database": {
12717
+ "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
12718
+ "name": "database"
12949
12719
  }
12950
12720
  },
12951
- "description": "The duration of each completed statement will be logged if the statement completes after the time specified by VALUE.\nVALUE needs to specified as a whole number, in milliseconds.\nSetting log_min_duration_statement to zero prints all statement durations and -1 will disable logging statement durations.\n",
12721
+ "description": "Set weekly maintenance window.\nAll times are in UTC.\n",
12722
+ "examples": "$ heroku pg:maintenance:window \"Sunday 06:00\" postgres-slippery-100",
12952
12723
  "flags": {
12953
12724
  "app": {
12954
12725
  "char": "a",
@@ -12970,21 +12741,23 @@
12970
12741
  },
12971
12742
  "hasDynamicHelp": false,
12972
12743
  "hiddenAliases": [],
12973
- "id": "pg:settings:log-min-duration-statement",
12744
+ "id": "pg:maintenance:window",
12974
12745
  "pluginAlias": "heroku",
12975
12746
  "pluginName": "heroku",
12976
12747
  "pluginType": "core",
12748
+ "strict": true,
12977
12749
  "topic": "pg",
12750
+ "example": "$ heroku pg:maintenance:window \"Sunday 06:00\" postgres-slippery-100",
12978
12751
  "isESM": false,
12979
12752
  "relativePath": [
12980
12753
  "lib",
12981
12754
  "commands",
12982
12755
  "pg",
12983
- "settings",
12984
- "log-min-duration-statement.js"
12756
+ "maintenance",
12757
+ "window.js"
12985
12758
  ]
12986
12759
  },
12987
- "pg:settings:log-min-error-statement": {
12760
+ "pg:settings:auto-explain": {
12988
12761
  "aliases": [],
12989
12762
  "args": {
12990
12763
  "database": {
@@ -12992,16 +12765,11 @@
12992
12765
  "name": "database"
12993
12766
  },
12994
12767
  "value": {
12995
- "name": "value",
12996
- "options": [
12997
- "error",
12998
- "log",
12999
- "fatal",
13000
- "panic"
13001
- ]
12768
+ "description": "boolean indicating if execution plans of queries will be logged for future connections",
12769
+ "name": "value"
13002
12770
  }
13003
12771
  },
13004
- "description": "log-min-error-statement controls the logging of SQL statements that cause an error at a specified severity level.\nThis setting is useful to prevent logging SQL queries that might contain sensitive information.\nUse this setting to prevent logging SQL queries that contain sensitive information. Default is \"error\".\n",
12772
+ "description": "Automatically log execution plans of queries without running EXPLAIN by hand.\nThe auto_explain module is loaded at session-time so existing connections will not be logged.\nRestart your Heroku app and/or restart existing connections for logging to start taking place.\n",
13005
12773
  "flags": {
13006
12774
  "app": {
13007
12775
  "char": "a",
@@ -13023,10 +12791,11 @@
13023
12791
  },
13024
12792
  "hasDynamicHelp": false,
13025
12793
  "hiddenAliases": [],
13026
- "id": "pg:settings:log-min-error-statement",
12794
+ "id": "pg:settings:auto-explain",
13027
12795
  "pluginAlias": "heroku",
13028
12796
  "pluginName": "heroku",
13029
12797
  "pluginType": "core",
12798
+ "strict": false,
13030
12799
  "topic": "pg",
13031
12800
  "isESM": false,
13032
12801
  "relativePath": [
@@ -13034,10 +12803,10 @@
13034
12803
  "commands",
13035
12804
  "pg",
13036
12805
  "settings",
13037
- "log-min-error-statement.js"
12806
+ "auto-explain.js"
13038
12807
  ]
13039
12808
  },
13040
- "pg:settings:log-statement": {
12809
+ "pg:settings:explain-data-connector-details": {
13041
12810
  "aliases": [],
13042
12811
  "args": {
13043
12812
  "database": {
@@ -13045,17 +12814,11 @@
13045
12814
  "name": "database"
13046
12815
  },
13047
12816
  "value": {
13048
- "description": "type of SQL statements to log\n<options: none|ddl|mod|all>",
13049
- "name": "value",
13050
- "options": [
13051
- "none",
13052
- "ddl",
13053
- "mod",
13054
- "all"
13055
- ]
12817
+ "description": "boolean indicating if data replication slot details get logged",
12818
+ "name": "value"
13056
12819
  }
13057
12820
  },
13058
- "description": "log_statement controls which SQL statements are logged.\nValid values for VALUE:\nnone - No statements are logged\nddl - All data definition statements, such as CREATE, ALTER and DROP will be logged\nmod - Includes all statements from ddl as well as data-modifying statements such as INSERT, UPDATE, DELETE, TRUNCATE, COPY\nall - All statements are logged\n",
12821
+ "description": "displays stats on replication slots on your database, the default value is \"off\"\n",
13059
12822
  "flags": {
13060
12823
  "app": {
13061
12824
  "char": "a",
@@ -13077,7 +12840,7 @@
13077
12840
  },
13078
12841
  "hasDynamicHelp": false,
13079
12842
  "hiddenAliases": [],
13080
- "id": "pg:settings:log-statement",
12843
+ "id": "pg:settings:explain-data-connector-details",
13081
12844
  "pluginAlias": "heroku",
13082
12845
  "pluginName": "heroku",
13083
12846
  "pluginType": "core",
@@ -13088,27 +12851,18 @@
13088
12851
  "commands",
13089
12852
  "pg",
13090
12853
  "settings",
13091
- "log-statement.js"
12854
+ "explain-data-connector-details.js"
13092
12855
  ]
13093
12856
  },
13094
- "pg:settings:track-functions": {
12857
+ "pg:settings": {
13095
12858
  "aliases": [],
13096
12859
  "args": {
13097
12860
  "database": {
13098
12861
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
13099
12862
  "name": "database"
13100
- },
13101
- "value": {
13102
- "description": "function type to track\n<options: none|pl|all>",
13103
- "name": "value",
13104
- "options": [
13105
- "none",
13106
- "pl",
13107
- "all"
13108
- ]
13109
12863
  }
13110
12864
  },
13111
- "description": "track_functions controls tracking of function call counts and time used. Default is none.\nValid values for VALUE:\nnone - No functions are tracked (default)\npl - Only procedural language functions are tracked\nall - All functions, including SQL and C language functions, are tracked. Simple SQL-language that are inlined are not tracked",
12865
+ "description": "show your current database settings",
13112
12866
  "flags": {
13113
12867
  "app": {
13114
12868
  "char": "a",
@@ -13130,10 +12884,11 @@
13130
12884
  },
13131
12885
  "hasDynamicHelp": false,
13132
12886
  "hiddenAliases": [],
13133
- "id": "pg:settings:track-functions",
12887
+ "id": "pg:settings",
13134
12888
  "pluginAlias": "heroku",
13135
12889
  "pluginName": "heroku",
13136
12890
  "pluginType": "core",
12891
+ "strict": true,
13137
12892
  "topic": "pg",
13138
12893
  "isESM": false,
13139
12894
  "relativePath": [
@@ -13141,26 +12896,23 @@
13141
12896
  "commands",
13142
12897
  "pg",
13143
12898
  "settings",
13144
- "track-functions.js"
12899
+ "index.js"
13145
12900
  ]
13146
12901
  },
13147
- "pg:upgrade:cancel": {
12902
+ "pg:settings:log-connections": {
13148
12903
  "aliases": [],
13149
12904
  "args": {
13150
12905
  "database": {
13151
12906
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
13152
12907
  "name": "database"
12908
+ },
12909
+ "value": {
12910
+ "description": "boolean indicating if database login attempts get logged",
12911
+ "name": "value"
13153
12912
  }
13154
12913
  },
13155
- "description": "cancels a scheduled upgrade. You can't cancel a version upgrade that's in progress.\n",
12914
+ "description": "Controls whether a log message is produced when a login attempt is made. Default is true.\nSetting log_connections to false stops emitting log messages for all attempts to login to the database.",
13156
12915
  "flags": {
13157
- "confirm": {
13158
- "char": "c",
13159
- "name": "confirm",
13160
- "hasDynamicHelp": false,
13161
- "multiple": false,
13162
- "type": "option"
13163
- },
13164
12916
  "app": {
13165
12917
  "char": "a",
13166
12918
  "description": "app to run command against",
@@ -13169,50 +12921,46 @@
13169
12921
  "hasDynamicHelp": false,
13170
12922
  "multiple": false,
13171
12923
  "type": "option"
12924
+ },
12925
+ "remote": {
12926
+ "char": "r",
12927
+ "description": "git remote of app to use",
12928
+ "name": "remote",
12929
+ "hasDynamicHelp": false,
12930
+ "multiple": false,
12931
+ "type": "option"
13172
12932
  }
13173
12933
  },
13174
12934
  "hasDynamicHelp": false,
13175
12935
  "hiddenAliases": [],
13176
- "id": "pg:upgrade:cancel",
12936
+ "id": "pg:settings:log-connections",
13177
12937
  "pluginAlias": "heroku",
13178
12938
  "pluginName": "heroku",
13179
12939
  "pluginType": "core",
13180
- "strict": true,
13181
12940
  "topic": "pg",
13182
12941
  "isESM": false,
13183
12942
  "relativePath": [
13184
12943
  "lib",
13185
12944
  "commands",
13186
12945
  "pg",
13187
- "upgrade",
13188
- "cancel.js"
12946
+ "settings",
12947
+ "log-connections.js"
13189
12948
  ]
13190
12949
  },
13191
- "pg:upgrade:dryrun": {
12950
+ "pg:settings:log-lock-waits": {
13192
12951
  "aliases": [],
13193
12952
  "args": {
13194
12953
  "database": {
13195
12954
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
13196
12955
  "name": "database"
12956
+ },
12957
+ "value": {
12958
+ "description": "boolean indicating if a message gets logged when a session waits longer than the deadlock_timeout to acquire a lock",
12959
+ "name": "value"
13197
12960
  }
13198
12961
  },
13199
- "description": "simulates a Postgres version upgrade on a Standard-tier and higher leader database by creating and upgrading a follower database. Heroku sends the results of the test upgrade via email.\n",
12962
+ "description": "Controls whether a log message is produced when a session waits longer than the deadlock_timeout to acquire a lock. deadlock_timeout is set to 1 second\nDelays due to lock contention occur when multiple transactions are trying to access the same resource at the same time.\nApplications and their query patterns should try to avoid changes to many different tables within the same transaction.\n",
13200
12963
  "flags": {
13201
- "confirm": {
13202
- "char": "c",
13203
- "name": "confirm",
13204
- "hasDynamicHelp": false,
13205
- "multiple": false,
13206
- "type": "option"
13207
- },
13208
- "version": {
13209
- "char": "v",
13210
- "description": "Postgres version to upgrade to",
13211
- "name": "version",
13212
- "hasDynamicHelp": false,
13213
- "multiple": false,
13214
- "type": "option"
13215
- },
13216
12964
  "app": {
13217
12965
  "char": "a",
13218
12966
  "description": "app to run command against",
@@ -13221,50 +12969,46 @@
13221
12969
  "hasDynamicHelp": false,
13222
12970
  "multiple": false,
13223
12971
  "type": "option"
12972
+ },
12973
+ "remote": {
12974
+ "char": "r",
12975
+ "description": "git remote of app to use",
12976
+ "name": "remote",
12977
+ "hasDynamicHelp": false,
12978
+ "multiple": false,
12979
+ "type": "option"
13224
12980
  }
13225
12981
  },
13226
12982
  "hasDynamicHelp": false,
13227
12983
  "hiddenAliases": [],
13228
- "id": "pg:upgrade:dryrun",
12984
+ "id": "pg:settings:log-lock-waits",
13229
12985
  "pluginAlias": "heroku",
13230
12986
  "pluginName": "heroku",
13231
12987
  "pluginType": "core",
13232
- "strict": true,
13233
12988
  "topic": "pg",
13234
12989
  "isESM": false,
13235
12990
  "relativePath": [
13236
12991
  "lib",
13237
12992
  "commands",
13238
12993
  "pg",
13239
- "upgrade",
13240
- "dryrun.js"
12994
+ "settings",
12995
+ "log-lock-waits.js"
13241
12996
  ]
13242
12997
  },
13243
- "pg:upgrade": {
12998
+ "pg:settings:log-min-duration-statement": {
13244
12999
  "aliases": [],
13245
13000
  "args": {
13246
13001
  "database": {
13247
13002
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
13248
13003
  "name": "database"
13004
+ },
13005
+ "value": {
13006
+ "description": "milliseconds to wait for a statement to complete before logging it",
13007
+ "name": "value"
13249
13008
  }
13250
13009
  },
13251
- "description": "We're deprecating this command. To upgrade your database's Postgres version, use the new pg:upgrade:* subcommands. See https://devcenter.heroku.com/changelog-items/3179.\n\nFor an Essential-tier plan, this command upgrades the database's Postgres version. For a Standard-tier and higher plan, this command unfollows the leader database before upgrading the Postgres version.\n",
13010
+ "description": "The duration of each completed statement will be logged if the statement completes after the time specified by VALUE.\nVALUE needs to specified as a whole number, in milliseconds.\nSetting log_min_duration_statement to zero prints all statement durations and -1 will disable logging statement durations.\n",
13252
13011
  "flags": {
13253
- "confirm": {
13254
- "char": "c",
13255
- "name": "confirm",
13256
- "hasDynamicHelp": false,
13257
- "multiple": false,
13258
- "type": "option"
13259
- },
13260
- "version": {
13261
- "char": "v",
13262
- "description": "Postgres version to upgrade to",
13263
- "name": "version",
13264
- "hasDynamicHelp": false,
13265
- "multiple": false,
13266
- "type": "option"
13267
- },
13268
13012
  "app": {
13269
13013
  "char": "a",
13270
13014
  "description": "app to run command against",
@@ -13285,46 +13029,39 @@
13285
13029
  },
13286
13030
  "hasDynamicHelp": false,
13287
13031
  "hiddenAliases": [],
13288
- "id": "pg:upgrade",
13032
+ "id": "pg:settings:log-min-duration-statement",
13289
13033
  "pluginAlias": "heroku",
13290
13034
  "pluginName": "heroku",
13291
13035
  "pluginType": "core",
13292
- "strict": true,
13293
13036
  "topic": "pg",
13294
13037
  "isESM": false,
13295
13038
  "relativePath": [
13296
13039
  "lib",
13297
13040
  "commands",
13298
13041
  "pg",
13299
- "upgrade",
13300
- "index.js"
13042
+ "settings",
13043
+ "log-min-duration-statement.js"
13301
13044
  ]
13302
13045
  },
13303
- "pg:upgrade:prepare": {
13046
+ "pg:settings:log-min-error-statement": {
13304
13047
  "aliases": [],
13305
13048
  "args": {
13306
13049
  "database": {
13307
13050
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
13308
13051
  "name": "database"
13052
+ },
13053
+ "value": {
13054
+ "name": "value",
13055
+ "options": [
13056
+ "error",
13057
+ "log",
13058
+ "fatal",
13059
+ "panic"
13060
+ ]
13309
13061
  }
13310
13062
  },
13311
- "description": "prepares the upgrade for Standard-tier and higher leader databases and schedules it for the next available maintenance window. To start a version upgrade on Essential-tier and follower databases, use heroku pg:upgrade:run instead.\n",
13063
+ "description": "log-min-error-statement controls the logging of SQL statements that cause an error at a specified severity level.\nThis setting is useful to prevent logging SQL queries that might contain sensitive information.\nUse this setting to prevent logging SQL queries that contain sensitive information. Default is \"error\".\n",
13312
13064
  "flags": {
13313
- "confirm": {
13314
- "char": "c",
13315
- "name": "confirm",
13316
- "hasDynamicHelp": false,
13317
- "multiple": false,
13318
- "type": "option"
13319
- },
13320
- "version": {
13321
- "char": "v",
13322
- "description": "Postgres version to upgrade to",
13323
- "name": "version",
13324
- "hasDynamicHelp": false,
13325
- "multiple": false,
13326
- "type": "option"
13327
- },
13328
13065
  "app": {
13329
13066
  "char": "a",
13330
13067
  "description": "app to run command against",
@@ -13333,55 +13070,52 @@
13333
13070
  "hasDynamicHelp": false,
13334
13071
  "multiple": false,
13335
13072
  "type": "option"
13073
+ },
13074
+ "remote": {
13075
+ "char": "r",
13076
+ "description": "git remote of app to use",
13077
+ "name": "remote",
13078
+ "hasDynamicHelp": false,
13079
+ "multiple": false,
13080
+ "type": "option"
13336
13081
  }
13337
13082
  },
13338
13083
  "hasDynamicHelp": false,
13339
13084
  "hiddenAliases": [],
13340
- "id": "pg:upgrade:prepare",
13085
+ "id": "pg:settings:log-min-error-statement",
13341
13086
  "pluginAlias": "heroku",
13342
13087
  "pluginName": "heroku",
13343
13088
  "pluginType": "core",
13344
- "strict": true,
13345
13089
  "topic": "pg",
13346
13090
  "isESM": false,
13347
13091
  "relativePath": [
13348
13092
  "lib",
13349
13093
  "commands",
13350
13094
  "pg",
13351
- "upgrade",
13352
- "prepare.js"
13095
+ "settings",
13096
+ "log-min-error-statement.js"
13353
13097
  ]
13354
13098
  },
13355
- "pg:upgrade:run": {
13099
+ "pg:settings:log-statement": {
13356
13100
  "aliases": [],
13357
13101
  "args": {
13358
13102
  "database": {
13359
13103
  "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
13360
13104
  "name": "database"
13105
+ },
13106
+ "value": {
13107
+ "description": "type of SQL statements to log\n<options: none|ddl|mod|all>",
13108
+ "name": "value",
13109
+ "options": [
13110
+ "none",
13111
+ "ddl",
13112
+ "mod",
13113
+ "all"
13114
+ ]
13361
13115
  }
13362
13116
  },
13363
- "description": "starts a Postgres version upgrade\n\nOn Essential-tier databases, this command upgrades the database's Postgres version.\n\nOn Standard-tier and higher leader databases, this command runs a previously scheduled Postgres version upgrade. You must run pg:upgrade:prepare before this command to schedule a version upgrade.\n\nOn follower databases, this command unfollows the leader database before upgrading the follower's Postgres version.\n",
13364
- "examples": [
13365
- "# Upgrade an Essential-tier database to a specific version\n$ heroku pg:upgrade:run postgresql-curved-12345 --version 14 --app myapp\n",
13366
- "# Upgrade a Standard-tier follower database to the latest supported version\n$ heroku pg:upgrade:run HEROKU_POSTGRESQL_BLUE_URL --app myapp\n",
13367
- "# Run a previously scheduled upgrade on a Standard-tier leader database\n$ heroku pg:upgrade:run DATABASE_URL --app myapp\n"
13368
- ],
13117
+ "description": "log_statement controls which SQL statements are logged.\nValid values for VALUE:\nnone - No statements are logged\nddl - All data definition statements, such as CREATE, ALTER and DROP will be logged\nmod - Includes all statements from ddl as well as data-modifying statements such as INSERT, UPDATE, DELETE, TRUNCATE, COPY\nall - All statements are logged\n",
13369
13118
  "flags": {
13370
- "confirm": {
13371
- "char": "c",
13372
- "name": "confirm",
13373
- "hasDynamicHelp": false,
13374
- "multiple": false,
13375
- "type": "option"
13376
- },
13377
- "version": {
13378
- "char": "v",
13379
- "description": "Postgres version to upgrade to",
13380
- "name": "version",
13381
- "hasDynamicHelp": false,
13382
- "multiple": false,
13383
- "type": "option"
13384
- },
13385
13119
  "app": {
13386
13120
  "char": "a",
13387
13121
  "description": "app to run command against",
@@ -13402,49 +13136,39 @@
13402
13136
  },
13403
13137
  "hasDynamicHelp": false,
13404
13138
  "hiddenAliases": [],
13405
- "id": "pg:upgrade:run",
13139
+ "id": "pg:settings:log-statement",
13406
13140
  "pluginAlias": "heroku",
13407
13141
  "pluginName": "heroku",
13408
13142
  "pluginType": "core",
13409
- "strict": true,
13410
13143
  "topic": "pg",
13411
13144
  "isESM": false,
13412
13145
  "relativePath": [
13413
13146
  "lib",
13414
13147
  "commands",
13415
13148
  "pg",
13416
- "upgrade",
13417
- "run.js"
13149
+ "settings",
13150
+ "log-statement.js"
13418
13151
  ]
13419
13152
  },
13420
- "pg:upgrade:wait": {
13153
+ "pg:settings:track-functions": {
13421
13154
  "aliases": [],
13422
13155
  "args": {
13423
13156
  "database": {
13424
- "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::`",
13157
+ "description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
13425
13158
  "name": "database"
13159
+ },
13160
+ "value": {
13161
+ "description": "function type to track\n<options: none|pl|all>",
13162
+ "name": "value",
13163
+ "options": [
13164
+ "none",
13165
+ "pl",
13166
+ "all"
13167
+ ]
13426
13168
  }
13427
13169
  },
13428
- "description": "provides the status of an upgrade and blocks it until the operation is complete",
13429
- "examples": [
13430
- "# Wait for upgrade to complete with default settings\n$ heroku pg:upgrade:wait postgresql-curved-12345 --app myapp\n",
13431
- "# Wait with custom polling interval\n$ heroku pg:upgrade:wait postgresql-curved-12345 --app myapp --wait-interval 10\n",
13432
- "# Wait without showing OS notifications\n$ heroku pg:upgrade:wait postgresql-curved-12345 --app myapp --no-notify\n"
13433
- ],
13170
+ "description": "track_functions controls tracking of function call counts and time used. Default is none.\nValid values for VALUE:\nnone - No functions are tracked (default)\npl - Only procedural language functions are tracked\nall - All functions, including SQL and C language functions, are tracked. Simple SQL-language that are inlined are not tracked",
13434
13171
  "flags": {
13435
- "wait-interval": {
13436
- "description": "how frequently to poll in seconds (to avoid rate limiting)",
13437
- "name": "wait-interval",
13438
- "hasDynamicHelp": false,
13439
- "multiple": false,
13440
- "type": "option"
13441
- },
13442
- "no-notify": {
13443
- "description": "do not show OS notification",
13444
- "name": "no-notify",
13445
- "allowNo": false,
13446
- "type": "boolean"
13447
- },
13448
13172
  "app": {
13449
13173
  "char": "a",
13450
13174
  "description": "app to run command against",
@@ -13465,19 +13189,18 @@
13465
13189
  },
13466
13190
  "hasDynamicHelp": false,
13467
13191
  "hiddenAliases": [],
13468
- "id": "pg:upgrade:wait",
13192
+ "id": "pg:settings:track-functions",
13469
13193
  "pluginAlias": "heroku",
13470
13194
  "pluginName": "heroku",
13471
13195
  "pluginType": "core",
13472
- "strict": true,
13473
13196
  "topic": "pg",
13474
13197
  "isESM": false,
13475
13198
  "relativePath": [
13476
13199
  "lib",
13477
13200
  "commands",
13478
13201
  "pg",
13479
- "upgrade",
13480
- "wait.js"
13202
+ "settings",
13203
+ "track-functions.js"
13481
13204
  ]
13482
13205
  },
13483
13206
  "ps:autoscale:disable": {
@@ -14929,5 +14652,5 @@
14929
14652
  ]
14930
14653
  }
14931
14654
  },
14932
- "version": "10.7.0-alpha.0"
14655
+ "version": "10.7.0-beta.0"
14933
14656
  }