hereya-cli 0.69.1 → 0.69.2
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/commands/add/index.js +2 -0
- package/dist/commands/deploy/index.js +8 -0
- package/dist/commands/down/index.js +8 -4
- package/dist/commands/remove/index.js +2 -0
- package/dist/commands/undeploy/index.js +2 -0
- package/dist/commands/up/index.js +12 -6
- package/oclif.manifest.json +1 -1
- 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.69.
|
|
24
|
+
hereya-cli/0.69.2 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.69.
|
|
113
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
138
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
160
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
177
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
197
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
219
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
245
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
270
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
303
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
334
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
361
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
392
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
419
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
452
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
490
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
520
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
554
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
588
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
617
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
647
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
676
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
710
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
767
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
793
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
822
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
839
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
867
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
890
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
918
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
944
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
975
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
1000
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
1025
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
1052
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
1077
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
1097
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
1123
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
1147
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/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.69.
|
|
1168
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/src/commands/workspace/env/unset/index.ts)_
|
|
1169
1169
|
|
|
1170
1170
|
## `hereya workspace executor install`
|
|
1171
1171
|
|
|
@@ -1184,7 +1184,7 @@ DESCRIPTION
|
|
|
1184
1184
|
Install a remote executor into a workspace
|
|
1185
1185
|
```
|
|
1186
1186
|
|
|
1187
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.
|
|
1187
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/src/commands/workspace/executor/install/index.ts)_
|
|
1188
1188
|
|
|
1189
1189
|
## `hereya workspace executor token`
|
|
1190
1190
|
|
|
@@ -1201,7 +1201,7 @@ DESCRIPTION
|
|
|
1201
1201
|
Generate a workspace-scoped executor token for the remote executor
|
|
1202
1202
|
```
|
|
1203
1203
|
|
|
1204
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.
|
|
1204
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/src/commands/workspace/executor/token/index.ts)_
|
|
1205
1205
|
|
|
1206
1206
|
## `hereya workspace executor uninstall`
|
|
1207
1207
|
|
|
@@ -1219,7 +1219,7 @@ DESCRIPTION
|
|
|
1219
1219
|
Uninstall the remote executor from a workspace
|
|
1220
1220
|
```
|
|
1221
1221
|
|
|
1222
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.
|
|
1222
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1223
1223
|
|
|
1224
1224
|
## `hereya workspace install PACKAGE`
|
|
1225
1225
|
|
|
@@ -1246,7 +1246,7 @@ EXAMPLES
|
|
|
1246
1246
|
$ hereya workspace install hereya/aws-cognito
|
|
1247
1247
|
```
|
|
1248
1248
|
|
|
1249
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.
|
|
1249
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/src/commands/workspace/install/index.ts)_
|
|
1250
1250
|
|
|
1251
1251
|
## `hereya workspace list`
|
|
1252
1252
|
|
|
@@ -1270,7 +1270,7 @@ EXAMPLES
|
|
|
1270
1270
|
$ hereya workspace list --org personal
|
|
1271
1271
|
```
|
|
1272
1272
|
|
|
1273
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.
|
|
1273
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/src/commands/workspace/list/index.ts)_
|
|
1274
1274
|
|
|
1275
1275
|
## `hereya workspace set-profile PROFILE`
|
|
1276
1276
|
|
|
@@ -1294,7 +1294,7 @@ EXAMPLES
|
|
|
1294
1294
|
$ hereya workspace set-profile prod-profile -w production
|
|
1295
1295
|
```
|
|
1296
1296
|
|
|
1297
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.
|
|
1297
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/src/commands/workspace/set-profile/index.ts)_
|
|
1298
1298
|
|
|
1299
1299
|
## `hereya workspace uninstall PACKAGE`
|
|
1300
1300
|
|
|
@@ -1321,5 +1321,5 @@ EXAMPLES
|
|
|
1321
1321
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1322
1322
|
```
|
|
1323
1323
|
|
|
1324
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.
|
|
1324
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.2/src/commands/workspace/uninstall/index.ts)_
|
|
1325
1325
|
<!-- commandsstop -->
|
|
@@ -257,6 +257,8 @@ export default class Add extends Command {
|
|
|
257
257
|
},
|
|
258
258
|
title: `Provisioning ${pkg.name}`,
|
|
259
259
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
260
|
+
task.task.subtasks = subtasks.tasks;
|
|
261
|
+
task.task.emit('SUBTASK', subtasks.tasks);
|
|
260
262
|
await subtasks.run(ctx);
|
|
261
263
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
262
264
|
if (failed.length > 0) {
|
|
@@ -169,6 +169,8 @@ export default class Deploy extends Command {
|
|
|
169
169
|
},
|
|
170
170
|
title: `Destroying package ${pkg.name}`,
|
|
171
171
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
172
|
+
task.task.subtasks = subtasks.tasks;
|
|
173
|
+
task.task.emit('SUBTASK', subtasks.tasks);
|
|
172
174
|
await subtasks.run(ctx);
|
|
173
175
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
174
176
|
if (failed.length > 0) {
|
|
@@ -217,6 +219,8 @@ export default class Deploy extends Command {
|
|
|
217
219
|
},
|
|
218
220
|
title: `Destroying ${pkg.name}`,
|
|
219
221
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
222
|
+
task.task.subtasks = subtasks.tasks;
|
|
223
|
+
task.task.emit('SUBTASK', subtasks.tasks);
|
|
220
224
|
await subtasks.run(ctx);
|
|
221
225
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
222
226
|
if (failed.length > 0) {
|
|
@@ -268,6 +272,8 @@ export default class Deploy extends Command {
|
|
|
268
272
|
},
|
|
269
273
|
title: `Provisioning ${pkg.name}`,
|
|
270
274
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
275
|
+
task.task.subtasks = subtasks.tasks;
|
|
276
|
+
task.task.emit('SUBTASK', subtasks.tasks);
|
|
271
277
|
await subtasks.run(ctx);
|
|
272
278
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
273
279
|
if (failed.length > 0) {
|
|
@@ -384,6 +390,8 @@ export default class Deploy extends Command {
|
|
|
384
390
|
},
|
|
385
391
|
title: `Provisioning package ${pkg.name}`,
|
|
386
392
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
393
|
+
task.task.subtasks = subtasks.tasks;
|
|
394
|
+
task.task.emit('SUBTASK', subtasks.tasks);
|
|
387
395
|
await subtasks.run(ctx);
|
|
388
396
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
389
397
|
if (failed.length > 0) {
|
|
@@ -168,8 +168,8 @@ export default class Down extends Command {
|
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
skip: (ctx) => !ctx.devDeployPackages || ctx.devDeployPackages.length === 0,
|
|
171
|
-
async task(ctx) {
|
|
172
|
-
const subtasks =
|
|
171
|
+
async task(ctx, parentTask) {
|
|
172
|
+
const subtasks = parentTask.newListr(ctx.devDeployPackages.map((pkg) => ({
|
|
173
173
|
rendererOptions: {
|
|
174
174
|
persistentOutput: isDebug(),
|
|
175
175
|
},
|
|
@@ -205,6 +205,8 @@ export default class Down extends Command {
|
|
|
205
205
|
},
|
|
206
206
|
title: `Destroying ${pkg.name}`,
|
|
207
207
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
208
|
+
parentTask.task.subtasks = subtasks.tasks;
|
|
209
|
+
parentTask.task.emit('SUBTASK', subtasks.tasks);
|
|
208
210
|
await subtasks.run(ctx);
|
|
209
211
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
210
212
|
if (failed.length > 0) {
|
|
@@ -237,11 +239,11 @@ export default class Down extends Command {
|
|
|
237
239
|
},
|
|
238
240
|
{
|
|
239
241
|
skip: (ctx) => !ctx.packages || ctx.packages.length === 0,
|
|
240
|
-
async task(ctx) {
|
|
242
|
+
async task(ctx, parentTask) {
|
|
241
243
|
if (!ctx.packages || ctx.packages.length === 0) {
|
|
242
244
|
return;
|
|
243
245
|
}
|
|
244
|
-
const subtasks =
|
|
246
|
+
const subtasks = parentTask.newListr(ctx.packages.map((pkg) => ({
|
|
245
247
|
rendererOptions: {
|
|
246
248
|
persistentOutput: isDebug(),
|
|
247
249
|
},
|
|
@@ -278,6 +280,8 @@ export default class Down extends Command {
|
|
|
278
280
|
},
|
|
279
281
|
title: `Destroying ${pkg.name}`,
|
|
280
282
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
283
|
+
parentTask.task.subtasks = subtasks.tasks;
|
|
284
|
+
parentTask.task.emit('SUBTASK', subtasks.tasks);
|
|
281
285
|
await subtasks.run(ctx);
|
|
282
286
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
283
287
|
if (failed.length > 0) {
|
|
@@ -271,6 +271,8 @@ export default class Remove extends Command {
|
|
|
271
271
|
},
|
|
272
272
|
title: `Provisioning ${pkg.name}`,
|
|
273
273
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
274
|
+
task.task.subtasks = subtasks.tasks;
|
|
275
|
+
task.task.emit('SUBTASK', subtasks.tasks);
|
|
274
276
|
await subtasks.run(ctx);
|
|
275
277
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
276
278
|
if (failed.length > 0) {
|
|
@@ -219,6 +219,8 @@ export default class Undeploy extends Command {
|
|
|
219
219
|
},
|
|
220
220
|
title: `Destroying ${pkg.name}`,
|
|
221
221
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
222
|
+
task.task.subtasks = subtasks.tasks;
|
|
223
|
+
task.task.emit('SUBTASK', subtasks.tasks);
|
|
222
224
|
await subtasks.run(ctx);
|
|
223
225
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
224
226
|
if (failed.length > 0) {
|
|
@@ -125,12 +125,12 @@ export default class Up extends Command {
|
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
skip: (ctx) => !ctx.removedPackages || ctx.removedPackages.length === 0,
|
|
128
|
-
async task(ctx) {
|
|
128
|
+
async task(ctx, parentTask) {
|
|
129
129
|
const { configOutput, removed, removedPackages, workspace } = ctx;
|
|
130
130
|
if (!removedPackages || removedPackages.length === 0) {
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
|
-
const subtasks =
|
|
133
|
+
const subtasks = parentTask.newListr(removedPackages.map((packageName) => ({
|
|
134
134
|
rendererOptions: {
|
|
135
135
|
persistentOutput: isDebug(),
|
|
136
136
|
},
|
|
@@ -167,6 +167,8 @@ export default class Up extends Command {
|
|
|
167
167
|
},
|
|
168
168
|
title: `Destroying ${packageName}`,
|
|
169
169
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
170
|
+
parentTask.task.subtasks = subtasks.tasks;
|
|
171
|
+
parentTask.task.emit('SUBTASK', subtasks.tasks);
|
|
170
172
|
await subtasks.run(ctx);
|
|
171
173
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
172
174
|
if (failed.length > 0) {
|
|
@@ -177,11 +179,11 @@ export default class Up extends Command {
|
|
|
177
179
|
},
|
|
178
180
|
{
|
|
179
181
|
skip: (ctx) => !ctx.packages || ctx.packages.length === 0,
|
|
180
|
-
async task(ctx) {
|
|
182
|
+
async task(ctx, parentTask) {
|
|
181
183
|
if (!ctx.packages || ctx.packages.length === 0) {
|
|
182
184
|
return;
|
|
183
185
|
}
|
|
184
|
-
const subtasks =
|
|
186
|
+
const subtasks = parentTask.newListr(ctx.packages.map((pkg) => ({
|
|
185
187
|
rendererOptions: {
|
|
186
188
|
persistentOutput: isDebug(),
|
|
187
189
|
},
|
|
@@ -218,6 +220,8 @@ export default class Up extends Command {
|
|
|
218
220
|
},
|
|
219
221
|
title: `Provisioning ${pkg.name}`,
|
|
220
222
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
223
|
+
parentTask.task.subtasks = subtasks.tasks;
|
|
224
|
+
parentTask.task.emit('SUBTASK', subtasks.tasks);
|
|
221
225
|
await subtasks.run(ctx);
|
|
222
226
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
223
227
|
if (failed.length > 0) {
|
|
@@ -295,7 +299,7 @@ export default class Up extends Command {
|
|
|
295
299
|
},
|
|
296
300
|
{
|
|
297
301
|
skip: (ctx) => !ctx.configOutput.config.devDeploy || Object.keys(ctx.configOutput.config.devDeploy).length === 0,
|
|
298
|
-
async task(ctx) {
|
|
302
|
+
async task(ctx, parentTask) {
|
|
299
303
|
const devDeployPackages = ctx.configOutput.config.devDeploy ?? {};
|
|
300
304
|
let devDeployEntries = Object.entries(devDeployPackages).map(([name, info]) => ({
|
|
301
305
|
name,
|
|
@@ -308,7 +312,7 @@ export default class Up extends Command {
|
|
|
308
312
|
}
|
|
309
313
|
if (devDeployEntries.length === 0)
|
|
310
314
|
return;
|
|
311
|
-
const subtasks =
|
|
315
|
+
const subtasks = parentTask.newListr(devDeployEntries.map((pkg) => ({
|
|
312
316
|
rendererOptions: {
|
|
313
317
|
persistentOutput: isDebug(),
|
|
314
318
|
},
|
|
@@ -344,6 +348,8 @@ export default class Up extends Command {
|
|
|
344
348
|
},
|
|
345
349
|
title: `Provisioning ${pkg.name}`,
|
|
346
350
|
})), { concurrent: true, exitOnError: false, rendererOptions: { collapseSubtasks: !isDebug() } });
|
|
351
|
+
parentTask.task.subtasks = subtasks.tasks;
|
|
352
|
+
parentTask.task.emit('SUBTASK', subtasks.tasks);
|
|
347
353
|
await subtasks.run(ctx);
|
|
348
354
|
const failed = subtasks.tasks.filter(t => t.hasFailed());
|
|
349
355
|
if (failed.length > 0) {
|
package/oclif.manifest.json
CHANGED