@heroku-cli/plugin-data 2.0.0-beta.0 → 2.0.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
@@ -82,7 +82,7 @@ EXAMPLES
82
82
  $ heroku data:connectors --addon=your-postgres-addon --table
83
83
  ```
84
84
 
85
- _See code: [src/commands/data/connectors/index.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/connectors/index.ts)_
85
+ _See code: [src/commands/data/connectors/index.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/connectors/index.ts)_
86
86
 
87
87
  ## `heroku data:connectors:create`
88
88
 
@@ -111,7 +111,7 @@ EXAMPLES
111
111
  $ heroku data:connectors:create --store kafka-lovely-12345 --source postgresql-neato-98765 --table public.users --exclude-column public.users.password
112
112
  ```
113
113
 
114
- _See code: [src/commands/data/connectors/create.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/connectors/create.ts)_
114
+ _See code: [src/commands/data/connectors/create.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/connectors/create.ts)_
115
115
 
116
116
  ## `heroku data:connectors:destroy CONNECTOR`
117
117
 
@@ -137,7 +137,7 @@ EXAMPLES
137
137
  $ heroku data:connectors:destroy gentle-connector-1234 --confirm gentle-connector-1234
138
138
  ```
139
139
 
140
- _See code: [src/commands/data/connectors/destroy.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/connectors/destroy.ts)_
140
+ _See code: [src/commands/data/connectors/destroy.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/connectors/destroy.ts)_
141
141
 
142
142
  ## `heroku data:connectors:info CONNECTOR`
143
143
 
@@ -163,7 +163,7 @@ EXAMPLES
163
163
  $ heroku data:connectors:info gentle-connector-1234 --json
164
164
  ```
165
165
 
166
- _See code: [src/commands/data/connectors/info.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/connectors/info.ts)_
166
+ _See code: [src/commands/data/connectors/info.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/connectors/info.ts)_
167
167
 
168
168
  ## `heroku data:connectors:list`
169
169
 
@@ -214,7 +214,7 @@ EXAMPLES
214
214
  $ heroku data:connectors:pause gentle-connector-1234
215
215
  ```
216
216
 
217
- _See code: [src/commands/data/connectors/pause.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/connectors/pause.ts)_
217
+ _See code: [src/commands/data/connectors/pause.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/connectors/pause.ts)_
218
218
 
219
219
  ## `heroku data:connectors:resume CONNECTOR`
220
220
 
@@ -235,7 +235,7 @@ EXAMPLES
235
235
  $ heroku data:connectors:resume gentle-connector-1234
236
236
  ```
237
237
 
238
- _See code: [src/commands/data/connectors/resume.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/connectors/resume.ts)_
238
+ _See code: [src/commands/data/connectors/resume.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/connectors/resume.ts)_
239
239
 
240
240
  ## `heroku data:connectors:update CONNECTOR`
241
241
 
@@ -264,7 +264,7 @@ EXAMPLES
264
264
  $ heroku data:connectors:update gentle-connector-1234 --setting key=value --setting otherKey=otherValue --add-table public.posts --add-table public.people --remove-table public.messages --exclude-column public.posts.key --remove-excluded-column public.parcels.key
265
265
  ```
266
266
 
267
- _See code: [src/commands/data/connectors/update.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/connectors/update.ts)_
267
+ _See code: [src/commands/data/connectors/update.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/connectors/update.ts)_
268
268
 
269
269
  ## `heroku data:connectors:wait CONNECTOR`
270
270
 
@@ -285,7 +285,7 @@ EXAMPLES
285
285
  $ heroku data:connectors:wait gentle-connector-1234
286
286
  ```
287
287
 
288
- _See code: [src/commands/data/connectors/wait.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/connectors/wait.ts)_
288
+ _See code: [src/commands/data/connectors/wait.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/connectors/wait.ts)_
289
289
 
290
290
  ## `heroku data:enhanced-certificates:disable ADDON`
291
291
 
@@ -306,7 +306,7 @@ DESCRIPTION
306
306
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates
307
307
  ```
308
308
 
309
- _See code: [src/commands/data/enhanced-certificates/disable.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/enhanced-certificates/disable.ts)_
309
+ _See code: [src/commands/data/enhanced-certificates/disable.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/enhanced-certificates/disable.ts)_
310
310
 
311
311
  ## `heroku data:enhanced-certificates:enable ADDON`
312
312
 
@@ -330,7 +330,7 @@ EXAMPLES
330
330
  $ heroku data:enhanced-certificates:enable happy-postgres-1234 -a example-app
331
331
  ```
