hereya-cli 0.68.0 → 0.69.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
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.
|
|
24
|
+
hereya-cli/0.69.0 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.
|
|
113
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
138
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
160
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
177
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
197
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
219
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
245
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
270
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
303
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
334
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
361
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
392
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
419
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
452
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
490
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
520
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
554
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
588
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
617
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
647
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
676
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
710
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
767
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
793
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
822
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
839
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
867
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
890
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
918
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
944
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
975
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
1000
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
1025
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
1052
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
1077
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
1097
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
1123
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
1147
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/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.
|
|
1168
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/src/commands/workspace/env/unset/index.ts)_
|
|
1169
1169
|
|
|
1170
1170
|
## `hereya workspace executor install`
|
|
1171
1171
|
|
|
@@ -1173,9 +1173,10 @@ Install a remote executor into a workspace
|
|
|
1173
1173
|
|
|
1174
1174
|
```
|
|
1175
1175
|
USAGE
|
|
1176
|
-
$ hereya workspace executor install -w <value> [--debug]
|
|
1176
|
+
$ hereya workspace executor install -w <value> [--debug] [-f]
|
|
1177
1177
|
|
|
1178
1178
|
FLAGS
|
|
1179
|
+
-f, --force force reinstall even if executor is already installed
|
|
1179
1180
|
-w, --workspace=<value> (required) name of the workspace
|
|
1180
1181
|
--debug enable debug mode
|
|
1181
1182
|
|
|
@@ -1183,7 +1184,7 @@ DESCRIPTION
|
|
|
1183
1184
|
Install a remote executor into a workspace
|
|
1184
1185
|
```
|
|
1185
1186
|
|
|
1186
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1187
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/src/commands/workspace/executor/install/index.ts)_
|
|
1187
1188
|
|
|
1188
1189
|
## `hereya workspace executor token`
|
|
1189
1190
|
|
|
@@ -1200,7 +1201,7 @@ DESCRIPTION
|
|
|
1200
1201
|
Generate a workspace-scoped executor token for the remote executor
|
|
1201
1202
|
```
|
|
1202
1203
|
|
|
1203
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1204
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/src/commands/workspace/executor/token/index.ts)_
|
|
1204
1205
|
|
|
1205
1206
|
## `hereya workspace executor uninstall`
|
|
1206
1207
|
|
|
@@ -1218,7 +1219,7 @@ DESCRIPTION
|
|
|
1218
1219
|
Uninstall the remote executor from a workspace
|
|
1219
1220
|
```
|
|
1220
1221
|
|
|
1221
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1222
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1222
1223
|
|
|
1223
1224
|
## `hereya workspace install PACKAGE`
|
|
1224
1225
|
|
|
@@ -1245,7 +1246,7 @@ EXAMPLES
|
|
|
1245
1246
|
$ hereya workspace install hereya/aws-cognito
|
|
1246
1247
|
```
|
|
1247
1248
|
|
|
1248
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1249
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/src/commands/workspace/install/index.ts)_
|
|
1249
1250
|
|
|
1250
1251
|
## `hereya workspace list`
|
|
1251
1252
|
|
|
@@ -1269,7 +1270,7 @@ EXAMPLES
|
|
|
1269
1270
|
$ hereya workspace list --org personal
|
|
1270
1271
|
```
|
|
1271
1272
|
|
|
1272
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1273
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/src/commands/workspace/list/index.ts)_
|
|
1273
1274
|
|
|
1274
1275
|
## `hereya workspace set-profile PROFILE`
|
|
1275
1276
|
|
|
@@ -1293,7 +1294,7 @@ EXAMPLES
|
|
|
1293
1294
|
$ hereya workspace set-profile prod-profile -w production
|
|
1294
1295
|
```
|
|
1295
1296
|
|
|
1296
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1297
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/src/commands/workspace/set-profile/index.ts)_
|
|
1297
1298
|
|
|
1298
1299
|
## `hereya workspace uninstall PACKAGE`
|
|
1299
1300
|
|
|
@@ -1320,5 +1321,5 @@ EXAMPLES
|
|
|
1320
1321
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1321
1322
|
```
|
|
1322
1323
|
|
|
1323
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1324
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.69.0/src/commands/workspace/uninstall/index.ts)_
|
|
1324
1325
|
<!-- commandsstop -->
|
|
@@ -3,6 +3,7 @@ export default class WorkspaceExecutorInstall extends Command {
|
|
|
3
3
|
static description: string;
|
|
4
4
|
static flags: {
|
|
5
5
|
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
6
|
+
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
6
7
|
workspace: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
8
|
};
|
|
8
9
|
run(): Promise<void>;
|
|
@@ -10,6 +10,7 @@ export default class WorkspaceExecutorInstall extends Command {
|
|
|
10
10
|
static description = 'Install a remote executor into a workspace';
|
|
11
11
|
static flags = {
|
|
12
12
|
debug: Flags.boolean({ default: false, description: 'enable debug mode' }),
|
|
13
|
+
force: Flags.boolean({ char: 'f', default: false, description: 'force reinstall even if executor is already installed' }),
|
|
13
14
|
workspace: Flags.string({
|
|
14
15
|
char: 'w',
|
|
15
16
|
description: 'name of the workspace',
|
|
@@ -37,8 +38,8 @@ export default class WorkspaceExecutorInstall extends Command {
|
|
|
37
38
|
if (workspace$.hasError) {
|
|
38
39
|
throw new Error(workspace$.error);
|
|
39
40
|
}
|
|
40
|
-
if (workspace$.workspace.hasExecutor) {
|
|
41
|
-
throw new Error(`Workspace ${flags.workspace} already has an executor installed
|
|
41
|
+
if (workspace$.workspace.hasExecutor && !flags.force) {
|
|
42
|
+
throw new Error(`Workspace ${flags.workspace} already has an executor installed. Use --force to reinstall.`);
|
|
42
43
|
}
|
|
43
44
|
await delay(500);
|
|
44
45
|
},
|
package/oclif.manifest.json
CHANGED
|
@@ -102,12 +102,13 @@
|
|
|
102
102
|
"index.js"
|
|
103
103
|
]
|
|
104
104
|
},
|
|
105
|
-
"
|
|
105
|
+
"delete-state": {
|
|
106
106
|
"aliases": [],
|
|
107
107
|
"args": {},
|
|
108
|
-
"description": "
|
|
108
|
+
"description": "Delete the remote state of a project for a given workspace",
|
|
109
109
|
"examples": [
|
|
110
|
-
"<%= config.bin %> <%= command.id %>"
|
|
110
|
+
"<%= config.bin %> <%= command.id %> -w dev",
|
|
111
|
+
"<%= config.bin %> <%= command.id %> --workspace staging"
|
|
111
112
|
],
|
|
112
113
|
"flags": {
|
|
113
114
|
"chdir": {
|
|
@@ -118,15 +119,9 @@
|
|
|
118
119
|
"multiple": false,
|
|
119
120
|
"type": "option"
|
|
120
121
|
},
|
|
121
|
-
"debug": {
|
|
122
|
-
"description": "enable debug mode",
|
|
123
|
-
"name": "debug",
|
|
124
|
-
"allowNo": false,
|
|
125
|
-
"type": "boolean"
|
|
126
|
-
},
|
|
127
122
|
"workspace": {
|
|
128
123
|
"char": "w",
|
|
129
|
-
"description": "
|
|
124
|
+
"description": "workspace name",
|
|
130
125
|
"name": "workspace",
|
|
131
126
|
"required": true,
|
|
132
127
|
"hasDynamicHelp": false,
|
|
@@ -136,7 +131,7 @@
|
|
|
136
131
|
},
|
|
137
132
|
"hasDynamicHelp": false,
|
|
138
133
|
"hiddenAliases": [],
|
|
139
|
-
"id": "
|
|
134
|
+
"id": "delete-state",
|
|
140
135
|
"pluginAlias": "hereya-cli",
|
|
141
136
|
"pluginName": "hereya-cli",
|
|
142
137
|
"pluginType": "core",
|
|
@@ -146,17 +141,16 @@
|
|
|
146
141
|
"relativePath": [
|
|
147
142
|
"dist",
|
|
148
143
|
"commands",
|
|
149
|
-
"
|
|
144
|
+
"delete-state",
|
|
150
145
|
"index.js"
|
|
151
146
|
]
|
|
152
147
|
},
|
|
153
|
-
"
|
|
148
|
+
"deploy": {
|
|
154
149
|
"aliases": [],
|
|
155
150
|
"args": {},
|
|
156
|
-
"description": "
|
|
151
|
+
"description": "Deploy a hereya project using the project deployment package",
|
|
157
152
|
"examples": [
|
|
158
|
-
"<%= config.bin %> <%= command.id %>
|
|
159
|
-
"<%= config.bin %> <%= command.id %> --workspace staging"
|
|
153
|
+
"<%= config.bin %> <%= command.id %>"
|
|
160
154
|
],
|
|
161
155
|
"flags": {
|
|
162
156
|
"chdir": {
|
|
@@ -167,9 +161,15 @@
|
|
|
167
161
|
"multiple": false,
|
|
168
162
|
"type": "option"
|
|
169
163
|
},
|
|
164
|
+
"debug": {
|
|
165
|
+
"description": "enable debug mode",
|
|
166
|
+
"name": "debug",
|
|
167
|
+
"allowNo": false,
|
|
168
|
+
"type": "boolean"
|
|
169
|
+
},
|
|
170
170
|
"workspace": {
|
|
171
171
|
"char": "w",
|
|
172
|
-
"description": "workspace
|
|
172
|
+
"description": "name of the workspace to deploy the packages for",
|
|
173
173
|
"name": "workspace",
|
|
174
174
|
"required": true,
|
|
175
175
|
"hasDynamicHelp": false,
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
},
|
|
180
180
|
"hasDynamicHelp": false,
|
|
181
181
|
"hiddenAliases": [],
|
|
182
|
-
"id": "
|
|
182
|
+
"id": "deploy",
|
|
183
183
|
"pluginAlias": "hereya-cli",
|
|
184
184
|
"pluginName": "hereya-cli",
|
|
185
185
|
"pluginType": "core",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"relativePath": [
|
|
190
190
|
"dist",
|
|
191
191
|
"commands",
|
|
192
|
-
"
|
|
192
|
+
"deploy",
|
|
193
193
|
"index.js"
|
|
194
194
|
]
|
|
195
195
|
},
|
|
@@ -752,45 +752,6 @@
|
|
|
752
752
|
"index.js"
|
|
753
753
|
]
|
|
754
754
|
},
|
|
755
|
-
"unbootstrap": {
|
|
756
|
-
"aliases": [],
|
|
757
|
-
"args": {
|
|
758
|
-
"infrastructureType": {
|
|
759
|
-
"description": "infrastructure to unbootstrap. Options are local, aws",
|
|
760
|
-
"name": "infrastructureType",
|
|
761
|
-
"required": true
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
"description": "Uninstall hereya resources deployed with bootstrap command.",
|
|
765
|
-
"examples": [
|
|
766
|
-
"<%= config.bin %> <%= command.id %> aws",
|
|
767
|
-
"<%= config.bin %> <%= command.id %> local"
|
|
768
|
-
],
|
|
769
|
-
"flags": {
|
|
770
|
-
"force": {
|
|
771
|
-
"char": "f",
|
|
772
|
-
"description": "try to delete hereya resources even if not deployed",
|
|
773
|
-
"name": "force",
|
|
774
|
-
"allowNo": false,
|
|
775
|
-
"type": "boolean"
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
"hasDynamicHelp": false,
|
|
779
|
-
"hiddenAliases": [],
|
|
780
|
-
"id": "unbootstrap",
|
|
781
|
-
"pluginAlias": "hereya-cli",
|
|
782
|
-
"pluginName": "hereya-cli",
|
|
783
|
-
"pluginType": "core",
|
|
784
|
-
"strict": true,
|
|
785
|
-
"enableJsonFlag": false,
|
|
786
|
-
"isESM": true,
|
|
787
|
-
"relativePath": [
|
|
788
|
-
"dist",
|
|
789
|
-
"commands",
|
|
790
|
-
"unbootstrap",
|
|
791
|
-
"index.js"
|
|
792
|
-
]
|
|
793
|
-
},
|
|
794
755
|
"search": {
|
|
795
756
|
"aliases": [],
|
|
796
757
|
"args": {
|
|
@@ -850,6 +811,45 @@
|
|
|
850
811
|
"index.js"
|
|
851
812
|
]
|
|
852
813
|
},
|
|
814
|
+
"unbootstrap": {
|
|
815
|
+
"aliases": [],
|
|
816
|
+
"args": {
|
|
817
|
+
"infrastructureType": {
|
|
818
|
+
"description": "infrastructure to unbootstrap. Options are local, aws",
|
|
819
|
+
"name": "infrastructureType",
|
|
820
|
+
"required": true
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
"description": "Uninstall hereya resources deployed with bootstrap command.",
|
|
824
|
+
"examples": [
|
|
825
|
+
"<%= config.bin %> <%= command.id %> aws",
|
|
826
|
+
"<%= config.bin %> <%= command.id %> local"
|
|
827
|
+
],
|
|
828
|
+
"flags": {
|
|
829
|
+
"force": {
|
|
830
|
+
"char": "f",
|
|
831
|
+
"description": "try to delete hereya resources even if not deployed",
|
|
832
|
+
"name": "force",
|
|
833
|
+
"allowNo": false,
|
|
834
|
+
"type": "boolean"
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
"hasDynamicHelp": false,
|
|
838
|
+
"hiddenAliases": [],
|
|
839
|
+
"id": "unbootstrap",
|
|
840
|
+
"pluginAlias": "hereya-cli",
|
|
841
|
+
"pluginName": "hereya-cli",
|
|
842
|
+
"pluginType": "core",
|
|
843
|
+
"strict": true,
|
|
844
|
+
"enableJsonFlag": false,
|
|
845
|
+
"isESM": true,
|
|
846
|
+
"relativePath": [
|
|
847
|
+
"dist",
|
|
848
|
+
"commands",
|
|
849
|
+
"unbootstrap",
|
|
850
|
+
"index.js"
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
853
|
"undeploy": {
|
|
854
854
|
"aliases": [],
|
|
855
855
|
"args": {},
|
|
@@ -2244,6 +2244,13 @@
|
|
|
2244
2244
|
"allowNo": false,
|
|
2245
2245
|
"type": "boolean"
|
|
2246
2246
|
},
|
|
2247
|
+
"force": {
|
|
2248
|
+
"char": "f",
|
|
2249
|
+
"description": "force reinstall even if executor is already installed",
|
|
2250
|
+
"name": "force",
|
|
2251
|
+
"allowNo": false,
|
|
2252
|
+
"type": "boolean"
|
|
2253
|
+
},
|
|
2247
2254
|
"workspace": {
|
|
2248
2255
|
"char": "w",
|
|
2249
2256
|
"description": "name of the workspace",
|
|
@@ -2345,5 +2352,5 @@
|
|
|
2345
2352
|
]
|
|
2346
2353
|
}
|
|
2347
2354
|
},
|
|
2348
|
-
"version": "0.
|
|
2355
|
+
"version": "0.69.0"
|
|
2349
2356
|
}
|