hereya-cli 0.85.4 → 0.85.6

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 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.85.4 linux-x64 node-v24.15.0
24
+ hereya-cli/0.85.6 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.85.4/src/commands/add/index.ts)_
130
+ _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/add/index.ts)_
131
131
 
132
132
  ## `hereya app deploy NAME`
133
133
 
@@ -135,7 +135,7 @@ Deploy a hereya-app to a workspace.
135
135
 
136
136
  ```
137
137
  USAGE
138
- $ hereya app deploy NAME -w <value> [-p <value>...] [--version <value>]
138
+ $ hereya app deploy NAME -w <value> [--chdir <value>] [--local] [-p <value>...] [--version <value>]
139
139
 
140
140
  ARGUMENTS
141
141
  NAME app name in org/name format
@@ -143,6 +143,11 @@ ARGUMENTS
143
143
  FLAGS
144
144
  -p, --parameter=<value>... [default: ] parameter for the app deployment, in the form of key=value (repeatable)
145
145
  -w, --workspace=<value> (required) name of the workspace to deploy the app to
146
+ --chdir=<value> Directory where the command will be executed.
147
+ If not specified, it defaults to the current working directory.
148
+ Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR
149
+ environment variable.
150
+ --local force local execution (skip remote executor)
146
151
  --version=<value> specific app version to deploy (defaults to latest)
147
152
 
148
153
  DESCRIPTION
@@ -156,7 +161,7 @@ EXAMPLES
156
161
  $ hereya app deploy my-org/my-app -w prod -p organizationId=org-123
157
162
  ```
158
163
 
159
- _See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/app/deploy/index.ts)_
164
+ _See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/app/deploy/index.ts)_
160
165
 
161
166
  ## `hereya app deployments NAME`
162
167
 
@@ -176,7 +181,7 @@ EXAMPLES
176
181
  $ hereya app deployments my-org/my-app
177
182
  ```
178
183
 
179
- _See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/app/deployments/index.ts)_
184
+ _See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/app/deployments/index.ts)_
180
185
 
181
186
  ## `hereya app destroy NAME`
182
187
 
@@ -184,13 +189,19 @@ Destroy a hereya-app deployment from a workspace.
184
189
 
185
190
  ```
186
191
  USAGE
187
- $ hereya app destroy NAME -w <value>
192
+ $ hereya app destroy NAME -w <value> [--chdir <value>] [--local] [-p <value>...]
188
193
 
189
194
  ARGUMENTS
190
195
  NAME app name in org/name format
191
196
 
192
197
  FLAGS
193
- -w, --workspace=<value> (required) workspace where the app is currently deployed
198
+ -p, --parameter=<value>... [default: ] parameter for the app deployment, in the form of key=value (repeatable)
199
+ -w, --workspace=<value> (required) workspace where the app is currently deployed
200
+ --chdir=<value> Directory where the command will be executed.
201
+ If not specified, it defaults to the current working directory.
202
+ Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR
203
+ environment variable.
204
+ --local force local execution (skip remote executor)
194
205
 
195
206
  DESCRIPTION
196
207
  Destroy a hereya-app deployment from a workspace.
@@ -199,7 +210,7 @@ EXAMPLES
199
210
  $ hereya app destroy my-org/my-app -w my-workspace
200
211
  ```
201
212
 
202
- _See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/app/destroy/index.ts)_
213
+ _See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/app/destroy/index.ts)_
203
214
 
204
215
  ## `hereya app env NAME [KEY]`
205
216
 
@@ -225,7 +236,7 @@ EXAMPLES
225
236
  $ hereya app env my-org/my-app -w my-workspace DATABASE_URL
226
237
  ```
227
238
 
228
- _See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/app/env/index.ts)_
239
+ _See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/app/env/index.ts)_
229
240
 
230
241
  ## `hereya app list`
231
242
 
@@ -242,7 +253,7 @@ EXAMPLES
242
253
  $ hereya app list
243
254
  ```
244
255
 
245
- _See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/app/list/index.ts)_
256
+ _See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/app/list/index.ts)_
246
257
 
247
258
  ## `hereya app new DIRNAME`
248
259
 
@@ -268,7 +279,7 @@ EXAMPLES
268
279
  $ hereya app new ./my-app -n my-org/my-app --description "An ai-app-builder app"
269
280
  ```
