hereya-cli 0.67.0 → 0.67.1
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 +47 -47
- package/dist/iac/cdk.js +11 -12
- package/oclif.manifest.json +101 -101
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ $ npm install -g hereya-cli
|
|
|
21
21
|
$ hereya COMMAND
|
|
22
22
|
running command...
|
|
23
23
|
$ hereya (--version)
|
|
24
|
-
hereya-cli/0.67.
|
|
24
|
+
hereya-cli/0.67.1 linux-x64 node-v24.14.0
|
|
25
25
|
$ hereya --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ hereya COMMAND
|
|
@@ -110,7 +110,7 @@ EXAMPLES
|
|
|
110
110
|
$ hereya add cloudy/docker_postgres
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
113
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/add/index.ts)_
|
|
114
114
|
|
|
115
115
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
116
116
|
|
|
@@ -135,7 +135,7 @@ EXAMPLES
|
|
|
135
135
|
$ hereya bootstrap local
|
|
136
136
|
```
|
|
137
137
|
|
|
138
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
138
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/bootstrap/index.ts)_
|
|
139
139
|
|
|
140
140
|
## `hereya config export-backend [FILE]`
|
|
141
141
|
|
|
@@ -157,7 +157,7 @@ EXAMPLES
|
|
|
157
157
|
$ hereya config export-backend ./path/to/export.json
|
|
158
158
|
```
|
|
159
159
|
|
|
160
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
160
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/config/export-backend/index.ts)_
|
|
161
161
|
|
|
162
162
|
## `hereya config get-backend`
|
|
163
163
|
|
|
@@ -174,7 +174,7 @@ EXAMPLES
|
|
|
174
174
|
$ hereya config get-backend
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
177
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/config/get-backend/index.ts)_
|
|
178
178
|
|
|
179
179
|
## `hereya config import-backend FILE`
|
|
180
180
|
|
|
@@ -194,7 +194,7 @@ EXAMPLES
|
|
|
194
194
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
197
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/config/import-backend/index.ts)_
|
|
198
198
|
|
|
199
199
|
## `hereya config use-backend TYPE`
|
|
200
200
|
|
|
@@ -216,7 +216,7 @@ EXAMPLES
|
|
|
216
216
|
$ hereya config use-backend local
|
|
217
217
|
```
|
|
218
218
|
|
|
219
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
219
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/config/use-backend/index.ts)_
|
|
220
220
|
|
|
221
221
|
## `hereya delete-state`
|
|
222
222
|
|
|
@@ -242,7 +242,7 @@ EXAMPLES
|
|
|
242
242
|
$ hereya delete-state --workspace staging
|
|
243
243
|
```
|
|
244
244
|
|
|
245
|
-
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
245
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/delete-state/index.ts)_
|
|
246
246
|
|
|
247
247
|
## `hereya deploy`
|
|
248
248
|
|
|
@@ -267,7 +267,7 @@ EXAMPLES
|
|
|
267
267
|
$ hereya deploy
|
|
268
268
|
```
|
|
269
269
|
|
|
270
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
270
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/deploy/index.ts)_
|
|
271
271
|
|
|
272
272
|
## `hereya doc PACKAGE`
|
|
273
273
|
|
|
@@ -300,7 +300,7 @@ EXAMPLES
|
|
|
300
300
|
$ hereya doc my-package --no-doc
|
|
301
301
|
```
|
|
302
302
|
|
|
303
|
-
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
303
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/doc/index.ts)_
|
|
304
304
|
|
|
305
305
|
## `hereya docker run IMAGE`
|
|
306
306
|
|
|
@@ -331,7 +331,7 @@ EXAMPLES
|
|
|
331
331
|
$ hereya docker run myapp:latest -- --rm -v ./data:/data
|
|
332
332
|
```
|
|
333
333
|
|
|
334
|
-
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
334
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/docker/run/index.ts)_
|
|
335
335
|
|
|
336
336
|
## `hereya down`
|
|
337
337
|
|
|
@@ -358,7 +358,7 @@ EXAMPLES
|
|
|
358
358
|
$ hereya down
|
|
359
359
|
```
|
|
360
360
|
|
|
361
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
361
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/down/index.ts)_
|
|
362
362
|
|
|
363
363
|
## `hereya env [NAME]`
|
|
364
364
|
|
|
@@ -389,7 +389,7 @@ EXAMPLES
|
|
|
389
389
|
$ hereya env -w dev -l
|
|
390
390
|
```
|
|
391
391
|
|
|
392
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
392
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/env/index.ts)_
|
|
393
393
|
|
|
394
394
|
## `hereya env set [NAME]`
|
|
395
395
|
|
|
@@ -416,7 +416,7 @@ EXAMPLES
|
|
|
416
416
|
$ hereya env set FOO -v bar -w dev
|
|
417
417
|
```
|
|
418
418
|
|
|
419
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
419
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/env/set/index.ts)_
|
|
420
420
|
|
|
421
421
|
## `hereya executor start`
|
|
422
422
|
|
|
@@ -449,7 +449,7 @@ EXAMPLES
|
|
|
449
449
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
450
450
|
```
|
|
451
451
|
|
|
452
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
452
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/executor/start/index.ts)_
|
|
453
453
|
|
|
454
454
|
## `hereya flow add PACKAGE`
|
|
455
455
|
|
|
@@ -487,7 +487,7 @@ EXAMPLES
|
|
|
487
487
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
488
488
|
```
|
|
489
489
|
|
|
490
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
490
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/flow/add/index.ts)_
|
|
491
491
|
|
|
492
492
|
## `hereya flow docker run IMAGE`
|
|
493
493
|
|
|
@@ -517,7 +517,7 @@ EXAMPLES
|
|
|
517
517
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
518
518
|
```
|
|
519
519
|
|
|
520
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
520
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/flow/docker/run/index.ts)_
|
|
521
521
|
|
|
522
522
|
## `hereya flow down`
|
|
523
523
|
|
|
@@ -551,7 +551,7 @@ EXAMPLES
|
|
|
551
551
|
$ hereya flow down --pin
|
|
552
552
|
```
|
|
553
553
|
|
|
554
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
554
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/flow/down/index.ts)_
|
|
555
555
|
|
|
556
556
|
## `hereya flow env [NAME]`
|
|
557
557
|
|
|
@@ -585,7 +585,7 @@ EXAMPLES
|
|
|
585
585
|
$ hereya flow env -l
|
|
586
586
|
```
|
|
587
587
|
|
|
588
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
588
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/flow/env/index.ts)_
|
|
589
589
|
|
|
590
590
|
## `hereya flow provid PACKAGE`
|
|
591
591
|
|
|
@@ -614,7 +614,7 @@ EXAMPLES
|
|
|
614
614
|
$ hereya flow provid hereya/postgres --pin
|
|
615
615
|
```
|
|
616
616
|
|
|
617
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
617
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/flow/provid/index.ts)_
|
|
618
618
|
|
|
619
619
|
## `hereya flow remove PACKAGE`
|
|
620
620
|
|
|
@@ -644,7 +644,7 @@ EXAMPLES
|
|
|
644
644
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
645
645
|
```
|
|
646
646
|
|
|
647
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
647
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/flow/remove/index.ts)_
|
|
648
648
|
|
|
649
649
|
## `hereya flow run CMD`
|
|
650
650
|
|
|
@@ -673,7 +673,7 @@ EXAMPLES
|
|
|
673
673
|
$ hereya flow run --pin -- npm test
|
|
674
674
|
```
|
|
675
675
|
|
|
676
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
676
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/flow/run/index.ts)_
|
|
677
677
|
|
|
678
678
|
## `hereya flow up`
|
|
679
679
|
|
|
@@ -707,7 +707,7 @@ EXAMPLES
|
|
|
707
707
|
$ hereya flow up --pin
|
|
708
708
|
```
|
|
709
709
|
|
|
710
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
710
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/flow/up/index.ts)_
|
|
711
711
|
|
|
712
712
|
## `hereya help [COMMAND]`
|
|
713
713
|
|
|
@@ -764,7 +764,7 @@ EXAMPLES
|
|
|
764
764
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
765
765
|
```
|
|
766
766
|
|
|
767
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
767
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/import/index.ts)_
|
|
768
768
|
|
|
769
769
|
## `hereya init PROJECT`
|
|
770
770
|
|
|
@@ -790,7 +790,7 @@ EXAMPLES
|
|
|
790
790
|
$ hereya init myProject -w=defaultWorkspace --chdir=./myProject
|
|
791
791
|
```
|
|
792
792
|
|
|
793
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
793
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/init/index.ts)_
|
|
794
794
|
|
|
795
795
|
## `hereya login [URL]`
|
|
796
796
|
|
|
@@ -819,7 +819,7 @@ EXAMPLES
|
|
|
819
819
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
820
820
|
```
|
|
821
821
|
|
|
822
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
822
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/login/index.ts)_
|
|
823
823
|
|
|
824
824
|
## `hereya logout`
|
|
825
825
|
|
|
@@ -836,7 +836,7 @@ EXAMPLES
|
|
|
836
836
|
$ hereya logout
|
|
837
837
|
```
|
|
838
838
|
|
|
839
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
839
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/logout/index.ts)_
|
|
840
840
|
|
|
841
841
|
## `hereya provid PACKAGE`
|
|
842
842
|
|
|
@@ -864,7 +864,7 @@ EXAMPLES
|
|
|
864
864
|
$ hereya provid hereya/postgres --workspace staging
|
|
865
865
|
```
|
|
866
866
|
|
|
867
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
867
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/provid/index.ts)_
|
|
868
868
|
|
|
869
869
|
## `hereya publish`
|
|
870
870
|
|
|
@@ -887,7 +887,7 @@ EXAMPLES
|
|
|
887
887
|
$ hereya publish --chdir=/path/to/package
|
|
888
888
|
```
|
|
889
889
|
|
|
890
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
890
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/publish/index.ts)_
|
|
891
891
|
|
|
892
892
|
## `hereya remove PACKAGE`
|
|
893
893
|
|
|
@@ -915,7 +915,7 @@ EXAMPLES
|
|
|
915
915
|
$ hereya remove cloudy/docker_postgres
|
|
916
916
|
```
|
|
917
917
|
|
|
918
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
918
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/remove/index.ts)_
|
|
919
919
|
|
|
920
920
|
## `hereya run CMD`
|
|
921
921
|
|
|
@@ -941,7 +941,7 @@ EXAMPLES
|
|
|
941
941
|
$ hereya run -w uat -- node index.js
|
|
942
942
|
```
|
|
943
943
|
|
|
944
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
944
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/run/index.ts)_
|
|
945
945
|
|
|
946
946
|
## `hereya search QUERY`
|
|
947
947
|
|
|
@@ -972,7 +972,7 @@ EXAMPLES
|
|
|
972
972
|
$ hereya search database --json
|
|
973
973
|
```
|
|
974
974
|
|
|
975
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
975
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/search/index.ts)_
|
|
976
976
|
|
|
977
977
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
978
978
|
|
|
@@ -997,7 +997,7 @@ EXAMPLES
|
|
|
997
997
|
$ hereya unbootstrap local
|
|
998
998
|
```
|
|
999
999
|
|
|
1000
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1000
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/unbootstrap/index.ts)_
|
|
1001
1001
|
|
|
1002
1002
|
## `hereya undeploy`
|
|
1003
1003
|
|
|
@@ -1022,7 +1022,7 @@ EXAMPLES
|
|
|
1022
1022
|
$ hereya undeploy
|
|
1023
1023
|
```
|
|
1024
1024
|
|
|
1025
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1025
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/undeploy/index.ts)_
|
|
1026
1026
|
|
|
1027
1027
|
## `hereya up`
|
|
1028
1028
|
|
|
@@ -1049,7 +1049,7 @@ EXAMPLES
|
|
|
1049
1049
|
$ hereya up
|
|
1050
1050
|
```
|
|
1051
1051
|
|
|
1052
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1052
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/up/index.ts)_
|
|
1053
1053
|
|
|
1054
1054
|
## `hereya workspace create NAME`
|
|
1055
1055
|
|
|
@@ -1074,7 +1074,7 @@ EXAMPLES
|
|
|
1074
1074
|
$ hereya workspace create dev
|
|
1075
1075
|
```
|
|
1076
1076
|
|
|
1077
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1077
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/create/index.ts)_
|
|
1078
1078
|
|
|
1079
1079
|
## `hereya workspace delete NAME`
|
|
1080
1080
|
|
|
@@ -1094,7 +1094,7 @@ EXAMPLES
|
|
|
1094
1094
|
$ hereya workspace delete dev
|
|
1095
1095
|
```
|
|
1096
1096
|
|
|
1097
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1097
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/delete/index.ts)_
|
|
1098
1098
|
|
|
1099
1099
|
## `hereya workspace env [NAME]`
|
|
1100
1100
|
|
|
@@ -1120,7 +1120,7 @@ EXAMPLES
|
|
|
1120
1120
|
$ hereya workspace env myEnv -w dev
|
|
1121
1121
|
```
|
|
1122
1122
|
|
|
1123
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1123
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/env/index.ts)_
|
|
1124
1124
|
|
|
1125
1125
|
## `hereya workspace env set`
|
|
1126
1126
|
|
|
@@ -1144,7 +1144,7 @@ EXAMPLES
|
|
|
1144
1144
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1145
1145
|
```
|
|
1146
1146
|
|
|
1147
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1147
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/env/set/index.ts)_
|
|
1148
1148
|
|
|
1149
1149
|
## `hereya workspace env unset`
|
|
1150
1150
|
|
|
@@ -1165,7 +1165,7 @@ EXAMPLES
|
|
|
1165
1165
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1166
1166
|
```
|
|
1167
1167
|
|
|
1168
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1168
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/env/unset/index.ts)_
|
|
1169
1169
|
|
|
1170
1170
|
## `hereya workspace executor install`
|
|
1171
1171
|
|
|
@@ -1183,7 +1183,7 @@ DESCRIPTION
|
|
|
1183
1183
|
Install a remote executor into a workspace
|
|
1184
1184
|
```
|
|
1185
1185
|
|
|
1186
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1186
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/executor/install/index.ts)_
|
|
1187
1187
|
|
|
1188
1188
|
## `hereya workspace executor token`
|
|
1189
1189
|
|
|
@@ -1200,7 +1200,7 @@ DESCRIPTION
|
|
|
1200
1200
|
Generate a workspace-scoped executor token for the remote executor
|
|
1201
1201
|
```
|
|
1202
1202
|
|
|
1203
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1203
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/executor/token/index.ts)_
|
|
1204
1204
|
|
|
1205
1205
|
## `hereya workspace executor uninstall`
|
|
1206
1206
|
|
|
@@ -1218,7 +1218,7 @@ DESCRIPTION
|
|
|
1218
1218
|
Uninstall the remote executor from a workspace
|
|
1219
1219
|
```
|
|
1220
1220
|
|
|
1221
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1221
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1222
1222
|
|
|
1223
1223
|
## `hereya workspace install PACKAGE`
|
|
1224
1224
|
|
|
@@ -1245,7 +1245,7 @@ EXAMPLES
|
|
|
1245
1245
|
$ hereya workspace install hereya/aws-cognito
|
|
1246
1246
|
```
|
|
1247
1247
|
|
|
1248
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1248
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/install/index.ts)_
|
|
1249
1249
|
|
|
1250
1250
|
## `hereya workspace list`
|
|
1251
1251
|
|
|
@@ -1269,7 +1269,7 @@ EXAMPLES
|
|
|
1269
1269
|
$ hereya workspace list --org personal
|
|
1270
1270
|
```
|
|
1271
1271
|
|
|
1272
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1272
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/list/index.ts)_
|
|
1273
1273
|
|
|
1274
1274
|
## `hereya workspace set-profile PROFILE`
|
|
1275
1275
|
|
|
@@ -1293,7 +1293,7 @@ EXAMPLES
|
|
|
1293
1293
|
$ hereya workspace set-profile prod-profile -w production
|
|
1294
1294
|
```
|
|
1295
1295
|
|
|
1296
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1296
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/set-profile/index.ts)_
|
|
1297
1297
|
|
|
1298
1298
|
## `hereya workspace uninstall PACKAGE`
|
|
1299
1299
|
|
|
@@ -1320,5 +1320,5 @@ EXAMPLES
|
|
|
1320
1320
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1321
1321
|
```
|
|
1322
1322
|
|
|
1323
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.
|
|
1323
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.67.1/src/commands/workspace/uninstall/index.ts)_
|
|
1324
1324
|
<!-- commandsstop -->
|
package/dist/iac/cdk.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { CloudFormationClient, DescribeStacksCommand } from '@aws-sdk/client-cloudformation';
|
|
2
|
-
import {
|
|
2
|
+
import { readdir, readFile } from 'node:fs/promises';
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import { runShell } from '../lib/shell.js';
|
|
5
|
-
import { load } from '../lib/yaml-utils.js';
|
|
6
5
|
export class Cdk {
|
|
7
6
|
async apply(input) {
|
|
8
7
|
try {
|
|
@@ -62,16 +61,16 @@ export class Cdk {
|
|
|
62
61
|
env: { ...input.env, ...input.parameters },
|
|
63
62
|
logger: input.logger,
|
|
64
63
|
});
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
await
|
|
73
|
-
const
|
|
74
|
-
return Object.keys(
|
|
64
|
+
// Read template from cdk.out/ (reliable) instead of parsing stdout (fragile)
|
|
65
|
+
const cdkOutDir = path.join(workDir, 'cdk.out');
|
|
66
|
+
const files = await readdir(cdkOutDir);
|
|
67
|
+
const templateFile = files.find(f => f.endsWith('.template.json'));
|
|
68
|
+
if (!templateFile) {
|
|
69
|
+
return [];
|
|
70
|
+
}
|
|
71
|
+
const templateContent = await readFile(path.join(cdkOutDir, templateFile), 'utf8');
|
|
72
|
+
const template = JSON.parse(templateContent);
|
|
73
|
+
return Object.keys(template.Parameters ?? {});
|
|
75
74
|
}
|
|
76
75
|
async getStack(stackName) {
|
|
77
76
|
const cfnClient = new CloudFormationClient({});
|
package/oclif.manifest.json
CHANGED
|
@@ -1836,6 +1836,43 @@
|
|
|
1836
1836
|
"index.js"
|
|
1837
1837
|
]
|
|
1838
1838
|
},
|
|
1839
|
+
"workspace:list": {
|
|
1840
|
+
"aliases": [],
|
|
1841
|
+
"args": {},
|
|
1842
|
+
"description": "List workspaces.",
|
|
1843
|
+
"examples": [
|
|
1844
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1845
|
+
"<%= config.bin %> <%= command.id %> --org my-org",
|
|
1846
|
+
"<%= config.bin %> <%= command.id %> --org personal"
|
|
1847
|
+
],
|
|
1848
|
+
"flags": {
|
|
1849
|
+
"org": {
|
|
1850
|
+
"char": "o",
|
|
1851
|
+
"description": "Filter workspaces by organization name. Use \"personal\" to show only your personal workspaces.",
|
|
1852
|
+
"name": "org",
|
|
1853
|
+
"required": false,
|
|
1854
|
+
"hasDynamicHelp": false,
|
|
1855
|
+
"multiple": false,
|
|
1856
|
+
"type": "option"
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
"hasDynamicHelp": false,
|
|
1860
|
+
"hiddenAliases": [],
|
|
1861
|
+
"id": "workspace:list",
|
|
1862
|
+
"pluginAlias": "hereya-cli",
|
|
1863
|
+
"pluginName": "hereya-cli",
|
|
1864
|
+
"pluginType": "core",
|
|
1865
|
+
"strict": true,
|
|
1866
|
+
"enableJsonFlag": false,
|
|
1867
|
+
"isESM": true,
|
|
1868
|
+
"relativePath": [
|
|
1869
|
+
"dist",
|
|
1870
|
+
"commands",
|
|
1871
|
+
"workspace",
|
|
1872
|
+
"list",
|
|
1873
|
+
"index.js"
|
|
1874
|
+
]
|
|
1875
|
+
},
|
|
1839
1876
|
"workspace:install": {
|
|
1840
1877
|
"aliases": [],
|
|
1841
1878
|
"args": {
|
|
@@ -1900,21 +1937,33 @@
|
|
|
1900
1937
|
"index.js"
|
|
1901
1938
|
]
|
|
1902
1939
|
},
|
|
1903
|
-
"workspace:
|
|
1940
|
+
"workspace:set-profile": {
|
|
1904
1941
|
"aliases": [],
|
|
1905
|
-
"args": {
|
|
1906
|
-
|
|
1942
|
+
"args": {
|
|
1943
|
+
"profile": {
|
|
1944
|
+
"description": "AWS profile name to set for the workspace",
|
|
1945
|
+
"name": "profile",
|
|
1946
|
+
"required": true
|
|
1947
|
+
}
|
|
1948
|
+
},
|
|
1949
|
+
"description": "Set AWS profile and deployment status for a workspace (cloud backend only).",
|
|
1907
1950
|
"examples": [
|
|
1908
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1909
|
-
"<%= config.bin %> <%= command.id %> --org my-org",
|
|
1910
|
-
"<%= config.bin %> <%= command.id %> --org personal"
|
|
1951
|
+
"<%= config.bin %> <%= command.id %> prod-profile -w production"
|
|
1911
1952
|
],
|
|
1912
1953
|
"flags": {
|
|
1913
|
-
"
|
|
1914
|
-
"char": "
|
|
1915
|
-
"description": "
|
|
1916
|
-
"name": "
|
|
1954
|
+
"deployment": {
|
|
1955
|
+
"char": "d",
|
|
1956
|
+
"description": "mark workspace as a deployment workspace (use --no-deployment to unset)",
|
|
1957
|
+
"name": "deployment",
|
|
1917
1958
|
"required": false,
|
|
1959
|
+
"allowNo": true,
|
|
1960
|
+
"type": "boolean"
|
|
1961
|
+
},
|
|
1962
|
+
"workspace": {
|
|
1963
|
+
"char": "w",
|
|
1964
|
+
"description": "workspace name",
|
|
1965
|
+
"name": "workspace",
|
|
1966
|
+
"required": true,
|
|
1918
1967
|
"hasDynamicHelp": false,
|
|
1919
1968
|
"multiple": false,
|
|
1920
1969
|
"type": "option"
|
|
@@ -1922,7 +1971,7 @@
|
|
|
1922
1971
|
},
|
|
1923
1972
|
"hasDynamicHelp": false,
|
|
1924
1973
|
"hiddenAliases": [],
|
|
1925
|
-
"id": "workspace:
|
|
1974
|
+
"id": "workspace:set-profile",
|
|
1926
1975
|
"pluginAlias": "hereya-cli",
|
|
1927
1976
|
"pluginName": "hereya-cli",
|
|
1928
1977
|
"pluginType": "core",
|
|
@@ -1933,37 +1982,55 @@
|
|
|
1933
1982
|
"dist",
|
|
1934
1983
|
"commands",
|
|
1935
1984
|
"workspace",
|
|
1936
|
-
"
|
|
1985
|
+
"set-profile",
|
|
1937
1986
|
"index.js"
|
|
1938
1987
|
]
|
|
1939
1988
|
},
|
|
1940
|
-
"
|
|
1989
|
+
"flow:docker:run": {
|
|
1941
1990
|
"aliases": [],
|
|
1942
1991
|
"args": {
|
|
1943
|
-
"
|
|
1944
|
-
"description": "
|
|
1945
|
-
"name": "
|
|
1992
|
+
"image": {
|
|
1993
|
+
"description": "Docker image to run",
|
|
1994
|
+
"name": "image",
|
|
1946
1995
|
"required": true
|
|
1947
1996
|
}
|
|
1948
1997
|
},
|
|
1949
|
-
"description": "
|
|
1998
|
+
"description": "Run a Docker container with hereya env vars in a git branch-based workspace",
|
|
1950
1999
|
"examples": [
|
|
1951
|
-
"<%= config.bin %> <%= command.id %>
|
|
2000
|
+
"<%= config.bin %> <%= command.id %> myapp:latest",
|
|
2001
|
+
"<%= config.bin %> <%= command.id %> --profile staging myapp:latest",
|
|
2002
|
+
"<%= config.bin %> <%= command.id %> --pin myapp:latest -- --rm"
|
|
1952
2003
|
],
|
|
1953
2004
|
"flags": {
|
|
1954
|
-
"
|
|
1955
|
-
"
|
|
1956
|
-
"
|
|
1957
|
-
"name": "deployment",
|
|
2005
|
+
"chdir": {
|
|
2006
|
+
"description": "directory to run command in",
|
|
2007
|
+
"name": "chdir",
|
|
1958
2008
|
"required": false,
|
|
1959
|
-
"
|
|
2009
|
+
"hasDynamicHelp": false,
|
|
2010
|
+
"multiple": false,
|
|
2011
|
+
"type": "option"
|
|
2012
|
+
},
|
|
2013
|
+
"pin": {
|
|
2014
|
+
"description": "append git commit SHA to workspace name for commit-specific isolation",
|
|
2015
|
+
"name": "pin",
|
|
2016
|
+
"required": false,
|
|
2017
|
+
"allowNo": false,
|
|
1960
2018
|
"type": "boolean"
|
|
1961
2019
|
},
|
|
1962
|
-
"
|
|
1963
|
-
"char": "
|
|
1964
|
-
"description": "
|
|
1965
|
-
"name": "
|
|
1966
|
-
"required":
|
|
2020
|
+
"port": {
|
|
2021
|
+
"char": "p",
|
|
2022
|
+
"description": "port to forward and set as PORT env var (default: 8080)",
|
|
2023
|
+
"name": "port",
|
|
2024
|
+
"required": false,
|
|
2025
|
+
"default": 8080,
|
|
2026
|
+
"hasDynamicHelp": false,
|
|
2027
|
+
"multiple": false,
|
|
2028
|
+
"type": "option"
|
|
2029
|
+
},
|
|
2030
|
+
"profile": {
|
|
2031
|
+
"description": "profile to use for the workspace (will be appended to workspace name)",
|
|
2032
|
+
"name": "profile",
|
|
2033
|
+
"required": false,
|
|
1967
2034
|
"hasDynamicHelp": false,
|
|
1968
2035
|
"multiple": false,
|
|
1969
2036
|
"type": "option"
|
|
@@ -1971,18 +2038,19 @@
|
|
|
1971
2038
|
},
|
|
1972
2039
|
"hasDynamicHelp": false,
|
|
1973
2040
|
"hiddenAliases": [],
|
|
1974
|
-
"id": "
|
|
2041
|
+
"id": "flow:docker:run",
|
|
1975
2042
|
"pluginAlias": "hereya-cli",
|
|
1976
2043
|
"pluginName": "hereya-cli",
|
|
1977
2044
|
"pluginType": "core",
|
|
1978
|
-
"strict":
|
|
2045
|
+
"strict": false,
|
|
1979
2046
|
"enableJsonFlag": false,
|
|
1980
2047
|
"isESM": true,
|
|
1981
2048
|
"relativePath": [
|
|
1982
2049
|
"dist",
|
|
1983
2050
|
"commands",
|
|
1984
|
-
"
|
|
1985
|
-
"
|
|
2051
|
+
"flow",
|
|
2052
|
+
"docker",
|
|
2053
|
+
"run",
|
|
1986
2054
|
"index.js"
|
|
1987
2055
|
]
|
|
1988
2056
|
},
|
|
@@ -2050,74 +2118,6 @@
|
|
|
2050
2118
|
"index.js"
|
|
2051
2119
|
]
|
|
2052
2120
|
},
|
|
2053
|
-
"flow:docker:run": {
|
|
2054
|
-
"aliases": [],
|
|
2055
|
-
"args": {
|
|
2056
|
-
"image": {
|
|
2057
|
-
"description": "Docker image to run",
|
|
2058
|
-
"name": "image",
|
|
2059
|
-
"required": true
|
|
2060
|
-
}
|
|
2061
|
-
},
|
|
2062
|
-
"description": "Run a Docker container with hereya env vars in a git branch-based workspace",
|
|
2063
|
-
"examples": [
|
|
2064
|
-
"<%= config.bin %> <%= command.id %> myapp:latest",
|
|
2065
|
-
"<%= config.bin %> <%= command.id %> --profile staging myapp:latest",
|
|
2066
|
-
"<%= config.bin %> <%= command.id %> --pin myapp:latest -- --rm"
|
|
2067
|
-
],
|
|
2068
|
-
"flags": {
|
|
2069
|
-
"chdir": {
|
|
2070
|
-
"description": "directory to run command in",
|
|
2071
|
-
"name": "chdir",
|
|
2072
|
-
"required": false,
|
|
2073
|
-
"hasDynamicHelp": false,
|
|
2074
|
-
"multiple": false,
|
|
2075
|
-
"type": "option"
|
|
2076
|
-
},
|
|
2077
|
-
"pin": {
|
|
2078
|
-
"description": "append git commit SHA to workspace name for commit-specific isolation",
|
|
2079
|
-
"name": "pin",
|
|
2080
|
-
"required": false,
|
|
2081
|
-
"allowNo": false,
|
|
2082
|
-
"type": "boolean"
|
|
2083
|
-
},
|
|
2084
|
-
"port": {
|
|
2085
|
-
"char": "p",
|
|
2086
|
-
"description": "port to forward and set as PORT env var (default: 8080)",
|
|
2087
|
-
"name": "port",
|
|
2088
|
-
"required": false,
|
|
2089
|
-
"default": 8080,
|
|
2090
|
-
"hasDynamicHelp": false,
|
|
2091
|
-
"multiple": false,
|
|
2092
|
-
"type": "option"
|
|
2093
|
-
},
|
|
2094
|
-
"profile": {
|
|
2095
|
-
"description": "profile to use for the workspace (will be appended to workspace name)",
|
|
2096
|
-
"name": "profile",
|
|
2097
|
-
"required": false,
|
|
2098
|
-
"hasDynamicHelp": false,
|
|
2099
|
-
"multiple": false,
|
|
2100
|
-
"type": "option"
|
|
2101
|
-
}
|
|
2102
|
-
},
|
|
2103
|
-
"hasDynamicHelp": false,
|
|
2104
|
-
"hiddenAliases": [],
|
|
2105
|
-
"id": "flow:docker:run",
|
|
2106
|
-
"pluginAlias": "hereya-cli",
|
|
2107
|
-
"pluginName": "hereya-cli",
|
|
2108
|
-
"pluginType": "core",
|
|
2109
|
-
"strict": false,
|
|
2110
|
-
"enableJsonFlag": false,
|
|
2111
|
-
"isESM": true,
|
|
2112
|
-
"relativePath": [
|
|
2113
|
-
"dist",
|
|
2114
|
-
"commands",
|
|
2115
|
-
"flow",
|
|
2116
|
-
"docker",
|
|
2117
|
-
"run",
|
|
2118
|
-
"index.js"
|
|
2119
|
-
]
|
|
2120
|
-
},
|
|
2121
2121
|
"workspace:env:set": {
|
|
2122
2122
|
"aliases": [],
|
|
2123
2123
|
"args": {},
|
|
@@ -2345,5 +2345,5 @@
|
|
|
2345
2345
|
]
|
|
2346
2346
|
}
|
|
2347
2347
|
},
|
|
2348
|
-
"version": "0.67.
|
|
2348
|
+
"version": "0.67.1"
|
|
2349
2349
|
}
|