@enspirit/emb 0.15.0 → 0.17.5
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 +218 -43
- package/bin/release +122 -0
- package/dist/src/cli/abstract/BaseCommand.d.ts +1 -0
- package/dist/src/cli/abstract/BaseCommand.js +23 -4
- package/dist/src/cli/abstract/FlavouredCommand.d.ts +1 -0
- package/dist/src/cli/abstract/KubernetesCommand.d.ts +1 -0
- package/dist/src/cli/commands/components/logs.d.ts +2 -1
- package/dist/src/cli/commands/components/logs.js +21 -24
- package/dist/src/cli/commands/secrets/index.d.ts +14 -0
- package/dist/src/cli/commands/secrets/index.js +71 -0
- package/dist/src/cli/commands/secrets/providers.d.ts +12 -0
- package/dist/src/cli/commands/secrets/providers.js +50 -0
- package/dist/src/cli/commands/secrets/validate.d.ts +18 -0
- package/dist/src/cli/commands/secrets/validate.js +145 -0
- package/dist/src/cli/commands/tasks/run.js +6 -1
- package/dist/src/cli/hooks/init.js +7 -1
- package/dist/src/config/index.d.ts +10 -1
- package/dist/src/config/index.js +28 -3
- package/dist/src/config/schema.d.ts +7 -4
- package/dist/src/config/schema.json +173 -9
- package/dist/src/context.d.ts +9 -0
- package/dist/src/context.js +19 -0
- package/dist/src/docker/compose/operations/ComposeLogsOperation.d.ts +21 -0
- package/dist/src/docker/compose/operations/ComposeLogsOperation.js +85 -0
- package/dist/src/docker/compose/operations/index.d.ts +1 -0
- package/dist/src/docker/compose/operations/index.js +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/monorepo/monorepo.js +13 -5
- package/dist/src/monorepo/operations/shell/ExecuteLocalCommandOperation.js +40 -10
- package/dist/src/monorepo/operations/tasks/RunTasksOperation.d.ts +1 -1
- package/dist/src/monorepo/operations/tasks/RunTasksOperation.js +1 -1
- package/dist/src/monorepo/plugins/VaultPlugin.d.ts +46 -0
- package/dist/src/monorepo/plugins/VaultPlugin.js +91 -0
- package/dist/src/monorepo/plugins/index.d.ts +1 -0
- package/dist/src/monorepo/plugins/index.js +3 -0
- package/dist/src/secrets/SecretDiscovery.d.ts +46 -0
- package/dist/src/secrets/SecretDiscovery.js +82 -0
- package/dist/src/secrets/SecretManager.d.ts +52 -0
- package/dist/src/secrets/SecretManager.js +75 -0
- package/dist/src/secrets/SecretProvider.d.ts +45 -0
- package/dist/src/secrets/SecretProvider.js +38 -0
- package/dist/src/secrets/index.d.ts +3 -0
- package/dist/src/secrets/index.js +3 -0
- package/dist/src/secrets/providers/VaultOidcHelper.d.ts +39 -0
- package/dist/src/secrets/providers/VaultOidcHelper.js +226 -0
- package/dist/src/secrets/providers/VaultProvider.d.ts +74 -0
- package/dist/src/secrets/providers/VaultProvider.js +266 -0
- package/dist/src/secrets/providers/VaultTokenCache.d.ts +60 -0
- package/dist/src/secrets/providers/VaultTokenCache.js +188 -0
- package/dist/src/secrets/providers/index.d.ts +2 -0
- package/dist/src/secrets/providers/index.js +2 -0
- package/dist/src/types.d.ts +2 -0
- package/dist/src/utils/TemplateExpander.d.ts +13 -1
- package/dist/src/utils/TemplateExpander.js +68 -15
- package/oclif.manifest.json +578 -173
- package/package.json +12 -5
package/oclif.manifest.json
CHANGED
|
@@ -20,6 +20,15 @@
|
|
|
20
20
|
"allowNo": true,
|
|
21
21
|
"type": "boolean"
|
|
22
22
|
},
|
|
23
|
+
"root": {
|
|
24
|
+
"char": "C",
|
|
25
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
26
|
+
"name": "root",
|
|
27
|
+
"required": false,
|
|
28
|
+
"hasDynamicHelp": false,
|
|
29
|
+
"multiple": false,
|
|
30
|
+
"type": "option"
|
|
31
|
+
},
|
|
23
32
|
"force": {
|
|
24
33
|
"char": "f",
|
|
25
34
|
"description": "Force the deletion of containers & images",
|
|
@@ -65,6 +74,15 @@
|
|
|
65
74
|
"allowNo": true,
|
|
66
75
|
"type": "boolean"
|
|
67
76
|
},
|
|
77
|
+
"root": {
|
|
78
|
+
"char": "C",
|
|
79
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
80
|
+
"name": "root",
|
|
81
|
+
"required": false,
|
|
82
|
+
"hasDynamicHelp": false,
|
|
83
|
+
"multiple": false,
|
|
84
|
+
"type": "option"
|
|
85
|
+
},
|
|
68
86
|
"flavor": {
|
|
69
87
|
"description": "Specify the flavor to use.",
|
|
70
88
|
"name": "flavor",
|
|
@@ -104,6 +122,15 @@
|
|
|
104
122
|
"allowNo": true,
|
|
105
123
|
"type": "boolean"
|
|
106
124
|
},
|
|
125
|
+
"root": {
|
|
126
|
+
"char": "C",
|
|
127
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
128
|
+
"name": "root",
|
|
129
|
+
"required": false,
|
|
130
|
+
"hasDynamicHelp": false,
|
|
131
|
+
"multiple": false,
|
|
132
|
+
"type": "option"
|
|
133
|
+
},
|
|
107
134
|
"flavor": {
|
|
108
135
|
"description": "Specify the flavor to use.",
|
|
109
136
|
"name": "flavor",
|
|
@@ -162,6 +189,15 @@
|
|
|
162
189
|
"allowNo": true,
|
|
163
190
|
"type": "boolean"
|
|
164
191
|
},
|
|
192
|
+
"root": {
|
|
193
|
+
"char": "C",
|
|
194
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
195
|
+
"name": "root",
|
|
196
|
+
"required": false,
|
|
197
|
+
"hasDynamicHelp": false,
|
|
198
|
+
"multiple": false,
|
|
199
|
+
"type": "option"
|
|
200
|
+
},
|
|
165
201
|
"no-deps": {
|
|
166
202
|
"char": "f",
|
|
167
203
|
"description": "Don't restart depdendent components",
|
|
@@ -211,6 +247,15 @@
|
|
|
211
247
|
"name": "verbose",
|
|
212
248
|
"allowNo": true,
|
|
213
249
|
"type": "boolean"
|
|
250
|
+
},
|
|
251
|
+
"root": {
|
|
252
|
+
"char": "C",
|
|
253
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
254
|
+
"name": "root",
|
|
255
|
+
"required": false,
|
|
256
|
+
"hasDynamicHelp": false,
|
|
257
|
+
"multiple": false,
|
|
258
|
+
"type": "option"
|
|
214
259
|
}
|
|
215
260
|
},
|
|
216
261
|
"hasDynamicHelp": false,
|
|
@@ -250,6 +295,15 @@
|
|
|
250
295
|
"allowNo": true,
|
|
251
296
|
"type": "boolean"
|
|
252
297
|
},
|
|
298
|
+
"root": {
|
|
299
|
+
"char": "C",
|
|
300
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
301
|
+
"name": "root",
|
|
302
|
+
"required": false,
|
|
303
|
+
"hasDynamicHelp": false,
|
|
304
|
+
"multiple": false,
|
|
305
|
+
"type": "option"
|
|
306
|
+
},
|
|
253
307
|
"flavor": {
|
|
254
308
|
"description": "Specify the flavor to use.",
|
|
255
309
|
"name": "flavor",
|
|
@@ -301,6 +355,15 @@
|
|
|
301
355
|
"allowNo": true,
|
|
302
356
|
"type": "boolean"
|
|
303
357
|
},
|
|
358
|
+
"root": {
|
|
359
|
+
"char": "C",
|
|
360
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
361
|
+
"name": "root",
|
|
362
|
+
"required": false,
|
|
363
|
+
"hasDynamicHelp": false,
|
|
364
|
+
"multiple": false,
|
|
365
|
+
"type": "option"
|
|
366
|
+
},
|
|
304
367
|
"flavor": {
|
|
305
368
|
"description": "Specify the flavor to use.",
|
|
306
369
|
"name": "flavor",
|
|
@@ -334,10 +397,10 @@
|
|
|
334
397
|
"up.js"
|
|
335
398
|
]
|
|
336
399
|
},
|
|
337
|
-
"
|
|
400
|
+
"components": {
|
|
338
401
|
"aliases": [],
|
|
339
402
|
"args": {},
|
|
340
|
-
"description": "
|
|
403
|
+
"description": "List components.",
|
|
341
404
|
"examples": [
|
|
342
405
|
"<%= config.bin %> <%= command.id %>"
|
|
343
406
|
],
|
|
@@ -354,52 +417,14 @@
|
|
|
354
417
|
"allowNo": true,
|
|
355
418
|
"type": "boolean"
|
|
356
419
|
},
|
|
357
|
-
"
|
|
358
|
-
"
|
|
359
|
-
"
|
|
420
|
+
"root": {
|
|
421
|
+
"char": "C",
|
|
422
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
423
|
+
"name": "root",
|
|
360
424
|
"required": false,
|
|
361
425
|
"hasDynamicHelp": false,
|
|
362
426
|
"multiple": false,
|
|
363
427
|
"type": "option"
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
"hasDynamicHelp": false,
|
|
367
|
-
"hiddenAliases": [],
|
|
368
|
-
"id": "config:print",
|
|
369
|
-
"pluginAlias": "@enspirit/emb",
|
|
370
|
-
"pluginName": "@enspirit/emb",
|
|
371
|
-
"pluginType": "core",
|
|
372
|
-
"strict": true,
|
|
373
|
-
"enableJsonFlag": true,
|
|
374
|
-
"isESM": true,
|
|
375
|
-
"relativePath": [
|
|
376
|
-
"dist",
|
|
377
|
-
"src",
|
|
378
|
-
"cli",
|
|
379
|
-
"commands",
|
|
380
|
-
"config",
|
|
381
|
-
"print.js"
|
|
382
|
-
]
|
|
383
|
-
},
|
|
384
|
-
"components": {
|
|
385
|
-
"aliases": [],
|
|
386
|
-
"args": {},
|
|
387
|
-
"description": "List components.",
|
|
388
|
-
"examples": [
|
|
389
|
-
"<%= config.bin %> <%= command.id %>"
|
|
390
|
-
],
|
|
391
|
-
"flags": {
|
|
392
|
-
"json": {
|
|
393
|
-
"description": "Format output as json.",
|
|
394
|
-
"helpGroup": "GLOBAL",
|
|
395
|
-
"name": "json",
|
|
396
|
-
"allowNo": false,
|
|
397
|
-
"type": "boolean"
|
|
398
|
-
},
|
|
399
|
-
"verbose": {
|
|
400
|
-
"name": "verbose",
|
|
401
|
-
"allowNo": true,
|
|
402
|
-
"type": "boolean"
|
|
403
428
|
},
|
|
404
429
|
"flavor": {
|
|
405
430
|
"description": "Specify the flavor to use.",
|
|
@@ -434,14 +459,17 @@
|
|
|
434
459
|
],
|
|
435
460
|
"args": {
|
|
436
461
|
"component": {
|
|
437
|
-
"description": "The component you want to see the logs of",
|
|
462
|
+
"description": "The component(s) you want to see the logs of (all if omitted)",
|
|
438
463
|
"name": "component",
|
|
439
|
-
"required":
|
|
464
|
+
"required": false
|
|
440
465
|
}
|
|
441
466
|
},
|
|
442
467
|
"description": "Get components logs.",
|
|
443
468
|
"examples": [
|
|
444
|
-
"<%= config.bin %> <%= command.id %>"
|
|
469
|
+
"<%= config.bin %> <%= command.id %>",
|
|
470
|
+
"<%= config.bin %> <%= command.id %> backend",
|
|
471
|
+
"<%= config.bin %> <%= command.id %> backend frontend",
|
|
472
|
+
"<%= config.bin %> <%= command.id %> --no-follow backend"
|
|
445
473
|
],
|
|
446
474
|
"flags": {
|
|
447
475
|
"verbose": {
|
|
@@ -449,6 +477,15 @@
|
|
|
449
477
|
"allowNo": true,
|
|
450
478
|
"type": "boolean"
|
|
451
479
|
},
|
|
480
|
+
"root": {
|
|
481
|
+
"char": "C",
|
|
482
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
483
|
+
"name": "root",
|
|
484
|
+
"required": false,
|
|
485
|
+
"hasDynamicHelp": false,
|
|
486
|
+
"multiple": false,
|
|
487
|
+
"type": "option"
|
|
488
|
+
},
|
|
452
489
|
"follow": {
|
|
453
490
|
"char": "f",
|
|
454
491
|
"description": "Follow log output",
|
|
@@ -463,7 +500,7 @@
|
|
|
463
500
|
"pluginAlias": "@enspirit/emb",
|
|
464
501
|
"pluginName": "@enspirit/emb",
|
|
465
502
|
"pluginType": "core",
|
|
466
|
-
"strict":
|
|
503
|
+
"strict": false,
|
|
467
504
|
"enableJsonFlag": false,
|
|
468
505
|
"isESM": true,
|
|
469
506
|
"relativePath": [
|
|
@@ -496,6 +533,15 @@
|
|
|
496
533
|
"allowNo": true,
|
|
497
534
|
"type": "boolean"
|
|
498
535
|
},
|
|
536
|
+
"root": {
|
|
537
|
+
"char": "C",
|
|
538
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
539
|
+
"name": "root",
|
|
540
|
+
"required": false,
|
|
541
|
+
"hasDynamicHelp": false,
|
|
542
|
+
"multiple": false,
|
|
543
|
+
"type": "option"
|
|
544
|
+
},
|
|
499
545
|
"shell": {
|
|
500
546
|
"char": "s",
|
|
501
547
|
"description": "The shell to run",
|
|
@@ -524,6 +570,62 @@
|
|
|
524
570
|
"shell.js"
|
|
525
571
|
]
|
|
526
572
|
},
|
|
573
|
+
"config:print": {
|
|
574
|
+
"aliases": [],
|
|
575
|
+
"args": {},
|
|
576
|
+
"description": "Print the current config.",
|
|
577
|
+
"examples": [
|
|
578
|
+
"<%= config.bin %> <%= command.id %>"
|
|
579
|
+
],
|
|
580
|
+
"flags": {
|
|
581
|
+
"json": {
|
|
582
|
+
"description": "Format output as json.",
|
|
583
|
+
"helpGroup": "GLOBAL",
|
|
584
|
+
"name": "json",
|
|
585
|
+
"allowNo": false,
|
|
586
|
+
"type": "boolean"
|
|
587
|
+
},
|
|
588
|
+
"verbose": {
|
|
589
|
+
"name": "verbose",
|
|
590
|
+
"allowNo": true,
|
|
591
|
+
"type": "boolean"
|
|
592
|
+
},
|
|
593
|
+
"root": {
|
|
594
|
+
"char": "C",
|
|
595
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
596
|
+
"name": "root",
|
|
597
|
+
"required": false,
|
|
598
|
+
"hasDynamicHelp": false,
|
|
599
|
+
"multiple": false,
|
|
600
|
+
"type": "option"
|
|
601
|
+
},
|
|
602
|
+
"flavor": {
|
|
603
|
+
"description": "Specify the flavor to use.",
|
|
604
|
+
"name": "flavor",
|
|
605
|
+
"required": false,
|
|
606
|
+
"hasDynamicHelp": false,
|
|
607
|
+
"multiple": false,
|
|
608
|
+
"type": "option"
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
"hasDynamicHelp": false,
|
|
612
|
+
"hiddenAliases": [],
|
|
613
|
+
"id": "config:print",
|
|
614
|
+
"pluginAlias": "@enspirit/emb",
|
|
615
|
+
"pluginName": "@enspirit/emb",
|
|
616
|
+
"pluginType": "core",
|
|
617
|
+
"strict": true,
|
|
618
|
+
"enableJsonFlag": true,
|
|
619
|
+
"isESM": true,
|
|
620
|
+
"relativePath": [
|
|
621
|
+
"dist",
|
|
622
|
+
"src",
|
|
623
|
+
"cli",
|
|
624
|
+
"commands",
|
|
625
|
+
"config",
|
|
626
|
+
"print.js"
|
|
627
|
+
]
|
|
628
|
+
},
|
|
527
629
|
"containers": {
|
|
528
630
|
"aliases": [],
|
|
529
631
|
"args": {},
|
|
@@ -544,6 +646,15 @@
|
|
|
544
646
|
"allowNo": true,
|
|
545
647
|
"type": "boolean"
|
|
546
648
|
},
|
|
649
|
+
"root": {
|
|
650
|
+
"char": "C",
|
|
651
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
652
|
+
"name": "root",
|
|
653
|
+
"required": false,
|
|
654
|
+
"hasDynamicHelp": false,
|
|
655
|
+
"multiple": false,
|
|
656
|
+
"type": "option"
|
|
657
|
+
},
|
|
547
658
|
"all": {
|
|
548
659
|
"char": "a",
|
|
549
660
|
"description": "Retun all containers. By default, only running containers are shown",
|
|
@@ -590,6 +701,15 @@
|
|
|
590
701
|
"name": "verbose",
|
|
591
702
|
"allowNo": true,
|
|
592
703
|
"type": "boolean"
|
|
704
|
+
},
|
|
705
|
+
"root": {
|
|
706
|
+
"char": "C",
|
|
707
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
708
|
+
"name": "root",
|
|
709
|
+
"required": false,
|
|
710
|
+
"hasDynamicHelp": false,
|
|
711
|
+
"multiple": false,
|
|
712
|
+
"type": "option"
|
|
593
713
|
}
|
|
594
714
|
},
|
|
595
715
|
"hasDynamicHelp": false,
|
|
@@ -630,6 +750,15 @@
|
|
|
630
750
|
"allowNo": true,
|
|
631
751
|
"type": "boolean"
|
|
632
752
|
},
|
|
753
|
+
"root": {
|
|
754
|
+
"char": "C",
|
|
755
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
756
|
+
"name": "root",
|
|
757
|
+
"required": false,
|
|
758
|
+
"hasDynamicHelp": false,
|
|
759
|
+
"multiple": false,
|
|
760
|
+
"type": "option"
|
|
761
|
+
},
|
|
633
762
|
"force": {
|
|
634
763
|
"char": "f",
|
|
635
764
|
"description": "Remove the image even if it is being used by stopped containers or has other tags",
|
|
@@ -677,6 +806,15 @@
|
|
|
677
806
|
"allowNo": true,
|
|
678
807
|
"type": "boolean"
|
|
679
808
|
},
|
|
809
|
+
"root": {
|
|
810
|
+
"char": "C",
|
|
811
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
812
|
+
"name": "root",
|
|
813
|
+
"required": false,
|
|
814
|
+
"hasDynamicHelp": false,
|
|
815
|
+
"multiple": false,
|
|
816
|
+
"type": "option"
|
|
817
|
+
},
|
|
680
818
|
"flavor": {
|
|
681
819
|
"description": "Specify the flavor to use.",
|
|
682
820
|
"name": "flavor",
|
|
@@ -732,6 +870,15 @@
|
|
|
732
870
|
"allowNo": true,
|
|
733
871
|
"type": "boolean"
|
|
734
872
|
},
|
|
873
|
+
"root": {
|
|
874
|
+
"char": "C",
|
|
875
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
876
|
+
"name": "root",
|
|
877
|
+
"required": false,
|
|
878
|
+
"hasDynamicHelp": false,
|
|
879
|
+
"multiple": false,
|
|
880
|
+
"type": "option"
|
|
881
|
+
},
|
|
735
882
|
"all": {
|
|
736
883
|
"char": "a",
|
|
737
884
|
"description": "Prune all images. When set to true all images will be pruned, not only dangling ones",
|
|
@@ -780,6 +927,15 @@
|
|
|
780
927
|
"allowNo": true,
|
|
781
928
|
"type": "boolean"
|
|
782
929
|
},
|
|
930
|
+
"root": {
|
|
931
|
+
"char": "C",
|
|
932
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
933
|
+
"name": "root",
|
|
934
|
+
"required": false,
|
|
935
|
+
"hasDynamicHelp": false,
|
|
936
|
+
"multiple": false,
|
|
937
|
+
"type": "option"
|
|
938
|
+
},
|
|
783
939
|
"flavor": {
|
|
784
940
|
"description": "Specify the flavor to use.",
|
|
785
941
|
"name": "flavor",
|
|
@@ -821,133 +977,143 @@
|
|
|
821
977
|
"push.js"
|
|
822
978
|
]
|
|
823
979
|
},
|
|
824
|
-
"
|
|
825
|
-
"aliases": [
|
|
980
|
+
"kubernetes:logs": {
|
|
981
|
+
"aliases": [
|
|
982
|
+
"logs"
|
|
983
|
+
],
|
|
826
984
|
"args": {
|
|
827
985
|
"component": {
|
|
828
|
-
"description": "
|
|
986
|
+
"description": "The component you want to see the logs of",
|
|
829
987
|
"name": "component",
|
|
830
|
-
"required":
|
|
988
|
+
"required": true
|
|
831
989
|
}
|
|
832
990
|
},
|
|
833
|
-
"description": "
|
|
991
|
+
"description": "Follow kubernetes logs.",
|
|
834
992
|
"examples": [
|
|
835
|
-
"<%= config.bin %> <%= command.id %>
|
|
993
|
+
"<%= config.bin %> <%= command.id %>"
|
|
836
994
|
],
|
|
837
995
|
"flags": {
|
|
838
|
-
"json": {
|
|
839
|
-
"description": "Format output as json.",
|
|
840
|
-
"helpGroup": "GLOBAL",
|
|
841
|
-
"name": "json",
|
|
842
|
-
"allowNo": false,
|
|
843
|
-
"type": "boolean"
|
|
844
|
-
},
|
|
845
996
|
"verbose": {
|
|
846
997
|
"name": "verbose",
|
|
847
998
|
"allowNo": true,
|
|
848
999
|
"type": "boolean"
|
|
849
1000
|
},
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"
|
|
1001
|
+
"root": {
|
|
1002
|
+
"char": "C",
|
|
1003
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1004
|
+
"name": "root",
|
|
853
1005
|
"required": false,
|
|
854
1006
|
"hasDynamicHelp": false,
|
|
855
1007
|
"multiple": false,
|
|
856
1008
|
"type": "option"
|
|
857
1009
|
},
|
|
858
|
-
"
|
|
859
|
-
"
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
"
|
|
863
|
-
"
|
|
1010
|
+
"namespace": {
|
|
1011
|
+
"aliases": [
|
|
1012
|
+
"ns"
|
|
1013
|
+
],
|
|
1014
|
+
"char": "n",
|
|
1015
|
+
"description": "The Kubernetes namespace to target",
|
|
1016
|
+
"env": "K8S_NAMESPACE",
|
|
1017
|
+
"name": "namespace",
|
|
1018
|
+
"required": true,
|
|
1019
|
+
"hasDynamicHelp": false,
|
|
1020
|
+
"multiple": false,
|
|
1021
|
+
"type": "option"
|
|
864
1022
|
},
|
|
865
|
-
"
|
|
1023
|
+
"follow": {
|
|
866
1024
|
"char": "f",
|
|
867
|
-
"description": "
|
|
868
|
-
"name": "
|
|
869
|
-
"
|
|
870
|
-
"allowNo": false,
|
|
1025
|
+
"description": "Follow log output",
|
|
1026
|
+
"name": "follow",
|
|
1027
|
+
"allowNo": true,
|
|
871
1028
|
"type": "boolean"
|
|
872
1029
|
}
|
|
873
1030
|
},
|
|
874
1031
|
"hasDynamicHelp": false,
|
|
875
1032
|
"hiddenAliases": [],
|
|
876
|
-
"id": "
|
|
1033
|
+
"id": "kubernetes:logs",
|
|
877
1034
|
"pluginAlias": "@enspirit/emb",
|
|
878
1035
|
"pluginName": "@enspirit/emb",
|
|
879
1036
|
"pluginType": "core",
|
|
880
|
-
"strict":
|
|
881
|
-
"enableJsonFlag":
|
|
1037
|
+
"strict": true,
|
|
1038
|
+
"enableJsonFlag": false,
|
|
882
1039
|
"isESM": true,
|
|
883
1040
|
"relativePath": [
|
|
884
1041
|
"dist",
|
|
885
1042
|
"src",
|
|
886
1043
|
"cli",
|
|
887
1044
|
"commands",
|
|
888
|
-
"
|
|
889
|
-
"
|
|
1045
|
+
"kubernetes",
|
|
1046
|
+
"logs.js"
|
|
890
1047
|
]
|
|
891
1048
|
},
|
|
892
|
-
"
|
|
1049
|
+
"kubernetes:ps": {
|
|
893
1050
|
"aliases": [],
|
|
894
1051
|
"args": {},
|
|
895
|
-
"description": "
|
|
1052
|
+
"description": "Show running pods.",
|
|
896
1053
|
"examples": [
|
|
897
1054
|
"<%= config.bin %> <%= command.id %>"
|
|
898
1055
|
],
|
|
899
1056
|
"flags": {
|
|
900
|
-
"json": {
|
|
901
|
-
"description": "Format output as json.",
|
|
902
|
-
"helpGroup": "GLOBAL",
|
|
903
|
-
"name": "json",
|
|
904
|
-
"allowNo": false,
|
|
905
|
-
"type": "boolean"
|
|
906
|
-
},
|
|
907
1057
|
"verbose": {
|
|
908
1058
|
"name": "verbose",
|
|
909
1059
|
"allowNo": true,
|
|
910
1060
|
"type": "boolean"
|
|
911
1061
|
},
|
|
912
|
-
"
|
|
913
|
-
"
|
|
914
|
-
"
|
|
1062
|
+
"root": {
|
|
1063
|
+
"char": "C",
|
|
1064
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1065
|
+
"name": "root",
|
|
915
1066
|
"required": false,
|
|
916
1067
|
"hasDynamicHelp": false,
|
|
917
1068
|
"multiple": false,
|
|
918
1069
|
"type": "option"
|
|
919
|
-
}
|
|
1070
|
+
},
|
|
1071
|
+
"namespace": {
|
|
1072
|
+
"aliases": [
|
|
1073
|
+
"ns"
|
|
1074
|
+
],
|
|
1075
|
+
"char": "n",
|
|
1076
|
+
"description": "The Kubernetes namespace to target",
|
|
1077
|
+
"env": "K8S_NAMESPACE",
|
|
1078
|
+
"name": "namespace",
|
|
1079
|
+
"required": true,
|
|
1080
|
+
"hasDynamicHelp": false,
|
|
1081
|
+
"multiple": false,
|
|
1082
|
+
"type": "option"
|
|
1083
|
+
},
|
|
1084
|
+
"watch": {
|
|
1085
|
+
"name": "watch",
|
|
1086
|
+
"allowNo": true,
|
|
1087
|
+
"type": "boolean"
|
|
1088
|
+
}
|
|
920
1089
|
},
|
|
921
1090
|
"hasDynamicHelp": false,
|
|
922
1091
|
"hiddenAliases": [],
|
|
923
|
-
"id": "
|
|
1092
|
+
"id": "kubernetes:ps",
|
|
924
1093
|
"pluginAlias": "@enspirit/emb",
|
|
925
1094
|
"pluginName": "@enspirit/emb",
|
|
926
1095
|
"pluginType": "core",
|
|
927
|
-
"strict":
|
|
928
|
-
"enableJsonFlag":
|
|
1096
|
+
"strict": false,
|
|
1097
|
+
"enableJsonFlag": false,
|
|
929
1098
|
"isESM": true,
|
|
930
1099
|
"relativePath": [
|
|
931
1100
|
"dist",
|
|
932
1101
|
"src",
|
|
933
1102
|
"cli",
|
|
934
1103
|
"commands",
|
|
935
|
-
"
|
|
936
|
-
"
|
|
1104
|
+
"kubernetes",
|
|
1105
|
+
"ps.js"
|
|
937
1106
|
]
|
|
938
1107
|
},
|
|
939
|
-
"kubernetes:
|
|
940
|
-
"aliases": [
|
|
941
|
-
"logs"
|
|
942
|
-
],
|
|
1108
|
+
"kubernetes:restart": {
|
|
1109
|
+
"aliases": [],
|
|
943
1110
|
"args": {
|
|
944
|
-
"
|
|
945
|
-
"description": "The
|
|
946
|
-
"name": "
|
|
947
|
-
"required": true
|
|
1111
|
+
"deployment": {
|
|
1112
|
+
"description": "The deployment(s) to restart",
|
|
1113
|
+
"name": "deployment"
|
|
948
1114
|
}
|
|
949
1115
|
},
|
|
950
|
-
"description": "
|
|
1116
|
+
"description": "Restart pods of an instance.",
|
|
951
1117
|
"examples": [
|
|
952
1118
|
"<%= config.bin %> <%= command.id %>"
|
|
953
1119
|
],
|
|
@@ -957,6 +1123,15 @@
|
|
|
957
1123
|
"allowNo": true,
|
|
958
1124
|
"type": "boolean"
|
|
959
1125
|
},
|
|
1126
|
+
"root": {
|
|
1127
|
+
"char": "C",
|
|
1128
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1129
|
+
"name": "root",
|
|
1130
|
+
"required": false,
|
|
1131
|
+
"hasDynamicHelp": false,
|
|
1132
|
+
"multiple": false,
|
|
1133
|
+
"type": "option"
|
|
1134
|
+
},
|
|
960
1135
|
"namespace": {
|
|
961
1136
|
"aliases": [
|
|
962
1137
|
"ns"
|
|
@@ -969,22 +1144,15 @@
|
|
|
969
1144
|
"hasDynamicHelp": false,
|
|
970
1145
|
"multiple": false,
|
|
971
1146
|
"type": "option"
|
|
972
|
-
},
|
|
973
|
-
"follow": {
|
|
974
|
-
"char": "f",
|
|
975
|
-
"description": "Follow log output",
|
|
976
|
-
"name": "follow",
|
|
977
|
-
"allowNo": true,
|
|
978
|
-
"type": "boolean"
|
|
979
1147
|
}
|
|
980
1148
|
},
|
|
981
1149
|
"hasDynamicHelp": false,
|
|
982
1150
|
"hiddenAliases": [],
|
|
983
|
-
"id": "kubernetes:
|
|
1151
|
+
"id": "kubernetes:restart",
|
|
984
1152
|
"pluginAlias": "@enspirit/emb",
|
|
985
1153
|
"pluginName": "@enspirit/emb",
|
|
986
1154
|
"pluginType": "core",
|
|
987
|
-
"strict":
|
|
1155
|
+
"strict": false,
|
|
988
1156
|
"enableJsonFlag": false,
|
|
989
1157
|
"isESM": true,
|
|
990
1158
|
"relativePath": [
|
|
@@ -993,13 +1161,21 @@
|
|
|
993
1161
|
"cli",
|
|
994
1162
|
"commands",
|
|
995
1163
|
"kubernetes",
|
|
996
|
-
"
|
|
1164
|
+
"restart.js"
|
|
997
1165
|
]
|
|
998
1166
|
},
|
|
999
|
-
"kubernetes:
|
|
1000
|
-
"aliases": [
|
|
1001
|
-
|
|
1002
|
-
|
|
1167
|
+
"kubernetes:shell": {
|
|
1168
|
+
"aliases": [
|
|
1169
|
+
"shell"
|
|
1170
|
+
],
|
|
1171
|
+
"args": {
|
|
1172
|
+
"component": {
|
|
1173
|
+
"description": "The component you want to get a shell on",
|
|
1174
|
+
"name": "component",
|
|
1175
|
+
"required": true
|
|
1176
|
+
}
|
|
1177
|
+
},
|
|
1178
|
+
"description": "Get a shell on a deployed component.",
|
|
1003
1179
|
"examples": [
|
|
1004
1180
|
"<%= config.bin %> <%= command.id %>"
|
|
1005
1181
|
],
|
|
@@ -1009,6 +1185,15 @@
|
|
|
1009
1185
|
"allowNo": true,
|
|
1010
1186
|
"type": "boolean"
|
|
1011
1187
|
},
|
|
1188
|
+
"root": {
|
|
1189
|
+
"char": "C",
|
|
1190
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1191
|
+
"name": "root",
|
|
1192
|
+
"required": false,
|
|
1193
|
+
"hasDynamicHelp": false,
|
|
1194
|
+
"multiple": false,
|
|
1195
|
+
"type": "option"
|
|
1196
|
+
},
|
|
1012
1197
|
"namespace": {
|
|
1013
1198
|
"aliases": [
|
|
1014
1199
|
"ns"
|
|
@@ -1022,19 +1207,23 @@
|
|
|
1022
1207
|
"multiple": false,
|
|
1023
1208
|
"type": "option"
|
|
1024
1209
|
},
|
|
1025
|
-
"
|
|
1026
|
-
"
|
|
1027
|
-
"
|
|
1028
|
-
"
|
|
1210
|
+
"shell": {
|
|
1211
|
+
"char": "s",
|
|
1212
|
+
"description": "The shell to run",
|
|
1213
|
+
"name": "shell",
|
|
1214
|
+
"default": "bash",
|
|
1215
|
+
"hasDynamicHelp": false,
|
|
1216
|
+
"multiple": false,
|
|
1217
|
+
"type": "option"
|
|
1029
1218
|
}
|
|
1030
1219
|
},
|
|
1031
1220
|
"hasDynamicHelp": false,
|
|
1032
1221
|
"hiddenAliases": [],
|
|
1033
|
-
"id": "kubernetes:
|
|
1222
|
+
"id": "kubernetes:shell",
|
|
1034
1223
|
"pluginAlias": "@enspirit/emb",
|
|
1035
1224
|
"pluginName": "@enspirit/emb",
|
|
1036
1225
|
"pluginType": "core",
|
|
1037
|
-
"strict":
|
|
1226
|
+
"strict": true,
|
|
1038
1227
|
"enableJsonFlag": false,
|
|
1039
1228
|
"isESM": true,
|
|
1040
1229
|
"relativePath": [
|
|
@@ -1043,36 +1232,99 @@
|
|
|
1043
1232
|
"cli",
|
|
1044
1233
|
"commands",
|
|
1045
1234
|
"kubernetes",
|
|
1046
|
-
"
|
|
1235
|
+
"shell.js"
|
|
1047
1236
|
]
|
|
1048
1237
|
},
|
|
1049
|
-
"
|
|
1238
|
+
"secrets": {
|
|
1050
1239
|
"aliases": [],
|
|
1051
|
-
"args": {
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1240
|
+
"args": {},
|
|
1241
|
+
"description": "List all secret references in the configuration.",
|
|
1242
|
+
"examples": [
|
|
1243
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1244
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
1245
|
+
],
|
|
1246
|
+
"flags": {
|
|
1247
|
+
"json": {
|
|
1248
|
+
"description": "Format output as json.",
|
|
1249
|
+
"helpGroup": "GLOBAL",
|
|
1250
|
+
"name": "json",
|
|
1251
|
+
"allowNo": false,
|
|
1252
|
+
"type": "boolean"
|
|
1253
|
+
},
|
|
1254
|
+
"verbose": {
|
|
1255
|
+
"name": "verbose",
|
|
1256
|
+
"allowNo": true,
|
|
1257
|
+
"type": "boolean"
|
|
1258
|
+
},
|
|
1259
|
+
"root": {
|
|
1260
|
+
"char": "C",
|
|
1261
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1262
|
+
"name": "root",
|
|
1263
|
+
"required": false,
|
|
1264
|
+
"hasDynamicHelp": false,
|
|
1265
|
+
"multiple": false,
|
|
1266
|
+
"type": "option"
|
|
1267
|
+
},
|
|
1268
|
+
"flavor": {
|
|
1269
|
+
"description": "Specify the flavor to use.",
|
|
1270
|
+
"name": "flavor",
|
|
1271
|
+
"required": false,
|
|
1272
|
+
"hasDynamicHelp": false,
|
|
1273
|
+
"multiple": false,
|
|
1274
|
+
"type": "option"
|
|
1055
1275
|
}
|
|
1056
1276
|
},
|
|
1057
|
-
"
|
|
1277
|
+
"hasDynamicHelp": false,
|
|
1278
|
+
"hiddenAliases": [],
|
|
1279
|
+
"id": "secrets",
|
|
1280
|
+
"pluginAlias": "@enspirit/emb",
|
|
1281
|
+
"pluginName": "@enspirit/emb",
|
|
1282
|
+
"pluginType": "core",
|
|
1283
|
+
"strict": true,
|
|
1284
|
+
"enableJsonFlag": true,
|
|
1285
|
+
"isESM": true,
|
|
1286
|
+
"relativePath": [
|
|
1287
|
+
"dist",
|
|
1288
|
+
"src",
|
|
1289
|
+
"cli",
|
|
1290
|
+
"commands",
|
|
1291
|
+
"secrets",
|
|
1292
|
+
"index.js"
|
|
1293
|
+
]
|
|
1294
|
+
},
|
|
1295
|
+
"secrets:providers": {
|
|
1296
|
+
"aliases": [],
|
|
1297
|
+
"args": {},
|
|
1298
|
+
"description": "Show configured secret providers and their status.",
|
|
1058
1299
|
"examples": [
|
|
1059
1300
|
"<%= config.bin %> <%= command.id %>"
|
|
1060
1301
|
],
|
|
1061
1302
|
"flags": {
|
|
1303
|
+
"json": {
|
|
1304
|
+
"description": "Format output as json.",
|
|
1305
|
+
"helpGroup": "GLOBAL",
|
|
1306
|
+
"name": "json",
|
|
1307
|
+
"allowNo": false,
|
|
1308
|
+
"type": "boolean"
|
|
1309
|
+
},
|
|
1062
1310
|
"verbose": {
|
|
1063
1311
|
"name": "verbose",
|
|
1064
1312
|
"allowNo": true,
|
|
1065
1313
|
"type": "boolean"
|
|
1066
1314
|
},
|
|
1067
|
-
"
|
|
1068
|
-
"
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
"
|
|
1072
|
-
"
|
|
1073
|
-
"
|
|
1074
|
-
"
|
|
1075
|
-
|
|
1315
|
+
"root": {
|
|
1316
|
+
"char": "C",
|
|
1317
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1318
|
+
"name": "root",
|
|
1319
|
+
"required": false,
|
|
1320
|
+
"hasDynamicHelp": false,
|
|
1321
|
+
"multiple": false,
|
|
1322
|
+
"type": "option"
|
|
1323
|
+
},
|
|
1324
|
+
"flavor": {
|
|
1325
|
+
"description": "Specify the flavor to use.",
|
|
1326
|
+
"name": "flavor",
|
|
1327
|
+
"required": false,
|
|
1076
1328
|
"hasDynamicHelp": false,
|
|
1077
1329
|
"multiple": false,
|
|
1078
1330
|
"type": "option"
|
|
@@ -1080,61 +1332,196 @@
|
|
|
1080
1332
|
},
|
|
1081
1333
|
"hasDynamicHelp": false,
|
|
1082
1334
|
"hiddenAliases": [],
|
|
1083
|
-
"id": "
|
|
1335
|
+
"id": "secrets:providers",
|
|
1084
1336
|
"pluginAlias": "@enspirit/emb",
|
|
1085
1337
|
"pluginName": "@enspirit/emb",
|
|
1086
1338
|
"pluginType": "core",
|
|
1087
|
-
"strict":
|
|
1088
|
-
"enableJsonFlag":
|
|
1339
|
+
"strict": true,
|
|
1340
|
+
"enableJsonFlag": true,
|
|
1089
1341
|
"isESM": true,
|
|
1090
1342
|
"relativePath": [
|
|
1091
1343
|
"dist",
|
|
1092
1344
|
"src",
|
|
1093
1345
|
"cli",
|
|
1094
1346
|
"commands",
|
|
1095
|
-
"
|
|
1096
|
-
"
|
|
1347
|
+
"secrets",
|
|
1348
|
+
"providers.js"
|
|
1097
1349
|
]
|
|
1098
1350
|
},
|
|
1099
|
-
"
|
|
1100
|
-
"aliases": [
|
|
1101
|
-
|
|
1351
|
+
"secrets:validate": {
|
|
1352
|
+
"aliases": [],
|
|
1353
|
+
"args": {},
|
|
1354
|
+
"description": "Validate that all secret references can be resolved (without showing values).",
|
|
1355
|
+
"examples": [
|
|
1356
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1357
|
+
"<%= config.bin %> <%= command.id %> --fail-fast",
|
|
1358
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
1102
1359
|
],
|
|
1360
|
+
"flags": {
|
|
1361
|
+
"json": {
|
|
1362
|
+
"description": "Format output as json.",
|
|
1363
|
+
"helpGroup": "GLOBAL",
|
|
1364
|
+
"name": "json",
|
|
1365
|
+
"allowNo": false,
|
|
1366
|
+
"type": "boolean"
|
|
1367
|
+
},
|
|
1368
|
+
"verbose": {
|
|
1369
|
+
"name": "verbose",
|
|
1370
|
+
"allowNo": true,
|
|
1371
|
+
"type": "boolean"
|
|
1372
|
+
},
|
|
1373
|
+
"root": {
|
|
1374
|
+
"char": "C",
|
|
1375
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1376
|
+
"name": "root",
|
|
1377
|
+
"required": false,
|
|
1378
|
+
"hasDynamicHelp": false,
|
|
1379
|
+
"multiple": false,
|
|
1380
|
+
"type": "option"
|
|
1381
|
+
},
|
|
1382
|
+
"flavor": {
|
|
1383
|
+
"description": "Specify the flavor to use.",
|
|
1384
|
+
"name": "flavor",
|
|
1385
|
+
"required": false,
|
|
1386
|
+
"hasDynamicHelp": false,
|
|
1387
|
+
"multiple": false,
|
|
1388
|
+
"type": "option"
|
|
1389
|
+
},
|
|
1390
|
+
"fail-fast": {
|
|
1391
|
+
"description": "Stop on first validation error",
|
|
1392
|
+
"name": "fail-fast",
|
|
1393
|
+
"allowNo": false,
|
|
1394
|
+
"type": "boolean"
|
|
1395
|
+
}
|
|
1396
|
+
},
|
|
1397
|
+
"hasDynamicHelp": false,
|
|
1398
|
+
"hiddenAliases": [],
|
|
1399
|
+
"id": "secrets:validate",
|
|
1400
|
+
"pluginAlias": "@enspirit/emb",
|
|
1401
|
+
"pluginName": "@enspirit/emb",
|
|
1402
|
+
"pluginType": "core",
|
|
1403
|
+
"strict": true,
|
|
1404
|
+
"enableJsonFlag": true,
|
|
1405
|
+
"isESM": true,
|
|
1406
|
+
"relativePath": [
|
|
1407
|
+
"dist",
|
|
1408
|
+
"src",
|
|
1409
|
+
"cli",
|
|
1410
|
+
"commands",
|
|
1411
|
+
"secrets",
|
|
1412
|
+
"validate.js"
|
|
1413
|
+
]
|
|
1414
|
+
},
|
|
1415
|
+
"resources:build": {
|
|
1416
|
+
"aliases": [],
|
|
1103
1417
|
"args": {
|
|
1104
1418
|
"component": {
|
|
1105
|
-
"description": "
|
|
1419
|
+
"description": "List of resources to build (defaults to all)",
|
|
1106
1420
|
"name": "component",
|
|
1107
|
-
"required":
|
|
1421
|
+
"required": false
|
|
1108
1422
|
}
|
|
1109
1423
|
},
|
|
1110
|
-
"description": "
|
|
1424
|
+
"description": "Build the resources of the monorepo",
|
|
1425
|
+
"examples": [
|
|
1426
|
+
"<%= config.bin %> <%= command.id %> build --flavor development"
|
|
1427
|
+
],
|
|
1428
|
+
"flags": {
|
|
1429
|
+
"json": {
|
|
1430
|
+
"description": "Format output as json.",
|
|
1431
|
+
"helpGroup": "GLOBAL",
|
|
1432
|
+
"name": "json",
|
|
1433
|
+
"allowNo": false,
|
|
1434
|
+
"type": "boolean"
|
|
1435
|
+
},
|
|
1436
|
+
"verbose": {
|
|
1437
|
+
"name": "verbose",
|
|
1438
|
+
"allowNo": true,
|
|
1439
|
+
"type": "boolean"
|
|
1440
|
+
},
|
|
1441
|
+
"root": {
|
|
1442
|
+
"char": "C",
|
|
1443
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1444
|
+
"name": "root",
|
|
1445
|
+
"required": false,
|
|
1446
|
+
"hasDynamicHelp": false,
|
|
1447
|
+
"multiple": false,
|
|
1448
|
+
"type": "option"
|
|
1449
|
+
},
|
|
1450
|
+
"flavor": {
|
|
1451
|
+
"description": "Specify the flavor to use.",
|
|
1452
|
+
"name": "flavor",
|
|
1453
|
+
"required": false,
|
|
1454
|
+
"hasDynamicHelp": false,
|
|
1455
|
+
"multiple": false,
|
|
1456
|
+
"type": "option"
|
|
1457
|
+
},
|
|
1458
|
+
"dry-run": {
|
|
1459
|
+
"description": "Do not build the resources but only produce build meta information",
|
|
1460
|
+
"name": "dry-run",
|
|
1461
|
+
"required": false,
|
|
1462
|
+
"allowNo": false,
|
|
1463
|
+
"type": "boolean"
|
|
1464
|
+
},
|
|
1465
|
+
"force": {
|
|
1466
|
+
"char": "f",
|
|
1467
|
+
"description": "Bypass the cache and force the build",
|
|
1468
|
+
"name": "force",
|
|
1469
|
+
"required": false,
|
|
1470
|
+
"allowNo": false,
|
|
1471
|
+
"type": "boolean"
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
"hasDynamicHelp": false,
|
|
1475
|
+
"hiddenAliases": [],
|
|
1476
|
+
"id": "resources:build",
|
|
1477
|
+
"pluginAlias": "@enspirit/emb",
|
|
1478
|
+
"pluginName": "@enspirit/emb",
|
|
1479
|
+
"pluginType": "core",
|
|
1480
|
+
"strict": false,
|
|
1481
|
+
"enableJsonFlag": true,
|
|
1482
|
+
"isESM": true,
|
|
1483
|
+
"relativePath": [
|
|
1484
|
+
"dist",
|
|
1485
|
+
"src",
|
|
1486
|
+
"cli",
|
|
1487
|
+
"commands",
|
|
1488
|
+
"resources",
|
|
1489
|
+
"build.js"
|
|
1490
|
+
]
|
|
1491
|
+
},
|
|
1492
|
+
"resources": {
|
|
1493
|
+
"aliases": [],
|
|
1494
|
+
"args": {},
|
|
1495
|
+
"description": "List resources.",
|
|
1111
1496
|
"examples": [
|
|
1112
1497
|
"<%= config.bin %> <%= command.id %>"
|
|
1113
1498
|
],
|
|
1114
1499
|
"flags": {
|
|
1500
|
+
"json": {
|
|
1501
|
+
"description": "Format output as json.",
|
|
1502
|
+
"helpGroup": "GLOBAL",
|
|
1503
|
+
"name": "json",
|
|
1504
|
+
"allowNo": false,
|
|
1505
|
+
"type": "boolean"
|
|
1506
|
+
},
|
|
1115
1507
|
"verbose": {
|
|
1116
1508
|
"name": "verbose",
|
|
1117
1509
|
"allowNo": true,
|
|
1118
1510
|
"type": "boolean"
|
|
1119
1511
|
},
|
|
1120
|
-
"
|
|
1121
|
-
"
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
"
|
|
1125
|
-
"description": "The Kubernetes namespace to target",
|
|
1126
|
-
"env": "K8S_NAMESPACE",
|
|
1127
|
-
"name": "namespace",
|
|
1128
|
-
"required": true,
|
|
1512
|
+
"root": {
|
|
1513
|
+
"char": "C",
|
|
1514
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1515
|
+
"name": "root",
|
|
1516
|
+
"required": false,
|
|
1129
1517
|
"hasDynamicHelp": false,
|
|
1130
1518
|
"multiple": false,
|
|
1131
1519
|
"type": "option"
|
|
1132
1520
|
},
|
|
1133
|
-
"
|
|
1134
|
-
"
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1137
|
-
"default": "bash",
|
|
1521
|
+
"flavor": {
|
|
1522
|
+
"description": "Specify the flavor to use.",
|
|
1523
|
+
"name": "flavor",
|
|
1524
|
+
"required": false,
|
|
1138
1525
|
"hasDynamicHelp": false,
|
|
1139
1526
|
"multiple": false,
|
|
1140
1527
|
"type": "option"
|
|
@@ -1142,20 +1529,20 @@
|
|
|
1142
1529
|
},
|
|
1143
1530
|
"hasDynamicHelp": false,
|
|
1144
1531
|
"hiddenAliases": [],
|
|
1145
|
-
"id": "
|
|
1532
|
+
"id": "resources",
|
|
1146
1533
|
"pluginAlias": "@enspirit/emb",
|
|
1147
1534
|
"pluginName": "@enspirit/emb",
|
|
1148
1535
|
"pluginType": "core",
|
|
1149
1536
|
"strict": true,
|
|
1150
|
-
"enableJsonFlag":
|
|
1537
|
+
"enableJsonFlag": true,
|
|
1151
1538
|
"isESM": true,
|
|
1152
1539
|
"relativePath": [
|
|
1153
1540
|
"dist",
|
|
1154
1541
|
"src",
|
|
1155
1542
|
"cli",
|
|
1156
1543
|
"commands",
|
|
1157
|
-
"
|
|
1158
|
-
"
|
|
1544
|
+
"resources",
|
|
1545
|
+
"index.js"
|
|
1159
1546
|
]
|
|
1160
1547
|
},
|
|
1161
1548
|
"tasks": {
|
|
@@ -1177,6 +1564,15 @@
|
|
|
1177
1564
|
"name": "verbose",
|
|
1178
1565
|
"allowNo": true,
|
|
1179
1566
|
"type": "boolean"
|
|
1567
|
+
},
|
|
1568
|
+
"root": {
|
|
1569
|
+
"char": "C",
|
|
1570
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1571
|
+
"name": "root",
|
|
1572
|
+
"required": false,
|
|
1573
|
+
"hasDynamicHelp": false,
|
|
1574
|
+
"multiple": false,
|
|
1575
|
+
"type": "option"
|
|
1180
1576
|
}
|
|
1181
1577
|
},
|
|
1182
1578
|
"hasDynamicHelp": false,
|
|
@@ -1225,6 +1621,15 @@
|
|
|
1225
1621
|
"allowNo": true,
|
|
1226
1622
|
"type": "boolean"
|
|
1227
1623
|
},
|
|
1624
|
+
"root": {
|
|
1625
|
+
"char": "C",
|
|
1626
|
+
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
1627
|
+
"name": "root",
|
|
1628
|
+
"required": false,
|
|
1629
|
+
"hasDynamicHelp": false,
|
|
1630
|
+
"multiple": false,
|
|
1631
|
+
"type": "option"
|
|
1632
|
+
},
|
|
1228
1633
|
"executor": {
|
|
1229
1634
|
"char": "x",
|
|
1230
1635
|
"description": "Where to run the task. (experimental!)",
|
|
@@ -1264,5 +1669,5 @@
|
|
|
1264
1669
|
]
|
|
1265
1670
|
}
|
|
1266
1671
|
},
|
|
1267
|
-
"version": "0.
|
|
1672
|
+
"version": "0.17.5"
|
|
1268
1673
|
}
|