270
281
 
271
- _See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/app/new/index.ts)_
282
+ _See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/app/new/index.ts)_
272
283
 
273
284
  ## `hereya app status NAME`
274
285
 
@@ -291,7 +302,7 @@ EXAMPLES
291
302
  $ hereya app status my-org/my-app -w my-workspace
292
303
  ```
293
304
 
294
- _See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/app/status/index.ts)_
305
+ _See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/app/status/index.ts)_
295
306
 
296
307
  ## `hereya bootstrap INFRASTRUCTURETYPE`
297
308
 
@@ -316,7 +327,7 @@ EXAMPLES
316
327
  $ hereya bootstrap local
317
328
  ```
318
329
 
319
- _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/bootstrap/index.ts)_
330
+ _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/bootstrap/index.ts)_
320
331
 
321
332
  ## `hereya clone PROJECT`
322
333
 
@@ -341,7 +352,7 @@ EXAMPLES
341
352
  $ hereya clone myProject --chdir=./myProject
342
353
  ```
343
354
 
344
- _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/clone/index.ts)_
355
+ _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/clone/index.ts)_
345
356
 
346
357
  ## `hereya config export-backend [FILE]`
347
358
 
@@ -363,7 +374,7 @@ EXAMPLES
363
374
  $ hereya config export-backend ./path/to/export.json
364
375
  ```
365
376
 
366
- _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/config/export-backend/index.ts)_
377
+ _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/config/export-backend/index.ts)_
367
378
 
368
379
  ## `hereya config get-backend`
369
380
 
@@ -380,7 +391,7 @@ EXAMPLES
380
391
  $ hereya config get-backend
381
392
  ```
382
393
 
383
- _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/config/get-backend/index.ts)_
394
+ _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/config/get-backend/index.ts)_
384
395
 
385
396
  ## `hereya config import-backend FILE`
386
397
 
@@ -400,7 +411,7 @@ EXAMPLES
400
411
  $ hereya config import-backend ./path/to/cloud-backend.json
401
412
  ```
402
413
 
403
- _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/config/import-backend/index.ts)_
414
+ _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/config/import-backend/index.ts)_
404
415
 
405
416
  ## `hereya config use-backend TYPE`
406
417
 
@@ -422,7 +433,7 @@ EXAMPLES
422
433
  $ hereya config use-backend local
423
434
  ```
424
435
 
425
- _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/config/use-backend/index.ts)_
436
+ _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/config/use-backend/index.ts)_
426
437
 
427
438
  ## `hereya delete-state`
428
439
 
@@ -448,7 +459,7 @@ EXAMPLES
448
459
  $ hereya delete-state --workspace staging
449
460
  ```
450
461
 
451
- _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/delete-state/index.ts)_
462
+ _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/delete-state/index.ts)_
452
463
 
453
464
  ## `hereya deploy`
454
465
 
@@ -474,7 +485,7 @@ EXAMPLES
474
485
  $ hereya deploy
475
486
  ```
476
487
 
477
- _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/deploy/index.ts)_
488
+ _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/deploy/index.ts)_
478
489
 
479
490
  ## `hereya devenv config`
480
491
 
@@ -494,7 +505,7 @@ EXAMPLES
494
505
  $ hereya devenv config -w my-workspace
495
506
  ```
496
507
 
497
- _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/devenv/config/index.ts)_
508
+ _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/devenv/config/index.ts)_
498
509
 
499
510
  ## `hereya devenv install`
500
511
 
@@ -519,7 +530,7 @@ EXAMPLES
519
530
  $ hereya devenv install -w my-workspace -p instanceType=t3.large
520
531
  ```
521
532
 
522
- _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/devenv/install/index.ts)_
533
+ _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/devenv/install/index.ts)_
523
534
 
524
535
  ## `hereya devenv project init PROJECT`
525
536
 
@@ -551,7 +562,7 @@ EXAMPLES
551
562
  $ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
552
563
  ```
553
564
 
554
- _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/devenv/project/init/index.ts)_
565
+ _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/devenv/project/init/index.ts)_
555
566
 
556
567
  ## `hereya devenv project uninit PROJECT`
557
568
 
@@ -577,7 +588,7 @@ EXAMPLES
577
588
  $ hereya devenv project uninit my-app -w my-workspace --force
