hereya-cli 0.71.0 → 0.72.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 +52 -52
- package/dist/commands/devenv/install/index.js +2 -2
- package/dist/commands/devenv/uninstall/index.js +2 -2
- package/dist/commands/workspace/install/index.js +2 -2
- package/dist/commands/workspace/uninstall/index.js +2 -2
- 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.
|
|
24
|
+
hereya-cli/0.72.0 linux-x64 node-v24.14.0
|
|
25
25
|
$ hereya --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ hereya COMMAND
|
|
@@ -115,7 +115,7 @@ EXAMPLES
|
|
|
115
115
|
$ hereya add cloudy/docker_postgres
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
118
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/add/index.ts)_
|
|
119
119
|
|
|
120
120
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
121
121
|
|
|
@@ -140,7 +140,7 @@ EXAMPLES
|
|
|
140
140
|
$ hereya bootstrap local
|
|
141
141
|
```
|
|
142
142
|
|
|
143
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
143
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/bootstrap/index.ts)_
|
|
144
144
|
|
|
145
145
|
## `hereya config export-backend [FILE]`
|
|
146
146
|
|
|
@@ -162,7 +162,7 @@ EXAMPLES
|
|
|
162
162
|
$ hereya config export-backend ./path/to/export.json
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
165
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/config/export-backend/index.ts)_
|
|
166
166
|
|
|
167
167
|
## `hereya config get-backend`
|
|
168
168
|
|
|
@@ -179,7 +179,7 @@ EXAMPLES
|
|
|
179
179
|
$ hereya config get-backend
|
|
180
180
|
```
|
|
181
181
|
|
|
182
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
182
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/config/get-backend/index.ts)_
|
|
183
183
|
|
|
184
184
|
## `hereya config import-backend FILE`
|
|
185
185
|
|
|
@@ -199,7 +199,7 @@ EXAMPLES
|
|
|
199
199
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
200
200
|
```
|
|
201
201
|
|
|
202
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
202
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/config/import-backend/index.ts)_
|
|
203
203
|
|
|
204
204
|
## `hereya config use-backend TYPE`
|
|
205
205
|
|
|
@@ -221,7 +221,7 @@ EXAMPLES
|
|
|
221
221
|
$ hereya config use-backend local
|
|
222
222
|
```
|
|
223
223
|
|
|
224
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
224
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/config/use-backend/index.ts)_
|
|
225
225
|
|
|
226
226
|
## `hereya delete-state`
|
|
227
227
|
|
|
@@ -247,7 +247,7 @@ EXAMPLES
|
|
|
247
247
|
$ hereya delete-state --workspace staging
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
250
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/delete-state/index.ts)_
|
|
251
251
|
|
|
252
252
|
## `hereya deploy`
|
|
253
253
|
|
|
@@ -272,7 +272,7 @@ EXAMPLES
|
|
|
272
272
|
$ hereya deploy
|
|
273
273
|
```
|
|
274
274
|
|
|
275
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
275
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/deploy/index.ts)_
|
|
276
276
|
|
|
277
277
|
## `hereya devenv config`
|
|
278
278
|
|
|
@@ -292,7 +292,7 @@ EXAMPLES
|
|
|
292
292
|
$ hereya devenv config -w my-workspace
|
|
293
293
|
```
|
|
294
294
|
|
|
295
|
-
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
295
|
+
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/devenv/config/index.ts)_
|
|
296
296
|
|
|
297
297
|
## `hereya devenv install`
|
|
298
298
|
|
|
@@ -317,7 +317,7 @@ EXAMPLES
|
|
|
317
317
|
$ hereya devenv install -w my-workspace -p instanceType=t3.large
|
|
318
318
|
```
|
|
319
319
|
|
|
320
|
-
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
320
|
+
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/devenv/install/index.ts)_
|
|
321
321
|
|
|
322
322
|
## `hereya devenv project init PROJECT`
|
|
323
323
|
|
|
@@ -341,7 +341,7 @@ EXAMPLES
|
|
|
341
341
|
$ hereya devenv project init my-app -w my-workspace
|
|
342
342
|
```
|
|
343
343
|
|
|
344
|
-
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
344
|
+
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/devenv/project/init/index.ts)_
|
|
345
345
|
|
|
346
346
|
## `hereya devenv ssh`
|
|
347
347
|
|
|
@@ -361,7 +361,7 @@ EXAMPLES
|
|
|
361
361
|
$ hereya devenv ssh -w my-workspace
|
|
362
362
|
```
|
|
363
363
|
|
|
364
|
-
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
364
|
+
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/devenv/ssh/index.ts)_
|
|
365
365
|
|
|
366
366
|
## `hereya devenv uninstall`
|
|
367
367
|
|
|
@@ -382,7 +382,7 @@ EXAMPLES
|
|
|
382
382
|
$ hereya devenv uninstall -w my-workspace
|
|
383
383
|
```
|
|
384
384
|
|
|
385
|
-
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
385
|
+
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/devenv/uninstall/index.ts)_
|
|
386
386
|
|
|
387
387
|
## `hereya doc PACKAGE`
|
|
388
388
|
|
|
@@ -415,7 +415,7 @@ EXAMPLES
|
|
|
415
415
|
$ hereya doc my-package --no-doc
|
|
416
416
|
```
|
|
417
417
|
|
|
418
|
-
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
418
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/doc/index.ts)_
|
|
419
419
|
|
|
420
420
|
## `hereya docker run IMAGE`
|
|
421
421
|
|
|
@@ -446,7 +446,7 @@ EXAMPLES
|
|
|
446
446
|
$ hereya docker run myapp:latest -- --rm -v ./data:/data
|
|
447
447
|
```
|
|
448
448
|
|
|
449
|
-
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
449
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/docker/run/index.ts)_
|
|
450
450
|
|
|
451
451
|
## `hereya down`
|
|
452
452
|
|
|
@@ -473,7 +473,7 @@ EXAMPLES
|
|
|
473
473
|
$ hereya down
|
|
474
474
|
```
|
|
475
475
|
|
|
476
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
476
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/down/index.ts)_
|
|
477
477
|
|
|
478
478
|
## `hereya env [NAME]`
|
|
479
479
|
|
|
@@ -504,7 +504,7 @@ EXAMPLES
|
|
|
504
504
|
$ hereya env -w dev -l
|
|
505
505
|
```
|
|
506
506
|
|
|
507
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
507
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/env/index.ts)_
|
|
508
508
|
|
|
509
509
|
## `hereya env set [NAME]`
|
|
510
510
|
|
|
@@ -531,7 +531,7 @@ EXAMPLES
|
|
|
531
531
|
$ hereya env set FOO -v bar -w dev
|
|
532
532
|
```
|
|
533
533
|
|
|
534
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
534
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/env/set/index.ts)_
|
|
535
535
|
|
|
536
536
|
## `hereya executor start`
|
|
537
537
|
|
|
@@ -564,7 +564,7 @@ EXAMPLES
|
|
|
564
564
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
565
565
|
```
|
|
566
566
|
|
|
567
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
567
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/executor/start/index.ts)_
|
|
568
568
|
|
|
569
569
|
## `hereya flow add PACKAGE`
|
|
570
570
|
|
|
@@ -602,7 +602,7 @@ EXAMPLES
|
|
|
602
602
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
603
603
|
```
|
|
604
604
|
|
|
605
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
605
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/flow/add/index.ts)_
|
|
606
606
|
|
|
607
607
|
## `hereya flow docker run IMAGE`
|
|
608
608
|
|
|
@@ -632,7 +632,7 @@ EXAMPLES
|
|
|
632
632
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
633
633
|
```
|
|
634
634
|
|
|
635
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
635
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/flow/docker/run/index.ts)_
|
|
636
636
|
|
|
637
637
|
## `hereya flow down`
|
|
638
638
|
|
|
@@ -666,7 +666,7 @@ EXAMPLES
|
|
|
666
666
|
$ hereya flow down --pin
|
|
667
667
|
```
|
|
668
668
|
|
|
669
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
669
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/flow/down/index.ts)_
|
|
670
670
|
|
|
671
671
|
## `hereya flow env [NAME]`
|
|
672
672
|
|
|
@@ -700,7 +700,7 @@ EXAMPLES
|
|
|
700
700
|
$ hereya flow env -l
|
|
701
701
|
```
|
|
702
702
|
|
|
703
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
703
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/flow/env/index.ts)_
|
|
704
704
|
|
|
705
705
|
## `hereya flow provid PACKAGE`
|
|
706
706
|
|
|
@@ -729,7 +729,7 @@ EXAMPLES
|
|
|
729
729
|
$ hereya flow provid hereya/postgres --pin
|
|
730
730
|
```
|
|
731
731
|
|
|
732
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
732
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/flow/provid/index.ts)_
|
|
733
733
|
|
|
734
734
|
## `hereya flow remove PACKAGE`
|
|
735
735
|
|
|
@@ -759,7 +759,7 @@ EXAMPLES
|
|
|
759
759
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
760
760
|
```
|
|
761
761
|
|
|
762
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
762
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/flow/remove/index.ts)_
|
|
763
763
|
|
|
764
764
|
## `hereya flow run CMD`
|
|
765
765
|
|
|
@@ -788,7 +788,7 @@ EXAMPLES
|
|
|
788
788
|
$ hereya flow run --pin -- npm test
|
|
789
789
|
```
|
|
790
790
|
|
|
791
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
791
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/flow/run/index.ts)_
|
|
792
792
|
|
|
793
793
|
## `hereya flow up`
|
|
794
794
|
|
|
@@ -822,7 +822,7 @@ EXAMPLES
|
|
|
822
822
|
$ hereya flow up --pin
|
|
823
823
|
```
|
|
824
824
|
|
|
825
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
825
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/flow/up/index.ts)_
|
|
826
826
|
|
|
827
827
|
## `hereya help [COMMAND]`
|
|
828
828
|
|
|
@@ -879,7 +879,7 @@ EXAMPLES
|
|
|
879
879
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
880
880
|
```
|
|
881
881
|
|
|
882
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
882
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/import/index.ts)_
|
|
883
883
|
|
|
884
884
|
## `hereya init PROJECT`
|
|
885
885
|
|
|
@@ -905,7 +905,7 @@ EXAMPLES
|
|
|
905
905
|
$ hereya init myProject -w=defaultWorkspace --chdir=./myProject
|
|
906
906
|
```
|
|
907
907
|
|
|
908
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
908
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/init/index.ts)_
|
|
909
909
|
|
|
910
910
|
## `hereya login [URL]`
|
|
911
911
|
|
|
@@ -934,7 +934,7 @@ EXAMPLES
|
|
|
934
934
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
935
935
|
```
|
|
936
936
|
|
|
937
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
937
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/login/index.ts)_
|
|
938
938
|
|
|
939
939
|
## `hereya logout`
|
|
940
940
|
|
|
@@ -951,7 +951,7 @@ EXAMPLES
|
|
|
951
951
|
$ hereya logout
|
|
952
952
|
```
|
|
953
953
|
|
|
954
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
954
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/logout/index.ts)_
|
|
955
955
|
|
|
956
956
|
## `hereya provid PACKAGE`
|
|
957
957
|
|
|
@@ -979,7 +979,7 @@ EXAMPLES
|
|
|
979
979
|
$ hereya provid hereya/postgres --workspace staging
|
|
980
980
|
```
|
|
981
981
|
|
|
982
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
982
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/provid/index.ts)_
|
|
983
983
|
|
|
984
984
|
## `hereya publish`
|
|
985
985
|
|
|
@@ -1002,7 +1002,7 @@ EXAMPLES
|
|
|
1002
1002
|
$ hereya publish --chdir=/path/to/package
|
|
1003
1003
|
```
|
|
1004
1004
|
|
|
1005
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1005
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/publish/index.ts)_
|
|
1006
1006
|
|
|
1007
1007
|
## `hereya remove PACKAGE`
|
|
1008
1008
|
|
|
@@ -1030,7 +1030,7 @@ EXAMPLES
|
|
|
1030
1030
|
$ hereya remove cloudy/docker_postgres
|
|
1031
1031
|
```
|
|
1032
1032
|
|
|
1033
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1033
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/remove/index.ts)_
|
|
1034
1034
|
|
|
1035
1035
|
## `hereya run CMD`
|
|
1036
1036
|
|
|
@@ -1056,7 +1056,7 @@ EXAMPLES
|
|
|
1056
1056
|
$ hereya run -w uat -- node index.js
|
|
1057
1057
|
```
|
|
1058
1058
|
|
|
1059
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1059
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/run/index.ts)_
|
|
1060
1060
|
|
|
1061
1061
|
## `hereya search QUERY`
|
|
1062
1062
|
|
|
@@ -1087,7 +1087,7 @@ EXAMPLES
|
|
|
1087
1087
|
$ hereya search database --json
|
|
1088
1088
|
```
|
|
1089
1089
|
|
|
1090
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1090
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/search/index.ts)_
|
|
1091
1091
|
|
|
1092
1092
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
1093
1093
|
|
|
@@ -1112,7 +1112,7 @@ EXAMPLES
|
|
|
1112
1112
|
$ hereya unbootstrap local
|
|
1113
1113
|
```
|
|
1114
1114
|
|
|
1115
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1115
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/unbootstrap/index.ts)_
|
|
1116
1116
|
|
|
1117
1117
|
## `hereya undeploy`
|
|
1118
1118
|
|
|
@@ -1137,7 +1137,7 @@ EXAMPLES
|
|
|
1137
1137
|
$ hereya undeploy
|
|
1138
1138
|
```
|
|
1139
1139
|
|
|
1140
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1140
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/undeploy/index.ts)_
|
|
1141
1141
|
|
|
1142
1142
|
## `hereya up`
|
|
1143
1143
|
|
|
@@ -1164,7 +1164,7 @@ EXAMPLES
|
|
|
1164
1164
|
$ hereya up
|
|
1165
1165
|
```
|
|
1166
1166
|
|
|
1167
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1167
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/up/index.ts)_
|
|
1168
1168
|
|
|
1169
1169
|
## `hereya workspace create NAME`
|
|
1170
1170
|
|
|
@@ -1189,7 +1189,7 @@ EXAMPLES
|
|
|
1189
1189
|
$ hereya workspace create dev
|
|
1190
1190
|
```
|
|
1191
1191
|
|
|
1192
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1192
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/create/index.ts)_
|
|
1193
1193
|
|
|
1194
1194
|
## `hereya workspace delete NAME`
|
|
1195
1195
|
|
|
@@ -1209,7 +1209,7 @@ EXAMPLES
|
|
|
1209
1209
|
$ hereya workspace delete dev
|
|
1210
1210
|
```
|
|
1211
1211
|
|
|
1212
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1212
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/delete/index.ts)_
|
|
1213
1213
|
|
|
1214
1214
|
## `hereya workspace env [NAME]`
|
|
1215
1215
|
|
|
@@ -1235,7 +1235,7 @@ EXAMPLES
|
|
|
1235
1235
|
$ hereya workspace env myEnv -w dev
|
|
1236
1236
|
```
|
|
1237
1237
|
|
|
1238
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1238
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/env/index.ts)_
|
|
1239
1239
|
|
|
1240
1240
|
## `hereya workspace env set`
|
|
1241
1241
|
|
|
@@ -1259,7 +1259,7 @@ EXAMPLES
|
|
|
1259
1259
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1260
1260
|
```
|
|
1261
1261
|
|
|
1262
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1262
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/env/set/index.ts)_
|
|
1263
1263
|
|
|
1264
1264
|
## `hereya workspace env unset`
|
|
1265
1265
|
|
|
@@ -1280,7 +1280,7 @@ EXAMPLES
|
|
|
1280
1280
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1281
1281
|
```
|
|
1282
1282
|
|
|
1283
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1283
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/env/unset/index.ts)_
|
|
1284
1284
|
|
|
1285
1285
|
## `hereya workspace executor install`
|
|
1286
1286
|
|
|
@@ -1299,7 +1299,7 @@ DESCRIPTION
|
|
|
1299
1299
|
Install a remote executor into a workspace
|
|
1300
1300
|
```
|
|
1301
1301
|
|
|
1302
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1302
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/executor/install/index.ts)_
|
|
1303
1303
|
|
|
1304
1304
|
## `hereya workspace executor token`
|
|
1305
1305
|
|
|
@@ -1316,7 +1316,7 @@ DESCRIPTION
|
|
|
1316
1316
|
Generate a workspace-scoped executor token for the remote executor
|
|
1317
1317
|
```
|
|
1318
1318
|
|
|
1319
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1319
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/executor/token/index.ts)_
|
|
1320
1320
|
|
|
1321
1321
|
## `hereya workspace executor uninstall`
|
|
1322
1322
|
|
|
@@ -1334,7 +1334,7 @@ DESCRIPTION
|
|
|
1334
1334
|
Uninstall the remote executor from a workspace
|
|
1335
1335
|
```
|
|
1336
1336
|
|
|
1337
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1337
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1338
1338
|
|
|
1339
1339
|
## `hereya workspace install PACKAGE`
|
|
1340
1340
|
|
|
@@ -1361,7 +1361,7 @@ EXAMPLES
|
|
|
1361
1361
|
$ hereya workspace install hereya/aws-cognito
|
|
1362
1362
|
```
|
|
1363
1363
|
|
|
1364
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1364
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/install/index.ts)_
|
|
1365
1365
|
|
|
1366
1366
|
## `hereya workspace list`
|
|
1367
1367
|
|
|
@@ -1385,7 +1385,7 @@ EXAMPLES
|
|
|
1385
1385
|
$ hereya workspace list --org personal
|
|
1386
1386
|
```
|
|
1387
1387
|
|
|
1388
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1388
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/list/index.ts)_
|
|
1389
1389
|
|
|
1390
1390
|
## `hereya workspace set-profile PROFILE`
|
|
1391
1391
|
|
|
@@ -1409,7 +1409,7 @@ EXAMPLES
|
|
|
1409
1409
|
$ hereya workspace set-profile prod-profile -w production
|
|
1410
1410
|
```
|
|
1411
1411
|
|
|
1412
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1412
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/set-profile/index.ts)_
|
|
1413
1413
|
|
|
1414
1414
|
## `hereya workspace uninstall PACKAGE`
|
|
1415
1415
|
|
|
@@ -1436,5 +1436,5 @@ EXAMPLES
|
|
|
1436
1436
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1437
1437
|
```
|
|
1438
1438
|
|
|
1439
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1439
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.72.0/src/commands/workspace/uninstall/index.ts)_
|
|
1440
1440
|
<!-- commandsstop -->
|
|
@@ -2,7 +2,7 @@ import { Command, Flags } from '@oclif/core';
|
|
|
2
2
|
import { Listr, ListrLogger, ListrLogLevels } from 'listr2';
|
|
3
3
|
import { getCloudCredentials, loadBackendConfig } from '../../../backend/config.js';
|
|
4
4
|
import { getBackend } from '../../../backend/index.js';
|
|
5
|
-
import {
|
|
5
|
+
import { getExecutorForWorkspace } from '../../../executor/context.js';
|
|
6
6
|
import { getLogger, getLogPath, isDebug, setDebug } from '../../../lib/log.js';
|
|
7
7
|
import { arrayOfStringToObject } from '../../../lib/object-utils.js';
|
|
8
8
|
import { delay } from '../../../lib/shell.js';
|
|
@@ -90,7 +90,7 @@ export default class DevenvInstall extends Command {
|
|
|
90
90
|
persistentOutput: isDebug(),
|
|
91
91
|
},
|
|
92
92
|
async task(ctx, task) {
|
|
93
|
-
const executor$ =
|
|
93
|
+
const executor$ = await getExecutorForWorkspace(flags.workspace);
|
|
94
94
|
if (!executor$.success) {
|
|
95
95
|
throw new Error(executor$.reason);
|
|
96
96
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command, Flags } from '@oclif/core';
|
|
2
2
|
import { Listr, ListrLogger, ListrLogLevels } from 'listr2';
|
|
3
3
|
import { getBackend } from '../../../backend/index.js';
|
|
4
|
-
import {
|
|
4
|
+
import { getExecutorForWorkspace } from '../../../executor/context.js';
|
|
5
5
|
import { getLogger, getLogPath, isDebug, setDebug } from '../../../lib/log.js';
|
|
6
6
|
import { delay } from '../../../lib/shell.js';
|
|
7
7
|
export default class DevenvUninstall extends Command {
|
|
@@ -63,7 +63,7 @@ export default class DevenvUninstall extends Command {
|
|
|
63
63
|
persistentOutput: isDebug(),
|
|
64
64
|
},
|
|
65
65
|
async task(ctx, task) {
|
|
66
|
-
const executor$ =
|
|
66
|
+
const executor$ = await getExecutorForWorkspace(flags.workspace);
|
|
67
67
|
if (!executor$.success) {
|
|
68
68
|
throw new Error(executor$.reason);
|
|
69
69
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Args, Command, Flags } from '@oclif/core';
|
|
2
2
|
import { Listr, ListrLogger, ListrLogLevels } from 'listr2';
|
|
3
3
|
import { getBackend } from '../../../backend/index.js';
|
|
4
|
-
import {
|
|
4
|
+
import { getExecutorForWorkspace } from '../../../executor/context.js';
|
|
5
5
|
import { getLogger, getLogPath, isDebug, setDebug } from '../../../lib/log.js';
|
|
6
6
|
import { arrayOfStringToObject } from '../../../lib/object-utils.js';
|
|
7
7
|
import { delay } from '../../../lib/shell.js';
|
|
@@ -81,7 +81,7 @@ export default class WorkspaceInstall extends Command {
|
|
|
81
81
|
persistentOutput: isDebug(),
|
|
82
82
|
},
|
|
83
83
|
async task(ctx, task) {
|
|
84
|
-
const executor$ =
|
|
84
|
+
const executor$ = await getExecutorForWorkspace(flags.workspace);
|
|
85
85
|
if (!executor$.success) {
|
|
86
86
|
throw new Error(executor$.reason);
|
|
87
87
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Args, Command, Flags } from '@oclif/core';
|
|
2
2
|
import { Listr, ListrLogger, ListrLogLevels } from 'listr2';
|
|
3
3
|
import { getBackend } from '../../../backend/index.js';
|
|
4
|
-
import {
|
|
4
|
+
import { getExecutorForWorkspace } from '../../../executor/context.js';
|
|
5
5
|
import { getLogger, getLogPath, isDebug, setDebug } from '../../../lib/log.js';
|
|
6
6
|
import { arrayOfStringToObject } from '../../../lib/object-utils.js';
|
|
7
7
|
import { delay } from '../../../lib/shell.js';
|
|
@@ -101,7 +101,7 @@ export default class WorkspaceUninstall extends Command {
|
|
|
101
101
|
persistentOutput: isDebug(),
|
|
102
102
|
},
|
|
103
103
|
async task(ctx, task) {
|
|
104
|
-
const executor$ =
|
|
104
|
+
const executor$ = await getExecutorForWorkspace(flags.workspace);
|
|
105
105
|
if (!executor$.success) {
|
|
106
106
|
throw new Error(executor$.reason);
|
|
107
107
|
}
|
package/oclif.manifest.json
CHANGED