heroku 10.10.1 → 10.11.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.
package/bin/run CHANGED
@@ -56,7 +56,7 @@ const main = async () => {
56
56
  return herokuRepl(config)
57
57
  }
58
58
 
59
- if (flags.prompt) {
59
+ if (typeof flags.prompt === 'boolean') {
60
60
  delete flags.prompt
61
61
  await promptUser(config, commandName, args, flags)
62
62
  await oclif.run([commandName, ...args], config)
@@ -0,0 +1,8 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class Prompt extends Command {
3
+ static description: string;
4
+ static hidden: boolean;
5
+ static examples: string[];
6
+ static strict: boolean;
7
+ run(): Promise<void>;
8
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const core_1 = require("@oclif/core");
4
+ class Prompt extends core_1.Command {
5
+ async run() {
6
+ core_1.ux.warn('use `heroku <COMMAND> --prompt` to interactively prompt for command arguments and flags');
7
+ }
8
+ }
9
+ exports.default = Prompt;
10
+ Prompt.description = 'interactively prompt for command arguments and flags';
11
+ Prompt.hidden = true;
12
+ Prompt.examples = [
13
+ '$ heroku apps:info --prompt',
14
+ '$ heroku config:set --prompt',
15
+ ];
16
+ Prompt.strict = false;
@@ -0,0 +1,7 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class Repl extends Command {
3
+ static description: string;
4
+ static hidden: boolean;
5
+ static examples: string[];
6
+ run(): Promise<void>;
7
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const core_1 = require("@oclif/core");
4
+ class Repl extends core_1.Command {
5
+ async run() {
6
+ core_1.ux.warn('use `heroku --repl` to enter an interactive REPL session to run Heroku CLI commands');
7
+ }
8
+ }
9
+ exports.default = Repl;
10
+ Repl.description = 'enter an interactive REPL session to run Heroku CLI commands';
11
+ Repl.hidden = true;
12
+ Repl.examples = [
13
+ '$ heroku --repl',
14
+ ];
@@ -206,6 +206,30 @@
206
206
  "logs.js"
207
207
  ]
208
208
  },
209
+ "prompt": {
210
+ "aliases": [],
211
+ "args": {},
212
+ "description": "interactively prompt for command arguments and flags",
213
+ "examples": [
214
+ "$ heroku apps:info --prompt",
215
+ "$ heroku config:set --prompt"
216
+ ],
217
+ "flags": {},
218
+ "hasDynamicHelp": false,
219
+ "hidden": true,
220
+ "hiddenAliases": [],
221
+ "id": "prompt",
222
+ "pluginAlias": "heroku",
223
+ "pluginName": "heroku",
224
+ "pluginType": "core",
225
+ "strict": false,
226
+ "isESM": false,
227
+ "relativePath": [
228
+ "lib",
229
+ "commands",
230
+ "prompt.js"
231
+ ]
232
+ },
209
233
  "rake": {
210
234
  "aliases": [],
211
235
  "args": {},
@@ -311,6 +335,29 @@
311
335
  "regions.js"
312
336
  ]
313
337
  },
338
+ "repl": {
339
+ "aliases": [],
340
+ "args": {},
341
+ "description": "enter an interactive REPL session to run Heroku CLI commands",
342
+ "examples": [
343
+ "$ heroku --repl"
344
+ ],
345
+ "flags": {},
346
+ "hasDynamicHelp": false,
347
+ "hidden": true,
348
+ "hiddenAliases": [],
349
+ "id": "repl",
350
+ "pluginAlias": "heroku",
351
+ "pluginName": "heroku",
352
+ "pluginType": "core",
353
+ "strict": true,
354
+ "isESM": false,
355
+ "relativePath": [
356
+ "lib",
357
+ "commands",
358
+ "repl.js"
359
+ ]
360
+ },
314
361
  "status": {
315
362
  "aliases": [],
316
363
  "args": {},
@@ -14958,5 +15005,5 @@
14958
15005
  ]
14959
15006
  }
14960
15007
  },
14961
- "version": "10.10.1"
15008
+ "version": "10.11.0"
14962
15009
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "heroku",
3
3
  "description": "CLI to interact with Heroku",
4
- "version": "10.10.1",
4
+ "version": "10.11.0",
5
5
  "author": "Heroku",
6
6
  "bin": "./bin/run",
7
7
  "bugs": "https://github.com/heroku/cli/issues",
@@ -367,6 +367,7 @@
367
367
  "heroku-cli-plugin-generator": null,
368
368
  "heroku-container-registry": null,
369
369
  "heroku-event-log": "@heroku/event-log",
370
+ "heroku-pg-extras": "@heroku-cli/heroku-pg-extras",
370
371
  "heroku-pipelines": null,
371
372
  "heroku-ps-wait": null,
372
373
  "heroku-redis": null,
@@ -399,5 +400,5 @@
399
400
  "version": "oclif readme --multi && git add README.md ../../docs"
400
401
  },
401
402
  "types": "lib/index.d.ts",
402
- "gitHead": "4856ed8dd4d632540e3d707204cdfe9c8f9c8280"
403
+ "gitHead": "0580c4382727bee72879f74b8e5cf8b2d0772a8b"
403
404
  }