heroku 10.11.0-beta.0 → 10.12.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 +0 -2
- package/lib/commands/pg/settings/{explain-data-connector-details.d.ts → data-connector-details-logs.d.ts} +2 -1
- package/lib/commands/pg/settings/{explain-data-connector-details.js → data-connector-details-logs.js} +7 -6
- package/lib/commands/prompt.d.ts +1 -0
- package/lib/commands/prompt.js +1 -0
- package/lib/commands/repl.d.ts +1 -0
- package/lib/commands/repl.js +1 -0
- package/lib/lib/pg/types.d.ts +1 -1
- package/oclif.manifest.json +137 -133
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -63,12 +63,10 @@ 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
|
|
67
66
|
* [`heroku ps`](docs/ps.md) - Client tools for Heroku Exec
|
|
68
67
|
* [`heroku redis`](docs/redis.md) - manage heroku redis instances
|
|
69
68
|
* [`heroku regions`](docs/regions.md) - list available regions for deployment
|
|
70
69
|
* [`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
|
|
72
70
|
* [`heroku reviewapps`](docs/reviewapps.md) - manage reviewapps in pipelines
|
|
73
71
|
* [`heroku run`](docs/run.md) - run a one-off process inside a Heroku dyno
|
|
74
72
|
* [`heroku sessions`](docs/sessions.md) - OAuth sessions
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type BooleanAsString, PGSettingsCommand } from '../../../lib/pg/setter';
|
|
2
2
|
import type { Setting, SettingKey } from '../../../lib/pg/types';
|
|
3
|
-
export default class
|
|
3
|
+
export default class DataConnectorDetailsLogs extends PGSettingsCommand {
|
|
4
|
+
static aliases: string[];
|
|
4
5
|
static description: string;
|
|
5
6
|
static flags: {
|
|
6
7
|
app: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
@@ -5,10 +5,10 @@ const core_1 = require("@oclif/core");
|
|
|
5
5
|
const tsheredoc_1 = require("tsheredoc");
|
|
6
6
|
const setter_1 = require("../../../lib/pg/setter");
|
|
7
7
|
const nls_1 = require("../../../nls");
|
|
8
|
-
class
|
|
8
|
+
class DataConnectorDetailsLogs extends setter_1.PGSettingsCommand {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments);
|
|
11
|
-
this.settingKey = '
|
|
11
|
+
this.settingKey = 'data_connector_details_logs';
|
|
12
12
|
}
|
|
13
13
|
convertValue(val) {
|
|
14
14
|
return (0, setter_1.booleanConverter)(val);
|
|
@@ -20,15 +20,16 @@ class ExplainDataConnectorDetails extends setter_1.PGSettingsCommand {
|
|
|
20
20
|
return 'Data replication slot details will no longer be logged.';
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
exports.default =
|
|
24
|
-
|
|
23
|
+
exports.default = DataConnectorDetailsLogs;
|
|
24
|
+
DataConnectorDetailsLogs.aliases = ['pg:settings:explain-data-connector-details'];
|
|
25
|
+
DataConnectorDetailsLogs.description = (0, tsheredoc_1.default)(`
|
|
25
26
|
displays stats on replication slots on your database, the default value is "off"
|
|
26
27
|
`);
|
|
27
|
-
|
|
28
|
+
DataConnectorDetailsLogs.flags = {
|
|
28
29
|
app: command_1.flags.app({ required: true }),
|
|
29
30
|
remote: command_1.flags.remote(),
|
|
30
31
|
};
|
|
31
|
-
|
|
32
|
+
DataConnectorDetailsLogs.args = {
|
|
32
33
|
database: core_1.Args.string({ description: `${(0, nls_1.nls)('pg:database:arg:description')} ${(0, nls_1.nls)('pg:database:arg:description:default:suffix')}` }),
|
|
33
34
|
value: core_1.Args.string({ description: 'boolean indicating if data replication slot details get logged' }),
|
|
34
35
|
};
|
package/lib/commands/prompt.d.ts
CHANGED
package/lib/commands/prompt.js
CHANGED
|
@@ -8,6 +8,7 @@ class Prompt extends core_1.Command {
|
|
|
8
8
|
}
|
|
9
9
|
exports.default = Prompt;
|
|
10
10
|
Prompt.description = 'interactively prompt for command arguments and flags';
|
|
11
|
+
Prompt.hidden = true;
|
|
11
12
|
Prompt.examples = [
|
|
12
13
|
'$ heroku apps:info --prompt',
|
|
13
14
|
'$ heroku config:set --prompt',
|
package/lib/commands/repl.d.ts
CHANGED
package/lib/commands/repl.js
CHANGED
package/lib/lib/pg/types.d.ts
CHANGED
|
@@ -170,7 +170,7 @@ export declare type PgDatabaseConfig = {
|
|
|
170
170
|
value: boolean;
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
|
-
export declare type SettingKey = 'log_lock_waits' | 'log_connections' | 'log_min_duration_statement' | 'log_min_error_statement' | 'log_statement' | 'track_functions' | 'pgbouncer_max_client_conn' | 'pg_bouncer_max_db_conns' | 'pg_bouncer_default_pool_size' | '
|
|
173
|
+
export declare type SettingKey = 'log_lock_waits' | 'log_connections' | 'log_min_duration_statement' | 'log_min_error_statement' | 'log_statement' | 'track_functions' | 'pgbouncer_max_client_conn' | 'pg_bouncer_max_db_conns' | 'pg_bouncer_default_pool_size' | 'data_connector_details_logs' | 'auto_explain' | 'auto_explain.log_min_duration' | 'auto_explain.log_analyze' | 'auto_explain.log_triggers' | 'auto_explain.log_buffers' | 'auto_explain.log_verbose' | 'auto_explain.log_nested_statements' | 'auto_explain.log_format';
|
|
174
174
|
export declare type Setting<T> = {
|
|
175
175
|
value: T;
|
|
176
176
|
values: Record<string, string>;
|
package/oclif.manifest.json
CHANGED
|
@@ -216,6 +216,7 @@
|
|
|
216
216
|
],
|
|
217
217
|
"flags": {},
|
|
218
218
|
"hasDynamicHelp": false,
|
|
219
|
+
"hidden": true,
|
|
219
220
|
"hiddenAliases": [],
|
|
220
221
|
"id": "prompt",
|
|
221
222
|
"pluginAlias": "heroku",
|
|
@@ -343,6 +344,7 @@
|
|
|
343
344
|
],
|
|
344
345
|
"flags": {},
|
|
345
346
|
"hasDynamicHelp": false,
|
|
347
|
+
"hidden": true,
|
|
346
348
|
"hiddenAliases": [],
|
|
347
349
|
"id": "repl",
|
|
348
350
|
"pluginAlias": "heroku",
|
|
@@ -578,134 +580,6 @@
|
|
|
578
580
|
"update.js"
|
|
579
581
|
]
|
|
580
582
|
},
|
|
581
|
-
"accounts:add": {
|
|
582
|
-
"aliases": [],
|
|
583
|
-
"args": {
|
|
584
|
-
"name": {
|
|
585
|
-
"description": "name of Heroku account to add",
|
|
586
|
-
"name": "name",
|
|
587
|
-
"required": true
|
|
588
|
-
}
|
|
589
|
-
},
|
|
590
|
-
"description": "add a Heroku account to your cache",
|
|
591
|
-
"examples": "heroku accounts:add my-account",
|
|
592
|
-
"flags": {},
|
|
593
|
-
"hasDynamicHelp": false,
|
|
594
|
-
"hiddenAliases": [],
|
|
595
|
-
"id": "accounts:add",
|
|
596
|
-
"pluginAlias": "heroku",
|
|
597
|
-
"pluginName": "heroku",
|
|
598
|
-
"pluginType": "core",
|
|
599
|
-
"strict": true,
|
|
600
|
-
"example": "heroku accounts:add my-account",
|
|
601
|
-
"isESM": false,
|
|
602
|
-
"relativePath": [
|
|
603
|
-
"lib",
|
|
604
|
-
"commands",
|
|
605
|
-
"accounts",
|
|
606
|
-
"add.js"
|
|
607
|
-
]
|
|
608
|
-
},
|
|
609
|
-
"accounts:current": {
|
|
610
|
-
"aliases": [],
|
|
611
|
-
"args": {},
|
|
612
|
-
"description": "display the current Heroku account",
|
|
613
|
-
"examples": "heroku accounts:current",
|
|
614
|
-
"flags": {},
|
|
615
|
-
"hasDynamicHelp": false,
|
|
616
|
-
"hiddenAliases": [],
|
|
617
|
-
"id": "accounts:current",
|
|
618
|
-
"pluginAlias": "heroku",
|
|
619
|
-
"pluginName": "heroku",
|
|
620
|
-
"pluginType": "core",
|
|
621
|
-
"strict": true,
|
|
622
|
-
"example": "heroku accounts:current",
|
|
623
|
-
"isESM": false,
|
|
624
|
-
"relativePath": [
|
|
625
|
-
"lib",
|
|
626
|
-
"commands",
|
|
627
|
-
"accounts",
|
|
628
|
-
"current.js"
|
|
629
|
-
]
|
|
630
|
-
},
|
|
631
|
-
"accounts": {
|
|
632
|
-
"aliases": [],
|
|
633
|
-
"args": {},
|
|
634
|
-
"description": "list the Heroku accounts in your cache",
|
|
635
|
-
"examples": "heroku accounts",
|
|
636
|
-
"flags": {},
|
|
637
|
-
"hasDynamicHelp": false,
|
|
638
|
-
"hiddenAliases": [],
|
|
639
|
-
"id": "accounts",
|
|
640
|
-
"pluginAlias": "heroku",
|
|
641
|
-
"pluginName": "heroku",
|
|
642
|
-
"pluginType": "core",
|
|
643
|
-
"strict": true,
|
|
644
|
-
"example": "heroku accounts",
|
|
645
|
-
"isESM": false,
|
|
646
|
-
"relativePath": [
|
|
647
|
-
"lib",
|
|
648
|
-
"commands",
|
|
649
|
-
"accounts",
|
|
650
|
-
"index.js"
|
|
651
|
-
]
|
|
652
|
-
},
|
|
653
|
-
"accounts:remove": {
|
|
654
|
-
"aliases": [],
|
|
655
|
-
"args": {
|
|
656
|
-
"name": {
|
|
657
|
-
"description": "name of Heroku account to remove",
|
|
658
|
-
"name": "name",
|
|
659
|
-
"required": true
|
|
660
|
-
}
|
|
661
|
-
},
|
|
662
|
-
"description": "remove a Heroku account from your cache",
|
|
663
|
-
"examples": "heroku accounts:remove my-account",
|
|
664
|
-
"flags": {},
|
|
665
|
-
"hasDynamicHelp": false,
|
|
666
|
-
"hiddenAliases": [],
|
|
667
|
-
"id": "accounts:remove",
|
|
668
|
-
"pluginAlias": "heroku",
|
|
669
|
-
"pluginName": "heroku",
|
|
670
|
-
"pluginType": "core",
|
|
671
|
-
"strict": true,
|
|
672
|
-
"example": "heroku accounts:remove my-account",
|
|
673
|
-
"isESM": false,
|
|
674
|
-
"relativePath": [
|
|
675
|
-
"lib",
|
|
676
|
-
"commands",
|
|
677
|
-
"accounts",
|
|
678
|
-
"remove.js"
|
|
679
|
-
]
|
|
680
|
-
},
|
|
681
|
-
"accounts:set": {
|
|
682
|
-
"aliases": [],
|
|
683
|
-
"args": {
|
|
684
|
-
"name": {
|
|
685
|
-
"description": "name of account to set",
|
|
686
|
-
"name": "name",
|
|
687
|
-
"required": true
|
|
688
|
-
}
|
|
689
|
-
},
|
|
690
|
-
"description": "set the current Heroku account from your cache",
|
|
691
|
-
"examples": "heroku accounts:set my-account",
|
|
692
|
-
"flags": {},
|
|
693
|
-
"hasDynamicHelp": false,
|
|
694
|
-
"hiddenAliases": [],
|
|
695
|
-
"id": "accounts:set",
|
|
696
|
-
"pluginAlias": "heroku",
|
|
697
|
-
"pluginName": "heroku",
|
|
698
|
-
"pluginType": "core",
|
|
699
|
-
"strict": true,
|
|
700
|
-
"example": "heroku accounts:set my-account",
|
|
701
|
-
"isESM": false,
|
|
702
|
-
"relativePath": [
|
|
703
|
-
"lib",
|
|
704
|
-
"commands",
|
|
705
|
-
"accounts",
|
|
706
|
-
"set.js"
|
|
707
|
-
]
|
|
708
|
-
},
|
|
709
583
|
"addons:attach": {
|
|
710
584
|
"aliases": [],
|
|
711
585
|
"args": {
|
|
@@ -1360,6 +1234,134 @@
|
|
|
1360
1234
|
"wait.js"
|
|
1361
1235
|
]
|
|
1362
1236
|
},
|
|
1237
|
+
"accounts:add": {
|
|
1238
|
+
"aliases": [],
|
|
1239
|
+
"args": {
|
|
1240
|
+
"name": {
|
|
1241
|
+
"description": "name of Heroku account to add",
|
|
1242
|
+
"name": "name",
|
|
1243
|
+
"required": true
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"description": "add a Heroku account to your cache",
|
|
1247
|
+
"examples": "heroku accounts:add my-account",
|
|
1248
|
+
"flags": {},
|
|
1249
|
+
"hasDynamicHelp": false,
|
|
1250
|
+
"hiddenAliases": [],
|
|
1251
|
+
"id": "accounts:add",
|
|
1252
|
+
"pluginAlias": "heroku",
|
|
1253
|
+
"pluginName": "heroku",
|
|
1254
|
+
"pluginType": "core",
|
|
1255
|
+
"strict": true,
|
|
1256
|
+
"example": "heroku accounts:add my-account",
|
|
1257
|
+
"isESM": false,
|
|
1258
|
+
"relativePath": [
|
|
1259
|
+
"lib",
|
|
1260
|
+
"commands",
|
|
1261
|
+
"accounts",
|
|
1262
|
+
"add.js"
|
|
1263
|
+
]
|
|
1264
|
+
},
|
|
1265
|
+
"accounts:current": {
|
|
1266
|
+
"aliases": [],
|
|
1267
|
+
"args": {},
|
|
1268
|
+
"description": "display the current Heroku account",
|
|
1269
|
+
"examples": "heroku accounts:current",
|
|
1270
|
+
"flags": {},
|
|
1271
|
+
"hasDynamicHelp": false,
|
|
1272
|
+
"hiddenAliases": [],
|
|
1273
|
+
"id": "accounts:current",
|
|
1274
|
+
"pluginAlias": "heroku",
|
|
1275
|
+
"pluginName": "heroku",
|
|
1276
|
+
"pluginType": "core",
|
|
1277
|
+
"strict": true,
|
|
1278
|
+
"example": "heroku accounts:current",
|
|
1279
|
+
"isESM": false,
|
|
1280
|
+
"relativePath": [
|
|
1281
|
+
"lib",
|
|
1282
|
+
"commands",
|
|
1283
|
+
"accounts",
|
|
1284
|
+
"current.js"
|
|
1285
|
+
]
|
|
1286
|
+
},
|
|
1287
|
+
"accounts": {
|
|
1288
|
+
"aliases": [],
|
|
1289
|
+
"args": {},
|
|
1290
|
+
"description": "list the Heroku accounts in your cache",
|
|
1291
|
+
"examples": "heroku accounts",
|
|
1292
|
+
"flags": {},
|
|
1293
|
+
"hasDynamicHelp": false,
|
|
1294
|
+
"hiddenAliases": [],
|
|
1295
|
+
"id": "accounts",
|
|
1296
|
+
"pluginAlias": "heroku",
|
|
1297
|
+
"pluginName": "heroku",
|
|
1298
|
+
"pluginType": "core",
|
|
1299
|
+
"strict": true,
|
|
1300
|
+
"example": "heroku accounts",
|
|
1301
|
+
"isESM": false,
|
|
1302
|
+
"relativePath": [
|
|
1303
|
+
"lib",
|
|
1304
|
+
"commands",
|
|
1305
|
+
"accounts",
|
|
1306
|
+
"index.js"
|
|
1307
|
+
]
|
|
1308
|
+
},
|
|
1309
|
+
"accounts:remove": {
|
|
1310
|
+
"aliases": [],
|
|
1311
|
+
"args": {
|
|
1312
|
+
"name": {
|
|
1313
|
+
"description": "name of Heroku account to remove",
|
|
1314
|
+
"name": "name",
|
|
1315
|
+
"required": true
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
"description": "remove a Heroku account from your cache",
|
|
1319
|
+
"examples": "heroku accounts:remove my-account",
|
|
1320
|
+
"flags": {},
|
|
1321
|
+
"hasDynamicHelp": false,
|
|
1322
|
+
"hiddenAliases": [],
|
|
1323
|
+
"id": "accounts:remove",
|
|
1324
|
+
"pluginAlias": "heroku",
|
|
1325
|
+
"pluginName": "heroku",
|
|
1326
|
+
"pluginType": "core",
|
|
1327
|
+
"strict": true,
|
|
1328
|
+
"example": "heroku accounts:remove my-account",
|
|
1329
|
+
"isESM": false,
|
|
1330
|
+
"relativePath": [
|
|
1331
|
+
"lib",
|
|
1332
|
+
"commands",
|
|
1333
|
+
"accounts",
|
|
1334
|
+
"remove.js"
|
|
1335
|
+
]
|
|
1336
|
+
},
|
|
1337
|
+
"accounts:set": {
|
|
1338
|
+
"aliases": [],
|
|
1339
|
+
"args": {
|
|
1340
|
+
"name": {
|
|
1341
|
+
"description": "name of account to set",
|
|
1342
|
+
"name": "name",
|
|
1343
|
+
"required": true
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
"description": "set the current Heroku account from your cache",
|
|
1347
|
+
"examples": "heroku accounts:set my-account",
|
|
1348
|
+
"flags": {},
|
|
1349
|
+
"hasDynamicHelp": false,
|
|
1350
|
+
"hiddenAliases": [],
|
|
1351
|
+
"id": "accounts:set",
|
|
1352
|
+
"pluginAlias": "heroku",
|
|
1353
|
+
"pluginName": "heroku",
|
|
1354
|
+
"pluginType": "core",
|
|
1355
|
+
"strict": true,
|
|
1356
|
+
"example": "heroku accounts:set my-account",
|
|
1357
|
+
"isESM": false,
|
|
1358
|
+
"relativePath": [
|
|
1359
|
+
"lib",
|
|
1360
|
+
"commands",
|
|
1361
|
+
"accounts",
|
|
1362
|
+
"set.js"
|
|
1363
|
+
]
|
|
1364
|
+
},
|
|
1363
1365
|
"apps:create": {
|
|
1364
1366
|
"aliases": [],
|
|
1365
1367
|
"args": {
|
|
@@ -12821,8 +12823,10 @@
|
|
|
12821
12823
|
"auto-explain.js"
|
|
12822
12824
|
]
|
|
12823
12825
|
},
|
|
12824
|
-
"pg:settings:
|
|
12825
|
-
"aliases": [
|
|
12826
|
+
"pg:settings:data-connector-details-logs": {
|
|
12827
|
+
"aliases": [
|
|
12828
|
+
"pg:settings:explain-data-connector-details"
|
|
12829
|
+
],
|
|
12826
12830
|
"args": {
|
|
12827
12831
|
"database": {
|
|
12828
12832
|
"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.",
|
|
@@ -12855,7 +12859,7 @@
|
|
|
12855
12859
|
},
|
|
12856
12860
|
"hasDynamicHelp": false,
|
|
12857
12861
|
"hiddenAliases": [],
|
|
12858
|
-
"id": "pg:settings:
|
|
12862
|
+
"id": "pg:settings:data-connector-details-logs",
|
|
12859
12863
|
"pluginAlias": "heroku",
|
|
12860
12864
|
"pluginName": "heroku",
|
|
12861
12865
|
"pluginType": "core",
|
|
@@ -12866,7 +12870,7 @@
|
|
|
12866
12870
|
"commands",
|
|
12867
12871
|
"pg",
|
|
12868
12872
|
"settings",
|
|
12869
|
-
"
|
|
12873
|
+
"data-connector-details-logs.js"
|
|
12870
12874
|
]
|
|
12871
12875
|
},
|
|
12872
12876
|
"pg:settings": {
|
|
@@ -15003,5 +15007,5 @@
|
|
|
15003
15007
|
]
|
|
15004
15008
|
}
|
|
15005
15009
|
},
|
|
15006
|
-
"version": "10.
|
|
15010
|
+
"version": "10.12.0-beta.0"
|
|
15007
15011
|
}
|
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.
|
|
4
|
+
"version": "10.12.0-beta.0",
|
|
5
5
|
"author": "Heroku",
|
|
6
6
|
"bin": "./bin/run",
|
|
7
7
|
"bugs": "https://github.com/heroku/cli/issues",
|
|
@@ -400,5 +400,5 @@
|
|
|
400
400
|
"version": "oclif readme --multi && git add README.md ../../docs"
|
|
401
401
|
},
|
|
402
402
|
"types": "lib/index.d.ts",
|
|
403
|
-
"gitHead": "
|
|
403
|
+
"gitHead": "dc04184e2fac42649481987d42958f022e7e406c"
|
|
404
404
|
}
|