@enspirit/emb 0.25.1 → 0.25.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 +31 -31
- package/dist/src/docker/compose/client.js +12 -3
- package/oclif.manifest.json +255 -255
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ $ npm install -g @enspirit/emb
|
|
|
14
14
|
$ emb COMMAND
|
|
15
15
|
running command...
|
|
16
16
|
$ emb (--version)
|
|
17
|
-
@enspirit/emb/0.25.
|
|
17
|
+
@enspirit/emb/0.25.5 linux-x64 node-v22.22.2
|
|
18
18
|
$ emb --help [COMMAND]
|
|
19
19
|
USAGE
|
|
20
20
|
$ emb COMMAND
|
|
@@ -113,7 +113,7 @@ EXAMPLES
|
|
|
113
113
|
$ emb clean
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
_See code: [src/commands/clean.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
116
|
+
_See code: [src/commands/clean.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/clean.ts)_
|
|
117
117
|
|
|
118
118
|
## `emb components`
|
|
119
119
|
|
|
@@ -138,7 +138,7 @@ EXAMPLES
|
|
|
138
138
|
$ emb components
|
|
139
139
|
```
|
|
140
140
|
|
|
141
|
-
_See code: [src/commands/components/index.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
141
|
+
_See code: [src/commands/components/index.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/components/index.ts)_
|
|
142
142
|
|
|
143
143
|
## `emb components shell SERVICE`
|
|
144
144
|
|
|
@@ -166,7 +166,7 @@ EXAMPLES
|
|
|
166
166
|
$ emb components shell
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
-
_See code: [src/commands/components/shell.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
169
|
+
_See code: [src/commands/components/shell.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/components/shell.ts)_
|
|
170
170
|
|
|
171
171
|
## `emb config print`
|
|
172
172
|
|
|
@@ -191,7 +191,7 @@ EXAMPLES
|
|
|
191
191
|
$ emb config print
|
|
192
192
|
```
|
|
193
193
|
|
|
194
|
-
_See code: [src/commands/config/print.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
194
|
+
_See code: [src/commands/config/print.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/config/print.ts)_
|
|
195
195
|
|
|
196
196
|
## `emb containers`
|
|
197
197
|
|
|
@@ -216,7 +216,7 @@ EXAMPLES
|
|
|
216
216
|
$ emb containers
|
|
217
217
|
```
|
|
218
218
|
|
|
219
|
-
_See code: [src/commands/containers/index.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
219
|
+
_See code: [src/commands/containers/index.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/containers/index.ts)_
|
|
220
220
|
|
|
221
221
|
## `emb containers prune`
|
|
222
222
|
|
|
@@ -240,7 +240,7 @@ EXAMPLES
|
|
|
240
240
|
$ emb containers prune
|
|
241
241
|
```
|
|
242
242
|
|
|
243
|
-
_See code: [src/commands/containers/prune.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
243
|
+
_See code: [src/commands/containers/prune.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/containers/prune.ts)_
|
|
244
244
|
|
|
245
245
|
## `emb down [SERVICE]`
|
|
246
246
|
|
|
@@ -268,7 +268,7 @@ EXAMPLES
|
|
|
268
268
|
$ emb down
|
|
269
269
|
```
|
|
270
270
|
|
|
271
|
-
_See code: [src/commands/down.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
271
|
+
_See code: [src/commands/down.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/down.ts)_
|
|
272
272
|
|
|
273
273
|
## `emb help [COMMAND]`
|
|
274
274
|
|
|
@@ -314,7 +314,7 @@ EXAMPLES
|
|
|
314
314
|
$ emb images
|
|
315
315
|
```
|
|
316
316
|
|
|
317
|
-
_See code: [src/commands/images/index.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
317
|
+
_See code: [src/commands/images/index.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/images/index.ts)_
|
|
318
318
|
|
|
319
319
|
## `emb images delete`
|
|
320
320
|
|
|
@@ -339,7 +339,7 @@ EXAMPLES
|
|
|
339
339
|
$ emb images delete
|
|
340
340
|
```
|
|
341
341
|
|
|
342
|
-
_See code: [src/commands/images/delete.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
342
|
+
_See code: [src/commands/images/delete.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/images/delete.ts)_
|
|
343
343
|
|
|
344
344
|
## `emb images prune`
|
|
345
345
|
|
|
@@ -364,7 +364,7 @@ EXAMPLES
|
|
|
364
364
|
$ emb images prune
|
|
365
365
|
```
|
|
366
366
|
|
|
367
|
-
_See code: [src/commands/images/prune.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
367
|
+
_See code: [src/commands/images/prune.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/images/prune.ts)_
|
|
368
368
|
|
|
369
369
|
## `emb images push`
|
|
370
370
|
|
|
@@ -393,7 +393,7 @@ EXAMPLES
|
|
|
393
393
|
$ emb images push --registry my.registry.io --retag newtag
|
|
394
394
|
```
|
|
395
395
|
|
|
396
|
-
_See code: [src/commands/images/push.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
396
|
+
_See code: [src/commands/images/push.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/images/push.ts)_
|
|
397
397
|
|
|
398
398
|
## `emb kubernetes logs COMPONENT`
|
|
399
399
|
|
|
@@ -419,7 +419,7 @@ EXAMPLES
|
|
|
419
419
|
$ emb kubernetes logs
|
|
420
420
|
```
|
|
421
421
|
|
|
422
|
-
_See code: [src/commands/kubernetes/logs.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
422
|
+
_See code: [src/commands/kubernetes/logs.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/kubernetes/logs.ts)_
|
|
423
423
|
|
|
424
424
|
## `emb kubernetes ps`
|
|
425
425
|
|
|
@@ -442,7 +442,7 @@ EXAMPLES
|
|
|
442
442
|
$ emb kubernetes ps
|
|
443
443
|
```
|
|
444
444
|
|
|
445
|
-
_See code: [src/commands/kubernetes/ps.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
445
|
+
_See code: [src/commands/kubernetes/ps.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/kubernetes/ps.ts)_
|
|
446
446
|
|
|
447
447
|
## `emb kubernetes restart [DEPLOYMENT]`
|
|
448
448
|
|
|
@@ -467,7 +467,7 @@ EXAMPLES
|
|
|
467
467
|
$ emb kubernetes restart
|
|
468
468
|
```
|
|
469
469
|
|
|
470
|
-
_See code: [src/commands/kubernetes/restart.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
470
|
+
_See code: [src/commands/kubernetes/restart.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/kubernetes/restart.ts)_
|
|
471
471
|
|
|
472
472
|
## `emb kubernetes shell COMPONENT`
|
|
473
473
|
|
|
@@ -496,7 +496,7 @@ EXAMPLES
|
|
|
496
496
|
$ emb kubernetes shell
|
|
497
497
|
```
|
|
498
498
|
|
|
499
|
-
_See code: [src/commands/kubernetes/shell.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
499
|
+
_See code: [src/commands/kubernetes/shell.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/kubernetes/shell.ts)_
|
|
500
500
|
|
|
501
501
|
## `emb logs [SERVICE]`
|
|
502
502
|
|
|
@@ -527,7 +527,7 @@ EXAMPLES
|
|
|
527
527
|
$ emb logs --no-follow backend
|
|
528
528
|
```
|
|
529
529
|
|
|
530
|
-
_See code: [src/commands/logs/index.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
530
|
+
_See code: [src/commands/logs/index.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/logs/index.ts)_
|
|
531
531
|
|
|
532
532
|
## `emb logs archive [SERVICE]`
|
|
533
533
|
|
|
@@ -563,7 +563,7 @@ EXAMPLES
|
|
|
563
563
|
$ emb logs archive --tail 1000
|
|
564
564
|
```
|
|
565
565
|
|
|
566
|
-
_See code: [src/commands/logs/archive.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
566
|
+
_See code: [src/commands/logs/archive.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/logs/archive.ts)_
|
|
567
567
|
|
|
568
568
|
## `emb ps`
|
|
569
569
|
|
|
@@ -586,7 +586,7 @@ EXAMPLES
|
|
|
586
586
|
$ emb ps
|
|
587
587
|
```
|
|
588
588
|
|
|
589
|
-
_See code: [src/commands/ps.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
589
|
+
_See code: [src/commands/ps.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/ps.ts)_
|
|
590
590
|
|
|
591
591
|
## `emb resources`
|
|
592
592
|
|
|
@@ -614,7 +614,7 @@ EXAMPLES
|
|
|
614
614
|
$ emb resources --publishable
|
|
615
615
|
```
|
|
616
616
|
|
|
617
|
-
_See code: [src/commands/resources/index.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
617
|
+
_See code: [src/commands/resources/index.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/resources/index.ts)_
|
|
618
618
|
|
|
619
619
|
## `emb resources build [COMPONENT]`
|
|
620
620
|
|
|
@@ -648,7 +648,7 @@ EXAMPLES
|
|
|
648
648
|
$ emb resources build build --publishable --flavor production
|
|
649
649
|
```
|
|
650
650
|
|
|
651
|
-
_See code: [src/commands/resources/build.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
651
|
+
_See code: [src/commands/resources/build.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/resources/build.ts)_
|
|
652
652
|
|
|
653
653
|
## `emb resources publish [RESOURCES]`
|
|
654
654
|
|
|
@@ -679,7 +679,7 @@ EXAMPLES
|
|
|
679
679
|
$ emb resources publish api:image --flavor production
|
|
680
680
|
```
|
|
681
681
|
|
|
682
|
-
_See code: [src/commands/resources/publish.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
682
|
+
_See code: [src/commands/resources/publish.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/resources/publish.ts)_
|
|
683
683
|
|
|
684
684
|
## `emb restart [SERVICE]`
|
|
685
685
|
|
|
@@ -707,7 +707,7 @@ EXAMPLES
|
|
|
707
707
|
$ emb restart
|
|
708
708
|
```
|
|
709
709
|
|
|
710
|
-
_See code: [src/commands/restart.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
710
|
+
_See code: [src/commands/restart.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/restart.ts)_
|
|
711
711
|
|
|
712
712
|
## `emb run TASK`
|
|
713
713
|
|
|
@@ -765,7 +765,7 @@ EXAMPLES
|
|
|
765
765
|
$ emb secrets --json
|
|
766
766
|
```
|
|
767
767
|
|
|
768
|
-
_See code: [src/commands/secrets/index.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
768
|
+
_See code: [src/commands/secrets/index.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/secrets/index.ts)_
|
|
769
769
|
|
|
770
770
|
## `emb secrets providers`
|
|
771
771
|
|
|
@@ -790,7 +790,7 @@ EXAMPLES
|
|
|
790
790
|
$ emb secrets providers
|
|
791
791
|
```
|
|
792
792
|
|
|
793
|
-
_See code: [src/commands/secrets/providers.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
793
|
+
_See code: [src/commands/secrets/providers.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/secrets/providers.ts)_
|
|
794
794
|
|
|
795
795
|
## `emb secrets validate`
|
|
796
796
|
|
|
@@ -820,7 +820,7 @@ EXAMPLES
|
|
|
820
820
|
$ emb secrets validate --json
|
|
821
821
|
```
|
|
822
822
|
|
|
823
|
-
_See code: [src/commands/secrets/validate.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
823
|
+
_See code: [src/commands/secrets/validate.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/secrets/validate.ts)_
|
|
824
824
|
|
|
825
825
|
## `emb shell SERVICE`
|
|
826
826
|
|
|
@@ -873,7 +873,7 @@ EXAMPLES
|
|
|
873
873
|
$ emb start
|
|
874
874
|
```
|
|
875
875
|
|
|
876
|
-
_See code: [src/commands/start.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
876
|
+
_See code: [src/commands/start.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/start.ts)_
|
|
877
877
|
|
|
878
878
|
## `emb stop [SERVICE]`
|
|
879
879
|
|
|
@@ -901,7 +901,7 @@ EXAMPLES
|
|
|
901
901
|
$ emb stop
|
|
902
902
|
```
|
|
903
903
|
|
|
904
|
-
_See code: [src/commands/stop.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
904
|
+
_See code: [src/commands/stop.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/stop.ts)_
|
|
905
905
|
|
|
906
906
|
## `emb tasks`
|
|
907
907
|
|
|
@@ -925,7 +925,7 @@ EXAMPLES
|
|
|
925
925
|
$ emb tasks
|
|
926
926
|
```
|
|
927
927
|
|
|
928
|
-
_See code: [src/commands/tasks/index.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
928
|
+
_See code: [src/commands/tasks/index.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/tasks/index.ts)_
|
|
929
929
|
|
|
930
930
|
## `emb tasks run TASK`
|
|
931
931
|
|
|
@@ -958,7 +958,7 @@ EXAMPLES
|
|
|
958
958
|
$ emb tasks run
|
|
959
959
|
```
|
|
960
960
|
|
|
961
|
-
_See code: [src/commands/tasks/run.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
961
|
+
_See code: [src/commands/tasks/run.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/tasks/run.ts)_
|
|
962
962
|
|
|
963
963
|
## `emb up [SERVICE]`
|
|
964
964
|
|
|
@@ -987,7 +987,7 @@ EXAMPLES
|
|
|
987
987
|
$ emb up
|
|
988
988
|
```
|
|
989
989
|
|
|
990
|
-
_See code: [src/commands/up.ts](https://github.com/enspirit/emb/blob/v0.25.
|
|
990
|
+
_See code: [src/commands/up.ts](https://github.com/enspirit/emb/blob/v0.25.5/src/commands/up.ts)_
|
|
991
991
|
|
|
992
992
|
## `emb update [CHANNEL]`
|
|
993
993
|
|
|
@@ -68,9 +68,18 @@ export class DockerComposeClient {
|
|
|
68
68
|
if (this.services && !force) {
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
let servicesOutput;
|
|
72
|
+
try {
|
|
73
|
+
const result = await execa({
|
|
74
|
+
cwd: this.monorepo.rootDir,
|
|
75
|
+
}) `docker compose config --services`;
|
|
76
|
+
servicesOutput = result.stdout;
|
|
77
|
+
}
|
|
78
|
+
catch {
|
|
79
|
+
// No docker-compose config available (no compose file, docker not installed, etc.)
|
|
80
|
+
this.services = new Map();
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
74
83
|
const services = servicesOutput
|
|
75
84
|
.split('\n')
|
|
76
85
|
.map((l) => l.trim())
|
package/oclif.manifest.json
CHANGED
|
@@ -931,28 +931,20 @@
|
|
|
931
931
|
"push.js"
|
|
932
932
|
]
|
|
933
933
|
},
|
|
934
|
-
"
|
|
934
|
+
"kubernetes:logs": {
|
|
935
935
|
"aliases": [],
|
|
936
936
|
"args": {
|
|
937
937
|
"component": {
|
|
938
|
-
"description": "
|
|
938
|
+
"description": "The component you want to see the logs of",
|
|
939
939
|
"name": "component",
|
|
940
|
-
"required":
|
|
940
|
+
"required": true
|
|
941
941
|
}
|
|
942
942
|
},
|
|
943
|
-
"description": "
|
|
943
|
+
"description": "Follow kubernetes logs.",
|
|
944
944
|
"examples": [
|
|
945
|
-
"<%= config.bin %> <%= command.id %>
|
|
946
|
-
"<%= config.bin %> <%= command.id %> build --publishable --flavor production"
|
|
945
|
+
"<%= config.bin %> <%= command.id %>"
|
|
947
946
|
],
|
|
948
947
|
"flags": {
|
|
949
|
-
"json": {
|
|
950
|
-
"description": "Format output as json.",
|
|
951
|
-
"helpGroup": "GLOBAL",
|
|
952
|
-
"name": "json",
|
|
953
|
-
"allowNo": false,
|
|
954
|
-
"type": "boolean"
|
|
955
|
-
},
|
|
956
948
|
"verbose": {
|
|
957
949
|
"name": "verbose",
|
|
958
950
|
"allowNo": true,
|
|
@@ -967,71 +959,52 @@
|
|
|
967
959
|
"multiple": false,
|
|
968
960
|
"type": "option"
|
|
969
961
|
},
|
|
970
|
-
"
|
|
971
|
-
"
|
|
972
|
-
|
|
962
|
+
"namespace": {
|
|
963
|
+
"aliases": [
|
|
964
|
+
"ns"
|
|
965
|
+
],
|
|
966
|
+
"char": "n",
|
|
967
|
+
"description": "The Kubernetes namespace to target",
|
|
968
|
+
"name": "namespace",
|
|
973
969
|
"required": false,
|
|
974
970
|
"hasDynamicHelp": false,
|
|
975
971
|
"multiple": false,
|
|
976
972
|
"type": "option"
|
|
977
973
|
},
|
|
978
|
-
"
|
|
979
|
-
"description": "Do not build the resources but only produce build meta information",
|
|
980
|
-
"name": "dry-run",
|
|
981
|
-
"required": false,
|
|
982
|
-
"allowNo": false,
|
|
983
|
-
"type": "boolean"
|
|
984
|
-
},
|
|
985
|
-
"force": {
|
|
974
|
+
"follow": {
|
|
986
975
|
"char": "f",
|
|
987
|
-
"description": "
|
|
988
|
-
"name": "
|
|
989
|
-
"
|
|
990
|
-
"allowNo": false,
|
|
991
|
-
"type": "boolean"
|
|
992
|
-
},
|
|
993
|
-
"publishable": {
|
|
994
|
-
"description": "Only build resources that are publishable (publish: true) and their dependencies",
|
|
995
|
-
"name": "publishable",
|
|
996
|
-
"required": false,
|
|
997
|
-
"allowNo": false,
|
|
976
|
+
"description": "Follow log output",
|
|
977
|
+
"name": "follow",
|
|
978
|
+
"allowNo": true,
|
|
998
979
|
"type": "boolean"
|
|
999
980
|
}
|
|
1000
981
|
},
|
|
1001
982
|
"hasDynamicHelp": false,
|
|
1002
983
|
"hiddenAliases": [],
|
|
1003
|
-
"id": "
|
|
984
|
+
"id": "kubernetes:logs",
|
|
1004
985
|
"pluginAlias": "@enspirit/emb",
|
|
1005
986
|
"pluginName": "@enspirit/emb",
|
|
1006
987
|
"pluginType": "core",
|
|
1007
|
-
"strict":
|
|
1008
|
-
"enableJsonFlag":
|
|
988
|
+
"strict": true,
|
|
989
|
+
"enableJsonFlag": false,
|
|
1009
990
|
"isESM": true,
|
|
1010
991
|
"relativePath": [
|
|
1011
992
|
"dist",
|
|
1012
993
|
"src",
|
|
1013
994
|
"cli",
|
|
1014
995
|
"commands",
|
|
1015
|
-
"
|
|
1016
|
-
"
|
|
996
|
+
"kubernetes",
|
|
997
|
+
"logs.js"
|
|
1017
998
|
]
|
|
1018
999
|
},
|
|
1019
|
-
"
|
|
1000
|
+
"kubernetes:ps": {
|
|
1020
1001
|
"aliases": [],
|
|
1021
1002
|
"args": {},
|
|
1022
|
-
"description": "
|
|
1003
|
+
"description": "Show running pods.",
|
|
1023
1004
|
"examples": [
|
|
1024
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1025
|
-
"<%= config.bin %> <%= command.id %> --publishable"
|
|
1005
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1026
1006
|
],
|
|
1027
1007
|
"flags": {
|
|
1028
|
-
"json": {
|
|
1029
|
-
"description": "Format output as json.",
|
|
1030
|
-
"helpGroup": "GLOBAL",
|
|
1031
|
-
"name": "json",
|
|
1032
|
-
"allowNo": false,
|
|
1033
|
-
"type": "boolean"
|
|
1034
|
-
},
|
|
1035
1008
|
"verbose": {
|
|
1036
1009
|
"name": "verbose",
|
|
1037
1010
|
"allowNo": true,
|
|
@@ -1046,62 +1019,55 @@
|
|
|
1046
1019
|
"multiple": false,
|
|
1047
1020
|
"type": "option"
|
|
1048
1021
|
},
|
|
1049
|
-
"
|
|
1050
|
-
"
|
|
1051
|
-
|
|
1022
|
+
"namespace": {
|
|
1023
|
+
"aliases": [
|
|
1024
|
+
"ns"
|
|
1025
|
+
],
|
|
1026
|
+
"char": "n",
|
|
1027
|
+
"description": "The Kubernetes namespace to target",
|
|
1028
|
+
"name": "namespace",
|
|
1052
1029
|
"required": false,
|
|
1053
1030
|
"hasDynamicHelp": false,
|
|
1054
1031
|
"multiple": false,
|
|
1055
1032
|
"type": "option"
|
|
1056
1033
|
},
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1060
|
-
"required": false,
|
|
1061
|
-
"allowNo": false,
|
|
1034
|
+
"watch": {
|
|
1035
|
+
"name": "watch",
|
|
1036
|
+
"allowNo": true,
|
|
1062
1037
|
"type": "boolean"
|
|
1063
1038
|
}
|
|
1064
1039
|
},
|
|
1065
1040
|
"hasDynamicHelp": false,
|
|
1066
1041
|
"hiddenAliases": [],
|
|
1067
|
-
"id": "
|
|
1042
|
+
"id": "kubernetes:ps",
|
|
1068
1043
|
"pluginAlias": "@enspirit/emb",
|
|
1069
1044
|
"pluginName": "@enspirit/emb",
|
|
1070
1045
|
"pluginType": "core",
|
|
1071
|
-
"strict":
|
|
1072
|
-
"enableJsonFlag":
|
|
1046
|
+
"strict": false,
|
|
1047
|
+
"enableJsonFlag": false,
|
|
1073
1048
|
"isESM": true,
|
|
1074
1049
|
"relativePath": [
|
|
1075
1050
|
"dist",
|
|
1076
1051
|
"src",
|
|
1077
1052
|
"cli",
|
|
1078
1053
|
"commands",
|
|
1079
|
-
"
|
|
1080
|
-
"
|
|
1054
|
+
"kubernetes",
|
|
1055
|
+
"ps.js"
|
|
1081
1056
|
]
|
|
1082
1057
|
},
|
|
1083
|
-
"
|
|
1058
|
+
"kubernetes:restart": {
|
|
1084
1059
|
"aliases": [],
|
|
1085
1060
|
"args": {
|
|
1086
|
-
"
|
|
1087
|
-
"description": "
|
|
1088
|
-
"name": "
|
|
1089
|
-
"required": false
|
|
1061
|
+
"deployment": {
|
|
1062
|
+
"description": "The deployment(s) to restart",
|
|
1063
|
+
"name": "deployment"
|
|
1090
1064
|
}
|
|
1091
1065
|
},
|
|
1092
|
-
"description": "
|
|
1066
|
+
"description": "Restart pods of an instance.",
|
|
1093
1067
|
"examples": [
|
|
1094
|
-
"<%= config.bin %> <%= command.id %>
|
|
1095
|
-
"<%= config.bin %> <%= command.id %> api:image --flavor production"
|
|
1068
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1096
1069
|
],
|
|
1097
1070
|
"flags": {
|
|
1098
|
-
"json": {
|
|
1099
|
-
"description": "Format output as json.",
|
|
1100
|
-
"helpGroup": "GLOBAL",
|
|
1101
|
-
"name": "json",
|
|
1102
|
-
"allowNo": false,
|
|
1103
|
-
"type": "boolean"
|
|
1104
|
-
},
|
|
1105
1071
|
"verbose": {
|
|
1106
1072
|
"name": "verbose",
|
|
1107
1073
|
"allowNo": true,
|
|
@@ -1116,50 +1082,49 @@
|
|
|
1116
1082
|
"multiple": false,
|
|
1117
1083
|
"type": "option"
|
|
1118
1084
|
},
|
|
1119
|
-
"
|
|
1120
|
-
"
|
|
1121
|
-
|
|
1085
|
+
"namespace": {
|
|
1086
|
+
"aliases": [
|
|
1087
|
+
"ns"
|
|
1088
|
+
],
|
|
1089
|
+
"char": "n",
|
|
1090
|
+
"description": "The Kubernetes namespace to target",
|
|
1091
|
+
"name": "namespace",
|
|
1122
1092
|
"required": false,
|
|
1123
1093
|
"hasDynamicHelp": false,
|
|
1124
1094
|
"multiple": false,
|
|
1125
1095
|
"type": "option"
|
|
1126
|
-
},
|
|
1127
|
-
"dry-run": {
|
|
1128
|
-
"description": "Do not publish, just show what would be published",
|
|
1129
|
-
"name": "dry-run",
|
|
1130
|
-
"required": false,
|
|
1131
|
-
"allowNo": false,
|
|
1132
|
-
"type": "boolean"
|
|
1133
1096
|
}
|
|
1134
1097
|
},
|
|
1135
1098
|
"hasDynamicHelp": false,
|
|
1136
1099
|
"hiddenAliases": [],
|
|
1137
|
-
"id": "
|
|
1100
|
+
"id": "kubernetes:restart",
|
|
1138
1101
|
"pluginAlias": "@enspirit/emb",
|
|
1139
1102
|
"pluginName": "@enspirit/emb",
|
|
1140
1103
|
"pluginType": "core",
|
|
1141
1104
|
"strict": false,
|
|
1142
|
-
"enableJsonFlag":
|
|
1105
|
+
"enableJsonFlag": false,
|
|
1143
1106
|
"isESM": true,
|
|
1144
1107
|
"relativePath": [
|
|
1145
1108
|
"dist",
|
|
1146
1109
|
"src",
|
|
1147
1110
|
"cli",
|
|
1148
1111
|
"commands",
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
1112
|
+
"kubernetes",
|
|
1113
|
+
"restart.js"
|
|
1151
1114
|
]
|
|
1152
1115
|
},
|
|
1153
|
-
"kubernetes:
|
|
1154
|
-
"aliases": [
|
|
1116
|
+
"kubernetes:shell": {
|
|
1117
|
+
"aliases": [
|
|
1118
|
+
"shell"
|
|
1119
|
+
],
|
|
1155
1120
|
"args": {
|
|
1156
1121
|
"component": {
|
|
1157
|
-
"description": "The component you want to
|
|
1122
|
+
"description": "The component you want to get a shell on",
|
|
1158
1123
|
"name": "component",
|
|
1159
1124
|
"required": true
|
|
1160
1125
|
}
|
|
1161
1126
|
},
|
|
1162
|
-
"description": "
|
|
1127
|
+
"description": "Get a shell on a deployed component.",
|
|
1163
1128
|
"examples": [
|
|
1164
1129
|
"<%= config.bin %> <%= command.id %>"
|
|
1165
1130
|
],
|
|
@@ -1190,17 +1155,19 @@
|
|
|
1190
1155
|
"multiple": false,
|
|
1191
1156
|
"type": "option"
|
|
1192
1157
|
},
|
|
1193
|
-
"
|
|
1194
|
-
"char": "
|
|
1195
|
-
"description": "
|
|
1196
|
-
"name": "
|
|
1197
|
-
"
|
|
1198
|
-
"
|
|
1158
|
+
"shell": {
|
|
1159
|
+
"char": "s",
|
|
1160
|
+
"description": "The shell to run",
|
|
1161
|
+
"name": "shell",
|
|
1162
|
+
"default": "bash",
|
|
1163
|
+
"hasDynamicHelp": false,
|
|
1164
|
+
"multiple": false,
|
|
1165
|
+
"type": "option"
|
|
1199
1166
|
}
|
|
1200
1167
|
},
|
|
1201
1168
|
"hasDynamicHelp": false,
|
|
1202
1169
|
"hiddenAliases": [],
|
|
1203
|
-
"id": "kubernetes:
|
|
1170
|
+
"id": "kubernetes:shell",
|
|
1204
1171
|
"pluginAlias": "@enspirit/emb",
|
|
1205
1172
|
"pluginName": "@enspirit/emb",
|
|
1206
1173
|
"pluginType": "core",
|
|
@@ -1213,17 +1180,33 @@
|
|
|
1213
1180
|
"cli",
|
|
1214
1181
|
"commands",
|
|
1215
1182
|
"kubernetes",
|
|
1216
|
-
"
|
|
1183
|
+
"shell.js"
|
|
1217
1184
|
]
|
|
1218
1185
|
},
|
|
1219
|
-
"
|
|
1186
|
+
"logs:archive": {
|
|
1220
1187
|
"aliases": [],
|
|
1221
|
-
"args": {
|
|
1222
|
-
|
|
1188
|
+
"args": {
|
|
1189
|
+
"service": {
|
|
1190
|
+
"description": "The service(s) to archive logs for (all if omitted)",
|
|
1191
|
+
"name": "service",
|
|
1192
|
+
"required": false
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
"description": "Archive docker compose logs to files (one file per service).",
|
|
1223
1196
|
"examples": [
|
|
1224
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1197
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1198
|
+
"<%= config.bin %> <%= command.id %> backend frontend",
|
|
1199
|
+
"<%= config.bin %> <%= command.id %> --timestamps",
|
|
1200
|
+
"<%= config.bin %> <%= command.id %> --tail 1000"
|
|
1225
1201
|
],
|
|
1226
1202
|
"flags": {
|
|
1203
|
+
"json": {
|
|
1204
|
+
"description": "Format output as json.",
|
|
1205
|
+
"helpGroup": "GLOBAL",
|
|
1206
|
+
"name": "json",
|
|
1207
|
+
"allowNo": false,
|
|
1208
|
+
"type": "boolean"
|
|
1209
|
+
},
|
|
1227
1210
|
"verbose": {
|
|
1228
1211
|
"name": "verbose",
|
|
1229
1212
|
"allowNo": true,
|
|
@@ -1238,53 +1221,62 @@
|
|
|
1238
1221
|
"multiple": false,
|
|
1239
1222
|
"type": "option"
|
|
1240
1223
|
},
|
|
1241
|
-
"
|
|
1242
|
-
"
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
"
|
|
1246
|
-
"
|
|
1247
|
-
|
|
1248
|
-
|
|
1224
|
+
"timestamps": {
|
|
1225
|
+
"char": "t",
|
|
1226
|
+
"description": "Include timestamps in logs",
|
|
1227
|
+
"name": "timestamps",
|
|
1228
|
+
"allowNo": false,
|
|
1229
|
+
"type": "boolean"
|
|
1230
|
+
},
|
|
1231
|
+
"tail": {
|
|
1232
|
+
"description": "Number of lines to show from the end of the logs",
|
|
1233
|
+
"name": "tail",
|
|
1249
1234
|
"hasDynamicHelp": false,
|
|
1250
1235
|
"multiple": false,
|
|
1251
1236
|
"type": "option"
|
|
1252
1237
|
},
|
|
1253
|
-
"
|
|
1254
|
-
"
|
|
1255
|
-
"
|
|
1256
|
-
"
|
|
1238
|
+
"output": {
|
|
1239
|
+
"char": "o",
|
|
1240
|
+
"description": "Output directory for log files (defaults to .emb/<flavor>/logs/docker/compose)",
|
|
1241
|
+
"name": "output",
|
|
1242
|
+
"hasDynamicHelp": false,
|
|
1243
|
+
"multiple": false,
|
|
1244
|
+
"type": "option"
|
|
1257
1245
|
}
|
|
1258
1246
|
},
|
|
1259
1247
|
"hasDynamicHelp": false,
|
|
1260
1248
|
"hiddenAliases": [],
|
|
1261
|
-
"id": "
|
|
1249
|
+
"id": "logs:archive",
|
|
1262
1250
|
"pluginAlias": "@enspirit/emb",
|
|
1263
1251
|
"pluginName": "@enspirit/emb",
|
|
1264
1252
|
"pluginType": "core",
|
|
1265
1253
|
"strict": false,
|
|
1266
|
-
"enableJsonFlag":
|
|
1254
|
+
"enableJsonFlag": true,
|
|
1267
1255
|
"isESM": true,
|
|
1268
1256
|
"relativePath": [
|
|
1269
1257
|
"dist",
|
|
1270
1258
|
"src",
|
|
1271
1259
|
"cli",
|
|
1272
1260
|
"commands",
|
|
1273
|
-
"
|
|
1274
|
-
"
|
|
1261
|
+
"logs",
|
|
1262
|
+
"archive.js"
|
|
1275
1263
|
]
|
|
1276
1264
|
},
|
|
1277
|
-
"
|
|
1265
|
+
"logs": {
|
|
1278
1266
|
"aliases": [],
|
|
1279
1267
|
"args": {
|
|
1280
|
-
"
|
|
1281
|
-
"description": "The
|
|
1282
|
-
"name": "
|
|
1268
|
+
"service": {
|
|
1269
|
+
"description": "The service(s) you want to see the logs of (all if omitted)",
|
|
1270
|
+
"name": "service",
|
|
1271
|
+
"required": false
|
|
1283
1272
|
}
|
|
1284
1273
|
},
|
|
1285
|
-
"description": "
|
|
1274
|
+
"description": "Get service logs.",
|
|
1286
1275
|
"examples": [
|
|
1287
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1276
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1277
|
+
"<%= config.bin %> <%= command.id %> backend",
|
|
1278
|
+
"<%= config.bin %> <%= command.id %> backend frontend",
|
|
1279
|
+
"<%= config.bin %> <%= command.id %> --no-follow backend"
|
|
1288
1280
|
],
|
|
1289
1281
|
"flags": {
|
|
1290
1282
|
"verbose": {
|
|
@@ -1301,22 +1293,17 @@
|
|
|
1301
1293
|
"multiple": false,
|
|
1302
1294
|
"type": "option"
|
|
1303
1295
|
},
|
|
1304
|
-
"
|
|
1305
|
-
"
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
"
|
|
1309
|
-
"
|
|
1310
|
-
"name": "namespace",
|
|
1311
|
-
"required": false,
|
|
1312
|
-
"hasDynamicHelp": false,
|
|
1313
|
-
"multiple": false,
|
|
1314
|
-
"type": "option"
|
|
1296
|
+
"follow": {
|
|
1297
|
+
"char": "f",
|
|
1298
|
+
"description": "Follow log output",
|
|
1299
|
+
"name": "follow",
|
|
1300
|
+
"allowNo": true,
|
|
1301
|
+
"type": "boolean"
|
|
1315
1302
|
}
|
|
1316
1303
|
},
|
|
1317
1304
|
"hasDynamicHelp": false,
|
|
1318
1305
|
"hiddenAliases": [],
|
|
1319
|
-
"id": "
|
|
1306
|
+
"id": "logs",
|
|
1320
1307
|
"pluginAlias": "@enspirit/emb",
|
|
1321
1308
|
"pluginName": "@enspirit/emb",
|
|
1322
1309
|
"pluginType": "core",
|
|
@@ -1328,26 +1315,32 @@
|
|
|
1328
1315
|
"src",
|
|
1329
1316
|
"cli",
|
|
1330
1317
|
"commands",
|
|
1331
|
-
"
|
|
1332
|
-
"
|
|
1318
|
+
"logs",
|
|
1319
|
+
"index.js"
|
|
1333
1320
|
]
|
|
1334
1321
|
},
|
|
1335
|
-
"
|
|
1336
|
-
"aliases": [
|
|
1337
|
-
"shell"
|
|
1338
|
-
],
|
|
1322
|
+
"resources:build": {
|
|
1323
|
+
"aliases": [],
|
|
1339
1324
|
"args": {
|
|
1340
1325
|
"component": {
|
|
1341
|
-
"description": "
|
|
1326
|
+
"description": "List of resources to build (defaults to all)",
|
|
1342
1327
|
"name": "component",
|
|
1343
|
-
"required":
|
|
1328
|
+
"required": false
|
|
1344
1329
|
}
|
|
1345
1330
|
},
|
|
1346
|
-
"description": "
|
|
1331
|
+
"description": "Build the resources of the monorepo",
|
|
1347
1332
|
"examples": [
|
|
1348
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1333
|
+
"<%= config.bin %> <%= command.id %> build --flavor development",
|
|
1334
|
+
"<%= config.bin %> <%= command.id %> build --publishable --flavor production"
|
|
1349
1335
|
],
|
|
1350
1336
|
"flags": {
|
|
1337
|
+
"json": {
|
|
1338
|
+
"description": "Format output as json.",
|
|
1339
|
+
"helpGroup": "GLOBAL",
|
|
1340
|
+
"name": "json",
|
|
1341
|
+
"allowNo": false,
|
|
1342
|
+
"type": "boolean"
|
|
1343
|
+
},
|
|
1351
1344
|
"verbose": {
|
|
1352
1345
|
"name": "verbose",
|
|
1353
1346
|
"allowNo": true,
|
|
@@ -1362,53 +1355,62 @@
|
|
|
1362
1355
|
"multiple": false,
|
|
1363
1356
|
"type": "option"
|
|
1364
1357
|
},
|
|
1365
|
-
"
|
|
1366
|
-
"
|
|
1367
|
-
|
|
1368
|
-
],
|
|
1369
|
-
"char": "n",
|
|
1370
|
-
"description": "The Kubernetes namespace to target",
|
|
1371
|
-
"name": "namespace",
|
|
1358
|
+
"flavor": {
|
|
1359
|
+
"description": "Specify the flavor to use.",
|
|
1360
|
+
"name": "flavor",
|
|
1372
1361
|
"required": false,
|
|
1373
1362
|
"hasDynamicHelp": false,
|
|
1374
1363
|
"multiple": false,
|
|
1375
1364
|
"type": "option"
|
|
1376
1365
|
},
|
|
1377
|
-
"
|
|
1378
|
-
"
|
|
1379
|
-
"
|
|
1380
|
-
"
|
|
1381
|
-
"
|
|
1382
|
-
"
|
|
1383
|
-
|
|
1384
|
-
|
|
1366
|
+
"dry-run": {
|
|
1367
|
+
"description": "Do not build the resources but only produce build meta information",
|
|
1368
|
+
"name": "dry-run",
|
|
1369
|
+
"required": false,
|
|
1370
|
+
"allowNo": false,
|
|
1371
|
+
"type": "boolean"
|
|
1372
|
+
},
|
|
1373
|
+
"force": {
|
|
1374
|
+
"char": "f",
|
|
1375
|
+
"description": "Bypass the cache and force the build",
|
|
1376
|
+
"name": "force",
|
|
1377
|
+
"required": false,
|
|
1378
|
+
"allowNo": false,
|
|
1379
|
+
"type": "boolean"
|
|
1380
|
+
},
|
|
1381
|
+
"publishable": {
|
|
1382
|
+
"description": "Only build resources that are publishable (publish: true) and their dependencies",
|
|
1383
|
+
"name": "publishable",
|
|
1384
|
+
"required": false,
|
|
1385
|
+
"allowNo": false,
|
|
1386
|
+
"type": "boolean"
|
|
1385
1387
|
}
|
|
1386
1388
|
},
|
|
1387
1389
|
"hasDynamicHelp": false,
|
|
1388
1390
|
"hiddenAliases": [],
|
|
1389
|
-
"id": "
|
|
1391
|
+
"id": "resources:build",
|
|
1390
1392
|
"pluginAlias": "@enspirit/emb",
|
|
1391
1393
|
"pluginName": "@enspirit/emb",
|
|
1392
1394
|
"pluginType": "core",
|
|
1393
|
-
"strict":
|
|
1394
|
-
"enableJsonFlag":
|
|
1395
|
+
"strict": false,
|
|
1396
|
+
"enableJsonFlag": true,
|
|
1395
1397
|
"isESM": true,
|
|
1396
1398
|
"relativePath": [
|
|
1397
1399
|
"dist",
|
|
1398
1400
|
"src",
|
|
1399
1401
|
"cli",
|
|
1400
1402
|
"commands",
|
|
1401
|
-
"
|
|
1402
|
-
"
|
|
1403
|
+
"resources",
|
|
1404
|
+
"build.js"
|
|
1403
1405
|
]
|
|
1404
1406
|
},
|
|
1405
|
-
"
|
|
1407
|
+
"resources": {
|
|
1406
1408
|
"aliases": [],
|
|
1407
1409
|
"args": {},
|
|
1408
|
-
"description": "List
|
|
1410
|
+
"description": "List resources.",
|
|
1409
1411
|
"examples": [
|
|
1410
1412
|
"<%= config.bin %> <%= command.id %>",
|
|
1411
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1413
|
+
"<%= config.bin %> <%= command.id %> --publishable"
|
|
1412
1414
|
],
|
|
1413
1415
|
"flags": {
|
|
1414
1416
|
"json": {
|
|
@@ -1439,11 +1441,18 @@
|
|
|
1439
1441
|
"hasDynamicHelp": false,
|
|
1440
1442
|
"multiple": false,
|
|
1441
1443
|
"type": "option"
|
|
1444
|
+
},
|
|
1445
|
+
"publishable": {
|
|
1446
|
+
"description": "Only show resources that are publishable (publish: true)",
|
|
1447
|
+
"name": "publishable",
|
|
1448
|
+
"required": false,
|
|
1449
|
+
"allowNo": false,
|
|
1450
|
+
"type": "boolean"
|
|
1442
1451
|
}
|
|
1443
1452
|
},
|
|
1444
1453
|
"hasDynamicHelp": false,
|
|
1445
1454
|
"hiddenAliases": [],
|
|
1446
|
-
"id": "
|
|
1455
|
+
"id": "resources",
|
|
1447
1456
|
"pluginAlias": "@enspirit/emb",
|
|
1448
1457
|
"pluginName": "@enspirit/emb",
|
|
1449
1458
|
"pluginType": "core",
|
|
@@ -1455,16 +1464,23 @@
|
|
|
1455
1464
|
"src",
|
|
1456
1465
|
"cli",
|
|
1457
1466
|
"commands",
|
|
1458
|
-
"
|
|
1467
|
+
"resources",
|
|
1459
1468
|
"index.js"
|
|
1460
1469
|
]
|
|
1461
1470
|
},
|
|
1462
|
-
"
|
|
1471
|
+
"resources:publish": {
|
|
1463
1472
|
"aliases": [],
|
|
1464
|
-
"args": {
|
|
1465
|
-
|
|
1473
|
+
"args": {
|
|
1474
|
+
"resources": {
|
|
1475
|
+
"description": "List of resources to publish (defaults to all publishable)",
|
|
1476
|
+
"name": "resources",
|
|
1477
|
+
"required": false
|
|
1478
|
+
}
|
|
1479
|
+
},
|
|
1480
|
+
"description": "Publish resources to their registries",
|
|
1466
1481
|
"examples": [
|
|
1467
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1482
|
+
"<%= config.bin %> <%= command.id %> --flavor production",
|
|
1483
|
+
"<%= config.bin %> <%= command.id %> api:image --flavor production"
|
|
1468
1484
|
],
|
|
1469
1485
|
"flags": {
|
|
1470
1486
|
"json": {
|
|
@@ -1495,15 +1511,22 @@
|
|
|
1495
1511
|
"hasDynamicHelp": false,
|
|
1496
1512
|
"multiple": false,
|
|
1497
1513
|
"type": "option"
|
|
1514
|
+
},
|
|
1515
|
+
"dry-run": {
|
|
1516
|
+
"description": "Do not publish, just show what would be published",
|
|
1517
|
+
"name": "dry-run",
|
|
1518
|
+
"required": false,
|
|
1519
|
+
"allowNo": false,
|
|
1520
|
+
"type": "boolean"
|
|
1498
1521
|
}
|
|
1499
1522
|
},
|
|
1500
1523
|
"hasDynamicHelp": false,
|
|
1501
1524
|
"hiddenAliases": [],
|
|
1502
|
-
"id": "
|
|
1525
|
+
"id": "resources:publish",
|
|
1503
1526
|
"pluginAlias": "@enspirit/emb",
|
|
1504
1527
|
"pluginName": "@enspirit/emb",
|
|
1505
1528
|
"pluginType": "core",
|
|
1506
|
-
"strict":
|
|
1529
|
+
"strict": false,
|
|
1507
1530
|
"enableJsonFlag": true,
|
|
1508
1531
|
"isESM": true,
|
|
1509
1532
|
"relativePath": [
|
|
@@ -1511,17 +1534,16 @@
|
|
|
1511
1534
|
"src",
|
|
1512
1535
|
"cli",
|
|
1513
1536
|
"commands",
|
|
1514
|
-
"
|
|
1515
|
-
"
|
|
1537
|
+
"resources",
|
|
1538
|
+
"publish.js"
|
|
1516
1539
|
]
|
|
1517
1540
|
},
|
|
1518
|
-
"secrets
|
|
1541
|
+
"secrets": {
|
|
1519
1542
|
"aliases": [],
|
|
1520
1543
|
"args": {},
|
|
1521
|
-
"description": "
|
|
1544
|
+
"description": "List all secret references in the configuration.",
|
|
1522
1545
|
"examples": [
|
|
1523
1546
|
"<%= config.bin %> <%= command.id %>",
|
|
1524
|
-
"<%= config.bin %> <%= command.id %> --fail-fast",
|
|
1525
1547
|
"<%= config.bin %> <%= command.id %> --json"
|
|
1526
1548
|
],
|
|
1527
1549
|
"flags": {
|
|
@@ -1553,17 +1575,11 @@
|
|
|
1553
1575
|
"hasDynamicHelp": false,
|
|
1554
1576
|
"multiple": false,
|
|
1555
1577
|
"type": "option"
|
|
1556
|
-
},
|
|
1557
|
-
"fail-fast": {
|
|
1558
|
-
"description": "Stop on first validation error",
|
|
1559
|
-
"name": "fail-fast",
|
|
1560
|
-
"allowNo": false,
|
|
1561
|
-
"type": "boolean"
|
|
1562
1578
|
}
|
|
1563
1579
|
},
|
|
1564
1580
|
"hasDynamicHelp": false,
|
|
1565
1581
|
"hiddenAliases": [],
|
|
1566
|
-
"id": "secrets
|
|
1582
|
+
"id": "secrets",
|
|
1567
1583
|
"pluginAlias": "@enspirit/emb",
|
|
1568
1584
|
"pluginName": "@enspirit/emb",
|
|
1569
1585
|
"pluginType": "core",
|
|
@@ -1576,24 +1592,15 @@
|
|
|
1576
1592
|
"cli",
|
|
1577
1593
|
"commands",
|
|
1578
1594
|
"secrets",
|
|
1579
|
-
"
|
|
1595
|
+
"index.js"
|
|
1580
1596
|
]
|
|
1581
1597
|
},
|
|
1582
|
-
"
|
|
1598
|
+
"secrets:providers": {
|
|
1583
1599
|
"aliases": [],
|
|
1584
|
-
"args": {
|
|
1585
|
-
|
|
1586
|
-
"description": "The service(s) to archive logs for (all if omitted)",
|
|
1587
|
-
"name": "service",
|
|
1588
|
-
"required": false
|
|
1589
|
-
}
|
|
1590
|
-
},
|
|
1591
|
-
"description": "Archive docker compose logs to files (one file per service).",
|
|
1600
|
+
"args": {},
|
|
1601
|
+
"description": "Show configured secret providers and their status.",
|
|
1592
1602
|
"examples": [
|
|
1593
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1594
|
-
"<%= config.bin %> <%= command.id %> backend frontend",
|
|
1595
|
-
"<%= config.bin %> <%= command.id %> --timestamps",
|
|
1596
|
-
"<%= config.bin %> <%= command.id %> --tail 1000"
|
|
1603
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1597
1604
|
],
|
|
1598
1605
|
"flags": {
|
|
1599
1606
|
"json": {
|
|
@@ -1617,24 +1624,10 @@
|
|
|
1617
1624
|
"multiple": false,
|
|
1618
1625
|
"type": "option"
|
|
1619
1626
|
},
|
|
1620
|
-
"
|
|
1621
|
-
"
|
|
1622
|
-
"
|
|
1623
|
-
"
|
|
1624
|
-
"allowNo": false,
|
|
1625
|
-
"type": "boolean"
|
|
1626
|
-
},
|
|
1627
|
-
"tail": {
|
|
1628
|
-
"description": "Number of lines to show from the end of the logs",
|
|
1629
|
-
"name": "tail",
|
|
1630
|
-
"hasDynamicHelp": false,
|
|
1631
|
-
"multiple": false,
|
|
1632
|
-
"type": "option"
|
|
1633
|
-
},
|
|
1634
|
-
"output": {
|
|
1635
|
-
"char": "o",
|
|
1636
|
-
"description": "Output directory for log files (defaults to .emb/<flavor>/logs/docker/compose)",
|
|
1637
|
-
"name": "output",
|
|
1627
|
+
"flavor": {
|
|
1628
|
+
"description": "Specify the flavor to use.",
|
|
1629
|
+
"name": "flavor",
|
|
1630
|
+
"required": false,
|
|
1638
1631
|
"hasDynamicHelp": false,
|
|
1639
1632
|
"multiple": false,
|
|
1640
1633
|
"type": "option"
|
|
@@ -1642,11 +1635,11 @@
|
|
|
1642
1635
|
},
|
|
1643
1636
|
"hasDynamicHelp": false,
|
|
1644
1637
|
"hiddenAliases": [],
|
|
1645
|
-
"id": "
|
|
1638
|
+
"id": "secrets:providers",
|
|
1646
1639
|
"pluginAlias": "@enspirit/emb",
|
|
1647
1640
|
"pluginName": "@enspirit/emb",
|
|
1648
1641
|
"pluginType": "core",
|
|
1649
|
-
"strict":
|
|
1642
|
+
"strict": true,
|
|
1650
1643
|
"enableJsonFlag": true,
|
|
1651
1644
|
"isESM": true,
|
|
1652
1645
|
"relativePath": [
|
|
@@ -1654,27 +1647,27 @@
|
|
|
1654
1647
|
"src",
|
|
1655
1648
|
"cli",
|
|
1656
1649
|
"commands",
|
|
1657
|
-
"
|
|
1658
|
-
"
|
|
1650
|
+
"secrets",
|
|
1651
|
+
"providers.js"
|
|
1659
1652
|
]
|
|
1660
1653
|
},
|
|
1661
|
-
"
|
|
1654
|
+
"secrets:validate": {
|
|
1662
1655
|
"aliases": [],
|
|
1663
|
-
"args": {
|
|
1664
|
-
|
|
1665
|
-
"description": "The service(s) you want to see the logs of (all if omitted)",
|
|
1666
|
-
"name": "service",
|
|
1667
|
-
"required": false
|
|
1668
|
-
}
|
|
1669
|
-
},
|
|
1670
|
-
"description": "Get service logs.",
|
|
1656
|
+
"args": {},
|
|
1657
|
+
"description": "Validate that all secret references can be resolved (without showing values).",
|
|
1671
1658
|
"examples": [
|
|
1672
1659
|
"<%= config.bin %> <%= command.id %>",
|
|
1673
|
-
"<%= config.bin %> <%= command.id %>
|
|
1674
|
-
"<%= config.bin %> <%= command.id %>
|
|
1675
|
-
"<%= config.bin %> <%= command.id %> --no-follow backend"
|
|
1660
|
+
"<%= config.bin %> <%= command.id %> --fail-fast",
|
|
1661
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
1676
1662
|
],
|
|
1677
1663
|
"flags": {
|
|
1664
|
+
"json": {
|
|
1665
|
+
"description": "Format output as json.",
|
|
1666
|
+
"helpGroup": "GLOBAL",
|
|
1667
|
+
"name": "json",
|
|
1668
|
+
"allowNo": false,
|
|
1669
|
+
"type": "boolean"
|
|
1670
|
+
},
|
|
1678
1671
|
"verbose": {
|
|
1679
1672
|
"name": "verbose",
|
|
1680
1673
|
"allowNo": true,
|
|
@@ -1689,30 +1682,37 @@
|
|
|
1689
1682
|
"multiple": false,
|
|
1690
1683
|
"type": "option"
|
|
1691
1684
|
},
|
|
1692
|
-
"
|
|
1693
|
-
"
|
|
1694
|
-
"
|
|
1695
|
-
"
|
|
1696
|
-
"
|
|
1685
|
+
"flavor": {
|
|
1686
|
+
"description": "Specify the flavor to use.",
|
|
1687
|
+
"name": "flavor",
|
|
1688
|
+
"required": false,
|
|
1689
|
+
"hasDynamicHelp": false,
|
|
1690
|
+
"multiple": false,
|
|
1691
|
+
"type": "option"
|
|
1692
|
+
},
|
|
1693
|
+
"fail-fast": {
|
|
1694
|
+
"description": "Stop on first validation error",
|
|
1695
|
+
"name": "fail-fast",
|
|
1696
|
+
"allowNo": false,
|
|
1697
1697
|
"type": "boolean"
|
|
1698
1698
|
}
|
|
1699
1699
|
},
|
|
1700
1700
|
"hasDynamicHelp": false,
|
|
1701
1701
|
"hiddenAliases": [],
|
|
1702
|
-
"id": "
|
|
1702
|
+
"id": "secrets:validate",
|
|
1703
1703
|
"pluginAlias": "@enspirit/emb",
|
|
1704
1704
|
"pluginName": "@enspirit/emb",
|
|
1705
1705
|
"pluginType": "core",
|
|
1706
|
-
"strict":
|
|
1707
|
-
"enableJsonFlag":
|
|
1706
|
+
"strict": true,
|
|
1707
|
+
"enableJsonFlag": true,
|
|
1708
1708
|
"isESM": true,
|
|
1709
1709
|
"relativePath": [
|
|
1710
1710
|
"dist",
|
|
1711
1711
|
"src",
|
|
1712
1712
|
"cli",
|
|
1713
1713
|
"commands",
|
|
1714
|
-
"
|
|
1715
|
-
"
|
|
1714
|
+
"secrets",
|
|
1715
|
+
"validate.js"
|
|
1716
1716
|
]
|
|
1717
1717
|
},
|
|
1718
1718
|
"tasks": {
|
|
@@ -1840,5 +1840,5 @@
|
|
|
1840
1840
|
]
|
|
1841
1841
|
}
|
|
1842
1842
|
},
|
|
1843
|
-
"version": "0.25.
|
|
1843
|
+
"version": "0.25.5"
|
|
1844
1844
|
}
|