332
332
 
333
- _See code: [src/commands/data/enhanced-certificates/enable.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/enhanced-certificates/enable.ts)_
333
+ _See code: [src/commands/data/enhanced-certificates/enable.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/enhanced-certificates/enable.ts)_
334
334
 
335
335
  ## `heroku data:enhanced-certificates:status ADDON`
336
336
 
@@ -352,7 +352,7 @@ DESCRIPTION
352
352
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates
353
353
  ```
354
354
 
355
- _See code: [src/commands/data/enhanced-certificates/status.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/enhanced-certificates/status.ts)_
355
+ _See code: [src/commands/data/enhanced-certificates/status.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/enhanced-certificates/status.ts)_
356
356
 
357
357
  ## `heroku data:labs:disable FEATURE`
358
358
 
@@ -376,7 +376,7 @@ EXAMPLES
376
376
  $ heroku data:labs:disable wal-compression --addon=happy-postgres-1234 -a example-app
377
377
  ```
378
378
 
379
- _See code: [src/commands/data/labs/disable.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/labs/disable.ts)_
379
+ _See code: [src/commands/data/labs/disable.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/labs/disable.ts)_
380
380
 
381
381
  ## `heroku data:labs:enable FEATURE`
382
382
 
@@ -400,7 +400,7 @@ EXAMPLES
400
400
  $ heroku data:labs:enable wal-compression --addon=happy-postgres-1234 -a example-app
401
401
  ```
402
402
 
403
- _See code: [src/commands/data/labs/enable.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/labs/enable.ts)_
403
+ _See code: [src/commands/data/labs/enable.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/labs/enable.ts)_
404
404
 
405
405
  ## `heroku data:labs:list ADDON`
406
406
 
@@ -423,5 +423,5 @@ EXAMPLES
423
423
  $ heroku data:labs:list happy-postgres-1234
424
424
  ```
425
425
 
426
- _See code: [src/commands/data/labs/list.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0-beta.0/src/commands/data/labs/list.ts)_
426
+ _See code: [src/commands/data/labs/list.ts](https://github.com/heroku/heroku-cli-plugin-data/blob/v2.0.0/src/commands/data/labs/list.ts)_
427
427
  <!-- commandsstop -->
@@ -391,17 +391,28 @@
391
391
  "wait.js"
392
392
  ]
393
393
  },