578
589
  ```
579
590
 
580
- _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/devenv/project/uninit/index.ts)_
591
+ _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/devenv/project/uninit/index.ts)_
581
592
 
582
593
  ## `hereya devenv ssh`
583
594
 
@@ -597,7 +608,7 @@ EXAMPLES
597
608
  $ hereya devenv ssh -w my-workspace
598
609
  ```
599
610
 
600
- _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/devenv/ssh/index.ts)_
611
+ _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/devenv/ssh/index.ts)_
601
612
 
602
613
  ## `hereya devenv uninstall`
603
614
 
@@ -618,7 +629,7 @@ EXAMPLES
618
629
  $ hereya devenv uninstall -w my-workspace
619
630
  ```
620
631
 
621
- _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/devenv/uninstall/index.ts)_
632
+ _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/devenv/uninstall/index.ts)_
622
633
 
623
634
  ## `hereya doc PACKAGE`
624
635
 
@@ -651,7 +662,7 @@ EXAMPLES
651
662
  $ hereya doc my-package --no-doc
652
663
  ```
653
664
 
654
- _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/doc/index.ts)_
665
+ _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/doc/index.ts)_
655
666
 
656
667
  ## `hereya docker run IMAGE`
657
668
 
@@ -682,7 +693,7 @@ EXAMPLES
682
693
  $ hereya docker run myapp:latest -- --rm -v ./data:/data
683
694
  ```
684
695
 
685
- _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/docker/run/index.ts)_
696
+ _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/docker/run/index.ts)_
686
697
 
687
698
  ## `hereya down`
688
699
 
@@ -709,7 +720,7 @@ EXAMPLES
709
720
  $ hereya down
710
721
  ```
711
722
 
712
- _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/down/index.ts)_
723
+ _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/down/index.ts)_
713
724
 
714
725
  ## `hereya env [NAME]`
715
726
 
@@ -740,7 +751,7 @@ EXAMPLES
740
751
  $ hereya env -w dev -l
741
752
  ```
742
753
 
743
- _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/env/index.ts)_
754
+ _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/env/index.ts)_
744
755
 
745
756
  ## `hereya env set [NAME]`
746
757
 
@@ -767,7 +778,7 @@ EXAMPLES
767
778
  $ hereya env set FOO -v bar -w dev
768
779
  ```
769
780
 
770
- _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/env/set/index.ts)_
781
+ _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/env/set/index.ts)_
771
782
 
772
783
  ## `hereya executor start`
773
784
 
@@ -800,7 +811,7 @@ EXAMPLES
800
811
  HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
801
812
  ```
802
813
 
803
- _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/executor/start/index.ts)_
814
+ _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/executor/start/index.ts)_
804
815
 
805
816
  ## `hereya flow add PACKAGE`
806
817
 
@@ -838,7 +849,7 @@ EXAMPLES
838
849
  $ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
839
850
  ```
840
851
 
841
- _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/flow/add/index.ts)_
852
+ _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/flow/add/index.ts)_
842
853
 
843
854
  ## `hereya flow docker run IMAGE`
844
855
 
@@ -868,7 +879,7 @@ EXAMPLES
868
879
  $ hereya flow docker run --pin myapp:latest -- --rm
869
880
  ```
870
881
 
871
- _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/flow/docker/run/index.ts)_
882
+ _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/flow/docker/run/index.ts)_
872
883
 
873
884
  ## `hereya flow down`
874
885
 
@@ -902,7 +913,7 @@ EXAMPLES
902
913
  $ hereya flow down --pin
903
914
  ```
904
915
 
905
- _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/flow/down/index.ts)_
916
+ _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/flow/down/index.ts)_
906
917
 
907
918
  ## `hereya flow env [NAME]`
908
919
 
@@ -936,7 +947,7 @@ EXAMPLES
936
947
  $ hereya flow env -l
937
948
  ```
938
949
 
939
- _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/flow/env/index.ts)_
950
+ _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/flow/env/index.ts)_
940
951
 
941
952
  ## `hereya flow provid PACKAGE`
942
953
 
@@ -965,7 +976,7 @@ EXAMPLES
965
976
  $ hereya flow provid hereya/postgres --pin
966
977
  ```
967
978
 
968
- _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/flow/provid/index.ts)_
979
+ _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/flow/provid/index.ts)_
969
980
 
970
981
  ## `hereya flow remove PACKAGE`
