hereya-cli 0.90.1 → 0.91.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 +88 -75
- package/dist/backend/cloud/cloud-backend/executor-broker.d.ts +25 -0
- package/dist/backend/cloud/cloud-backend/executor-broker.js +38 -0
- package/dist/backend/cloud/cloud-backend.d.ts +3 -0
- package/dist/backend/cloud/cloud-backend.js +7 -0
- package/dist/backend/common.d.ts +2 -2
- package/dist/commands/executor/start/index.d.ts +3 -0
- package/dist/commands/executor/start/index.js +115 -32
- package/dist/commands/workspace/executor/install/index.d.ts +3 -0
- package/dist/commands/workspace/executor/install/index.js +210 -76
- package/dist/commands/workspace/executor/uninstall/index.d.ts +1 -0
- package/dist/commands/workspace/executor/uninstall/index.js +30 -4
- package/dist/executor/local.d.ts +0 -1
- package/dist/executor/local.js +10 -62
- package/dist/executor/resolve-env.d.ts +88 -0
- package/dist/executor/resolve-env.js +77 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -0
- package/dist/infrastructure/index.d.ts +12 -16
- package/dist/infrastructure/index.js +18 -25
- package/dist/infrastructure/registry.d.ts +38 -0
- package/dist/infrastructure/registry.js +61 -0
- package/dist/lib/package/index.d.ts +22 -22
- package/oclif.manifest.json +94 -54
- 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.91.0 linux-x64 node-v24.14.1
|
|
25
25
|
$ hereya --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ hereya COMMAND
|
|
@@ -128,7 +128,7 @@ EXAMPLES
|
|
|
128
128
|
$ hereya add cloudy/docker_postgres
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
131
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/add/index.ts)_
|
|
132
132
|
|
|
133
133
|
## `hereya app deploy NAME`
|
|
134
134
|
|
|
@@ -162,7 +162,7 @@ EXAMPLES
|
|
|
162
162
|
$ hereya app deploy my-org/my-app -w prod -p organizationId=org-123
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
_See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
165
|
+
_See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/app/deploy/index.ts)_
|
|
166
166
|
|
|
167
167
|
## `hereya app deployments NAME`
|
|
168
168
|
|
|
@@ -182,7 +182,7 @@ EXAMPLES
|
|
|
182
182
|
$ hereya app deployments my-org/my-app
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
-
_See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
185
|
+
_See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/app/deployments/index.ts)_
|
|
186
186
|
|
|
187
187
|
## `hereya app destroy NAME`
|
|
188
188
|
|
|
@@ -211,7 +211,7 @@ EXAMPLES
|
|
|
211
211
|
$ hereya app destroy my-org/my-app -w my-workspace
|
|
212
212
|
```
|
|
213
213
|
|
|
214
|
-
_See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
214
|
+
_See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/app/destroy/index.ts)_
|
|
215
215
|
|
|
216
216
|
## `hereya app env NAME [KEY]`
|
|
217
217
|
|
|
@@ -237,7 +237,7 @@ EXAMPLES
|
|
|
237
237
|
$ hereya app env my-org/my-app -w my-workspace DATABASE_URL
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
_See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
240
|
+
_See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/app/env/index.ts)_
|
|
241
241
|
|
|
242
242
|
## `hereya app list`
|
|
243
243
|
|
|
@@ -254,7 +254,7 @@ EXAMPLES
|
|
|
254
254
|
$ hereya app list
|
|
255
255
|
```
|
|
256
256
|
|
|
257
|
-
_See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
257
|
+
_See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/app/list/index.ts)_
|
|
258
258
|
|
|
259
259
|
## `hereya app new DIRNAME`
|
|
260
260
|
|
|
@@ -280,7 +280,7 @@ EXAMPLES
|
|
|
280
280
|
$ hereya app new ./my-app -n my-org/my-app --description "An ai-app-builder app"
|
|
281
281
|
```
|
|
282
282
|
|
|
283
|
-
_See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
283
|
+
_See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/app/new/index.ts)_
|
|
284
284
|
|
|
285
285
|
## `hereya app status NAME`
|
|
286
286
|
|
|
@@ -303,7 +303,7 @@ EXAMPLES
|
|
|
303
303
|
$ hereya app status my-org/my-app -w my-workspace
|
|
304
304
|
```
|
|
305
305
|
|
|
306
|
-
_See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
306
|
+
_See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/app/status/index.ts)_
|
|
307
307
|
|
|
308
308
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
309
309
|
|
|
@@ -328,7 +328,7 @@ EXAMPLES
|
|
|
328
328
|
$ hereya bootstrap local
|
|
329
329
|
```
|
|
330
330
|
|
|
331
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
331
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/bootstrap/index.ts)_
|
|
332
332
|
|
|
333
333
|
## `hereya clone PROJECT`
|
|
334
334
|
|
|
@@ -353,7 +353,7 @@ EXAMPLES
|
|
|
353
353
|
$ hereya clone myProject --chdir=./myProject
|
|
354
354
|
```
|
|
355
355
|
|
|
356
|
-
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
356
|
+
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/clone/index.ts)_
|
|
357
357
|
|
|
358
358
|
## `hereya config export-backend [FILE]`
|
|
359
359
|
|
|
@@ -375,7 +375,7 @@ EXAMPLES
|
|
|
375
375
|
$ hereya config export-backend ./path/to/export.json
|
|
376
376
|
```
|
|
377
377
|
|
|
378
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
378
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/config/export-backend/index.ts)_
|
|
379
379
|
|
|
380
380
|
## `hereya config get-backend`
|
|
381
381
|
|
|
@@ -392,7 +392,7 @@ EXAMPLES
|
|
|
392
392
|
$ hereya config get-backend
|
|
393
393
|
```
|
|
394
394
|
|
|
395
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
395
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/config/get-backend/index.ts)_
|
|
396
396
|
|
|
397
397
|
## `hereya config import-backend FILE`
|
|
398
398
|
|
|
@@ -412,7 +412,7 @@ EXAMPLES
|
|
|
412
412
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
413
413
|
```
|
|
414
414
|
|
|
415
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
415
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/config/import-backend/index.ts)_
|
|
416
416
|
|
|
417
417
|
## `hereya config use-backend TYPE`
|
|
418
418
|
|
|
@@ -434,7 +434,7 @@ EXAMPLES
|
|
|
434
434
|
$ hereya config use-backend local
|
|
435
435
|
```
|
|
436
436
|
|
|
437
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
437
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/config/use-backend/index.ts)_
|
|
438
438
|
|
|
439
439
|
## `hereya delete-state`
|
|
440
440
|
|
|
@@ -460,7 +460,7 @@ EXAMPLES
|
|
|
460
460
|
$ hereya delete-state --workspace staging
|
|
461
461
|
```
|
|
462
462
|
|
|
463
|
-
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
463
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/delete-state/index.ts)_
|
|
464
464
|
|
|
465
465
|
## `hereya deploy`
|
|
466
466
|
|
|
@@ -486,7 +486,7 @@ EXAMPLES
|
|
|
486
486
|
$ hereya deploy
|
|
487
487
|
```
|
|
488
488
|
|
|
489
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
489
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/deploy/index.ts)_
|
|
490
490
|
|
|
491
491
|
## `hereya devenv config`
|
|
492
492
|
|
|
@@ -506,7 +506,7 @@ EXAMPLES
|
|
|
506
506
|
$ hereya devenv config -w my-workspace
|
|
507
507
|
```
|
|
508
508
|
|
|
509
|
-
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
509
|
+
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/devenv/config/index.ts)_
|
|
510
510
|
|
|
511
511
|
## `hereya devenv install`
|
|
512
512
|
|
|
@@ -531,7 +531,7 @@ EXAMPLES
|
|
|
531
531
|
$ hereya devenv install -w my-workspace -p instanceType=t3.large
|
|
532
532
|
```
|
|
533
533
|
|
|
534
|
-
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
534
|
+
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/devenv/install/index.ts)_
|
|
535
535
|
|
|
536
536
|
## `hereya devenv project init PROJECT`
|
|
537
537
|
|
|
@@ -563,7 +563,7 @@ EXAMPLES
|
|
|
563
563
|
$ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
|
|
564
564
|
```
|
|
565
565
|
|
|
566
|
-
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
566
|
+
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/devenv/project/init/index.ts)_
|
|
567
567
|
|
|
568
568
|
## `hereya devenv project uninit PROJECT`
|
|
569
569
|
|
|
@@ -589,7 +589,7 @@ EXAMPLES
|
|
|
589
589
|
$ hereya devenv project uninit my-app -w my-workspace --force
|
|
590
590
|
```
|
|
591
591
|
|
|
592
|
-
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
592
|
+
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/devenv/project/uninit/index.ts)_
|
|
593
593
|
|
|
594
594
|
## `hereya devenv ssh`
|
|
595
595
|
|
|
@@ -609,7 +609,7 @@ EXAMPLES
|
|
|
609
609
|
$ hereya devenv ssh -w my-workspace
|
|
610
610
|
```
|
|
611
611
|
|
|
612
|
-
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
612
|
+
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/devenv/ssh/index.ts)_
|
|
613
613
|
|
|
614
614
|
## `hereya devenv uninstall`
|
|
615
615
|
|
|
@@ -630,7 +630,7 @@ EXAMPLES
|
|
|
630
630
|
$ hereya devenv uninstall -w my-workspace
|
|
631
631
|
```
|
|
632
632
|
|
|
633
|
-
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
633
|
+
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/devenv/uninstall/index.ts)_
|
|
634
634
|
|
|
635
635
|
## `hereya doc PACKAGE`
|
|
636
636
|
|
|
@@ -663,7 +663,7 @@ EXAMPLES
|
|
|
663
663
|
$ hereya doc my-package --no-doc
|
|
664
664
|
```
|
|
665
665
|
|
|
666
|
-
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
666
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/doc/index.ts)_
|
|
667
667
|
|
|
668
668
|
## `hereya docker run IMAGE`
|
|
669
669
|
|
|
@@ -694,7 +694,7 @@ EXAMPLES
|
|
|
694
694
|
$ hereya docker run myapp:latest -- --rm -v ./data:/data
|
|
695
695
|
```
|
|
696
696
|
|
|
697
|
-
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
697
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/docker/run/index.ts)_
|
|
698
698
|
|
|
699
699
|
## `hereya down`
|
|
700
700
|
|
|
@@ -721,7 +721,7 @@ EXAMPLES
|
|
|
721
721
|
$ hereya down
|
|
722
722
|
```
|
|
723
723
|
|
|
724
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
724
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/down/index.ts)_
|
|
725
725
|
|
|
726
726
|
## `hereya env [NAME]`
|
|
727
727
|
|
|
@@ -752,7 +752,7 @@ EXAMPLES
|
|
|
752
752
|
$ hereya env -w dev -l
|
|
753
753
|
```
|
|
754
754
|
|
|
755
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
755
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/env/index.ts)_
|
|
756
756
|
|
|
757
757
|
## `hereya env set [NAME]`
|
|
758
758
|
|
|
@@ -779,7 +779,7 @@ EXAMPLES
|
|
|
779
779
|
$ hereya env set FOO -v bar -w dev
|
|
780
780
|
```
|
|
781
781
|
|
|
782
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
782
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/env/set/index.ts)_
|
|
783
783
|
|
|
784
784
|
## `hereya executor start`
|
|
785
785
|
|
|
@@ -787,10 +787,11 @@ Start the remote executor process (polls for jobs from hereya cloud).
|
|
|
787
787
|
|
|
788
788
|
```
|
|
789
789
|
USAGE
|
|
790
|
-
$ hereya executor start -w <value> [-c <value>]
|
|
790
|
+
$ hereya executor start -w <value> [-c <value>] [-i <value>]
|
|
791
791
|
|
|
792
792
|
FLAGS
|
|
793
793
|
-c, --concurrency=<value> [default: 10] maximum number of parallel jobs
|
|
794
|
+
-i, --idleTimeout=<value> seconds idle before exit; omit to keep running indefinitely
|
|
794
795
|
-w, --workspace=<value> (required) name of the workspace to poll jobs for
|
|
795
796
|
|
|
796
797
|
DESCRIPTION
|
|
@@ -812,7 +813,7 @@ EXAMPLES
|
|
|
812
813
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
813
814
|
```
|
|
814
815
|
|
|
815
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
816
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/executor/start/index.ts)_
|
|
816
817
|
|
|
817
818
|
## `hereya flow add PACKAGE`
|
|
818
819
|
|
|
@@ -850,7 +851,7 @@ EXAMPLES
|
|
|
850
851
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
851
852
|
```
|
|
852
853
|
|
|
853
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
854
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/flow/add/index.ts)_
|
|
854
855
|
|
|
855
856
|
## `hereya flow docker run IMAGE`
|
|
856
857
|
|
|
@@ -880,7 +881,7 @@ EXAMPLES
|
|
|
880
881
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
881
882
|
```
|
|
882
883
|
|
|
883
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
884
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/flow/docker/run/index.ts)_
|
|
884
885
|
|
|
885
886
|
## `hereya flow down`
|
|
886
887
|
|
|
@@ -914,7 +915,7 @@ EXAMPLES
|
|
|
914
915
|
$ hereya flow down --pin
|
|
915
916
|
```
|
|
916
917
|
|
|
917
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
918
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/flow/down/index.ts)_
|
|
918
919
|
|
|
919
920
|
## `hereya flow env [NAME]`
|
|
920
921
|
|
|
@@ -948,7 +949,7 @@ EXAMPLES
|
|
|
948
949
|
$ hereya flow env -l
|
|
949
950
|
```
|
|
950
951
|
|
|
951
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
952
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/flow/env/index.ts)_
|
|
952
953
|
|
|
953
954
|
## `hereya flow provid PACKAGE`
|
|
954
955
|
|
|
@@ -977,7 +978,7 @@ EXAMPLES
|
|
|
977
978
|
$ hereya flow provid hereya/postgres --pin
|
|
978
979
|
```
|
|
979
980
|
|
|
980
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
981
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/flow/provid/index.ts)_
|
|
981
982
|
|
|
982
983
|
## `hereya flow remove PACKAGE`
|
|
983
984
|
|
|
@@ -1007,7 +1008,7 @@ EXAMPLES
|
|
|
1007
1008
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
1008
1009
|
```
|
|
1009
1010
|
|
|
1010
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1011
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/flow/remove/index.ts)_
|
|
1011
1012
|
|
|
1012
1013
|
## `hereya flow run CMD`
|
|
1013
1014
|
|
|
@@ -1036,7 +1037,7 @@ EXAMPLES
|
|
|
1036
1037
|
$ hereya flow run --pin -- npm test
|
|
1037
1038
|
```
|
|
1038
1039
|
|
|
1039
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1040
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/flow/run/index.ts)_
|
|
1040
1041
|
|
|
1041
1042
|
## `hereya flow up`
|
|
1042
1043
|
|
|
@@ -1070,7 +1071,7 @@ EXAMPLES
|
|
|
1070
1071
|
$ hereya flow up --pin
|
|
1071
1072
|
```
|
|
1072
1073
|
|
|
1073
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1074
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/flow/up/index.ts)_
|
|
1074
1075
|
|
|
1075
1076
|
## `hereya help [COMMAND]`
|
|
1076
1077
|
|
|
@@ -1127,7 +1128,7 @@ EXAMPLES
|
|
|
1127
1128
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
1128
1129
|
```
|
|
1129
1130
|
|
|
1130
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1131
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/import/index.ts)_
|
|
1131
1132
|
|
|
1132
1133
|
## `hereya import-repo PROJECT`
|
|
1133
1134
|
|
|
@@ -1157,7 +1158,7 @@ EXAMPLES
|
|
|
1157
1158
|
$ hereya import-repo myProject -w=dev -r=https://github.com/acme/api --clone --chdir=./api
|
|
1158
1159
|
```
|
|
1159
1160
|
|
|
1160
|
-
_See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1161
|
+
_See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/import-repo/index.ts)_
|
|
1161
1162
|
|
|
1162
1163
|
## `hereya init PROJECT`
|
|
1163
1164
|
|
|
@@ -1191,7 +1192,7 @@ EXAMPLES
|
|
|
1191
1192
|
$ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
|
|
1192
1193
|
```
|
|
1193
1194
|
|
|
1194
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1195
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/init/index.ts)_
|
|
1195
1196
|
|
|
1196
1197
|
## `hereya list`
|
|
1197
1198
|
|
|
@@ -1208,7 +1209,7 @@ EXAMPLES
|
|
|
1208
1209
|
$ hereya list
|
|
1209
1210
|
```
|
|
1210
1211
|
|
|
1211
|
-
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1212
|
+
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/list/index.ts)_
|
|
1212
1213
|
|
|
1213
1214
|
## `hereya login [URL]`
|
|
1214
1215
|
|
|
@@ -1237,7 +1238,7 @@ EXAMPLES
|
|
|
1237
1238
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
1238
1239
|
```
|
|
1239
1240
|
|
|
1240
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1241
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/login/index.ts)_
|
|
1241
1242
|
|
|
1242
1243
|
## `hereya logout`
|
|
1243
1244
|
|
|
@@ -1254,7 +1255,7 @@ EXAMPLES
|
|
|
1254
1255
|
$ hereya logout
|
|
1255
1256
|
```
|
|
1256
1257
|
|
|
1257
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1258
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/logout/index.ts)_
|
|
1258
1259
|
|
|
1259
1260
|
## `hereya provid PACKAGE`
|
|
1260
1261
|
|
|
@@ -1282,7 +1283,7 @@ EXAMPLES
|
|
|
1282
1283
|
$ hereya provid hereya/postgres --workspace staging
|
|
1283
1284
|
```
|
|
1284
1285
|
|
|
1285
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1286
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/provid/index.ts)_
|
|
1286
1287
|
|
|
1287
1288
|
## `hereya publish`
|
|
1288
1289
|
|
|
@@ -1305,7 +1306,7 @@ EXAMPLES
|
|
|
1305
1306
|
$ hereya publish --chdir=/path/to/package
|
|
1306
1307
|
```
|
|
1307
1308
|
|
|
1308
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1309
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/publish/index.ts)_
|
|
1309
1310
|
|
|
1310
1311
|
## `hereya remove PACKAGE`
|
|
1311
1312
|
|
|
@@ -1333,7 +1334,7 @@ EXAMPLES
|
|
|
1333
1334
|
$ hereya remove cloudy/docker_postgres
|
|
1334
1335
|
```
|
|
1335
1336
|
|
|
1336
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1337
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/remove/index.ts)_
|
|
1337
1338
|
|
|
1338
1339
|
## `hereya run CMD`
|
|
1339
1340
|
|
|
@@ -1359,7 +1360,7 @@ EXAMPLES
|
|
|
1359
1360
|
$ hereya run -w uat -- node index.js
|
|
1360
1361
|
```
|
|
1361
1362
|
|
|
1362
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1363
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/run/index.ts)_
|
|
1363
1364
|
|
|
1364
1365
|
## `hereya search QUERY`
|
|
1365
1366
|
|
|
@@ -1390,7 +1391,7 @@ EXAMPLES
|
|
|
1390
1391
|
$ hereya search database --json
|
|
1391
1392
|
```
|
|
1392
1393
|
|
|
1393
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1394
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/search/index.ts)_
|
|
1394
1395
|
|
|
1395
1396
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
1396
1397
|
|
|
@@ -1415,7 +1416,7 @@ EXAMPLES
|
|
|
1415
1416
|
$ hereya unbootstrap local
|
|
1416
1417
|
```
|
|
1417
1418
|
|
|
1418
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1419
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/unbootstrap/index.ts)_
|
|
1419
1420
|
|
|
1420
1421
|
## `hereya undeploy`
|
|
1421
1422
|
|
|
@@ -1441,7 +1442,7 @@ EXAMPLES
|
|
|
1441
1442
|
$ hereya undeploy
|
|
1442
1443
|
```
|
|
1443
1444
|
|
|
1444
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1445
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/undeploy/index.ts)_
|
|
1445
1446
|
|
|
1446
1447
|
## `hereya uninit PROJECT`
|
|
1447
1448
|
|
|
@@ -1469,7 +1470,7 @@ EXAMPLES
|
|
|
1469
1470
|
$ hereya uninit myProject -w dev -p prodWorkspace=prod
|
|
1470
1471
|
```
|
|
1471
1472
|
|
|
1472
|
-
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1473
|
+
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/uninit/index.ts)_
|
|
1473
1474
|
|
|
1474
1475
|
## `hereya up`
|
|
1475
1476
|
|
|
@@ -1496,7 +1497,7 @@ EXAMPLES
|
|
|
1496
1497
|
$ hereya up
|
|
1497
1498
|
```
|
|
1498
1499
|
|
|
1499
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1500
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/up/index.ts)_
|
|
1500
1501
|
|
|
1501
1502
|
## `hereya update [VERSION]`
|
|
1502
1503
|
|
|
@@ -1518,7 +1519,7 @@ EXAMPLES
|
|
|
1518
1519
|
$ hereya update 0.75.0
|
|
1519
1520
|
```
|
|
1520
1521
|
|
|
1521
|
-
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1522
|
+
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/update/index.ts)_
|
|
1522
1523
|
|
|
1523
1524
|
## `hereya workspace create NAME`
|
|
1524
1525
|
|
|
@@ -1543,7 +1544,7 @@ EXAMPLES
|
|
|
1543
1544
|
$ hereya workspace create dev
|
|
1544
1545
|
```
|
|
1545
1546
|
|
|
1546
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1547
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/create/index.ts)_
|
|
1547
1548
|
|
|
1548
1549
|
## `hereya workspace delete NAME`
|
|
1549
1550
|
|
|
@@ -1563,7 +1564,7 @@ EXAMPLES
|
|
|
1563
1564
|
$ hereya workspace delete dev
|
|
1564
1565
|
```
|
|
1565
1566
|
|
|
1566
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1567
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/delete/index.ts)_
|
|
1567
1568
|
|
|
1568
1569
|
## `hereya workspace env [NAME]`
|
|
1569
1570
|
|
|
@@ -1589,7 +1590,7 @@ EXAMPLES
|
|
|
1589
1590
|
$ hereya workspace env myEnv -w dev
|
|
1590
1591
|
```
|
|
1591
1592
|
|
|
1592
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1593
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/env/index.ts)_
|
|
1593
1594
|
|
|
1594
1595
|
## `hereya workspace env set`
|
|
1595
1596
|
|
|
@@ -1613,7 +1614,7 @@ EXAMPLES
|
|
|
1613
1614
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1614
1615
|
```
|
|
1615
1616
|
|
|
1616
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1617
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/env/set/index.ts)_
|
|
1617
1618
|
|
|
1618
1619
|
## `hereya workspace env unset`
|
|
1619
1620
|
|
|
@@ -1634,26 +1635,34 @@ EXAMPLES
|
|
|
1634
1635
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1635
1636
|
```
|
|
1636
1637
|
|
|
1637
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1638
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/env/unset/index.ts)_
|
|
1638
1639
|
|
|
1639
1640
|
## `hereya workspace executor install`
|
|
1640
1641
|
|
|
1641
|
-
Install a remote executor into a workspace
|
|
1642
|
+
Install a remote executor into a workspace.
|
|
1642
1643
|
|
|
1643
1644
|
```
|
|
1644
1645
|
USAGE
|
|
1645
|
-
$ hereya workspace executor install -w <value> [--debug] [-f]
|
|
1646
|
+
$ hereya workspace executor install -w <value> [--debug] [-f] [--mode ephemeral|always-on] [-p <value>...]
|
|
1646
1647
|
|
|
1647
1648
|
FLAGS
|
|
1648
|
-
-f, --force
|
|
1649
|
-
-
|
|
1650
|
-
|
|
1649
|
+
-f, --force force reinstall even if executor is already installed
|
|
1650
|
+
-p, --parameter=<value>... parameter for the package, in the form of 'key=value'. Can be specified multiple times.
|
|
1651
|
+
-w, --workspace=<value> (required) name of the workspace
|
|
1652
|
+
--debug enable debug mode
|
|
1653
|
+
--mode=<option> [default: ephemeral] executor mode: ephemeral (Lambda + on-demand EC2) or always-on
|
|
1654
|
+
(legacy)
|
|
1655
|
+
<options: ephemeral|always-on>
|
|
1651
1656
|
|
|
1652
1657
|
DESCRIPTION
|
|
1653
|
-
Install a remote executor into a workspace
|
|
1658
|
+
Install a remote executor into a workspace.
|
|
1659
|
+
|
|
1660
|
+
Two modes are supported:
|
|
1661
|
+
- ephemeral (default): provisions hereya/aws-executor-broker (Lambda + on-demand EC2).
|
|
1662
|
+
- always-on: provisions hereya/remote-executor-aws (legacy always-on EC2).
|
|
1654
1663
|
```
|
|
1655
1664
|
|
|
1656
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1665
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/executor/install/index.ts)_
|
|
1657
1666
|
|
|
1658
1667
|
## `hereya workspace executor token`
|
|
1659
1668
|
|
|
@@ -1670,25 +1679,29 @@ DESCRIPTION
|
|
|
1670
1679
|
Generate a workspace-scoped executor token for the remote executor
|
|
1671
1680
|
```
|
|
1672
1681
|
|
|
1673
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1682
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/executor/token/index.ts)_
|
|
1674
1683
|
|
|
1675
1684
|
## `hereya workspace executor uninstall`
|
|
1676
1685
|
|
|
1677
|
-
Uninstall the remote executor from a workspace
|
|
1686
|
+
Uninstall the remote executor from a workspace.
|
|
1678
1687
|
|
|
1679
1688
|
```
|
|
1680
1689
|
USAGE
|
|
1681
|
-
$ hereya workspace executor uninstall -w <value> [--debug]
|
|
1690
|
+
$ hereya workspace executor uninstall -w <value> [--debug] [--mode ephemeral|always-on]
|
|
1682
1691
|
|
|
1683
1692
|
FLAGS
|
|
1684
1693
|
-w, --workspace=<value> (required) name of the workspace
|
|
1685
1694
|
--debug enable debug mode
|
|
1695
|
+
--mode=<option> [default: ephemeral] executor mode used at install time
|
|
1696
|
+
<options: ephemeral|always-on>
|
|
1686
1697
|
|
|
1687
1698
|
DESCRIPTION
|
|
1688
|
-
Uninstall the remote executor from a workspace
|
|
1699
|
+
Uninstall the remote executor from a workspace.
|
|
1700
|
+
|
|
1701
|
+
The --mode flag must match the mode used at install time (default: ephemeral).
|
|
1689
1702
|
```
|
|
1690
1703
|
|
|
1691
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1704
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1692
1705
|
|
|
1693
1706
|
## `hereya workspace install PACKAGE`
|
|
1694
1707
|
|
|
@@ -1715,7 +1728,7 @@ EXAMPLES
|
|
|
1715
1728
|
$ hereya workspace install hereya/aws-cognito
|
|
1716
1729
|
```
|
|
1717
1730
|
|
|
1718
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1731
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/install/index.ts)_
|
|
1719
1732
|
|
|
1720
1733
|
## `hereya workspace list`
|
|
1721
1734
|
|
|
@@ -1739,7 +1752,7 @@ EXAMPLES
|
|
|
1739
1752
|
$ hereya workspace list --org personal
|
|
1740
1753
|
```
|
|
1741
1754
|
|
|
1742
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1755
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/list/index.ts)_
|
|
1743
1756
|
|
|
1744
1757
|
## `hereya workspace set-profile PROFILE`
|
|
1745
1758
|
|
|
@@ -1763,7 +1776,7 @@ EXAMPLES
|
|
|
1763
1776
|
$ hereya workspace set-profile prod-profile -w production
|
|
1764
1777
|
```
|
|
1765
1778
|
|
|
1766
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1779
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/set-profile/index.ts)_
|
|
1767
1780
|
|
|
1768
1781
|
## `hereya workspace uninstall PACKAGE`
|
|
1769
1782
|
|
|
@@ -1790,5 +1803,5 @@ EXAMPLES
|
|
|
1790
1803
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1791
1804
|
```
|
|
1792
1805
|
|
|
1793
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1806
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.91.0/src/commands/workspace/uninstall/index.ts)_
|
|
1794
1807
|
<!-- commandsstop -->
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CloudHttpConfig } from './utils.js';
|
|
2
|
+
export interface RegisterExecutorBrokerInput {
|
|
3
|
+
brokerVersion: string;
|
|
4
|
+
brokerWebhookUrl: string;
|
|
5
|
+
metadata: Record<string, unknown>;
|
|
6
|
+
provider: 'aws';
|
|
7
|
+
workspace: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UnregisterExecutorBrokerInput {
|
|
10
|
+
workspace: string;
|
|
11
|
+
}
|
|
12
|
+
export type RegisterExecutorBrokerOutput = {
|
|
13
|
+
reason: string;
|
|
14
|
+
success: false;
|
|
15
|
+
} | {
|
|
16
|
+
success: true;
|
|
17
|
+
};
|
|
18
|
+
export type UnregisterExecutorBrokerOutput = {
|
|
19
|
+
reason: string;
|
|
20
|
+
success: false;
|
|
21
|
+
} | {
|
|
22
|
+
success: true;
|
|
23
|
+
};
|
|
24
|
+
export declare function registerExecutorBroker(config: CloudHttpConfig, input: RegisterExecutorBrokerInput): Promise<RegisterExecutorBrokerOutput>;
|
|
25
|
+
export declare function unregisterExecutorBroker(config: CloudHttpConfig, input: UnregisterExecutorBrokerInput): Promise<UnregisterExecutorBrokerOutput>;
|