heroku 10.10.1-beta.0 → 10.11.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.
package/README.md CHANGED
@@ -63,10 +63,12 @@ For other issues, [submit a support ticket](https://help.heroku.com/).
63
63
  * [`heroku pg`](docs/pg.md) - manage postgresql databases
64
64
  * [`heroku pipelines`](docs/pipelines.md) - manage pipelines
65
65
  * [`heroku plugins`](docs/plugins.md) - List installed plugins.
66
+ * [`heroku prompt`](docs/prompt.md) - interactively prompt for command arguments and flags
66
67
  * [`heroku ps`](docs/ps.md) - Client tools for Heroku Exec
67
68
  * [`heroku redis`](docs/redis.md) - manage heroku redis instances
68
69
  * [`heroku regions`](docs/regions.md) - list available regions for deployment
69
70
  * [`heroku releases`](docs/releases.md) - display the releases for an app
71
+ * [`heroku repl`](docs/repl.md) - enter an interactive REPL session to run Heroku CLI commands
70
72
  * [`heroku reviewapps`](docs/reviewapps.md) - manage reviewapps in pipelines
71
73
  * [`heroku run`](docs/run.md) - run a one-off process inside a Heroku dyno
72
74
  * [`heroku sessions`](docs/sessions.md) - OAuth sessions
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,7 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class Prompt extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ static strict: boolean;
6
+ run(): Promise<void>;
7
+ }
@@ -0,0 +1,15 @@
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.examples = [
12
+ '$ heroku apps:info --prompt',
13
+ '$ heroku config:set --prompt',
14
+ ];
15
+ Prompt.strict = false;
@@ -0,0 +1,6 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class Repl extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ run(): Promise<void>;
6
+ }
@@ -0,0 +1,13 @@
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.examples = [
12
+ '$ heroku --repl',
13
+ ];
@@ -206,6 +206,29 @@
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
+ "hiddenAliases": [],
220
+ "id": "prompt",
221
+ "pluginAlias": "heroku",
222
+ "pluginName": "heroku",
223
+ "pluginType": "core",
224
+ "strict": false,
225
+ "isESM": false,
226
+ "relativePath": [
227
+ "lib",
228
+ "commands",
229
+ "prompt.js"
230
+ ]
231
+ },
209
232
  "rake": {
210
233
  "aliases": [],
211
234
  "args": {},
@@ -311,6 +334,28 @@
311
334
  "regions.js"
312
335
  ]
313
336
  },
337
+ "repl": {
338
+ "aliases": [],
339
+ "args": {},
340
+ "description": "enter an interactive REPL session to run Heroku CLI commands",
341
+ "examples": [
342
+ "$ heroku --repl"
343
+ ],
344
+ "flags": {},
345
+ "hasDynamicHelp": false,
346
+ "hiddenAliases": [],
347
+ "id": "repl",
348
+ "pluginAlias": "heroku",
349
+ "pluginName": "heroku",
350
+ "pluginType": "core",
351
+ "strict": true,
352
+ "isESM": false,
353
+ "relativePath": [
354
+ "lib",
355
+ "commands",
356
+ "repl.js"
357
+ ]
358
+ },
314
359
  "status": {
315
360
  "aliases": [],
316
361
  "args": {},
@@ -14958,5 +15003,5 @@
14958
15003
  ]
14959
15004
  }
14960
15005
  },
14961
- "version": "10.10.1-beta.0"
15006
+ "version": "10.11.0-beta.0"
14962
15007
  }
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-beta.0",
4
+ "version": "10.11.0-beta.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": "c2897ddd112c7d28d3993887c84276e7bbc4ac53"
403
+ "gitHead": "3c76be7e4afa34df7d0b98a69ea72561359ba4d2"
403
404
  }