971
982
 
@@ -995,7 +1006,7 @@ EXAMPLES
995
1006
  $ hereya flow remove cloudy/docker_postgres --profile staging
996
1007
  ```
997
1008
 
998
- _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/flow/remove/index.ts)_
1009
+ _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/flow/remove/index.ts)_
999
1010
 
1000
1011
  ## `hereya flow run CMD`
1001
1012
 
@@ -1024,7 +1035,7 @@ EXAMPLES
1024
1035
  $ hereya flow run --pin -- npm test
1025
1036
  ```
1026
1037
 
1027
- _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/flow/run/index.ts)_
1038
+ _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/flow/run/index.ts)_
1028
1039
 
1029
1040
  ## `hereya flow up`
1030
1041
 
@@ -1058,7 +1069,7 @@ EXAMPLES
1058
1069
  $ hereya flow up --pin
1059
1070
  ```
1060
1071
 
1061
- _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/flow/up/index.ts)_
1072
+ _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/flow/up/index.ts)_
1062
1073
 
1063
1074
  ## `hereya help [COMMAND]`
1064
1075
 
@@ -1115,7 +1126,7 @@ EXAMPLES
1115
1126
  $ hereya import org/my-package -f state.tfstate -w my-workspace
1116
1127
  ```
1117
1128
 
1118
- _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/import/index.ts)_
1129
+ _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/import/index.ts)_
1119
1130
 
1120
1131
  ## `hereya init PROJECT`
1121
1132
 
@@ -1149,7 +1160,7 @@ EXAMPLES
1149
1160
  $ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
1150
1161
  ```
1151
1162
 
1152
- _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/init/index.ts)_
1163
+ _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/init/index.ts)_
1153
1164
 
1154
1165
  ## `hereya list`
1155
1166
 
@@ -1166,7 +1177,7 @@ EXAMPLES
1166
1177
  $ hereya list
1167
1178
  ```
1168
1179
 
1169
- _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/list/index.ts)_
1180
+ _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/list/index.ts)_
1170
1181
 
1171
1182
  ## `hereya login [URL]`
1172
1183
 
@@ -1195,7 +1206,7 @@ EXAMPLES
1195
1206
  $ hereya login --token=your-token https://cloud.hereya.dev
1196
1207
  ```
1197
1208
 
1198
- _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/login/index.ts)_
1209
+ _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/login/index.ts)_
1199
1210
 
1200
1211
  ## `hereya logout`
1201
1212
 
@@ -1212,7 +1223,7 @@ EXAMPLES
1212
1223
  $ hereya logout
1213
1224
  ```
1214
1225
 
1215
- _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/logout/index.ts)_
1226
+ _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/logout/index.ts)_
1216
1227
 
1217
1228
  ## `hereya provid PACKAGE`
1218
1229
 
@@ -1240,7 +1251,7 @@ EXAMPLES
1240
1251
  $ hereya provid hereya/postgres --workspace staging
1241
1252
  ```
1242
1253
 
1243
- _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/provid/index.ts)_
1254
+ _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/provid/index.ts)_
1244
1255
 
1245
1256
  ## `hereya publish`
1246
1257
 
@@ -1263,7 +1274,7 @@ EXAMPLES
1263
1274
  $ hereya publish --chdir=/path/to/package
1264
1275
  ```
1265
1276
 
1266
- _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/publish/index.ts)_
1277
+ _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/publish/index.ts)_
1267
1278
 
1268
1279
  ## `hereya remove PACKAGE`
1269
1280
 
@@ -1291,7 +1302,7 @@ EXAMPLES
1291
1302
  $ hereya remove cloudy/docker_postgres
1292
1303
  ```
1293
1304
 
1294
- _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/remove/index.ts)_
1305
+ _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/remove/index.ts)_
1295
1306
 
1296
1307
  ## `hereya run CMD`
1297
1308
 
@@ -1317,7 +1328,7 @@ EXAMPLES
1317
1328
  $ hereya run -w uat -- node index.js
1318
1329
  ```
1319
1330
 
1320
- _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/run/index.ts)_
1331
+ _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/run/index.ts)_
1321
1332
 
1322
1333
  ## `hereya search QUERY`
1323
1334
 
@@ -1348,7 +1359,7 @@ EXAMPLES
1348
1359
  $ hereya search database --json
