hereya-cli 0.100.3 → 0.100.5
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 +66 -66
- package/bin/check-node.cjs +32 -0
- package/bin/dev.cjs +22 -0
- package/bin/dev.cmd +1 -1
- package/bin/run.cjs +14 -0
- package/bin/run.cmd +1 -1
- package/dist/executor/delegating.js +39 -1
- package/oclif.manifest.json +598 -598
- package/package.json +3 -3
- /package/bin/{dev.js → dev-impl.mjs} +0 -0
- /package/bin/{run.js → run.mjs} +0 -0
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.100.
|
|
24
|
+
hereya-cli/0.100.5 linux-x64 node-v24.15.0
|
|
25
25
|
$ hereya --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ hereya COMMAND
|
|
@@ -129,7 +129,7 @@ EXAMPLES
|
|
|
129
129
|
$ hereya add cloudy/docker_postgres
|
|
130
130
|
```
|
|
131
131
|
|
|
132
|
-
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
132
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/add/index.ts)_
|
|
133
133
|
|
|
134
134
|
## `hereya app deploy NAME`
|
|
135
135
|
|
|
@@ -163,7 +163,7 @@ EXAMPLES
|
|
|
163
163
|
$ hereya app deploy my-org/my-app -w prod -p organizationId=org-123
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
-
_See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
166
|
+
_See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/app/deploy/index.ts)_
|
|
167
167
|
|
|
168
168
|
## `hereya app deployments NAME`
|
|
169
169
|
|
|
@@ -183,7 +183,7 @@ EXAMPLES
|
|
|
183
183
|
$ hereya app deployments my-org/my-app
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
-
_See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
186
|
+
_See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/app/deployments/index.ts)_
|
|
187
187
|
|
|
188
188
|
## `hereya app destroy NAME`
|
|
189
189
|
|
|
@@ -212,7 +212,7 @@ EXAMPLES
|
|
|
212
212
|
$ hereya app destroy my-org/my-app -w my-workspace
|
|
213
213
|
```
|
|
214
214
|
|
|
215
|
-
_See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
215
|
+
_See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/app/destroy/index.ts)_
|
|
216
216
|
|
|
217
217
|
## `hereya app env NAME [KEY]`
|
|
218
218
|
|
|
@@ -238,7 +238,7 @@ EXAMPLES
|
|
|
238
238
|
$ hereya app env my-org/my-app -w my-workspace DATABASE_URL
|
|
239
239
|
```
|
|
240
240
|
|
|
241
|
-
_See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
241
|
+
_See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/app/env/index.ts)_
|
|
242
242
|
|
|
243
243
|
## `hereya app list`
|
|
244
244
|
|
|
@@ -255,7 +255,7 @@ EXAMPLES
|
|
|
255
255
|
$ hereya app list
|
|
256
256
|
```
|
|
257
257
|
|
|
258
|
-
_See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
258
|
+
_See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/app/list/index.ts)_
|
|
259
259
|
|
|
260
260
|
## `hereya app new DIRNAME`
|
|
261
261
|
|
|
@@ -281,7 +281,7 @@ EXAMPLES
|
|
|
281
281
|
$ hereya app new ./my-app -n my-org/my-app --description "An ai-app-builder app"
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
_See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
284
|
+
_See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/app/new/index.ts)_
|
|
285
285
|
|
|
286
286
|
## `hereya app status NAME`
|
|
287
287
|
|
|
@@ -304,7 +304,7 @@ EXAMPLES
|
|
|
304
304
|
$ hereya app status my-org/my-app -w my-workspace
|
|
305
305
|
```
|
|
306
306
|
|
|
307
|
-
_See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
307
|
+
_See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/app/status/index.ts)_
|
|
308
308
|
|
|
309
309
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
310
310
|
|
|
@@ -329,7 +329,7 @@ EXAMPLES
|
|
|
329
329
|
$ hereya bootstrap local
|
|
330
330
|
```
|
|
331
331
|
|
|
332
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
332
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/bootstrap/index.ts)_
|
|
333
333
|
|
|
334
334
|
## `hereya clone PROJECT`
|
|
335
335
|
|
|
@@ -354,7 +354,7 @@ EXAMPLES
|
|
|
354
354
|
$ hereya clone myProject --chdir=./myProject
|
|
355
355
|
```
|
|
356
356
|
|
|
357
|
-
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
357
|
+
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/clone/index.ts)_
|
|
358
358
|
|
|
359
359
|
## `hereya config export-backend [FILE]`
|
|
360
360
|
|
|
@@ -376,7 +376,7 @@ EXAMPLES
|
|
|
376
376
|
$ hereya config export-backend ./path/to/export.json
|
|
377
377
|
```
|
|
378
378
|
|
|
379
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
379
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/config/export-backend/index.ts)_
|
|
380
380
|
|
|
381
381
|
## `hereya config get-backend`
|
|
382
382
|
|
|
@@ -393,7 +393,7 @@ EXAMPLES
|
|
|
393
393
|
$ hereya config get-backend
|
|
394
394
|
```
|
|
395
395
|
|
|
396
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
396
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/config/get-backend/index.ts)_
|
|
397
397
|
|
|
398
398
|
## `hereya config import-backend FILE`
|
|
399
399
|
|
|
@@ -413,7 +413,7 @@ EXAMPLES
|
|
|
413
413
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
416
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/config/import-backend/index.ts)_
|
|
417
417
|
|
|
418
418
|
## `hereya config use-backend TYPE`
|
|
419
419
|
|
|
@@ -435,7 +435,7 @@ EXAMPLES
|
|
|
435
435
|
$ hereya config use-backend local
|
|
436
436
|
```
|
|
437
437
|
|
|
438
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
438
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/config/use-backend/index.ts)_
|
|
439
439
|
|
|
440
440
|
## `hereya delete-state`
|
|
441
441
|
|
|
@@ -461,7 +461,7 @@ EXAMPLES
|
|
|
461
461
|
$ hereya delete-state --workspace staging
|
|
462
462
|
```
|
|
463
463
|
|
|
464
|
-
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
464
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/delete-state/index.ts)_
|
|
465
465
|
|
|
466
466
|
## `hereya deploy`
|
|
467
467
|
|
|
@@ -487,7 +487,7 @@ EXAMPLES
|
|
|
487
487
|
$ hereya deploy
|
|
488
488
|
```
|
|
489
489
|
|
|
490
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
490
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/deploy/index.ts)_
|
|
491
491
|
|
|
492
492
|
## `hereya devenv config`
|
|
493
493
|
|
|
@@ -508,7 +508,7 @@ EXAMPLES
|
|
|
508
508
|
$ hereya devenv config -w my-workspace
|
|
509
509
|
```
|
|
510
510
|
|
|
511
|
-
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
511
|
+
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/devenv/config/index.ts)_
|
|
512
512
|
|
|
513
513
|
## `hereya devenv install`
|
|
514
514
|
|
|
@@ -535,7 +535,7 @@ EXAMPLES
|
|
|
535
535
|
$ hereya devenv install -w my-workspace -p instanceType=t3.large
|
|
536
536
|
```
|
|
537
537
|
|
|
538
|
-
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
538
|
+
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/devenv/install/index.ts)_
|
|
539
539
|
|
|
540
540
|
## `hereya devenv project init PROJECT`
|
|
541
541
|
|
|
@@ -567,7 +567,7 @@ EXAMPLES
|
|
|
567
567
|
$ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
|
|
568
568
|
```
|
|
569
569
|
|
|
570
|
-
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
570
|
+
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/devenv/project/init/index.ts)_
|
|
571
571
|
|
|
572
572
|
## `hereya devenv project uninit PROJECT`
|
|
573
573
|
|
|
@@ -593,7 +593,7 @@ EXAMPLES
|
|
|
593
593
|
$ hereya devenv project uninit my-app -w my-workspace --force
|
|
594
594
|
```
|
|
595
595
|
|
|
596
|
-
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
596
|
+
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/devenv/project/uninit/index.ts)_
|
|
597
597
|
|
|
598
598
|
## `hereya devenv sleep`
|
|
599
599
|
|
|
@@ -614,7 +614,7 @@ EXAMPLES
|
|
|
614
614
|
$ hereya devenv sleep -w my-workspace
|
|
615
615
|
```
|
|
616
616
|
|
|
617
|
-
_See code: [src/commands/devenv/sleep/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
617
|
+
_See code: [src/commands/devenv/sleep/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/devenv/sleep/index.ts)_
|
|
618
618
|
|
|
619
619
|
## `hereya devenv ssh`
|
|
620
620
|
|
|
@@ -634,7 +634,7 @@ EXAMPLES
|
|
|
634
634
|
$ hereya devenv ssh -w my-workspace
|
|
635
635
|
```
|
|
636
636
|
|
|
637
|
-
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
637
|
+
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/devenv/ssh/index.ts)_
|
|
638
638
|
|
|
639
639
|
## `hereya devenv uninstall`
|
|
640
640
|
|
|
@@ -655,7 +655,7 @@ EXAMPLES
|
|
|
655
655
|
$ hereya devenv uninstall -w my-workspace
|
|
656
656
|
```
|
|
657
657
|
|
|
658
|
-
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
658
|
+
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/devenv/uninstall/index.ts)_
|
|
659
659
|
|
|
660
660
|
## `hereya doc PACKAGE`
|
|
661
661
|
|
|
@@ -688,7 +688,7 @@ EXAMPLES
|
|
|
688
688
|
$ hereya doc my-package --no-doc
|
|
689
689
|
```
|
|
690
690
|
|
|
691
|
-
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
691
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/doc/index.ts)_
|
|
692
692
|
|
|
693
693
|
## `hereya docker run IMAGE`
|
|
694
694
|
|
|
@@ -719,7 +719,7 @@ EXAMPLES
|
|
|
719
719
|
$ hereya docker run myapp:latest -- --rm -v ./data:/data
|
|
720
720
|
```
|
|
721
721
|
|
|
722
|
-
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
722
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/docker/run/index.ts)_
|
|
723
723
|
|
|
724
724
|
## `hereya down`
|
|
725
725
|
|
|
@@ -746,7 +746,7 @@ EXAMPLES
|
|
|
746
746
|
$ hereya down
|
|
747
747
|
```
|
|
748
748
|
|
|
749
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
749
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/down/index.ts)_
|
|
750
750
|
|
|
751
751
|
## `hereya env [NAME]`
|
|
752
752
|
|
|
@@ -777,7 +777,7 @@ EXAMPLES
|
|
|
777
777
|
$ hereya env -w dev -l
|
|
778
778
|
```
|
|
779
779
|
|
|
780
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
780
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/env/index.ts)_
|
|
781
781
|
|
|
782
782
|
## `hereya env set [NAME]`
|
|
783
783
|
|
|
@@ -804,7 +804,7 @@ EXAMPLES
|
|
|
804
804
|
$ hereya env set FOO -v bar -w dev
|
|
805
805
|
```
|
|
806
806
|
|
|
807
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
807
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/env/set/index.ts)_
|
|
808
808
|
|
|
809
809
|
## `hereya executor start`
|
|
810
810
|
|
|
@@ -838,7 +838,7 @@ EXAMPLES
|
|
|
838
838
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
839
839
|
```
|
|
840
840
|
|
|
841
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
841
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/executor/start/index.ts)_
|
|
842
842
|
|
|
843
843
|
## `hereya flow add PACKAGE`
|
|
844
844
|
|
|
@@ -876,7 +876,7 @@ EXAMPLES
|
|
|
876
876
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
877
877
|
```
|
|
878
878
|
|
|
879
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
879
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/flow/add/index.ts)_
|
|
880
880
|
|
|
881
881
|
## `hereya flow docker run IMAGE`
|
|
882
882
|
|
|
@@ -906,7 +906,7 @@ EXAMPLES
|
|
|
906
906
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
907
907
|
```
|
|
908
908
|
|
|
909
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
909
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/flow/docker/run/index.ts)_
|
|
910
910
|
|
|
911
911
|
## `hereya flow down`
|
|
912
912
|
|
|
@@ -940,7 +940,7 @@ EXAMPLES
|
|
|
940
940
|
$ hereya flow down --pin
|
|
941
941
|
```
|
|
942
942
|
|
|
943
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
943
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/flow/down/index.ts)_
|
|
944
944
|
|
|
945
945
|
## `hereya flow env [NAME]`
|
|
946
946
|
|
|
@@ -974,7 +974,7 @@ EXAMPLES
|
|
|
974
974
|
$ hereya flow env -l
|
|
975
975
|
```
|
|
976
976
|
|
|
977
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
977
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/flow/env/index.ts)_
|
|
978
978
|
|
|
979
979
|
## `hereya flow provid PACKAGE`
|
|
980
980
|
|
|
@@ -1003,7 +1003,7 @@ EXAMPLES
|
|
|
1003
1003
|
$ hereya flow provid hereya/postgres --pin
|
|
1004
1004
|
```
|
|
1005
1005
|
|
|
1006
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1006
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/flow/provid/index.ts)_
|
|
1007
1007
|
|
|
1008
1008
|
## `hereya flow remove PACKAGE`
|
|
1009
1009
|
|
|
@@ -1033,7 +1033,7 @@ EXAMPLES
|
|
|
1033
1033
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
1034
1034
|
```
|
|
1035
1035
|
|
|
1036
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1036
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/flow/remove/index.ts)_
|
|
1037
1037
|
|
|
1038
1038
|
## `hereya flow run CMD`
|
|
1039
1039
|
|
|
@@ -1062,7 +1062,7 @@ EXAMPLES
|
|
|
1062
1062
|
$ hereya flow run --pin -- npm test
|
|
1063
1063
|
```
|
|
1064
1064
|
|
|
1065
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1065
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/flow/run/index.ts)_
|
|
1066
1066
|
|
|
1067
1067
|
## `hereya flow up`
|
|
1068
1068
|
|
|
@@ -1096,7 +1096,7 @@ EXAMPLES
|
|
|
1096
1096
|
$ hereya flow up --pin
|
|
1097
1097
|
```
|
|
1098
1098
|
|
|
1099
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1099
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/flow/up/index.ts)_
|
|
1100
1100
|
|
|
1101
1101
|
## `hereya help [COMMAND]`
|
|
1102
1102
|
|
|
@@ -1153,7 +1153,7 @@ EXAMPLES
|
|
|
1153
1153
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
1154
1154
|
```
|
|
1155
1155
|
|
|
1156
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1156
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/import/index.ts)_
|
|
1157
1157
|
|
|
1158
1158
|
## `hereya import-repo PROJECT`
|
|
1159
1159
|
|
|
@@ -1183,7 +1183,7 @@ EXAMPLES
|
|
|
1183
1183
|
$ hereya import-repo myProject -w=dev -r=https://github.com/acme/api --clone --chdir=./api
|
|
1184
1184
|
```
|
|
1185
1185
|
|
|
1186
|
-
_See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1186
|
+
_See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/import-repo/index.ts)_
|
|
1187
1187
|
|
|
1188
1188
|
## `hereya init PROJECT`
|
|
1189
1189
|
|
|
@@ -1217,7 +1217,7 @@ EXAMPLES
|
|
|
1217
1217
|
$ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
|
|
1218
1218
|
```
|
|
1219
1219
|
|
|
1220
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1220
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/init/index.ts)_
|
|
1221
1221
|
|
|
1222
1222
|
## `hereya list`
|
|
1223
1223
|
|
|
@@ -1234,7 +1234,7 @@ EXAMPLES
|
|
|
1234
1234
|
$ hereya list
|
|
1235
1235
|
```
|
|
1236
1236
|
|
|
1237
|
-
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1237
|
+
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/list/index.ts)_
|
|
1238
1238
|
|
|
1239
1239
|
## `hereya login [URL]`
|
|
1240
1240
|
|
|
@@ -1263,7 +1263,7 @@ EXAMPLES
|
|
|
1263
1263
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
1264
1264
|
```
|
|
1265
1265
|
|
|
1266
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1266
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/login/index.ts)_
|
|
1267
1267
|
|
|
1268
1268
|
## `hereya logout`
|
|
1269
1269
|
|
|
@@ -1280,7 +1280,7 @@ EXAMPLES
|
|
|
1280
1280
|
$ hereya logout
|
|
1281
1281
|
```
|
|
1282
1282
|
|
|
1283
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1283
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/logout/index.ts)_
|
|
1284
1284
|
|
|
1285
1285
|
## `hereya provid PACKAGE`
|
|
1286
1286
|
|
|
@@ -1308,7 +1308,7 @@ EXAMPLES
|
|
|
1308
1308
|
$ hereya provid hereya/postgres --workspace staging
|
|
1309
1309
|
```
|
|
1310
1310
|
|
|
1311
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1311
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/provid/index.ts)_
|
|
1312
1312
|
|
|
1313
1313
|
## `hereya publish`
|
|
1314
1314
|
|
|
@@ -1331,7 +1331,7 @@ EXAMPLES
|
|
|
1331
1331
|
$ hereya publish --chdir=/path/to/package
|
|
1332
1332
|
```
|
|
1333
1333
|
|
|
1334
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1334
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/publish/index.ts)_
|
|
1335
1335
|
|
|
1336
1336
|
## `hereya remove PACKAGE`
|
|
1337
1337
|
|
|
@@ -1359,7 +1359,7 @@ EXAMPLES
|
|
|
1359
1359
|
$ hereya remove cloudy/docker_postgres
|
|
1360
1360
|
```
|
|
1361
1361
|
|
|
1362
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1362
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/remove/index.ts)_
|
|
1363
1363
|
|
|
1364
1364
|
## `hereya run CMD`
|
|
1365
1365
|
|
|
@@ -1385,7 +1385,7 @@ EXAMPLES
|
|
|
1385
1385
|
$ hereya run -w uat -- node index.js
|
|
1386
1386
|
```
|
|
1387
1387
|
|
|
1388
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1388
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/run/index.ts)_
|
|
1389
1389
|
|
|
1390
1390
|
## `hereya search QUERY`
|
|
1391
1391
|
|
|
@@ -1416,7 +1416,7 @@ EXAMPLES
|
|
|
1416
1416
|
$ hereya search database --json
|
|
1417
1417
|
```
|
|
1418
1418
|
|
|
1419
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1419
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/search/index.ts)_
|
|
1420
1420
|
|
|
1421
1421
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
1422
1422
|
|
|
@@ -1441,7 +1441,7 @@ EXAMPLES
|
|
|
1441
1441
|
$ hereya unbootstrap local
|
|
1442
1442
|
```
|
|
1443
1443
|
|
|
1444
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1444
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/unbootstrap/index.ts)_
|
|
1445
1445
|
|
|
1446
1446
|
## `hereya undeploy`
|
|
1447
1447
|
|
|
@@ -1467,7 +1467,7 @@ EXAMPLES
|
|
|
1467
1467
|
$ hereya undeploy
|
|
1468
1468
|
```
|
|
1469
1469
|
|
|
1470
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1470
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/undeploy/index.ts)_
|
|
1471
1471
|
|
|
1472
1472
|
## `hereya uninit PROJECT`
|
|
1473
1473
|
|
|
@@ -1495,7 +1495,7 @@ EXAMPLES
|
|
|
1495
1495
|
$ hereya uninit myProject -w dev -p prodWorkspace=prod
|
|
1496
1496
|
```
|
|
1497
1497
|
|
|
1498
|
-
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1498
|
+
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/uninit/index.ts)_
|
|
1499
1499
|
|
|
1500
1500
|
## `hereya up`
|
|
1501
1501
|
|
|
@@ -1522,7 +1522,7 @@ EXAMPLES
|
|
|
1522
1522
|
$ hereya up
|
|
1523
1523
|
```
|
|
1524
1524
|
|
|
1525
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1525
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/up/index.ts)_
|
|
1526
1526
|
|
|
1527
1527
|
## `hereya update [VERSION]`
|
|
1528
1528
|
|
|
@@ -1544,7 +1544,7 @@ EXAMPLES
|
|
|
1544
1544
|
$ hereya update 0.75.0
|
|
1545
1545
|
```
|
|
1546
1546
|
|
|
1547
|
-
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1547
|
+
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/update/index.ts)_
|
|
1548
1548
|
|
|
1549
1549
|
## `hereya workspace create NAME`
|
|
1550
1550
|
|
|
@@ -1569,7 +1569,7 @@ EXAMPLES
|
|
|
1569
1569
|
$ hereya workspace create dev
|
|
1570
1570
|
```
|
|
1571
1571
|
|
|
1572
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1572
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/create/index.ts)_
|
|
1573
1573
|
|
|
1574
1574
|
## `hereya workspace delete NAME`
|
|
1575
1575
|
|
|
@@ -1589,7 +1589,7 @@ EXAMPLES
|
|
|
1589
1589
|
$ hereya workspace delete dev
|
|
1590
1590
|
```
|
|
1591
1591
|
|
|
1592
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1592
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/delete/index.ts)_
|
|
1593
1593
|
|
|
1594
1594
|
## `hereya workspace env [NAME]`
|
|
1595
1595
|
|
|
@@ -1615,7 +1615,7 @@ EXAMPLES
|
|
|
1615
1615
|
$ hereya workspace env myEnv -w dev
|
|
1616
1616
|
```
|
|
1617
1617
|
|
|
1618
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1618
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/env/index.ts)_
|
|
1619
1619
|
|
|
1620
1620
|
## `hereya workspace env set`
|
|
1621
1621
|
|
|
@@ -1639,7 +1639,7 @@ EXAMPLES
|
|
|
1639
1639
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1640
1640
|
```
|
|
1641
1641
|
|
|
1642
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1642
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/env/set/index.ts)_
|
|
1643
1643
|
|
|
1644
1644
|
## `hereya workspace env unset`
|
|
1645
1645
|
|
|
@@ -1660,7 +1660,7 @@ EXAMPLES
|
|
|
1660
1660
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1661
1661
|
```
|
|
1662
1662
|
|
|
1663
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1663
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/env/unset/index.ts)_
|
|
1664
1664
|
|
|
1665
1665
|
## `hereya workspace executor install`
|
|
1666
1666
|
|
|
@@ -1689,7 +1689,7 @@ DESCRIPTION
|
|
|
1689
1689
|
- always-on: a long-lived EC2 polls hereya-cloud 24/7 (legacy).
|
|
1690
1690
|
```
|
|
1691
1691
|
|
|
1692
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1692
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/executor/install/index.ts)_
|
|
1693
1693
|
|
|
1694
1694
|
## `hereya workspace executor token`
|
|
1695
1695
|
|
|
@@ -1706,7 +1706,7 @@ DESCRIPTION
|
|
|
1706
1706
|
Generate a workspace-scoped executor token for the remote executor
|
|
1707
1707
|
```
|
|
1708
1708
|
|
|
1709
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1709
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/executor/token/index.ts)_
|
|
1710
1710
|
|
|
1711
1711
|
## `hereya workspace executor uninstall`
|
|
1712
1712
|
|
|
@@ -1730,7 +1730,7 @@ DESCRIPTION
|
|
|
1730
1730
|
controls log output.
|
|
1731
1731
|
```
|
|
1732
1732
|
|
|
1733
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1733
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1734
1734
|
|
|
1735
1735
|
## `hereya workspace install PACKAGE`
|
|
1736
1736
|
|
|
@@ -1757,7 +1757,7 @@ EXAMPLES
|
|
|
1757
1757
|
$ hereya workspace install hereya/aws-cognito
|
|
1758
1758
|
```
|
|
1759
1759
|
|
|
1760
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1760
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/install/index.ts)_
|
|
1761
1761
|
|
|
1762
1762
|
## `hereya workspace list`
|
|
1763
1763
|
|
|
@@ -1781,7 +1781,7 @@ EXAMPLES
|
|
|
1781
1781
|
$ hereya workspace list --org personal
|
|
1782
1782
|
```
|
|
1783
1783
|
|
|
1784
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1784
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/list/index.ts)_
|
|
1785
1785
|
|
|
1786
1786
|
## `hereya workspace set-profile PROFILE`
|
|
1787
1787
|
|
|
@@ -1805,7 +1805,7 @@ EXAMPLES
|
|
|
1805
1805
|
$ hereya workspace set-profile prod-profile -w production
|
|
1806
1806
|
```
|
|
1807
1807
|
|
|
1808
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1808
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/set-profile/index.ts)_
|
|
1809
1809
|
|
|
1810
1810
|
## `hereya workspace uninstall PACKAGE`
|
|
1811
1811
|
|
|
@@ -1832,5 +1832,5 @@ EXAMPLES
|
|
|
1832
1832
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1833
1833
|
```
|
|
1834
1834
|
|
|
1835
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.
|
|
1835
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.100.5/src/commands/workspace/uninstall/index.ts)_
|
|
1836
1836
|
<!-- commandsstop -->
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// MUST stay ES5-compatible. This file is required from bin/run.cjs and
|
|
3
|
+
// bin/dev.cjs, which run on whatever Node version users happen to have
|
|
4
|
+
// on $PATH. Do not use let/const/arrow/import/await/etc.
|
|
5
|
+
/* eslint-disable no-undef, no-var, unicorn/prefer-number-properties, perfectionist/sort-objects, object-shorthand */
|
|
6
|
+
|
|
7
|
+
function parseMajor(version) {
|
|
8
|
+
if (typeof version !== 'string') return 0;
|
|
9
|
+
var match = /^(\d+)/.exec(version);
|
|
10
|
+
return match ? parseInt(match[1], 10) : 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function checkNodeVersion(currentVersion, requiredMajor) {
|
|
14
|
+
var actualMajor = parseMajor(currentVersion);
|
|
15
|
+
return { ok: actualMajor >= requiredMajor, actualMajor: actualMajor };
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function formatError(currentVersion, requiredMajor, execPath) {
|
|
19
|
+
return (
|
|
20
|
+
'hereya-cli requires Node.js >= ' + requiredMajor +
|
|
21
|
+
' (current: ' + currentVersion + ' at ' + execPath + ').\n' +
|
|
22
|
+
'Tip: ensure a modern Node is first on your $PATH, or uninstall ' +
|
|
23
|
+
'leftover nvm/Volta versions.\n'
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
module.exports = {
|
|
28
|
+
checkNodeVersion: checkNodeVersion,
|
|
29
|
+
formatError: formatError,
|
|
30
|
+
parseMajor: parseMajor,
|
|
31
|
+
REQUIRED_NODE_MAJOR: 20,
|
|
32
|
+
};
|
package/bin/dev.cjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// MUST stay ES5-compatible (see bin/check-node.cjs).
|
|
3
|
+
'use strict';
|
|
4
|
+
/* eslint-disable no-undef, no-var, @typescript-eslint/no-require-imports, n/no-process-exit, prefer-destructuring, unicorn/prefer-spread, no-eq-null, eqeqeq, @stylistic/padding-line-between-statements, prefer-arrow-callback */
|
|
5
|
+
var check = require('./check-node.cjs');
|
|
6
|
+
var result = check.checkNodeVersion(process.versions.node, check.REQUIRED_NODE_MAJOR);
|
|
7
|
+
if (!result.ok) {
|
|
8
|
+
process.stderr.write(check.formatError(process.versions.node, check.REQUIRED_NODE_MAJOR, process.execPath));
|
|
9
|
+
process.exit(1);
|
|
10
|
+
}
|
|
11
|
+
var path = require('node:path');
|
|
12
|
+
var spawn = require('node:child_process').spawn;
|
|
13
|
+
var impl = path.join(__dirname, 'dev-impl.mjs');
|
|
14
|
+
var child = spawn(
|
|
15
|
+
process.execPath,
|
|
16
|
+
['--loader', 'ts-node/esm', '--no-warnings=ExperimentalWarning', impl].concat(process.argv.slice(2)),
|
|
17
|
+
{ stdio: 'inherit' }
|
|
18
|
+
);
|
|
19
|
+
child.on('exit', function (code, signal) {
|
|
20
|
+
if (signal) { process.kill(process.pid, signal); return; }
|
|
21
|
+
process.exit(code == null ? 1 : code);
|
|
22
|
+
});
|
package/bin/dev.cmd
CHANGED
package/bin/run.cjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// MUST stay ES5-compatible (see bin/check-node.cjs).
|
|
3
|
+
'use strict';
|
|
4
|
+
/* eslint-disable no-undef, no-var, @typescript-eslint/no-require-imports, n/no-process-exit, unicorn/catch-error-name, @stylistic/padding-line-between-statements, prefer-arrow-callback */
|
|
5
|
+
var check = require('./check-node.cjs');
|
|
6
|
+
var result = check.checkNodeVersion(process.versions.node, check.REQUIRED_NODE_MAJOR);
|
|
7
|
+
if (!result.ok) {
|
|
8
|
+
process.stderr.write(check.formatError(process.versions.node, check.REQUIRED_NODE_MAJOR, process.execPath));
|
|
9
|
+
process.exit(1);
|
|
10
|
+
}
|
|
11
|
+
import('./run.mjs').catch(function (err) {
|
|
12
|
+
process.stderr.write('hereya-cli failed to start: ' + (err && err.stack || err) + '\n');
|
|
13
|
+
process.exit(1);
|
|
14
|
+
});
|
package/bin/run.cmd
CHANGED