@enspirit/emb 0.18.0 → 0.19.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 +31 -31
- package/dist/src/config/schema.d.ts +4 -0
- package/dist/src/config/schema.json +8 -0
- package/dist/src/docker/operations/images/BuildImageOperation.d.ts +1 -0
- package/dist/src/docker/operations/images/BuildImageOperation.js +8 -0
- package/dist/src/docker/resources/DockerImageResource.js +1 -0
- package/oclif.manifest.json +128 -128
- 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.
|
|
17
|
+
@enspirit/emb/0.19.0 darwin-arm64 node-v22.21.1
|
|
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.
|
|
116
|
+
_See code: [src/commands/clean.ts](https://github.com/enspirit/emb/blob/v0.19.0/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.
|
|
141
|
+
_See code: [src/commands/components/index.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/components/index.ts)_
|
|
142
142
|
|
|
143
143
|
## `emb components logs [COMPONENT]`
|
|
144
144
|
|
|
@@ -169,7 +169,7 @@ EXAMPLES
|
|
|
169
169
|
$ emb components logs --no-follow backend
|
|
170
170
|
```
|
|
171
171
|
|
|
172
|
-
_See code: [src/commands/components/logs.ts](https://github.com/enspirit/emb/blob/v0.
|
|
172
|
+
_See code: [src/commands/components/logs.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/components/logs.ts)_
|
|
173
173
|
|
|
174
174
|
## `emb components shell COMPONENT`
|
|
175
175
|
|
|
@@ -197,7 +197,7 @@ EXAMPLES
|
|
|
197
197
|
$ emb components shell
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
_See code: [src/commands/components/shell.ts](https://github.com/enspirit/emb/blob/v0.
|
|
200
|
+
_See code: [src/commands/components/shell.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/components/shell.ts)_
|
|
201
201
|
|
|
202
202
|
## `emb config print`
|
|
203
203
|
|
|
@@ -222,7 +222,7 @@ EXAMPLES
|
|
|
222
222
|
$ emb config print
|
|
223
223
|
```
|
|
224
224
|
|
|
225
|
-
_See code: [src/commands/config/print.ts](https://github.com/enspirit/emb/blob/v0.
|
|
225
|
+
_See code: [src/commands/config/print.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/config/print.ts)_
|
|
226
226
|
|
|
227
227
|
## `emb containers`
|
|
228
228
|
|
|
@@ -247,7 +247,7 @@ EXAMPLES
|
|
|
247
247
|
$ emb containers
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
_See code: [src/commands/containers/index.ts](https://github.com/enspirit/emb/blob/v0.
|
|
250
|
+
_See code: [src/commands/containers/index.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/containers/index.ts)_
|
|
251
251
|
|
|
252
252
|
## `emb containers prune`
|
|
253
253
|
|
|
@@ -271,7 +271,7 @@ EXAMPLES
|
|
|
271
271
|
$ emb containers prune
|
|
272
272
|
```
|
|
273
273
|
|
|
274
|
-
_See code: [src/commands/containers/prune.ts](https://github.com/enspirit/emb/blob/v0.
|
|
274
|
+
_See code: [src/commands/containers/prune.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/containers/prune.ts)_
|
|
275
275
|
|
|
276
276
|
## `emb down`
|
|
277
277
|
|
|
@@ -296,7 +296,7 @@ EXAMPLES
|
|
|
296
296
|
$ emb down
|
|
297
297
|
```
|
|
298
298
|
|
|
299
|
-
_See code: [src/commands/down.ts](https://github.com/enspirit/emb/blob/v0.
|
|
299
|
+
_See code: [src/commands/down.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/down.ts)_
|
|
300
300
|
|
|
301
301
|
## `emb help [COMMAND]`
|
|
302
302
|
|
|
@@ -342,7 +342,7 @@ EXAMPLES
|
|
|
342
342
|
$ emb images
|
|
343
343
|
```
|
|
344
344
|
|
|
345
|
-
_See code: [src/commands/images/index.ts](https://github.com/enspirit/emb/blob/v0.
|
|
345
|
+
_See code: [src/commands/images/index.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/images/index.ts)_
|
|
346
346
|
|
|
347
347
|
## `emb images delete`
|
|
348
348
|
|
|
@@ -367,7 +367,7 @@ EXAMPLES
|
|
|
367
367
|
$ emb images delete
|
|
368
368
|
```
|
|
369
369
|
|
|
370
|
-
_See code: [src/commands/images/delete.ts](https://github.com/enspirit/emb/blob/v0.
|
|
370
|
+
_See code: [src/commands/images/delete.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/images/delete.ts)_
|
|
371
371
|
|
|
372
372
|
## `emb images prune`
|
|
373
373
|
|
|
@@ -392,7 +392,7 @@ EXAMPLES
|
|
|
392
392
|
$ emb images prune
|
|
393
393
|
```
|
|
394
394
|
|
|
395
|
-
_See code: [src/commands/images/prune.ts](https://github.com/enspirit/emb/blob/v0.
|
|
395
|
+
_See code: [src/commands/images/prune.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/images/prune.ts)_
|
|
396
396
|
|
|
397
397
|
## `emb images push`
|
|
398
398
|
|
|
@@ -421,7 +421,7 @@ EXAMPLES
|
|
|
421
421
|
$ emb images push --registry my.registry.io --retag newtag
|
|
422
422
|
```
|
|
423
423
|
|
|
424
|
-
_See code: [src/commands/images/push.ts](https://github.com/enspirit/emb/blob/v0.
|
|
424
|
+
_See code: [src/commands/images/push.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/images/push.ts)_
|
|
425
425
|
|
|
426
426
|
## `emb kubernetes logs COMPONENT`
|
|
427
427
|
|
|
@@ -447,7 +447,7 @@ EXAMPLES
|
|
|
447
447
|
$ emb kubernetes logs
|
|
448
448
|
```
|
|
449
449
|
|
|
450
|
-
_See code: [src/commands/kubernetes/logs.ts](https://github.com/enspirit/emb/blob/v0.
|
|
450
|
+
_See code: [src/commands/kubernetes/logs.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/kubernetes/logs.ts)_
|
|
451
451
|
|
|
452
452
|
## `emb kubernetes ps`
|
|
453
453
|
|
|
@@ -470,7 +470,7 @@ EXAMPLES
|
|
|
470
470
|
$ emb kubernetes ps
|
|
471
471
|
```
|
|
472
472
|
|
|
473
|
-
_See code: [src/commands/kubernetes/ps.ts](https://github.com/enspirit/emb/blob/v0.
|
|
473
|
+
_See code: [src/commands/kubernetes/ps.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/kubernetes/ps.ts)_
|
|
474
474
|
|
|
475
475
|
## `emb kubernetes restart [DEPLOYMENT]`
|
|
476
476
|
|
|
@@ -495,7 +495,7 @@ EXAMPLES
|
|
|
495
495
|
$ emb kubernetes restart
|
|
496
496
|
```
|
|
497
497
|
|
|
498
|
-
_See code: [src/commands/kubernetes/restart.ts](https://github.com/enspirit/emb/blob/v0.
|
|
498
|
+
_See code: [src/commands/kubernetes/restart.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/kubernetes/restart.ts)_
|
|
499
499
|
|
|
500
500
|
## `emb kubernetes shell COMPONENT`
|
|
501
501
|
|
|
@@ -524,7 +524,7 @@ EXAMPLES
|
|
|
524
524
|
$ emb kubernetes shell
|
|
525
525
|
```
|
|
526
526
|
|
|
527
|
-
_See code: [src/commands/kubernetes/shell.ts](https://github.com/enspirit/emb/blob/v0.
|
|
527
|
+
_See code: [src/commands/kubernetes/shell.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/kubernetes/shell.ts)_
|
|
528
528
|
|
|
529
529
|
## `emb logs [COMPONENT]`
|
|
530
530
|
|
|
@@ -555,7 +555,7 @@ EXAMPLES
|
|
|
555
555
|
$ emb logs --no-follow backend
|
|
556
556
|
```
|
|
557
557
|
|
|
558
|
-
_See code: [src/commands/logs/index.ts](https://github.com/enspirit/emb/blob/v0.
|
|
558
|
+
_See code: [src/commands/logs/index.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/logs/index.ts)_
|
|
559
559
|
|
|
560
560
|
## `emb logs archive [COMPONENT]`
|
|
561
561
|
|
|
@@ -591,7 +591,7 @@ EXAMPLES
|
|
|
591
591
|
$ emb logs archive --tail 1000
|
|
592
592
|
```
|
|
593
593
|
|
|
594
|
-
_See code: [src/commands/logs/archive.ts](https://github.com/enspirit/emb/blob/v0.
|
|
594
|
+
_See code: [src/commands/logs/archive.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/logs/archive.ts)_
|
|
595
595
|
|
|
596
596
|
## `emb ps`
|
|
597
597
|
|
|
@@ -614,7 +614,7 @@ EXAMPLES
|
|
|
614
614
|
$ emb ps
|
|
615
615
|
```
|
|
616
616
|
|
|
617
|
-
_See code: [src/commands/ps.ts](https://github.com/enspirit/emb/blob/v0.
|
|
617
|
+
_See code: [src/commands/ps.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/ps.ts)_
|
|
618
618
|
|
|
619
619
|
## `emb resources`
|
|
620
620
|
|
|
@@ -639,7 +639,7 @@ EXAMPLES
|
|
|
639
639
|
$ emb resources
|
|
640
640
|
```
|
|
641
641
|
|
|
642
|
-
_See code: [src/commands/resources/index.ts](https://github.com/enspirit/emb/blob/v0.
|
|
642
|
+
_See code: [src/commands/resources/index.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/resources/index.ts)_
|
|
643
643
|
|
|
644
644
|
## `emb resources build [COMPONENT]`
|
|
645
645
|
|
|
@@ -669,7 +669,7 @@ EXAMPLES
|
|
|
669
669
|
$ emb resources build build --flavor development
|
|
670
670
|
```
|
|
671
671
|
|
|
672
|
-
_See code: [src/commands/resources/build.ts](https://github.com/enspirit/emb/blob/v0.
|
|
672
|
+
_See code: [src/commands/resources/build.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/resources/build.ts)_
|
|
673
673
|
|
|
674
674
|
## `emb restart [COMPONENT]`
|
|
675
675
|
|
|
@@ -697,7 +697,7 @@ EXAMPLES
|
|
|
697
697
|
$ emb restart
|
|
698
698
|
```
|
|
699
699
|
|
|
700
|
-
_See code: [src/commands/restart.ts](https://github.com/enspirit/emb/blob/v0.
|
|
700
|
+
_See code: [src/commands/restart.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/restart.ts)_
|
|
701
701
|
|
|
702
702
|
## `emb run TASK`
|
|
703
703
|
|
|
@@ -755,7 +755,7 @@ EXAMPLES
|
|
|
755
755
|
$ emb secrets --json
|
|
756
756
|
```
|
|
757
757
|
|
|
758
|
-
_See code: [src/commands/secrets/index.ts](https://github.com/enspirit/emb/blob/v0.
|
|
758
|
+
_See code: [src/commands/secrets/index.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/secrets/index.ts)_
|
|
759
759
|
|
|
760
760
|
## `emb secrets providers`
|
|
761
761
|
|
|
@@ -780,7 +780,7 @@ EXAMPLES
|
|
|
780
780
|
$ emb secrets providers
|
|
781
781
|
```
|
|
782
782
|
|
|
783
|
-
_See code: [src/commands/secrets/providers.ts](https://github.com/enspirit/emb/blob/v0.
|
|
783
|
+
_See code: [src/commands/secrets/providers.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/secrets/providers.ts)_
|
|
784
784
|
|
|
785
785
|
## `emb secrets validate`
|
|
786
786
|
|
|
@@ -810,7 +810,7 @@ EXAMPLES
|
|
|
810
810
|
$ emb secrets validate --json
|
|
811
811
|
```
|
|
812
812
|
|
|
813
|
-
_See code: [src/commands/secrets/validate.ts](https://github.com/enspirit/emb/blob/v0.
|
|
813
|
+
_See code: [src/commands/secrets/validate.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/secrets/validate.ts)_
|
|
814
814
|
|
|
815
815
|
## `emb shell COMPONENT`
|
|
816
816
|
|
|
@@ -863,7 +863,7 @@ EXAMPLES
|
|
|
863
863
|
$ emb start
|
|
864
864
|
```
|
|
865
865
|
|
|
866
|
-
_See code: [src/commands/start.ts](https://github.com/enspirit/emb/blob/v0.
|
|
866
|
+
_See code: [src/commands/start.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/start.ts)_
|
|
867
867
|
|
|
868
868
|
## `emb stop`
|
|
869
869
|
|
|
@@ -888,7 +888,7 @@ EXAMPLES
|
|
|
888
888
|
$ emb stop
|
|
889
889
|
```
|
|
890
890
|
|
|
891
|
-
_See code: [src/commands/stop.ts](https://github.com/enspirit/emb/blob/v0.
|
|
891
|
+
_See code: [src/commands/stop.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/stop.ts)_
|
|
892
892
|
|
|
893
893
|
## `emb tasks`
|
|
894
894
|
|
|
@@ -912,7 +912,7 @@ EXAMPLES
|
|
|
912
912
|
$ emb tasks
|
|
913
913
|
```
|
|
914
914
|
|
|
915
|
-
_See code: [src/commands/tasks/index.ts](https://github.com/enspirit/emb/blob/v0.
|
|
915
|
+
_See code: [src/commands/tasks/index.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/tasks/index.ts)_
|
|
916
916
|
|
|
917
917
|
## `emb tasks run TASK`
|
|
918
918
|
|
|
@@ -945,7 +945,7 @@ EXAMPLES
|
|
|
945
945
|
$ emb tasks run
|
|
946
946
|
```
|
|
947
947
|
|
|
948
|
-
_See code: [src/commands/tasks/run.ts](https://github.com/enspirit/emb/blob/v0.
|
|
948
|
+
_See code: [src/commands/tasks/run.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/tasks/run.ts)_
|
|
949
949
|
|
|
950
950
|
## `emb up [COMPONENT]`
|
|
951
951
|
|
|
@@ -974,7 +974,7 @@ EXAMPLES
|
|
|
974
974
|
$ emb up
|
|
975
975
|
```
|
|
976
976
|
|
|
977
|
-
_See code: [src/commands/up.ts](https://github.com/enspirit/emb/blob/v0.
|
|
977
|
+
_See code: [src/commands/up.ts](https://github.com/enspirit/emb/blob/v0.19.0/src/commands/up.ts)_
|
|
978
978
|
|
|
979
979
|
## `emb update [CHANNEL]`
|
|
980
980
|
|
|
@@ -86,6 +86,10 @@
|
|
|
86
86
|
"target": {
|
|
87
87
|
"$ref": "#/definitions/Identifier"
|
|
88
88
|
},
|
|
89
|
+
"platform": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "Target platform for the build (e.g., linux/amd64, linux/arm64)"
|
|
92
|
+
},
|
|
89
93
|
"buildArgs": {
|
|
90
94
|
"type": "object",
|
|
91
95
|
"additionalProperties": {
|
|
@@ -214,6 +218,10 @@
|
|
|
214
218
|
"type": "string",
|
|
215
219
|
"description": "The stage to target for the build"
|
|
216
220
|
},
|
|
221
|
+
"platform": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"description": "Target platform for the build (e.g., linux/amd64, linux/arm64)"
|
|
224
|
+
},
|
|
217
225
|
"labels": {
|
|
218
226
|
"type": "object",
|
|
219
227
|
"additionalProperties": {
|
|
@@ -12,6 +12,7 @@ export declare const BuildImageOperationInputSchema: z.ZodObject<{
|
|
|
12
12
|
buildArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13
13
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
14
14
|
target: z.ZodOptional<z.ZodString>;
|
|
15
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
15
16
|
}, z.core.$strip>;
|
|
16
17
|
export declare class BuildImageOperation extends AbstractOperation<typeof BuildImageOperationInputSchema, void> {
|
|
17
18
|
private out?;
|
|
@@ -32,6 +32,10 @@ export const BuildImageOperationInputSchema = z.object({
|
|
|
32
32
|
.optional()
|
|
33
33
|
.describe('Arbitrary key/value labels to set on the image, as a JSON map of string pairs.'),
|
|
34
34
|
target: z.string().optional().describe('Target build stage'),
|
|
35
|
+
platform: z
|
|
36
|
+
.string()
|
|
37
|
+
.optional()
|
|
38
|
+
.describe('Target platform for the build (e.g., linux/amd64, linux/arm64)'),
|
|
35
39
|
});
|
|
36
40
|
export class BuildImageOperation extends AbstractOperation {
|
|
37
41
|
out;
|
|
@@ -55,6 +59,9 @@ export class BuildImageOperation extends AbstractOperation {
|
|
|
55
59
|
if (input.target) {
|
|
56
60
|
args.push('--target', input.target);
|
|
57
61
|
}
|
|
62
|
+
if (input.platform) {
|
|
63
|
+
args.push('--platform', input.platform);
|
|
64
|
+
}
|
|
58
65
|
Object.entries(input.buildArgs || []).forEach(([key, value]) => {
|
|
59
66
|
args.push('--build-arg', `${key.trim()}=${value.trim()}`);
|
|
60
67
|
});
|
|
@@ -99,6 +106,7 @@ export class BuildImageOperation extends AbstractOperation {
|
|
|
99
106
|
labels: input.labels,
|
|
100
107
|
t: input.tag,
|
|
101
108
|
target: input.target,
|
|
109
|
+
platform: input.platform,
|
|
102
110
|
version: '2',
|
|
103
111
|
});
|
|
104
112
|
return new Promise((resolve, reject) => {
|
|
@@ -69,6 +69,7 @@ class DockerImageResourceBuilder extends SentinelFileBasedBuilder {
|
|
|
69
69
|
'emb/flavor': this.monorepo.currentFlavor,
|
|
70
70
|
}),
|
|
71
71
|
target: this.config?.target,
|
|
72
|
+
platform: this.config?.platform || this.monorepo.defaults.docker?.platform,
|
|
72
73
|
};
|
|
73
74
|
return {
|
|
74
75
|
input: buildParams,
|
package/oclif.manifest.json
CHANGED
|
@@ -397,6 +397,62 @@
|
|
|
397
397
|
"up.js"
|
|
398
398
|
]
|
|
399
399
|
},
|
|
400
|
+
"config:print": {
|
|
401
|
+
"aliases": [],
|
|
402
|
+
"args": {},
|
|
403
|
+
"description": "Print the current config.",
|
|
404
|
+
"examples": [
|
|
405
|
+
"<%= config.bin %> <%= command.id %>"
|
|
406
|
+
],
|
|
407
|
+
"flags": {
|
|
408
|
+
"json": {
|
|
409
|
+
"description": "Format output as json.",
|
|
410
|
+
"helpGroup": "GLOBAL",
|
|
411
|
+
"name": "json",
|
|
412
|
+
"allowNo": false,
|
|
413
|
+
"type": "boolean"
|
|
414
|
+
},
|
|
415
|
+
"verbose": {
|
|
416
|
+
"name": "verbose",
|
|
417
|
+
"allowNo": true,
|
|
418
|
+
"type": "boolean"
|
|
419
|
+
},
|
|
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",
|
|
424
|
+
"required": false,
|
|
425
|
+
"hasDynamicHelp": false,
|
|
426
|
+
"multiple": false,
|
|
427
|
+
"type": "option"
|
|
428
|
+
},
|
|
429
|
+
"flavor": {
|
|
430
|
+
"description": "Specify the flavor to use.",
|
|
431
|
+
"name": "flavor",
|
|
432
|
+
"required": false,
|
|
433
|
+
"hasDynamicHelp": false,
|
|
434
|
+
"multiple": false,
|
|
435
|
+
"type": "option"
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
"hasDynamicHelp": false,
|
|
439
|
+
"hiddenAliases": [],
|
|
440
|
+
"id": "config:print",
|
|
441
|
+
"pluginAlias": "@enspirit/emb",
|
|
442
|
+
"pluginName": "@enspirit/emb",
|
|
443
|
+
"pluginType": "core",
|
|
444
|
+
"strict": true,
|
|
445
|
+
"enableJsonFlag": true,
|
|
446
|
+
"isESM": true,
|
|
447
|
+
"relativePath": [
|
|
448
|
+
"dist",
|
|
449
|
+
"src",
|
|
450
|
+
"cli",
|
|
451
|
+
"commands",
|
|
452
|
+
"config",
|
|
453
|
+
"print.js"
|
|
454
|
+
]
|
|
455
|
+
},
|
|
400
456
|
"components": {
|
|
401
457
|
"aliases": [],
|
|
402
458
|
"args": {},
|
|
@@ -568,62 +624,6 @@
|
|
|
568
624
|
"shell.js"
|
|
569
625
|
]
|
|
570
626
|
},
|
|
571
|
-
"config:print": {
|
|
572
|
-
"aliases": [],
|
|
573
|
-
"args": {},
|
|
574
|
-
"description": "Print the current config.",
|
|
575
|
-
"examples": [
|
|
576
|
-
"<%= config.bin %> <%= command.id %>"
|
|
577
|
-
],
|
|
578
|
-
"flags": {
|
|
579
|
-
"json": {
|
|
580
|
-
"description": "Format output as json.",
|
|
581
|
-
"helpGroup": "GLOBAL",
|
|
582
|
-
"name": "json",
|
|
583
|
-
"allowNo": false,
|
|
584
|
-
"type": "boolean"
|
|
585
|
-
},
|
|
586
|
-
"verbose": {
|
|
587
|
-
"name": "verbose",
|
|
588
|
-
"allowNo": true,
|
|
589
|
-
"type": "boolean"
|
|
590
|
-
},
|
|
591
|
-
"root": {
|
|
592
|
-
"char": "C",
|
|
593
|
-
"description": "Run as if emb was started in <path>. Can also be set via EMB_ROOT env var.",
|
|
594
|
-
"name": "root",
|
|
595
|
-
"required": false,
|
|
596
|
-
"hasDynamicHelp": false,
|
|
597
|
-
"multiple": false,
|
|
598
|
-
"type": "option"
|
|
599
|
-
},
|
|
600
|
-
"flavor": {
|
|
601
|
-
"description": "Specify the flavor to use.",
|
|
602
|
-
"name": "flavor",
|
|
603
|
-
"required": false,
|
|
604
|
-
"hasDynamicHelp": false,
|
|
605
|
-
"multiple": false,
|
|
606
|
-
"type": "option"
|
|
607
|
-
}
|
|
608
|
-
},
|
|
609
|
-
"hasDynamicHelp": false,
|
|
610
|
-
"hiddenAliases": [],
|
|
611
|
-
"id": "config:print",
|
|
612
|
-
"pluginAlias": "@enspirit/emb",
|
|
613
|
-
"pluginName": "@enspirit/emb",
|
|
614
|
-
"pluginType": "core",
|
|
615
|
-
"strict": true,
|
|
616
|
-
"enableJsonFlag": true,
|
|
617
|
-
"isESM": true,
|
|
618
|
-
"relativePath": [
|
|
619
|
-
"dist",
|
|
620
|
-
"src",
|
|
621
|
-
"cli",
|
|
622
|
-
"commands",
|
|
623
|
-
"config",
|
|
624
|
-
"print.js"
|
|
625
|
-
]
|
|
626
|
-
},
|
|
627
627
|
"containers": {
|
|
628
628
|
"aliases": [],
|
|
629
629
|
"args": {},
|
|
@@ -1500,12 +1500,13 @@
|
|
|
1500
1500
|
"index.js"
|
|
1501
1501
|
]
|
|
1502
1502
|
},
|
|
1503
|
-
"
|
|
1503
|
+
"secrets": {
|
|
1504
1504
|
"aliases": [],
|
|
1505
1505
|
"args": {},
|
|
1506
|
-
"description": "List
|
|
1506
|
+
"description": "List all secret references in the configuration.",
|
|
1507
1507
|
"examples": [
|
|
1508
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1508
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1509
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
1509
1510
|
],
|
|
1510
1511
|
"flags": {
|
|
1511
1512
|
"json": {
|
|
@@ -1528,11 +1529,19 @@
|
|
|
1528
1529
|
"hasDynamicHelp": false,
|
|
1529
1530
|
"multiple": false,
|
|
1530
1531
|
"type": "option"
|
|
1532
|
+
},
|
|
1533
|
+
"flavor": {
|
|
1534
|
+
"description": "Specify the flavor to use.",
|
|
1535
|
+
"name": "flavor",
|
|
1536
|
+
"required": false,
|
|
1537
|
+
"hasDynamicHelp": false,
|
|
1538
|
+
"multiple": false,
|
|
1539
|
+
"type": "option"
|
|
1531
1540
|
}
|
|
1532
1541
|
},
|
|
1533
1542
|
"hasDynamicHelp": false,
|
|
1534
1543
|
"hiddenAliases": [],
|
|
1535
|
-
"id": "
|
|
1544
|
+
"id": "secrets",
|
|
1536
1545
|
"pluginAlias": "@enspirit/emb",
|
|
1537
1546
|
"pluginName": "@enspirit/emb",
|
|
1538
1547
|
"pluginType": "core",
|
|
@@ -1544,22 +1553,14 @@
|
|
|
1544
1553
|
"src",
|
|
1545
1554
|
"cli",
|
|
1546
1555
|
"commands",
|
|
1547
|
-
"
|
|
1556
|
+
"secrets",
|
|
1548
1557
|
"index.js"
|
|
1549
1558
|
]
|
|
1550
1559
|
},
|
|
1551
|
-
"
|
|
1552
|
-
"aliases": [
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
"args": {
|
|
1556
|
-
"task": {
|
|
1557
|
-
"description": "List of tasks to run. You can provide either ids or names (eg: component:task or task)",
|
|
1558
|
-
"name": "task",
|
|
1559
|
-
"required": true
|
|
1560
|
-
}
|
|
1561
|
-
},
|
|
1562
|
-
"description": "Run tasks.",
|
|
1560
|
+
"secrets:providers": {
|
|
1561
|
+
"aliases": [],
|
|
1562
|
+
"args": {},
|
|
1563
|
+
"description": "Show configured secret providers and their status.",
|
|
1563
1564
|
"examples": [
|
|
1564
1565
|
"<%= config.bin %> <%= command.id %>"
|
|
1565
1566
|
],
|
|
@@ -1585,33 +1586,22 @@
|
|
|
1585
1586
|
"multiple": false,
|
|
1586
1587
|
"type": "option"
|
|
1587
1588
|
},
|
|
1588
|
-
"
|
|
1589
|
-
"
|
|
1590
|
-
"
|
|
1591
|
-
"
|
|
1589
|
+
"flavor": {
|
|
1590
|
+
"description": "Specify the flavor to use.",
|
|
1591
|
+
"name": "flavor",
|
|
1592
|
+
"required": false,
|
|
1592
1593
|
"hasDynamicHelp": false,
|
|
1593
1594
|
"multiple": false,
|
|
1594
|
-
"options": [
|
|
1595
|
-
"container",
|
|
1596
|
-
"local"
|
|
1597
|
-
],
|
|
1598
1595
|
"type": "option"
|
|
1599
|
-
},
|
|
1600
|
-
"all-matching": {
|
|
1601
|
-
"char": "a",
|
|
1602
|
-
"description": "Run all tasks matching (when multiple matches)",
|
|
1603
|
-
"name": "all-matching",
|
|
1604
|
-
"allowNo": false,
|
|
1605
|
-
"type": "boolean"
|
|
1606
1596
|
}
|
|
1607
1597
|
},
|
|
1608
1598
|
"hasDynamicHelp": false,
|
|
1609
1599
|
"hiddenAliases": [],
|
|
1610
|
-
"id": "
|
|
1600
|
+
"id": "secrets:providers",
|
|
1611
1601
|
"pluginAlias": "@enspirit/emb",
|
|
1612
1602
|
"pluginName": "@enspirit/emb",
|
|
1613
1603
|
"pluginType": "core",
|
|
1614
|
-
"strict":
|
|
1604
|
+
"strict": true,
|
|
1615
1605
|
"enableJsonFlag": true,
|
|
1616
1606
|
"isESM": true,
|
|
1617
1607
|
"relativePath": [
|
|
@@ -1619,16 +1609,17 @@
|
|
|
1619
1609
|
"src",
|
|
1620
1610
|
"cli",
|
|
1621
1611
|
"commands",
|
|
1622
|
-
"
|
|
1623
|
-
"
|
|
1612
|
+
"secrets",
|
|
1613
|
+
"providers.js"
|
|
1624
1614
|
]
|
|
1625
1615
|
},
|
|
1626
|
-
"secrets": {
|
|
1616
|
+
"secrets:validate": {
|
|
1627
1617
|
"aliases": [],
|
|
1628
1618
|
"args": {},
|
|
1629
|
-
"description": "
|
|
1619
|
+
"description": "Validate that all secret references can be resolved (without showing values).",
|
|
1630
1620
|
"examples": [
|
|
1631
1621
|
"<%= config.bin %> <%= command.id %>",
|
|
1622
|
+
"<%= config.bin %> <%= command.id %> --fail-fast",
|
|
1632
1623
|
"<%= config.bin %> <%= command.id %> --json"
|
|
1633
1624
|
],
|
|
1634
1625
|
"flags": {
|
|
@@ -1660,11 +1651,17 @@
|
|
|
1660
1651
|
"hasDynamicHelp": false,
|
|
1661
1652
|
"multiple": false,
|
|
1662
1653
|
"type": "option"
|
|
1654
|
+
},
|
|
1655
|
+
"fail-fast": {
|
|
1656
|
+
"description": "Stop on first validation error",
|
|
1657
|
+
"name": "fail-fast",
|
|
1658
|
+
"allowNo": false,
|
|
1659
|
+
"type": "boolean"
|
|
1663
1660
|
}
|
|
1664
1661
|
},
|
|
1665
1662
|
"hasDynamicHelp": false,
|
|
1666
1663
|
"hiddenAliases": [],
|
|
1667
|
-
"id": "secrets",
|
|
1664
|
+
"id": "secrets:validate",
|
|
1668
1665
|
"pluginAlias": "@enspirit/emb",
|
|
1669
1666
|
"pluginName": "@enspirit/emb",
|
|
1670
1667
|
"pluginType": "core",
|
|
@@ -1677,13 +1674,13 @@
|
|
|
1677
1674
|
"cli",
|
|
1678
1675
|
"commands",
|
|
1679
1676
|
"secrets",
|
|
1680
|
-
"
|
|
1677
|
+
"validate.js"
|
|
1681
1678
|
]
|
|
1682
1679
|
},
|
|
1683
|
-
"
|
|
1680
|
+
"tasks": {
|
|
1684
1681
|
"aliases": [],
|
|
1685
1682
|
"args": {},
|
|
1686
|
-
"description": "
|
|
1683
|
+
"description": "List tasks.",
|
|
1687
1684
|
"examples": [
|
|
1688
1685
|
"<%= config.bin %> <%= command.id %>"
|
|
1689
1686
|
],
|
|
@@ -1708,19 +1705,11 @@
|
|
|
1708
1705
|
"hasDynamicHelp": false,
|
|
1709
1706
|
"multiple": false,
|
|
1710
1707
|
"type": "option"
|
|
1711
|
-
},
|
|
1712
|
-
"flavor": {
|
|
1713
|
-
"description": "Specify the flavor to use.",
|
|
1714
|
-
"name": "flavor",
|
|
1715
|
-
"required": false,
|
|
1716
|
-
"hasDynamicHelp": false,
|
|
1717
|
-
"multiple": false,
|
|
1718
|
-
"type": "option"
|
|
1719
1708
|
}
|
|
1720
1709
|
},
|
|
1721
1710
|
"hasDynamicHelp": false,
|
|
1722
1711
|
"hiddenAliases": [],
|
|
1723
|
-
"id": "
|
|
1712
|
+
"id": "tasks",
|
|
1724
1713
|
"pluginAlias": "@enspirit/emb",
|
|
1725
1714
|
"pluginName": "@enspirit/emb",
|
|
1726
1715
|
"pluginType": "core",
|
|
@@ -1732,18 +1721,24 @@
|
|
|
1732
1721
|
"src",
|
|
1733
1722
|
"cli",
|
|
1734
1723
|
"commands",
|
|
1735
|
-
"
|
|
1736
|
-
"
|
|
1724
|
+
"tasks",
|
|
1725
|
+
"index.js"
|
|
1737
1726
|
]
|
|
1738
1727
|
},
|
|
1739
|
-
"
|
|
1740
|
-
"aliases": [
|
|
1741
|
-
|
|
1742
|
-
|
|
1728
|
+
"tasks:run": {
|
|
1729
|
+
"aliases": [
|
|
1730
|
+
"run"
|
|
1731
|
+
],
|
|
1732
|
+
"args": {
|
|
1733
|
+
"task": {
|
|
1734
|
+
"description": "List of tasks to run. You can provide either ids or names (eg: component:task or task)",
|
|
1735
|
+
"name": "task",
|
|
1736
|
+
"required": true
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
"description": "Run tasks.",
|
|
1743
1740
|
"examples": [
|
|
1744
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1745
|
-
"<%= config.bin %> <%= command.id %> --fail-fast",
|
|
1746
|
-
"<%= config.bin %> <%= command.id %> --json"
|
|
1741
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1747
1742
|
],
|
|
1748
1743
|
"flags": {
|
|
1749
1744
|
"json": {
|
|
@@ -1767,28 +1762,33 @@
|
|
|
1767
1762
|
"multiple": false,
|
|
1768
1763
|
"type": "option"
|
|
1769
1764
|
},
|
|
1770
|
-
"
|
|
1771
|
-
"
|
|
1772
|
-
"
|
|
1773
|
-
"
|
|
1765
|
+
"executor": {
|
|
1766
|
+
"char": "x",
|
|
1767
|
+
"description": "Where to run the task. (experimental!)",
|
|
1768
|
+
"name": "executor",
|
|
1774
1769
|
"hasDynamicHelp": false,
|
|
1775
1770
|
"multiple": false,
|
|
1771
|
+
"options": [
|
|
1772
|
+
"container",
|
|
1773
|
+
"local"
|
|
1774
|
+
],
|
|
1776
1775
|
"type": "option"
|
|
1777
1776
|
},
|
|
1778
|
-
"
|
|
1779
|
-
"
|
|
1780
|
-
"
|
|
1777
|
+
"all-matching": {
|
|
1778
|
+
"char": "a",
|
|
1779
|
+
"description": "Run all tasks matching (when multiple matches)",
|
|
1780
|
+
"name": "all-matching",
|
|
1781
1781
|
"allowNo": false,
|
|
1782
1782
|
"type": "boolean"
|
|
1783
1783
|
}
|
|
1784
1784
|
},
|
|
1785
1785
|
"hasDynamicHelp": false,
|
|
1786
1786
|
"hiddenAliases": [],
|
|
1787
|
-
"id": "
|
|
1787
|
+
"id": "tasks:run",
|
|
1788
1788
|
"pluginAlias": "@enspirit/emb",
|
|
1789
1789
|
"pluginName": "@enspirit/emb",
|
|
1790
1790
|
"pluginType": "core",
|
|
1791
|
-
"strict":
|
|
1791
|
+
"strict": false,
|
|
1792
1792
|
"enableJsonFlag": true,
|
|
1793
1793
|
"isESM": true,
|
|
1794
1794
|
"relativePath": [
|
|
@@ -1796,10 +1796,10 @@
|
|
|
1796
1796
|
"src",
|
|
1797
1797
|
"cli",
|
|
1798
1798
|
"commands",
|
|
1799
|
-
"
|
|
1800
|
-
"
|
|
1799
|
+
"tasks",
|
|
1800
|
+
"run.js"
|
|
1801
1801
|
]
|
|
1802
1802
|
}
|
|
1803
1803
|
},
|
|
1804
|
-
"version": "0.
|
|
1804
|
+
"version": "0.19.0"
|
|
1805
1805
|
}
|