1349
1360
  ```
1350
1361
 
1351
- _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/search/index.ts)_
1362
+ _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/search/index.ts)_
1352
1363
 
1353
1364
  ## `hereya unbootstrap INFRASTRUCTURETYPE`
1354
1365
 
@@ -1373,7 +1384,7 @@ EXAMPLES
1373
1384
  $ hereya unbootstrap local
1374
1385
  ```
1375
1386
 
1376
- _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/unbootstrap/index.ts)_
1387
+ _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/unbootstrap/index.ts)_
1377
1388
 
1378
1389
  ## `hereya undeploy`
1379
1390
 
@@ -1399,7 +1410,7 @@ EXAMPLES
1399
1410
  $ hereya undeploy
1400
1411
  ```
1401
1412
 
1402
- _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/undeploy/index.ts)_
1413
+ _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/undeploy/index.ts)_
1403
1414
 
1404
1415
  ## `hereya uninit PROJECT`
1405
1416
 
@@ -1427,7 +1438,7 @@ EXAMPLES
1427
1438
  $ hereya uninit myProject -w dev -p prodWorkspace=prod
1428
1439
  ```
1429
1440
 
1430
- _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/uninit/index.ts)_
1441
+ _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/uninit/index.ts)_
1431
1442
 
1432
1443
  ## `hereya up`
1433
1444
 
@@ -1454,7 +1465,7 @@ EXAMPLES
1454
1465
  $ hereya up
1455
1466
  ```
1456
1467
 
1457
- _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/up/index.ts)_
1468
+ _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/up/index.ts)_
1458
1469
 
1459
1470
  ## `hereya update [VERSION]`
1460
1471
 
@@ -1476,7 +1487,7 @@ EXAMPLES
1476
1487
  $ hereya update 0.75.0
1477
1488
  ```
1478
1489
 
1479
- _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/update/index.ts)_
1490
+ _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/update/index.ts)_
1480
1491
 
1481
1492
  ## `hereya workspace create NAME`
1482
1493
 
@@ -1501,7 +1512,7 @@ EXAMPLES
1501
1512
  $ hereya workspace create dev
1502
1513
  ```
1503
1514
 
1504
- _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/create/index.ts)_
1515
+ _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/create/index.ts)_
1505
1516
 
1506
1517
  ## `hereya workspace delete NAME`
1507
1518
 
@@ -1521,7 +1532,7 @@ EXAMPLES
1521
1532
  $ hereya workspace delete dev
1522
1533
  ```
1523
1534
 
1524
- _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/delete/index.ts)_
1535
+ _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/delete/index.ts)_
1525
1536
 
1526
1537
  ## `hereya workspace env [NAME]`
1527
1538
 
@@ -1547,7 +1558,7 @@ EXAMPLES
1547
1558
  $ hereya workspace env myEnv -w dev
1548
1559
  ```
1549
1560
 
1550
- _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/env/index.ts)_
1561
+ _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/env/index.ts)_
1551
1562
 
1552
1563
  ## `hereya workspace env set`
1553
1564
 
@@ -1571,7 +1582,7 @@ EXAMPLES
1571
1582
  $ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
1572
1583
  ```
1573
1584
 
1574
- _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/env/set/index.ts)_
1585
+ _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/env/set/index.ts)_
1575
1586
 
1576
1587
  ## `hereya workspace env unset`
1577
1588
 
@@ -1592,7 +1603,7 @@ EXAMPLES
1592
1603
  $ hereya workspace env unset -w my-workspace -n myVar
1593
1604
  ```
1594
1605
 
1595
- _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/env/unset/index.ts)_
1606
+ _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/env/unset/index.ts)_
1596
1607
 
1597
1608
  ## `hereya workspace executor install`
1598
1609
 
@@ -1611,7 +1622,7 @@ DESCRIPTION
1611
1622
  Install a remote executor into a workspace
1612
1623
  ```
1613
1624
 
1614
- _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/executor/install/index.ts)_
1625
+ _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/executor/install/index.ts)_
1615
1626
 
1616
1627
  ## `hereya workspace executor token`
1617
1628
 
@@ -1628,7 +1639,7 @@ DESCRIPTION
1628
1639
  Generate a workspace-scoped executor token for the remote executor