394
- "data:enhanced-certificates:disable": {
394
+ "data:labs:disable": {
395
395
  "aliases": [],
396
396
  "args": {
397
- "addon": {
398
- "description": "name of the addon",
399
- "name": "addon",
397
+ "feature": {
398
+ "description": "name of the feature",
399
+ "name": "feature",
400
400
  "required": true
401
401
  }
402
402
  },
403
- "description": "Disable enhanced certificates on an Addon\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates",
403
+ "description": "Disable experimental features on an addon",
404
+ "examples": [
405
+ "$ heroku data:labs:disable wal-compression --addon=happy-postgres-1234 -a example-app"
406
+ ],
404
407
  "flags": {
408
+ "addon": {
409
+ "description": "The addon you want to disable features on",
410
+ "name": "addon",
411
+ "required": true,
412
+ "hasDynamicHelp": false,
413
+ "multiple": false,
414
+ "type": "option"
415
+ },
405
416
  "app": {
406
417
  "char": "a",
407
418
  "description": "app to run command against",
@@ -413,7 +424,7 @@
413
424
  },
414
425
  "hasDynamicHelp": false,
415
426
  "hiddenAliases": [],
416
- "id": "data:enhanced-certificates:disable",
427
+ "id": "data:labs:disable",
417
428
  "pluginAlias": "@heroku-cli/plugin-data",
418
429
  "pluginName": "@heroku-cli/plugin-data",
419
430
  "pluginType": "core",
@@ -423,24 +434,32 @@
423
434
  "lib",
424
435
  "commands",
425
436
  "data",
426
- "enhanced-certificates",
437
+ "labs",
427
438
  "disable.js"
428
439
  ]
429
440
  },
430
- "data:enhanced-certificates:enable": {
441
+ "data:labs:enable": {
431
442
  "aliases": [],
432
443
  "args": {
433
- "addon": {
434
- "description": "name of the addon",
435
- "name": "addon",
444
+ "feature": {
445
+ "description": "name of the feature",
446
+ "name": "feature",
436
447
  "required": true
437
448
  }
438
449
  },
439
- "description": "Enable enhanced certificates on an Addon\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates",
450
+ "description": "Enable experimental features on an addon",
440
451
  "examples": [
441
- "$ heroku data:enhanced-certificates:enable happy-postgres-1234 -a example-app"
452
+ "$ heroku data:labs:enable wal-compression --addon=happy-postgres-1234 -a example-app"
442
453
  ],
443
454
  "flags": {
455
+ "addon": {
456
+ "description": "The addon you want to enable features on",
457
+ "name": "addon",
458
+ "required": true,
459
+ "hasDynamicHelp": false,
460
+ "multiple": false,
461
+ "type": "option"
462
+ },
444
463
  "app": {
445
464
  "char": "a",
446
465
  "description": "app to run command against",
@@ -452,7 +471,7 @@
452
471
  },
453
472
  "hasDynamicHelp": false,
454
473
  "hiddenAliases": [],
455
- "id": "data:enhanced-certificates:enable",
474
+ "id": "data:labs:enable",
456
475
  "pluginAlias": "@heroku-cli/plugin-data",
457
476
  "pluginName": "@heroku-cli/plugin-data",
458
477
  "pluginType": "core",
@@ -462,11 +481,11 @@
462
481
  "lib",
463
482
  "commands",
464
483
  "data",
465
- "enhanced-certificates",
484
+ "labs",
466
485
  "enable.js"
467
486
  ]
468
487
  },
469
- "data:enhanced-certificates:status": {
488
+ "data:labs:list": {
470
489
  "aliases": [],
471
490
  "args": {
472
491
  "addon": {
@@ -475,7 +494,10 @@
475
494
  "required": true
476
495
  }
477
496
  },
478
- "description": "Get the status of Enhanced Certificates\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates",
497
+ "description": "List available experimental features on an addon and their statuses",
498
+ "examples": [
499
+ "$ heroku data:labs:list happy-postgres-1234"
500
+ ],
479
501
  "flags": {
480
502
  "app": {
481
503
  "char": "a",
@@ -484,17 +506,11 @@
484
506
  "hasDynamicHelp": false,
485
507
  "multiple": false,
486
508
  "type": "option"
487
- },
488
- "json": {
489
- "description": "Return the results as JSON",
490
- "name": "json",
491
- "allowNo": false,
492
- "type": "boolean"
493
509
  }
494
510
  },
495
511
  "hasDynamicHelp": false,
496
512
  "hiddenAliases": [],
497
- "id": "data:enhanced-certificates:status",
513
+ "id": "data:labs:list",
498
514
  "pluginAlias": "@heroku-cli/plugin-data",
499
515
  "pluginName": "@heroku-cli/plugin-data",
500
516
  "pluginType": "core",
@@ -504,32 +520,21 @@
504
520
  "lib",
505
521
  "commands",
506
522
  "data",
507
- "enhanced-certificates",
508
- "status.js"
523
+ "labs",
524
+ "list.js"
509
525
  ]
510
526
  },
511
- "data:labs:disable": {
527
+ "data:enhanced-certificates:disable": {
512
528
  "aliases": [],
513
529
  "args": {
514
- "feature": {
515
- "description": "name of the feature",
516
- "name": "feature",
530
+ "addon": {
531
+ "description": "name of the addon",
532
+ "name": "addon",
517
533
  "required": true
518
534
  }
519
535
  },
520
- "description": "Disable experimental features on an addon",
521
- "examples": [
522
- "$ heroku data:labs:disable wal-compression --addon=happy-postgres-1234 -a example-app"
523
- ],
536
+ "description": "Disable enhanced certificates on an Addon\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates",
524
537
  "flags": {
525
- "addon": {
526
- "description": "The addon you want to disable features on",
527
- "name": "addon",
528
- "required": true,
529
- "hasDynamicHelp": false,
530
- "multiple": false,
531
- "type": "option"
532
- },
533
538
  "app": {
534
539
  "char": "a",
535
540
  "description": "app to run command against",
@@ -541,7 +546,7 @@
541
546
  },
542
547
  "hasDynamicHelp": false,
543
548
  "hiddenAliases": [],
544
- "id": "data:labs:disable",
549
+ "id": "data:enhanced-certificates:disable",
545
550
  "pluginAlias": "@heroku-cli/plugin-data",
546
551
  "pluginName": "@heroku-cli/plugin-data",
547
552
  "pluginType": "core",
@@ -551,32 +556,24 @@
551
556
  "lib",
552
557
  "commands",
553
558
  "data",
554
- "labs",
559
+ "enhanced-certificates",
555
560
  "disable.js"
556
561
  ]
557
562
  },
558
- "data:labs:enable": {
563
+ "data:enhanced-certificates:enable": {
559
564
  "aliases": [],
560
565
  "args": {
561
- "feature": {
562
- "description": "name of the feature",
563
- "name": "feature",
566
+ "addon": {
567
+ "description": "name of the addon",
568
+ "name": "addon",
564
569
  "required": true
565
570
  }
566
571
  },
567
- "description": "Enable experimental features on an addon",
572
+ "description": "Enable enhanced certificates on an Addon\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates",
568
573
  "examples": [
569
- "$ heroku data:labs:enable wal-compression --addon=happy-postgres-1234 -a example-app"
574
+ "$ heroku data:enhanced-certificates:enable happy-postgres-1234 -a example-app"
570
575
  ],
571
576
  "flags": {
572
- "addon": {
573
- "description": "The addon you want to enable features on",
574
- "name": "addon",
575
- "required": true,
576
- "hasDynamicHelp": false,
577
- "multiple": false,
578
- "type": "option"
579
- },
580
577
  "app": {
581
578
  "char": "a",
582
579
  "description": "app to run command against",
@@ -588,7 +585,7 @@
588
585
  },
589
586
  "hasDynamicHelp": false,
590
587
  "hiddenAliases": [],
591
- "id": "data:labs:enable",
588
+ "id": "data:enhanced-certificates:enable",
592
589
  "pluginAlias": "@heroku-cli/plugin-data",
593
590
  "pluginName": "@heroku-cli/plugin-data",
594
591
  "pluginType": "core",
@@ -598,11 +595,11 @@
598
595
  "lib",
599
596
  "commands",
600
597
  "data",
601
- "labs",
598
+ "enhanced-certificates",
602
599
  "enable.js"
603
600
  ]
604
601
  },
605
- "data:labs:list": {
602
+ "data:enhanced-certificates:status": {
606
603
  "aliases": [],
607
604
  "args": {
608
605
  "addon": {
@@ -611,10 +608,7 @@
611
608
  "required": true
612
609
  }
613
610
  },
614
- "description": "List available experimental features on an addon and their statuses",
615
- "examples": [
616
- "$ heroku data:labs:list happy-postgres-1234"
617
- ],
611
+ "description": "Get the status of Enhanced Certificates\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates",
618
612
  "flags": {
619
613
  "app": {
620
614
  "char": "a",
@@ -623,11 +617,17 @@
623
617
  "hasDynamicHelp": false,
624
618
  "multiple": false,
625
619
  "type": "option"
620
+ },
621
+ "json": {
622
+ "description": "Return the results as JSON",
623
+ "name": "json",
624
+ "allowNo": false,
625
+ "type": "boolean"
626
626
  }
627
627
  },
628
628
  "hasDynamicHelp": false,
629
629
  "hiddenAliases": [],
630
- "id": "data:labs:list",
630
+ "id": "data:enhanced-certificates:status",
631
631
  "pluginAlias": "@heroku-cli/plugin-data",
632
632
  "pluginName": "@heroku-cli/plugin-data",
633
633
  "pluginType": "core",
@@ -637,10 +637,10 @@
637
637
  "lib",
638
638
  "commands",
639
639
  "data",
640
- "labs",
641
- "list.js"
640
+ "enhanced-certificates",
641
+ "status.js"
642
642
  ]
643
643
  }
644
644
  },
645
- "version": "2.0.0-beta.0"
645
+ "version": "2.0.0"
646
646
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heroku-cli/plugin-data",
3
3
  "description": "A Heroku CLI Plugin for managing Heroku Data",
4
- "version": "2.0.0-beta.0",
4
+ "version": "2.0.0",
5
5
  "author": "Heroku",
6
6
  "bugs": "https://github.com/heroku/heroku-cli-plugin-data/issues",
7
7
  "dependencies": {
@@ -27,6 +27,7 @@
27
27
  "mocha": "^11.1.0",
28
28
  "nock": "^13.5.6",
29
29
  "nyc": "^17.1.0",
30
+ "oclif": "^4.20.1",
30
31
  "ts-node": "^10.9.2",
31
32
  "typescript": "^5.8.2"
32
33
  },