hereya-cli 0.89.1 → 0.90.1
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 +65 -65
- package/dist/backend/cloud/cloud-backend/apps-deploy.d.ts +69 -0
- package/dist/backend/cloud/cloud-backend/apps-deploy.js +94 -0
- package/dist/backend/cloud/cloud-backend/apps-versions.d.ts +69 -0
- package/dist/backend/cloud/cloud-backend/apps-versions.js +113 -0
- package/dist/backend/cloud/cloud-backend/executor-jobs.d.ts +75 -0
- package/dist/backend/cloud/cloud-backend/executor-jobs.js +110 -0
- package/dist/backend/cloud/cloud-backend/misc.d.ts +5 -0
- package/dist/backend/cloud/cloud-backend/misc.js +78 -0
- package/dist/backend/cloud/cloud-backend/packages-publish.d.ts +3 -0
- package/dist/backend/cloud/cloud-backend/packages-publish.js +99 -0
- package/dist/backend/cloud/cloud-backend/packages-registry.d.ts +6 -0
- package/dist/backend/cloud/cloud-backend/packages-registry.js +146 -0
- package/dist/backend/cloud/cloud-backend/packages-workspace.d.ts +4 -0
- package/dist/backend/cloud/cloud-backend/packages-workspace.js +50 -0
- package/dist/backend/cloud/cloud-backend/projects.d.ts +7 -0
- package/dist/backend/cloud/cloud-backend/projects.js +122 -0
- package/dist/backend/cloud/cloud-backend/state.d.ts +6 -0
- package/dist/backend/cloud/cloud-backend/state.js +86 -0
- package/dist/backend/cloud/cloud-backend/utils.d.ts +55 -0
- package/dist/backend/cloud/cloud-backend/utils.js +56 -0
- package/dist/backend/cloud/cloud-backend/workspace-env.d.ts +5 -0
- package/dist/backend/cloud/cloud-backend/workspace-env.js +63 -0
- package/dist/backend/cloud/cloud-backend/workspaces.d.ts +7 -0
- package/dist/backend/cloud/cloud-backend/workspaces.js +124 -0
- package/dist/backend/cloud/cloud-backend.d.ts +56 -126
- package/dist/backend/cloud/cloud-backend.js +95 -1089
- package/dist/backend/cloud/cloud-backend.test.setup.d.ts +13 -0
- package/dist/backend/cloud/cloud-backend.test.setup.js +14 -0
- package/dist/backend/local.setup.d.ts +10 -0
- package/dist/backend/local.setup.js +20 -0
- package/dist/commands/executor/start/index.d.ts +1 -11
- package/dist/commands/executor/start/index.js +13 -498
- package/dist/lib/env/test.setup.d.ts +7 -0
- package/dist/lib/env/test.setup.js +18 -0
- package/dist/lib/executor-start/auth.d.ts +2 -0
- package/dist/lib/executor-start/auth.js +21 -0
- package/dist/lib/executor-start/execute-app-job.d.ts +13 -0
- package/dist/lib/executor-start/execute-app-job.js +146 -0
- package/dist/lib/executor-start/execute-deploy-job.d.ts +14 -0
- package/dist/lib/executor-start/execute-deploy-job.js +64 -0
- package/dist/lib/executor-start/execute-init-job.d.ts +14 -0
- package/dist/lib/executor-start/execute-init-job.js +135 -0
- package/dist/lib/executor-start/format.d.ts +13 -0
- package/dist/lib/executor-start/format.js +22 -0
- package/dist/lib/executor-start/job-dispatch.d.ts +15 -0
- package/dist/lib/executor-start/job-dispatch.js +89 -0
- package/dist/lib/package/index.d.ts +4 -4
- package/oclif.manifest.json +52 -52
- 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.90.1 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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/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.90.1/src/commands/env/set/index.ts)_
|
|
783
783
|
|
|
784
784
|
## `hereya executor start`
|
|
785
785
|
|
|
@@ -812,7 +812,7 @@ EXAMPLES
|
|
|
812
812
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
813
813
|
```
|
|
814
814
|
|
|
815
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
815
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/executor/start/index.ts)_
|
|
816
816
|
|
|
817
817
|
## `hereya flow add PACKAGE`
|
|
818
818
|
|
|
@@ -850,7 +850,7 @@ EXAMPLES
|
|
|
850
850
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
851
851
|
```
|
|
852
852
|
|
|
853
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
853
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/flow/add/index.ts)_
|
|
854
854
|
|
|
855
855
|
## `hereya flow docker run IMAGE`
|
|
856
856
|
|
|
@@ -880,7 +880,7 @@ EXAMPLES
|
|
|
880
880
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
881
881
|
```
|
|
882
882
|
|
|
883
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
883
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/flow/docker/run/index.ts)_
|
|
884
884
|
|
|
885
885
|
## `hereya flow down`
|
|
886
886
|
|
|
@@ -914,7 +914,7 @@ EXAMPLES
|
|
|
914
914
|
$ hereya flow down --pin
|
|
915
915
|
```
|
|
916
916
|
|
|
917
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
917
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/flow/down/index.ts)_
|
|
918
918
|
|
|
919
919
|
## `hereya flow env [NAME]`
|
|
920
920
|
|
|
@@ -948,7 +948,7 @@ EXAMPLES
|
|
|
948
948
|
$ hereya flow env -l
|
|
949
949
|
```
|
|
950
950
|
|
|
951
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
951
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/flow/env/index.ts)_
|
|
952
952
|
|
|
953
953
|
## `hereya flow provid PACKAGE`
|
|
954
954
|
|
|
@@ -977,7 +977,7 @@ EXAMPLES
|
|
|
977
977
|
$ hereya flow provid hereya/postgres --pin
|
|
978
978
|
```
|
|
979
979
|
|
|
980
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
980
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/flow/provid/index.ts)_
|
|
981
981
|
|
|
982
982
|
## `hereya flow remove PACKAGE`
|
|
983
983
|
|
|
@@ -1007,7 +1007,7 @@ EXAMPLES
|
|
|
1007
1007
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
1008
1008
|
```
|
|
1009
1009
|
|
|
1010
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1010
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/flow/remove/index.ts)_
|
|
1011
1011
|
|
|
1012
1012
|
## `hereya flow run CMD`
|
|
1013
1013
|
|
|
@@ -1036,7 +1036,7 @@ EXAMPLES
|
|
|
1036
1036
|
$ hereya flow run --pin -- npm test
|
|
1037
1037
|
```
|
|
1038
1038
|
|
|
1039
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1039
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/flow/run/index.ts)_
|
|
1040
1040
|
|
|
1041
1041
|
## `hereya flow up`
|
|
1042
1042
|
|
|
@@ -1070,7 +1070,7 @@ EXAMPLES
|
|
|
1070
1070
|
$ hereya flow up --pin
|
|
1071
1071
|
```
|
|
1072
1072
|
|
|
1073
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1073
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/flow/up/index.ts)_
|
|
1074
1074
|
|
|
1075
1075
|
## `hereya help [COMMAND]`
|
|
1076
1076
|
|
|
@@ -1127,7 +1127,7 @@ EXAMPLES
|
|
|
1127
1127
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
1128
1128
|
```
|
|
1129
1129
|
|
|
1130
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1130
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/import/index.ts)_
|
|
1131
1131
|
|
|
1132
1132
|
## `hereya import-repo PROJECT`
|
|
1133
1133
|
|
|
@@ -1157,7 +1157,7 @@ EXAMPLES
|
|
|
1157
1157
|
$ hereya import-repo myProject -w=dev -r=https://github.com/acme/api --clone --chdir=./api
|
|
1158
1158
|
```
|
|
1159
1159
|
|
|
1160
|
-
_See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1160
|
+
_See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/import-repo/index.ts)_
|
|
1161
1161
|
|
|
1162
1162
|
## `hereya init PROJECT`
|
|
1163
1163
|
|
|
@@ -1191,7 +1191,7 @@ EXAMPLES
|
|
|
1191
1191
|
$ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
|
|
1192
1192
|
```
|
|
1193
1193
|
|
|
1194
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1194
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/init/index.ts)_
|
|
1195
1195
|
|
|
1196
1196
|
## `hereya list`
|
|
1197
1197
|
|
|
@@ -1208,7 +1208,7 @@ EXAMPLES
|
|
|
1208
1208
|
$ hereya list
|
|
1209
1209
|
```
|
|
1210
1210
|
|
|
1211
|
-
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1211
|
+
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/list/index.ts)_
|
|
1212
1212
|
|
|
1213
1213
|
## `hereya login [URL]`
|
|
1214
1214
|
|
|
@@ -1237,7 +1237,7 @@ EXAMPLES
|
|
|
1237
1237
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
1238
1238
|
```
|
|
1239
1239
|
|
|
1240
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1240
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/login/index.ts)_
|
|
1241
1241
|
|
|
1242
1242
|
## `hereya logout`
|
|
1243
1243
|
|
|
@@ -1254,7 +1254,7 @@ EXAMPLES
|
|
|
1254
1254
|
$ hereya logout
|
|
1255
1255
|
```
|
|
1256
1256
|
|
|
1257
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1257
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/logout/index.ts)_
|
|
1258
1258
|
|
|
1259
1259
|
## `hereya provid PACKAGE`
|
|
1260
1260
|
|
|
@@ -1282,7 +1282,7 @@ EXAMPLES
|
|
|
1282
1282
|
$ hereya provid hereya/postgres --workspace staging
|
|
1283
1283
|
```
|
|
1284
1284
|
|
|
1285
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1285
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/provid/index.ts)_
|
|
1286
1286
|
|
|
1287
1287
|
## `hereya publish`
|
|
1288
1288
|
|
|
@@ -1305,7 +1305,7 @@ EXAMPLES
|
|
|
1305
1305
|
$ hereya publish --chdir=/path/to/package
|
|
1306
1306
|
```
|
|
1307
1307
|
|
|
1308
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1308
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/publish/index.ts)_
|
|
1309
1309
|
|
|
1310
1310
|
## `hereya remove PACKAGE`
|
|
1311
1311
|
|
|
@@ -1333,7 +1333,7 @@ EXAMPLES
|
|
|
1333
1333
|
$ hereya remove cloudy/docker_postgres
|
|
1334
1334
|
```
|
|
1335
1335
|
|
|
1336
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1336
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/remove/index.ts)_
|
|
1337
1337
|
|
|
1338
1338
|
## `hereya run CMD`
|
|
1339
1339
|
|
|
@@ -1359,7 +1359,7 @@ EXAMPLES
|
|
|
1359
1359
|
$ hereya run -w uat -- node index.js
|
|
1360
1360
|
```
|
|
1361
1361
|
|
|
1362
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1362
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/run/index.ts)_
|
|
1363
1363
|
|
|
1364
1364
|
## `hereya search QUERY`
|
|
1365
1365
|
|
|
@@ -1390,7 +1390,7 @@ EXAMPLES
|
|
|
1390
1390
|
$ hereya search database --json
|
|
1391
1391
|
```
|
|
1392
1392
|
|
|
1393
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1393
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/search/index.ts)_
|
|
1394
1394
|
|
|
1395
1395
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
1396
1396
|
|
|
@@ -1415,7 +1415,7 @@ EXAMPLES
|
|
|
1415
1415
|
$ hereya unbootstrap local
|
|
1416
1416
|
```
|
|
1417
1417
|
|
|
1418
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1418
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/unbootstrap/index.ts)_
|
|
1419
1419
|
|
|
1420
1420
|
## `hereya undeploy`
|
|
1421
1421
|
|
|
@@ -1441,7 +1441,7 @@ EXAMPLES
|
|
|
1441
1441
|
$ hereya undeploy
|
|
1442
1442
|
```
|
|
1443
1443
|
|
|
1444
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1444
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/undeploy/index.ts)_
|
|
1445
1445
|
|
|
1446
1446
|
## `hereya uninit PROJECT`
|
|
1447
1447
|
|
|
@@ -1469,7 +1469,7 @@ EXAMPLES
|
|
|
1469
1469
|
$ hereya uninit myProject -w dev -p prodWorkspace=prod
|
|
1470
1470
|
```
|
|
1471
1471
|
|
|
1472
|
-
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1472
|
+
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/uninit/index.ts)_
|
|
1473
1473
|
|
|
1474
1474
|
## `hereya up`
|
|
1475
1475
|
|
|
@@ -1496,7 +1496,7 @@ EXAMPLES
|
|
|
1496
1496
|
$ hereya up
|
|
1497
1497
|
```
|
|
1498
1498
|
|
|
1499
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1499
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/up/index.ts)_
|
|
1500
1500
|
|
|
1501
1501
|
## `hereya update [VERSION]`
|
|
1502
1502
|
|
|
@@ -1518,7 +1518,7 @@ EXAMPLES
|
|
|
1518
1518
|
$ hereya update 0.75.0
|
|
1519
1519
|
```
|
|
1520
1520
|
|
|
1521
|
-
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1521
|
+
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/update/index.ts)_
|
|
1522
1522
|
|
|
1523
1523
|
## `hereya workspace create NAME`
|
|
1524
1524
|
|
|
@@ -1543,7 +1543,7 @@ EXAMPLES
|
|
|
1543
1543
|
$ hereya workspace create dev
|
|
1544
1544
|
```
|
|
1545
1545
|
|
|
1546
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1546
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/create/index.ts)_
|
|
1547
1547
|
|
|
1548
1548
|
## `hereya workspace delete NAME`
|
|
1549
1549
|
|
|
@@ -1563,7 +1563,7 @@ EXAMPLES
|
|
|
1563
1563
|
$ hereya workspace delete dev
|
|
1564
1564
|
```
|
|
1565
1565
|
|
|
1566
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1566
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/delete/index.ts)_
|
|
1567
1567
|
|
|
1568
1568
|
## `hereya workspace env [NAME]`
|
|
1569
1569
|
|
|
@@ -1589,7 +1589,7 @@ EXAMPLES
|
|
|
1589
1589
|
$ hereya workspace env myEnv -w dev
|
|
1590
1590
|
```
|
|
1591
1591
|
|
|
1592
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1592
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/env/index.ts)_
|
|
1593
1593
|
|
|
1594
1594
|
## `hereya workspace env set`
|
|
1595
1595
|
|
|
@@ -1613,7 +1613,7 @@ EXAMPLES
|
|
|
1613
1613
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1614
1614
|
```
|
|
1615
1615
|
|
|
1616
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1616
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/env/set/index.ts)_
|
|
1617
1617
|
|
|
1618
1618
|
## `hereya workspace env unset`
|
|
1619
1619
|
|
|
@@ -1634,7 +1634,7 @@ EXAMPLES
|
|
|
1634
1634
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1635
1635
|
```
|
|
1636
1636
|
|
|
1637
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1637
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/env/unset/index.ts)_
|
|
1638
1638
|
|
|
1639
1639
|
## `hereya workspace executor install`
|
|
1640
1640
|
|
|
@@ -1653,7 +1653,7 @@ DESCRIPTION
|
|
|
1653
1653
|
Install a remote executor into a workspace
|
|
1654
1654
|
```
|
|
1655
1655
|
|
|
1656
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1656
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/executor/install/index.ts)_
|
|
1657
1657
|
|
|
1658
1658
|
## `hereya workspace executor token`
|
|
1659
1659
|
|
|
@@ -1670,7 +1670,7 @@ DESCRIPTION
|
|
|
1670
1670
|
Generate a workspace-scoped executor token for the remote executor
|
|
1671
1671
|
```
|
|
1672
1672
|
|
|
1673
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1673
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/executor/token/index.ts)_
|
|
1674
1674
|
|
|
1675
1675
|
## `hereya workspace executor uninstall`
|
|
1676
1676
|
|
|
@@ -1688,7 +1688,7 @@ DESCRIPTION
|
|
|
1688
1688
|
Uninstall the remote executor from a workspace
|
|
1689
1689
|
```
|
|
1690
1690
|
|
|
1691
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1691
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1692
1692
|
|
|
1693
1693
|
## `hereya workspace install PACKAGE`
|
|
1694
1694
|
|
|
@@ -1715,7 +1715,7 @@ EXAMPLES
|
|
|
1715
1715
|
$ hereya workspace install hereya/aws-cognito
|
|
1716
1716
|
```
|
|
1717
1717
|
|
|
1718
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1718
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/install/index.ts)_
|
|
1719
1719
|
|
|
1720
1720
|
## `hereya workspace list`
|
|
1721
1721
|
|
|
@@ -1739,7 +1739,7 @@ EXAMPLES
|
|
|
1739
1739
|
$ hereya workspace list --org personal
|
|
1740
1740
|
```
|
|
1741
1741
|
|
|
1742
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1742
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/list/index.ts)_
|
|
1743
1743
|
|
|
1744
1744
|
## `hereya workspace set-profile PROFILE`
|
|
1745
1745
|
|
|
@@ -1763,7 +1763,7 @@ EXAMPLES
|
|
|
1763
1763
|
$ hereya workspace set-profile prod-profile -w production
|
|
1764
1764
|
```
|
|
1765
1765
|
|
|
1766
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1766
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/set-profile/index.ts)_
|
|
1767
1767
|
|
|
1768
1768
|
## `hereya workspace uninstall PACKAGE`
|
|
1769
1769
|
|
|
@@ -1790,5 +1790,5 @@ EXAMPLES
|
|
|
1790
1790
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1791
1791
|
```
|
|
1792
1792
|
|
|
1793
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1793
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.90.1/src/commands/workspace/uninstall/index.ts)_
|
|
1794
1794
|
<!-- commandsstop -->
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { CloudHttpConfig } from './utils.js';
|
|
2
|
+
export interface AppDeploymentSummary {
|
|
3
|
+
appName?: string;
|
|
4
|
+
env?: Record<string, string>;
|
|
5
|
+
lastJobId?: null | string;
|
|
6
|
+
parameters?: Record<string, unknown>;
|
|
7
|
+
state?: unknown;
|
|
8
|
+
status: string;
|
|
9
|
+
version?: string;
|
|
10
|
+
workspace: string;
|
|
11
|
+
}
|
|
12
|
+
export type DeployAppInput = {
|
|
13
|
+
name: string;
|
|
14
|
+
parameters?: Record<string, string>;
|
|
15
|
+
version?: string;
|
|
16
|
+
workspace: string;
|
|
17
|
+
};
|
|
18
|
+
export type DestroyAppInput = {
|
|
19
|
+
name: string;
|
|
20
|
+
parameters?: Record<string, string>;
|
|
21
|
+
workspace: string;
|
|
22
|
+
};
|
|
23
|
+
export type GetAppDeploymentInput = {
|
|
24
|
+
name: string;
|
|
25
|
+
workspace: string;
|
|
26
|
+
};
|
|
27
|
+
export type UpdateAppDeploymentInput = {
|
|
28
|
+
env?: Record<string, string>;
|
|
29
|
+
lastJobId?: string;
|
|
30
|
+
name: string;
|
|
31
|
+
state?: unknown;
|
|
32
|
+
status: string;
|
|
33
|
+
workspace: string;
|
|
34
|
+
};
|
|
35
|
+
export declare function deployApp(config: CloudHttpConfig, input: DeployAppInput): Promise<{
|
|
36
|
+
deploymentId: string;
|
|
37
|
+
jobId: string;
|
|
38
|
+
success: true;
|
|
39
|
+
} | {
|
|
40
|
+
reason: string;
|
|
41
|
+
success: false;
|
|
42
|
+
}>;
|
|
43
|
+
export declare function destroyApp(config: CloudHttpConfig, input: DestroyAppInput): Promise<{
|
|
44
|
+
jobId: string;
|
|
45
|
+
success: true;
|
|
46
|
+
} | {
|
|
47
|
+
reason: string;
|
|
48
|
+
success: false;
|
|
49
|
+
}>;
|
|
50
|
+
export declare function getAppDeployment(config: CloudHttpConfig, input: GetAppDeploymentInput): Promise<{
|
|
51
|
+
deployment: AppDeploymentSummary;
|
|
52
|
+
success: true;
|
|
53
|
+
} | {
|
|
54
|
+
reason: string;
|
|
55
|
+
success: false;
|
|
56
|
+
}>;
|
|
57
|
+
export declare function listAppDeployments(config: CloudHttpConfig, name: string): Promise<{
|
|
58
|
+
deployments: AppDeploymentSummary[];
|
|
59
|
+
success: true;
|
|
60
|
+
} | {
|
|
61
|
+
reason: string;
|
|
62
|
+
success: false;
|
|
63
|
+
}>;
|
|
64
|
+
export declare function updateAppDeployment(config: CloudHttpConfig, input: UpdateAppDeploymentInput): Promise<{
|
|
65
|
+
reason: string;
|
|
66
|
+
success: false;
|
|
67
|
+
} | {
|
|
68
|
+
success: true;
|
|
69
|
+
}>;
|