1629
1640
  ```
1630
1641
 
1631
- _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/executor/token/index.ts)_
1642
+ _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/executor/token/index.ts)_
1632
1643
 
1633
1644
  ## `hereya workspace executor uninstall`
1634
1645
 
@@ -1646,7 +1657,7 @@ DESCRIPTION
1646
1657
  Uninstall the remote executor from a workspace
1647
1658
  ```
1648
1659
 
1649
- _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/executor/uninstall/index.ts)_
1660
+ _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/executor/uninstall/index.ts)_
1650
1661
 
1651
1662
  ## `hereya workspace install PACKAGE`
1652
1663
 
@@ -1673,7 +1684,7 @@ EXAMPLES
1673
1684
  $ hereya workspace install hereya/aws-cognito
1674
1685
  ```
1675
1686
 
1676
- _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/install/index.ts)_
1687
+ _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/install/index.ts)_
1677
1688
 
1678
1689
  ## `hereya workspace list`
1679
1690
 
@@ -1697,7 +1708,7 @@ EXAMPLES
1697
1708
  $ hereya workspace list --org personal
1698
1709
  ```
1699
1710
 
1700
- _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/list/index.ts)_
1711
+ _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/list/index.ts)_
1701
1712
 
1702
1713
  ## `hereya workspace set-profile PROFILE`
1703
1714
 
@@ -1721,7 +1732,7 @@ EXAMPLES
1721
1732
  $ hereya workspace set-profile prod-profile -w production
1722
1733
  ```
1723
1734
 
1724
- _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/set-profile/index.ts)_
1735
+ _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/set-profile/index.ts)_
1725
1736
 
1726
1737
  ## `hereya workspace uninstall PACKAGE`
1727
1738
 
@@ -1748,5 +1759,5 @@ EXAMPLES
1748
1759
  $ hereya workspace uninstall hereya/aws-cognito
1749
1760
  ```
1750
1761
 
1751
- _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.4/src/commands/workspace/uninstall/index.ts)_
1762
+ _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/workspace/uninstall/index.ts)_
1752
1763
  <!-- commandsstop -->
@@ -38,6 +38,7 @@ export type DeployAppInput = {
38
38
  };
39
39
  export type DestroyAppInput = {
40
40
  name: string;
41
+ parameters?: Record<string, string>;
41
42
  workspace: string;
42
43
  };
43
44
  export type GetAppDeploymentInput = {
@@ -125,8 +125,13 @@ export class CloudBackend {
125
125
  return { deploymentId: result.deploymentId, jobId: result.jobId, success: true };
126
126
  }
127
127
  async destroyApp(input) {
128
+ const body = input.parameters ? JSON.stringify({ parameters: input.parameters }) : undefined;
128
129
  const response = await fetch(`${this.config.url}/api/apps/${encodeURIComponent(input.name)}/deployments/${encodeURIComponent(input.workspace)}`, {
129
- headers: { 'Authorization': `Bearer ${this.config.accessToken}` },
130
+ body,
131
+ headers: {
132
+ 'Authorization': `Bearer ${this.config.accessToken}`,
133
+ ...(body ? { 'Content-Type': 'application/json' } : {}),
134
+ },
130
135
  method: 'DELETE',
131
136
  });
132
137
  if (!response.ok) {
@@ -347,6 +352,9 @@ export class CloudBackend {
347
352
  const formData = new FormData();
348
353
  formData.append('packageCanonicalName', input.packageCanonicalName);
349
354
  formData.append('logicalId', input.logicalId);
355
+ if (input.app) {
356
+ formData.append('app', input.app);
357
+ }
350
358
  if (input.project) {
351
359
  formData.append('project', input.project);
352
360
  }
@@ -206,6 +206,7 @@ export type DeleteStateOutput = {
206
206
  success: false;
207
207
  };
208
208
  export type GetProvisioningIdInput = {
209
+ app?: string;
209
210
  logicalId: string;
210
211
  packageCanonicalName: string;
211
212
  project?: string;
@@ -6,9 +6,13 @@ export default class AppDeploy extends Command {
6
6
  static description: string;
7
7
  static examples: string[];
8
8
  static flags: {
9
+ chdir: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
+ local: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
11
  parameter: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
10
12
  version: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
13
  workspace: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
14
  };
13
15
  run(): Promise<void>;
16
+ private runLocal;
17
+ private runRemote;
14
18
  }