hereya-cli 0.84.0 → 0.85.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 +66 -71
- package/dist/backend/cloud/cloud-backend.d.ts +13 -1
- package/dist/backend/cloud/cloud-backend.js +23 -2
- package/dist/commands/app/deploy/index.d.ts +0 -2
- package/dist/commands/app/deploy/index.js +15 -29
- package/dist/commands/executor/start/index.d.ts +2 -0
- package/dist/commands/executor/start/index.js +96 -22
- package/dist/commands/publish/index.d.ts +3 -0
- package/dist/commands/publish/index.js +25 -0
- package/dist/lib/app-parameters.d.ts +41 -0
- package/dist/lib/app-parameters.js +120 -0
- package/dist/lib/package/index.d.ts +62 -0
- package/dist/lib/package/index.js +20 -0
- package/oclif.manifest.json +111 -133
- package/package.json +1 -1
- package/dist/lib/app-vars.d.ts +0 -10
- package/dist/lib/app-vars.js +0 -45
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.85.0 linux-x64 node-v24.14.1
|
|
25
25
|
$ hereya --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ hereya COMMAND
|
|
@@ -127,7 +127,7 @@ EXAMPLES
|
|
|
127
127
|
$ hereya add cloudy/docker_postgres
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
130
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/add/index.ts)_
|
|
131
131
|
|
|
132
132
|
## `hereya app deploy NAME`
|
|
133
133
|
|
|
@@ -135,17 +135,14 @@ Deploy a hereya-app to a workspace.
|
|
|
135
135
|
|
|
136
136
|
```
|
|
137
137
|
USAGE
|
|
138
|
-
$ hereya app deploy NAME -w <value> [-p <value>...] [
|
|
138
|
+
$ hereya app deploy NAME -w <value> [-p <value>...] [--version <value>]
|
|
139
139
|
|
|
140
140
|
ARGUMENTS
|
|
141
141
|
NAME app name in org/name format
|
|
142
142
|
|
|
143
143
|
FLAGS
|
|
144
|
-
-V, --vars=<value> YAML string mapping hereyavars filename -> YAML body (mutually exclusive with --vars-file)
|
|
145
144
|
-p, --parameter=<value>... [default: ] parameter for the app deployment, in the form of key=value (repeatable)
|
|
146
145
|
-w, --workspace=<value> (required) name of the workspace to deploy the app to
|
|
147
|
-
--vars-file=<value> path to a YAML file mapping hereyavars filename -> YAML body (mutually exclusive with
|
|
148
|
-
--vars)
|
|
149
146
|
--version=<value> specific app version to deploy (defaults to latest)
|
|
150
147
|
|
|
151
148
|
DESCRIPTION
|
|
@@ -156,12 +153,10 @@ EXAMPLES
|
|
|
156
153
|
|
|
157
154
|
$ hereya app deploy my-org/my-app -w prod --version 1.2.0
|
|
158
155
|
|
|
159
|
-
$ hereya app deploy my-org/my-app -w prod -
|
|
160
|
-
|
|
161
|
-
$ hereya app deploy my-org/my-app -w prod --vars-file ./hereyavars.yaml
|
|
156
|
+
$ hereya app deploy my-org/my-app -w prod -p organizationId=org-123
|
|
162
157
|
```
|
|
163
158
|
|
|
164
|
-
_See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
159
|
+
_See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/app/deploy/index.ts)_
|
|
165
160
|
|
|
166
161
|
## `hereya app deployments NAME`
|
|
167
162
|
|
|
@@ -181,7 +176,7 @@ EXAMPLES
|
|
|
181
176
|
$ hereya app deployments my-org/my-app
|
|
182
177
|
```
|
|
183
178
|
|
|
184
|
-
_See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
179
|
+
_See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/app/deployments/index.ts)_
|
|
185
180
|
|
|
186
181
|
## `hereya app destroy NAME`
|
|
187
182
|
|
|
@@ -204,7 +199,7 @@ EXAMPLES
|
|
|
204
199
|
$ hereya app destroy my-org/my-app -w my-workspace
|
|
205
200
|
```
|
|
206
201
|
|
|
207
|
-
_See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
202
|
+
_See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/app/destroy/index.ts)_
|
|
208
203
|
|
|
209
204
|
## `hereya app env NAME [KEY]`
|
|
210
205
|
|
|
@@ -230,7 +225,7 @@ EXAMPLES
|
|
|
230
225
|
$ hereya app env my-org/my-app -w my-workspace DATABASE_URL
|
|
231
226
|
```
|
|
232
227
|
|
|
233
|
-
_See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
228
|
+
_See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/app/env/index.ts)_
|
|
234
229
|
|
|
235
230
|
## `hereya app list`
|
|
236
231
|
|
|
@@ -247,7 +242,7 @@ EXAMPLES
|
|
|
247
242
|
$ hereya app list
|
|
248
243
|
```
|
|
249
244
|
|
|
250
|
-
_See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
245
|
+
_See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/app/list/index.ts)_
|
|
251
246
|
|
|
252
247
|
## `hereya app new DIRNAME`
|
|
253
248
|
|
|
@@ -273,7 +268,7 @@ EXAMPLES
|
|
|
273
268
|
$ hereya app new ./my-app -n my-org/my-app --description "An ai-app-builder app"
|
|
274
269
|
```
|
|
275
270
|
|
|
276
|
-
_See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
271
|
+
_See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/app/new/index.ts)_
|
|
277
272
|
|
|
278
273
|
## `hereya app status NAME`
|
|
279
274
|
|
|
@@ -296,7 +291,7 @@ EXAMPLES
|
|
|
296
291
|
$ hereya app status my-org/my-app -w my-workspace
|
|
297
292
|
```
|
|
298
293
|
|
|
299
|
-
_See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
294
|
+
_See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/app/status/index.ts)_
|
|
300
295
|
|
|
301
296
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
302
297
|
|
|
@@ -321,7 +316,7 @@ EXAMPLES
|
|
|
321
316
|
$ hereya bootstrap local
|
|
322
317
|
```
|
|
323
318
|
|
|
324
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
319
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/bootstrap/index.ts)_
|
|
325
320
|
|
|
326
321
|
## `hereya clone PROJECT`
|
|
327
322
|
|
|
@@ -346,7 +341,7 @@ EXAMPLES
|
|
|
346
341
|
$ hereya clone myProject --chdir=./myProject
|
|
347
342
|
```
|
|
348
343
|
|
|
349
|
-
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
344
|
+
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/clone/index.ts)_
|
|
350
345
|
|
|
351
346
|
## `hereya config export-backend [FILE]`
|
|
352
347
|
|
|
@@ -368,7 +363,7 @@ EXAMPLES
|
|
|
368
363
|
$ hereya config export-backend ./path/to/export.json
|
|
369
364
|
```
|
|
370
365
|
|
|
371
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
366
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/config/export-backend/index.ts)_
|
|
372
367
|
|
|
373
368
|
## `hereya config get-backend`
|
|
374
369
|
|
|
@@ -385,7 +380,7 @@ EXAMPLES
|
|
|
385
380
|
$ hereya config get-backend
|
|
386
381
|
```
|
|
387
382
|
|
|
388
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
383
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/config/get-backend/index.ts)_
|
|
389
384
|
|
|
390
385
|
## `hereya config import-backend FILE`
|
|
391
386
|
|
|
@@ -405,7 +400,7 @@ EXAMPLES
|
|
|
405
400
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
406
401
|
```
|
|
407
402
|
|
|
408
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
403
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/config/import-backend/index.ts)_
|
|
409
404
|
|
|
410
405
|
## `hereya config use-backend TYPE`
|
|
411
406
|
|
|
@@ -427,7 +422,7 @@ EXAMPLES
|
|
|
427
422
|
$ hereya config use-backend local
|
|
428
423
|
```
|
|
429
424
|
|
|
430
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
425
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/config/use-backend/index.ts)_
|
|
431
426
|
|
|
432
427
|
## `hereya delete-state`
|
|
433
428
|
|
|
@@ -453,7 +448,7 @@ EXAMPLES
|
|
|
453
448
|
$ hereya delete-state --workspace staging
|
|
454
449
|
```
|
|
455
450
|
|
|
456
|
-
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
451
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/delete-state/index.ts)_
|
|
457
452
|
|
|
458
453
|
## `hereya deploy`
|
|
459
454
|
|
|
@@ -479,7 +474,7 @@ EXAMPLES
|
|
|
479
474
|
$ hereya deploy
|
|
480
475
|
```
|
|
481
476
|
|
|
482
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
477
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/deploy/index.ts)_
|
|
483
478
|
|
|
484
479
|
## `hereya devenv config`
|
|
485
480
|
|
|
@@ -499,7 +494,7 @@ EXAMPLES
|
|
|
499
494
|
$ hereya devenv config -w my-workspace
|
|
500
495
|
```
|
|
501
496
|
|
|
502
|
-
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
497
|
+
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/devenv/config/index.ts)_
|
|
503
498
|
|
|
504
499
|
## `hereya devenv install`
|
|
505
500
|
|
|
@@ -524,7 +519,7 @@ EXAMPLES
|
|
|
524
519
|
$ hereya devenv install -w my-workspace -p instanceType=t3.large
|
|
525
520
|
```
|
|
526
521
|
|
|
527
|
-
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
522
|
+
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/devenv/install/index.ts)_
|
|
528
523
|
|
|
529
524
|
## `hereya devenv project init PROJECT`
|
|
530
525
|
|
|
@@ -556,7 +551,7 @@ EXAMPLES
|
|
|
556
551
|
$ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
|
|
557
552
|
```
|
|
558
553
|
|
|
559
|
-
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
554
|
+
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/devenv/project/init/index.ts)_
|
|
560
555
|
|
|
561
556
|
## `hereya devenv project uninit PROJECT`
|
|
562
557
|
|
|
@@ -582,7 +577,7 @@ EXAMPLES
|
|
|
582
577
|
$ hereya devenv project uninit my-app -w my-workspace --force
|
|
583
578
|
```
|
|
584
579
|
|
|
585
|
-
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
580
|
+
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/devenv/project/uninit/index.ts)_
|
|
586
581
|
|
|
587
582
|
## `hereya devenv ssh`
|
|
588
583
|
|
|
@@ -602,7 +597,7 @@ EXAMPLES
|
|
|
602
597
|
$ hereya devenv ssh -w my-workspace
|
|
603
598
|
```
|
|
604
599
|
|
|
605
|
-
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
600
|
+
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/devenv/ssh/index.ts)_
|
|
606
601
|
|
|
607
602
|
## `hereya devenv uninstall`
|
|
608
603
|
|
|
@@ -623,7 +618,7 @@ EXAMPLES
|
|
|
623
618
|
$ hereya devenv uninstall -w my-workspace
|
|
624
619
|
```
|
|
625
620
|
|
|
626
|
-
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
621
|
+
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/devenv/uninstall/index.ts)_
|
|
627
622
|
|
|
628
623
|
## `hereya doc PACKAGE`
|
|
629
624
|
|
|
@@ -656,7 +651,7 @@ EXAMPLES
|
|
|
656
651
|
$ hereya doc my-package --no-doc
|
|
657
652
|
```
|
|
658
653
|
|
|
659
|
-
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
654
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/doc/index.ts)_
|
|
660
655
|
|
|
661
656
|
## `hereya docker run IMAGE`
|
|
662
657
|
|
|
@@ -687,7 +682,7 @@ EXAMPLES
|
|
|
687
682
|
$ hereya docker run myapp:latest -- --rm -v ./data:/data
|
|
688
683
|
```
|
|
689
684
|
|
|
690
|
-
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
685
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/docker/run/index.ts)_
|
|
691
686
|
|
|
692
687
|
## `hereya down`
|
|
693
688
|
|
|
@@ -714,7 +709,7 @@ EXAMPLES
|
|
|
714
709
|
$ hereya down
|
|
715
710
|
```
|
|
716
711
|
|
|
717
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
712
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/down/index.ts)_
|
|
718
713
|
|
|
719
714
|
## `hereya env [NAME]`
|
|
720
715
|
|
|
@@ -745,7 +740,7 @@ EXAMPLES
|
|
|
745
740
|
$ hereya env -w dev -l
|
|
746
741
|
```
|
|
747
742
|
|
|
748
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
743
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/env/index.ts)_
|
|
749
744
|
|
|
750
745
|
## `hereya env set [NAME]`
|
|
751
746
|
|
|
@@ -772,7 +767,7 @@ EXAMPLES
|
|
|
772
767
|
$ hereya env set FOO -v bar -w dev
|
|
773
768
|
```
|
|
774
769
|
|
|
775
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
770
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/env/set/index.ts)_
|
|
776
771
|
|
|
777
772
|
## `hereya executor start`
|
|
778
773
|
|
|
@@ -805,7 +800,7 @@ EXAMPLES
|
|
|
805
800
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
806
801
|
```
|
|
807
802
|
|
|
808
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
803
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/executor/start/index.ts)_
|
|
809
804
|
|
|
810
805
|
## `hereya flow add PACKAGE`
|
|
811
806
|
|
|
@@ -843,7 +838,7 @@ EXAMPLES
|
|
|
843
838
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
844
839
|
```
|
|
845
840
|
|
|
846
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
841
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/flow/add/index.ts)_
|
|
847
842
|
|
|
848
843
|
## `hereya flow docker run IMAGE`
|
|
849
844
|
|
|
@@ -873,7 +868,7 @@ EXAMPLES
|
|
|
873
868
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
874
869
|
```
|
|
875
870
|
|
|
876
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
871
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/flow/docker/run/index.ts)_
|
|
877
872
|
|
|
878
873
|
## `hereya flow down`
|
|
879
874
|
|
|
@@ -907,7 +902,7 @@ EXAMPLES
|
|
|
907
902
|
$ hereya flow down --pin
|
|
908
903
|
```
|
|
909
904
|
|
|
910
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
905
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/flow/down/index.ts)_
|
|
911
906
|
|
|
912
907
|
## `hereya flow env [NAME]`
|
|
913
908
|
|
|
@@ -941,7 +936,7 @@ EXAMPLES
|
|
|
941
936
|
$ hereya flow env -l
|
|
942
937
|
```
|
|
943
938
|
|
|
944
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
939
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/flow/env/index.ts)_
|
|
945
940
|
|
|
946
941
|
## `hereya flow provid PACKAGE`
|
|
947
942
|
|
|
@@ -970,7 +965,7 @@ EXAMPLES
|
|
|
970
965
|
$ hereya flow provid hereya/postgres --pin
|
|
971
966
|
```
|
|
972
967
|
|
|
973
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
968
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/flow/provid/index.ts)_
|
|
974
969
|
|
|
975
970
|
## `hereya flow remove PACKAGE`
|
|
976
971
|
|
|
@@ -1000,7 +995,7 @@ EXAMPLES
|
|
|
1000
995
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
1001
996
|
```
|
|
1002
997
|
|
|
1003
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
998
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/flow/remove/index.ts)_
|
|
1004
999
|
|
|
1005
1000
|
## `hereya flow run CMD`
|
|
1006
1001
|
|
|
@@ -1029,7 +1024,7 @@ EXAMPLES
|
|
|
1029
1024
|
$ hereya flow run --pin -- npm test
|
|
1030
1025
|
```
|
|
1031
1026
|
|
|
1032
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1027
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/flow/run/index.ts)_
|
|
1033
1028
|
|
|
1034
1029
|
## `hereya flow up`
|
|
1035
1030
|
|
|
@@ -1063,7 +1058,7 @@ EXAMPLES
|
|
|
1063
1058
|
$ hereya flow up --pin
|
|
1064
1059
|
```
|
|
1065
1060
|
|
|
1066
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1061
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/flow/up/index.ts)_
|
|
1067
1062
|
|
|
1068
1063
|
## `hereya help [COMMAND]`
|
|
1069
1064
|
|
|
@@ -1120,7 +1115,7 @@ EXAMPLES
|
|
|
1120
1115
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
1121
1116
|
```
|
|
1122
1117
|
|
|
1123
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1118
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/import/index.ts)_
|
|
1124
1119
|
|
|
1125
1120
|
## `hereya init PROJECT`
|
|
1126
1121
|
|
|
@@ -1154,7 +1149,7 @@ EXAMPLES
|
|
|
1154
1149
|
$ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
|
|
1155
1150
|
```
|
|
1156
1151
|
|
|
1157
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1152
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/init/index.ts)_
|
|
1158
1153
|
|
|
1159
1154
|
## `hereya list`
|
|
1160
1155
|
|
|
@@ -1171,7 +1166,7 @@ EXAMPLES
|
|
|
1171
1166
|
$ hereya list
|
|
1172
1167
|
```
|
|
1173
1168
|
|
|
1174
|
-
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1169
|
+
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/list/index.ts)_
|
|
1175
1170
|
|
|
1176
1171
|
## `hereya login [URL]`
|
|
1177
1172
|
|
|
@@ -1200,7 +1195,7 @@ EXAMPLES
|
|
|
1200
1195
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
1201
1196
|
```
|
|
1202
1197
|
|
|
1203
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1198
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/login/index.ts)_
|
|
1204
1199
|
|
|
1205
1200
|
## `hereya logout`
|
|
1206
1201
|
|
|
@@ -1217,7 +1212,7 @@ EXAMPLES
|
|
|
1217
1212
|
$ hereya logout
|
|
1218
1213
|
```
|
|
1219
1214
|
|
|
1220
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1215
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/logout/index.ts)_
|
|
1221
1216
|
|
|
1222
1217
|
## `hereya provid PACKAGE`
|
|
1223
1218
|
|
|
@@ -1245,7 +1240,7 @@ EXAMPLES
|
|
|
1245
1240
|
$ hereya provid hereya/postgres --workspace staging
|
|
1246
1241
|
```
|
|
1247
1242
|
|
|
1248
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1243
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/provid/index.ts)_
|
|
1249
1244
|
|
|
1250
1245
|
## `hereya publish`
|
|
1251
1246
|
|
|
@@ -1268,7 +1263,7 @@ EXAMPLES
|
|
|
1268
1263
|
$ hereya publish --chdir=/path/to/package
|
|
1269
1264
|
```
|
|
1270
1265
|
|
|
1271
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1266
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/publish/index.ts)_
|
|
1272
1267
|
|
|
1273
1268
|
## `hereya remove PACKAGE`
|
|
1274
1269
|
|
|
@@ -1296,7 +1291,7 @@ EXAMPLES
|
|
|
1296
1291
|
$ hereya remove cloudy/docker_postgres
|
|
1297
1292
|
```
|
|
1298
1293
|
|
|
1299
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1294
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/remove/index.ts)_
|
|
1300
1295
|
|
|
1301
1296
|
## `hereya run CMD`
|
|
1302
1297
|
|
|
@@ -1322,7 +1317,7 @@ EXAMPLES
|
|
|
1322
1317
|
$ hereya run -w uat -- node index.js
|
|
1323
1318
|
```
|
|
1324
1319
|
|
|
1325
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1320
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/run/index.ts)_
|
|
1326
1321
|
|
|
1327
1322
|
## `hereya search QUERY`
|
|
1328
1323
|
|
|
@@ -1353,7 +1348,7 @@ EXAMPLES
|
|
|
1353
1348
|
$ hereya search database --json
|
|
1354
1349
|
```
|
|
1355
1350
|
|
|
1356
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1351
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/search/index.ts)_
|
|
1357
1352
|
|
|
1358
1353
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
1359
1354
|
|
|
@@ -1378,7 +1373,7 @@ EXAMPLES
|
|
|
1378
1373
|
$ hereya unbootstrap local
|
|
1379
1374
|
```
|
|
1380
1375
|
|
|
1381
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1376
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/unbootstrap/index.ts)_
|
|
1382
1377
|
|
|
1383
1378
|
## `hereya undeploy`
|
|
1384
1379
|
|
|
@@ -1404,7 +1399,7 @@ EXAMPLES
|
|
|
1404
1399
|
$ hereya undeploy
|
|
1405
1400
|
```
|
|
1406
1401
|
|
|
1407
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1402
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/undeploy/index.ts)_
|
|
1408
1403
|
|
|
1409
1404
|
## `hereya uninit PROJECT`
|
|
1410
1405
|
|
|
@@ -1432,7 +1427,7 @@ EXAMPLES
|
|
|
1432
1427
|
$ hereya uninit myProject -w dev -p prodWorkspace=prod
|
|
1433
1428
|
```
|
|
1434
1429
|
|
|
1435
|
-
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1430
|
+
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/uninit/index.ts)_
|
|
1436
1431
|
|
|
1437
1432
|
## `hereya up`
|
|
1438
1433
|
|
|
@@ -1459,7 +1454,7 @@ EXAMPLES
|
|
|
1459
1454
|
$ hereya up
|
|
1460
1455
|
```
|
|
1461
1456
|
|
|
1462
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1457
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/up/index.ts)_
|
|
1463
1458
|
|
|
1464
1459
|
## `hereya update [VERSION]`
|
|
1465
1460
|
|
|
@@ -1481,7 +1476,7 @@ EXAMPLES
|
|
|
1481
1476
|
$ hereya update 0.75.0
|
|
1482
1477
|
```
|
|
1483
1478
|
|
|
1484
|
-
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1479
|
+
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/update/index.ts)_
|
|
1485
1480
|
|
|
1486
1481
|
## `hereya workspace create NAME`
|
|
1487
1482
|
|
|
@@ -1506,7 +1501,7 @@ EXAMPLES
|
|
|
1506
1501
|
$ hereya workspace create dev
|
|
1507
1502
|
```
|
|
1508
1503
|
|
|
1509
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1504
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/create/index.ts)_
|
|
1510
1505
|
|
|
1511
1506
|
## `hereya workspace delete NAME`
|
|
1512
1507
|
|
|
@@ -1526,7 +1521,7 @@ EXAMPLES
|
|
|
1526
1521
|
$ hereya workspace delete dev
|
|
1527
1522
|
```
|
|
1528
1523
|
|
|
1529
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1524
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/delete/index.ts)_
|
|
1530
1525
|
|
|
1531
1526
|
## `hereya workspace env [NAME]`
|
|
1532
1527
|
|
|
@@ -1552,7 +1547,7 @@ EXAMPLES
|
|
|
1552
1547
|
$ hereya workspace env myEnv -w dev
|
|
1553
1548
|
```
|
|
1554
1549
|
|
|
1555
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1550
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/env/index.ts)_
|
|
1556
1551
|
|
|
1557
1552
|
## `hereya workspace env set`
|
|
1558
1553
|
|
|
@@ -1576,7 +1571,7 @@ EXAMPLES
|
|
|
1576
1571
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1577
1572
|
```
|
|
1578
1573
|
|
|
1579
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1574
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/env/set/index.ts)_
|
|
1580
1575
|
|
|
1581
1576
|
## `hereya workspace env unset`
|
|
1582
1577
|
|
|
@@ -1597,7 +1592,7 @@ EXAMPLES
|
|
|
1597
1592
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1598
1593
|
```
|
|
1599
1594
|
|
|
1600
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1595
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/env/unset/index.ts)_
|
|
1601
1596
|
|
|
1602
1597
|
## `hereya workspace executor install`
|
|
1603
1598
|
|
|
@@ -1616,7 +1611,7 @@ DESCRIPTION
|
|
|
1616
1611
|
Install a remote executor into a workspace
|
|
1617
1612
|
```
|
|
1618
1613
|
|
|
1619
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1614
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/executor/install/index.ts)_
|
|
1620
1615
|
|
|
1621
1616
|
## `hereya workspace executor token`
|
|
1622
1617
|
|
|
@@ -1633,7 +1628,7 @@ DESCRIPTION
|
|
|
1633
1628
|
Generate a workspace-scoped executor token for the remote executor
|
|
1634
1629
|
```
|
|
1635
1630
|
|
|
1636
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1631
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/executor/token/index.ts)_
|
|
1637
1632
|
|
|
1638
1633
|
## `hereya workspace executor uninstall`
|
|
1639
1634
|
|
|
@@ -1651,7 +1646,7 @@ DESCRIPTION
|
|
|
1651
1646
|
Uninstall the remote executor from a workspace
|
|
1652
1647
|
```
|
|
1653
1648
|
|
|
1654
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1649
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1655
1650
|
|
|
1656
1651
|
## `hereya workspace install PACKAGE`
|
|
1657
1652
|
|
|
@@ -1678,7 +1673,7 @@ EXAMPLES
|
|
|
1678
1673
|
$ hereya workspace install hereya/aws-cognito
|
|
1679
1674
|
```
|
|
1680
1675
|
|
|
1681
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1676
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/install/index.ts)_
|
|
1682
1677
|
|
|
1683
1678
|
## `hereya workspace list`
|
|
1684
1679
|
|
|
@@ -1702,7 +1697,7 @@ EXAMPLES
|
|
|
1702
1697
|
$ hereya workspace list --org personal
|
|
1703
1698
|
```
|
|
1704
1699
|
|
|
1705
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1700
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/list/index.ts)_
|
|
1706
1701
|
|
|
1707
1702
|
## `hereya workspace set-profile PROFILE`
|
|
1708
1703
|
|
|
@@ -1726,7 +1721,7 @@ EXAMPLES
|
|
|
1726
1721
|
$ hereya workspace set-profile prod-profile -w production
|
|
1727
1722
|
```
|
|
1728
1723
|
|
|
1729
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1724
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/set-profile/index.ts)_
|
|
1730
1725
|
|
|
1731
1726
|
## `hereya workspace uninstall PACKAGE`
|
|
1732
1727
|
|
|
@@ -1753,5 +1748,5 @@ EXAMPLES
|
|
|
1753
1748
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1754
1749
|
```
|
|
1755
1750
|
|
|
1756
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1751
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/workspace/uninstall/index.ts)_
|
|
1757
1752
|
<!-- commandsstop -->
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Config } from '../../lib/config/common.js';
|
|
2
|
+
import { IParameterSpec } from '../../lib/package/index.js';
|
|
2
3
|
import { AddPackageToWorkspaceInput, AddPackageToWorkspaceOutput, Backend, CreateWorkspaceInput, CreateWorkspaceOutput, DeleteStateInput, DeleteStateOutput, DeleteWorkspaceInput, DeleteWorkspaceOutput, ExportBackendOutput, GetPackageOutput, GetProjectMetadataInput, GetProjectMetadataOutput, GetProvisioningIdInput, GetProvisioningIdOutput, GetStateInput, GetStateOutput, GetWorkspaceEnvInput, GetWorkspaceEnvOutput, GetWorkspaceOutput, ImportBackendInput, ImportBackendOutput, InitProjectInput, InitProjectOutput, ListPackageVersionsOutput, ListProjectsOutput, ListWorkspacesInput, PublishPackageInput, PublishPackageOutput, RemovePackageFromWorkspaceInput, RemovePackageFromWorkspaceOutput, SaveProjectMetadataInput, SaveProjectMetadataOutput, SearchPackagesInput, SearchPackagesOutput, SetEnvVarInput, SetEnvVarOutput, UnsetEnvVarInput, UnsetEnvVarOutput, UpdateWorkspaceInput, UpdateWorkspaceOutput } from '../common.js';
|
|
3
4
|
interface CloudBackendConfig {
|
|
4
5
|
accessToken: string;
|
|
@@ -13,6 +14,7 @@ export interface AppSummary {
|
|
|
13
14
|
}
|
|
14
15
|
export interface AppVersionSummary {
|
|
15
16
|
commit?: string;
|
|
17
|
+
parameters?: Record<string, IParameterSpec>;
|
|
16
18
|
publishedAt?: string;
|
|
17
19
|
repository?: string;
|
|
18
20
|
sha256?: string;
|
|
@@ -29,7 +31,6 @@ export interface AppDeploymentSummary {
|
|
|
29
31
|
workspace: string;
|
|
30
32
|
}
|
|
31
33
|
export type DeployAppInput = {
|
|
32
|
-
hereyaVarsYaml?: string;
|
|
33
34
|
name: string;
|
|
34
35
|
parameters?: Record<string, string>;
|
|
35
36
|
version?: string;
|
|
@@ -48,6 +49,7 @@ export type PublishAppVersionInput = {
|
|
|
48
49
|
description?: string;
|
|
49
50
|
hereyaYaml: string;
|
|
50
51
|
name: string;
|
|
52
|
+
parameters?: Record<string, IParameterSpec>;
|
|
51
53
|
repository: string;
|
|
52
54
|
sha256: string;
|
|
53
55
|
version: string;
|
|
@@ -119,6 +121,16 @@ export declare class CloudBackend implements Backend {
|
|
|
119
121
|
reason: string;
|
|
120
122
|
success: false;
|
|
121
123
|
}>;
|
|
124
|
+
getAppVersion(input: {
|
|
125
|
+
name: string;
|
|
126
|
+
version?: string;
|
|
127
|
+
}): Promise<{
|
|
128
|
+
appVersion: AppVersionSummary;
|
|
129
|
+
success: true;
|
|
130
|
+
} | {
|
|
131
|
+
reason: string;
|
|
132
|
+
success: false;
|
|
133
|
+
}>;
|
|
122
134
|
getExecutorJobStatus(input: {
|
|
123
135
|
jobId: string;
|
|
124
136
|
lastStatus?: string;
|