hereya-cli 0.85.5 → 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.
|
|
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.
|
|
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
|
|
|
@@ -161,7 +161,7 @@ EXAMPLES
|
|
|
161
161
|
$ hereya app deploy my-org/my-app -w prod -p organizationId=org-123
|
|
162
162
|
```
|
|
163
163
|
|
|
164
|
-
_See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
165
165
|
|
|
166
166
|
## `hereya app deployments NAME`
|
|
167
167
|
|
|
@@ -181,7 +181,7 @@ EXAMPLES
|
|
|
181
181
|
$ hereya app deployments my-org/my-app
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
_See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
185
185
|
|
|
186
186
|
## `hereya app destroy NAME`
|
|
187
187
|
|
|
@@ -210,7 +210,7 @@ EXAMPLES
|
|
|
210
210
|
$ hereya app destroy my-org/my-app -w my-workspace
|
|
211
211
|
```
|
|
212
212
|
|
|
213
|
-
_See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
214
214
|
|
|
215
215
|
## `hereya app env NAME [KEY]`
|
|
216
216
|
|
|
@@ -236,7 +236,7 @@ EXAMPLES
|
|
|
236
236
|
$ hereya app env my-org/my-app -w my-workspace DATABASE_URL
|
|
237
237
|
```
|
|
238
238
|
|
|
239
|
-
_See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
240
240
|
|
|
241
241
|
## `hereya app list`
|
|
242
242
|
|
|
@@ -253,7 +253,7 @@ EXAMPLES
|
|
|
253
253
|
$ hereya app list
|
|
254
254
|
```
|
|
255
255
|
|
|
256
|
-
_See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
257
257
|
|
|
258
258
|
## `hereya app new DIRNAME`
|
|
259
259
|
|
|
@@ -279,7 +279,7 @@ EXAMPLES
|
|
|
279
279
|
$ hereya app new ./my-app -n my-org/my-app --description "An ai-app-builder app"
|
|
280
280
|
```
|
|
281
281
|
|
|
282
|
-
_See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
283
283
|
|
|
284
284
|
## `hereya app status NAME`
|
|
285
285
|
|
|
@@ -302,7 +302,7 @@ EXAMPLES
|
|
|
302
302
|
$ hereya app status my-org/my-app -w my-workspace
|
|
303
303
|
```
|
|
304
304
|
|
|
305
|
-
_See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
306
306
|
|
|
307
307
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
308
308
|
|
|
@@ -327,7 +327,7 @@ EXAMPLES
|
|
|
327
327
|
$ hereya bootstrap local
|
|
328
328
|
```
|
|
329
329
|
|
|
330
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
330
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/bootstrap/index.ts)_
|
|
331
331
|
|
|
332
332
|
## `hereya clone PROJECT`
|
|
333
333
|
|
|
@@ -352,7 +352,7 @@ EXAMPLES
|
|
|
352
352
|
$ hereya clone myProject --chdir=./myProject
|
|
353
353
|
```
|
|
354
354
|
|
|
355
|
-
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
355
|
+
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/clone/index.ts)_
|
|
356
356
|
|
|
357
357
|
## `hereya config export-backend [FILE]`
|
|
358
358
|
|
|
@@ -374,7 +374,7 @@ EXAMPLES
|
|
|
374
374
|
$ hereya config export-backend ./path/to/export.json
|
|
375
375
|
```
|
|
376
376
|
|
|
377
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
378
378
|
|
|
379
379
|
## `hereya config get-backend`
|
|
380
380
|
|
|
@@ -391,7 +391,7 @@ EXAMPLES
|
|
|
391
391
|
$ hereya config get-backend
|
|
392
392
|
```
|
|
393
393
|
|
|
394
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
395
395
|
|
|
396
396
|
## `hereya config import-backend FILE`
|
|
397
397
|
|
|
@@ -411,7 +411,7 @@ EXAMPLES
|
|
|
411
411
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
412
412
|
```
|
|
413
413
|
|
|
414
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
415
415
|
|
|
416
416
|
## `hereya config use-backend TYPE`
|
|
417
417
|
|
|
@@ -433,7 +433,7 @@ EXAMPLES
|
|
|
433
433
|
$ hereya config use-backend local
|
|
434
434
|
```
|
|
435
435
|
|
|
436
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
437
437
|
|
|
438
438
|
## `hereya delete-state`
|
|
439
439
|
|
|
@@ -459,7 +459,7 @@ EXAMPLES
|
|
|
459
459
|
$ hereya delete-state --workspace staging
|
|
460
460
|
```
|
|
461
461
|
|
|
462
|
-
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
463
463
|
|
|
464
464
|
## `hereya deploy`
|
|
465
465
|
|
|
@@ -485,7 +485,7 @@ EXAMPLES
|
|
|
485
485
|
$ hereya deploy
|
|
486
486
|
```
|
|
487
487
|
|
|
488
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
488
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/deploy/index.ts)_
|
|
489
489
|
|
|
490
490
|
## `hereya devenv config`
|
|
491
491
|
|
|
@@ -505,7 +505,7 @@ EXAMPLES
|
|
|
505
505
|
$ hereya devenv config -w my-workspace
|
|
506
506
|
```
|
|
507
507
|
|
|
508
|
-
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
509
509
|
|
|
510
510
|
## `hereya devenv install`
|
|
511
511
|
|
|
@@ -530,7 +530,7 @@ EXAMPLES
|
|
|
530
530
|
$ hereya devenv install -w my-workspace -p instanceType=t3.large
|
|
531
531
|
```
|
|
532
532
|
|
|
533
|
-
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
534
534
|
|
|
535
535
|
## `hereya devenv project init PROJECT`
|
|
536
536
|
|
|
@@ -562,7 +562,7 @@ EXAMPLES
|
|
|
562
562
|
$ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
|
|
563
563
|
```
|
|
564
564
|
|
|
565
|
-
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
566
566
|
|
|
567
567
|
## `hereya devenv project uninit PROJECT`
|
|
568
568
|
|
|
@@ -588,7 +588,7 @@ EXAMPLES
|
|
|
588
588
|
$ hereya devenv project uninit my-app -w my-workspace --force
|
|
589
589
|
```
|
|
590
590
|
|
|
591
|
-
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
592
592
|
|
|
593
593
|
## `hereya devenv ssh`
|
|
594
594
|
|
|
@@ -608,7 +608,7 @@ EXAMPLES
|
|
|
608
608
|
$ hereya devenv ssh -w my-workspace
|
|
609
609
|
```
|
|
610
610
|
|
|
611
|
-
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
612
612
|
|
|
613
613
|
## `hereya devenv uninstall`
|
|
614
614
|
|
|
@@ -629,7 +629,7 @@ EXAMPLES
|
|
|
629
629
|
$ hereya devenv uninstall -w my-workspace
|
|
630
630
|
```
|
|
631
631
|
|
|
632
|
-
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
633
633
|
|
|
634
634
|
## `hereya doc PACKAGE`
|
|
635
635
|
|
|
@@ -662,7 +662,7 @@ EXAMPLES
|
|
|
662
662
|
$ hereya doc my-package --no-doc
|
|
663
663
|
```
|
|
664
664
|
|
|
665
|
-
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
665
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/doc/index.ts)_
|
|
666
666
|
|
|
667
667
|
## `hereya docker run IMAGE`
|
|
668
668
|
|
|
@@ -693,7 +693,7 @@ EXAMPLES
|
|
|
693
693
|
$ hereya docker run myapp:latest -- --rm -v ./data:/data
|
|
694
694
|
```
|
|
695
695
|
|
|
696
|
-
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
697
697
|
|
|
698
698
|
## `hereya down`
|
|
699
699
|
|
|
@@ -720,7 +720,7 @@ EXAMPLES
|
|
|
720
720
|
$ hereya down
|
|
721
721
|
```
|
|
722
722
|
|
|
723
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
723
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/down/index.ts)_
|
|
724
724
|
|
|
725
725
|
## `hereya env [NAME]`
|
|
726
726
|
|
|
@@ -751,7 +751,7 @@ EXAMPLES
|
|
|
751
751
|
$ hereya env -w dev -l
|
|
752
752
|
```
|
|
753
753
|
|
|
754
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
754
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/env/index.ts)_
|
|
755
755
|
|
|
756
756
|
## `hereya env set [NAME]`
|
|
757
757
|
|
|
@@ -778,7 +778,7 @@ EXAMPLES
|
|
|
778
778
|
$ hereya env set FOO -v bar -w dev
|
|
779
779
|
```
|
|
780
780
|
|
|
781
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
782
782
|
|
|
783
783
|
## `hereya executor start`
|
|
784
784
|
|
|
@@ -811,7 +811,7 @@ EXAMPLES
|
|
|
811
811
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
812
812
|
```
|
|
813
813
|
|
|
814
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
815
815
|
|
|
816
816
|
## `hereya flow add PACKAGE`
|
|
817
817
|
|
|
@@ -849,7 +849,7 @@ EXAMPLES
|
|
|
849
849
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
850
850
|
```
|
|
851
851
|
|
|
852
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
853
853
|
|
|
854
854
|
## `hereya flow docker run IMAGE`
|
|
855
855
|
|
|
@@ -879,7 +879,7 @@ EXAMPLES
|
|
|
879
879
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
880
880
|
```
|
|
881
881
|
|
|
882
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
883
883
|
|
|
884
884
|
## `hereya flow down`
|
|
885
885
|
|
|
@@ -913,7 +913,7 @@ EXAMPLES
|
|
|
913
913
|
$ hereya flow down --pin
|
|
914
914
|
```
|
|
915
915
|
|
|
916
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
917
917
|
|
|
918
918
|
## `hereya flow env [NAME]`
|
|
919
919
|
|
|
@@ -947,7 +947,7 @@ EXAMPLES
|
|
|
947
947
|
$ hereya flow env -l
|
|
948
948
|
```
|
|
949
949
|
|
|
950
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
951
951
|
|
|
952
952
|
## `hereya flow provid PACKAGE`
|
|
953
953
|
|
|
@@ -976,7 +976,7 @@ EXAMPLES
|
|
|
976
976
|
$ hereya flow provid hereya/postgres --pin
|
|
977
977
|
```
|
|
978
978
|
|
|
979
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
980
980
|
|
|
981
981
|
## `hereya flow remove PACKAGE`
|
|
982
982
|
|
|
@@ -1006,7 +1006,7 @@ EXAMPLES
|
|
|
1006
1006
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
1007
1007
|
```
|
|
1008
1008
|
|
|
1009
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1010
1010
|
|
|
1011
1011
|
## `hereya flow run CMD`
|
|
1012
1012
|
|
|
@@ -1035,7 +1035,7 @@ EXAMPLES
|
|
|
1035
1035
|
$ hereya flow run --pin -- npm test
|
|
1036
1036
|
```
|
|
1037
1037
|
|
|
1038
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1039
1039
|
|
|
1040
1040
|
## `hereya flow up`
|
|
1041
1041
|
|
|
@@ -1069,7 +1069,7 @@ EXAMPLES
|
|
|
1069
1069
|
$ hereya flow up --pin
|
|
1070
1070
|
```
|
|
1071
1071
|
|
|
1072
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1073
1073
|
|
|
1074
1074
|
## `hereya help [COMMAND]`
|
|
1075
1075
|
|
|
@@ -1126,7 +1126,7 @@ EXAMPLES
|
|
|
1126
1126
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
1127
1127
|
```
|
|
1128
1128
|
|
|
1129
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1129
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/import/index.ts)_
|
|
1130
1130
|
|
|
1131
1131
|
## `hereya init PROJECT`
|
|
1132
1132
|
|
|
@@ -1160,7 +1160,7 @@ EXAMPLES
|
|
|
1160
1160
|
$ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
|
|
1161
1161
|
```
|
|
1162
1162
|
|
|
1163
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1163
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/init/index.ts)_
|
|
1164
1164
|
|
|
1165
1165
|
## `hereya list`
|
|
1166
1166
|
|
|
@@ -1177,7 +1177,7 @@ EXAMPLES
|
|
|
1177
1177
|
$ hereya list
|
|
1178
1178
|
```
|
|
1179
1179
|
|
|
1180
|
-
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1180
|
+
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/list/index.ts)_
|
|
1181
1181
|
|
|
1182
1182
|
## `hereya login [URL]`
|
|
1183
1183
|
|
|
@@ -1206,7 +1206,7 @@ EXAMPLES
|
|
|
1206
1206
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
1207
1207
|
```
|
|
1208
1208
|
|
|
1209
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1209
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/login/index.ts)_
|
|
1210
1210
|
|
|
1211
1211
|
## `hereya logout`
|
|
1212
1212
|
|
|
@@ -1223,7 +1223,7 @@ EXAMPLES
|
|
|
1223
1223
|
$ hereya logout
|
|
1224
1224
|
```
|
|
1225
1225
|
|
|
1226
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1226
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/logout/index.ts)_
|
|
1227
1227
|
|
|
1228
1228
|
## `hereya provid PACKAGE`
|
|
1229
1229
|
|
|
@@ -1251,7 +1251,7 @@ EXAMPLES
|
|
|
1251
1251
|
$ hereya provid hereya/postgres --workspace staging
|
|
1252
1252
|
```
|
|
1253
1253
|
|
|
1254
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1254
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/provid/index.ts)_
|
|
1255
1255
|
|
|
1256
1256
|
## `hereya publish`
|
|
1257
1257
|
|
|
@@ -1274,7 +1274,7 @@ EXAMPLES
|
|
|
1274
1274
|
$ hereya publish --chdir=/path/to/package
|
|
1275
1275
|
```
|
|
1276
1276
|
|
|
1277
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1277
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/publish/index.ts)_
|
|
1278
1278
|
|
|
1279
1279
|
## `hereya remove PACKAGE`
|
|
1280
1280
|
|
|
@@ -1302,7 +1302,7 @@ EXAMPLES
|
|
|
1302
1302
|
$ hereya remove cloudy/docker_postgres
|
|
1303
1303
|
```
|
|
1304
1304
|
|
|
1305
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1305
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/remove/index.ts)_
|
|
1306
1306
|
|
|
1307
1307
|
## `hereya run CMD`
|
|
1308
1308
|
|
|
@@ -1328,7 +1328,7 @@ EXAMPLES
|
|
|
1328
1328
|
$ hereya run -w uat -- node index.js
|
|
1329
1329
|
```
|
|
1330
1330
|
|
|
1331
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1331
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/run/index.ts)_
|
|
1332
1332
|
|
|
1333
1333
|
## `hereya search QUERY`
|
|
1334
1334
|
|
|
@@ -1359,7 +1359,7 @@ EXAMPLES
|
|
|
1359
1359
|
$ hereya search database --json
|
|
1360
1360
|
```
|
|
1361
1361
|
|
|
1362
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1362
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/search/index.ts)_
|
|
1363
1363
|
|
|
1364
1364
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
1365
1365
|
|
|
@@ -1384,7 +1384,7 @@ EXAMPLES
|
|
|
1384
1384
|
$ hereya unbootstrap local
|
|
1385
1385
|
```
|
|
1386
1386
|
|
|
1387
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1387
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/unbootstrap/index.ts)_
|
|
1388
1388
|
|
|
1389
1389
|
## `hereya undeploy`
|
|
1390
1390
|
|
|
@@ -1410,7 +1410,7 @@ EXAMPLES
|
|
|
1410
1410
|
$ hereya undeploy
|
|
1411
1411
|
```
|
|
1412
1412
|
|
|
1413
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1413
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/undeploy/index.ts)_
|
|
1414
1414
|
|
|
1415
1415
|
## `hereya uninit PROJECT`
|
|
1416
1416
|
|
|
@@ -1438,7 +1438,7 @@ EXAMPLES
|
|
|
1438
1438
|
$ hereya uninit myProject -w dev -p prodWorkspace=prod
|
|
1439
1439
|
```
|
|
1440
1440
|
|
|
1441
|
-
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1441
|
+
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/uninit/index.ts)_
|
|
1442
1442
|
|
|
1443
1443
|
## `hereya up`
|
|
1444
1444
|
|
|
@@ -1465,7 +1465,7 @@ EXAMPLES
|
|
|
1465
1465
|
$ hereya up
|
|
1466
1466
|
```
|
|
1467
1467
|
|
|
1468
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1468
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/up/index.ts)_
|
|
1469
1469
|
|
|
1470
1470
|
## `hereya update [VERSION]`
|
|
1471
1471
|
|
|
@@ -1487,7 +1487,7 @@ EXAMPLES
|
|
|
1487
1487
|
$ hereya update 0.75.0
|
|
1488
1488
|
```
|
|
1489
1489
|
|
|
1490
|
-
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
1490
|
+
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.6/src/commands/update/index.ts)_
|
|
1491
1491
|
|
|
1492
1492
|
## `hereya workspace create NAME`
|
|
1493
1493
|
|
|
@@ -1512,7 +1512,7 @@ EXAMPLES
|
|
|
1512
1512
|
$ hereya workspace create dev
|
|
1513
1513
|
```
|
|
1514
1514
|
|
|
1515
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1516
1516
|
|
|
1517
1517
|
## `hereya workspace delete NAME`
|
|
1518
1518
|
|
|
@@ -1532,7 +1532,7 @@ EXAMPLES
|
|
|
1532
1532
|
$ hereya workspace delete dev
|
|
1533
1533
|
```
|
|
1534
1534
|
|
|
1535
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1536
1536
|
|
|
1537
1537
|
## `hereya workspace env [NAME]`
|
|
1538
1538
|
|
|
@@ -1558,7 +1558,7 @@ EXAMPLES
|
|
|
1558
1558
|
$ hereya workspace env myEnv -w dev
|
|
1559
1559
|
```
|
|
1560
1560
|
|
|
1561
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1562
1562
|
|
|
1563
1563
|
## `hereya workspace env set`
|
|
1564
1564
|
|
|
@@ -1582,7 +1582,7 @@ EXAMPLES
|
|
|
1582
1582
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1583
1583
|
```
|
|
1584
1584
|
|
|
1585
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1586
1586
|
|
|
1587
1587
|
## `hereya workspace env unset`
|
|
1588
1588
|
|
|
@@ -1603,7 +1603,7 @@ EXAMPLES
|
|
|
1603
1603
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1604
1604
|
```
|
|
1605
1605
|
|
|
1606
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1607
1607
|
|
|
1608
1608
|
## `hereya workspace executor install`
|
|
1609
1609
|
|
|
@@ -1622,7 +1622,7 @@ DESCRIPTION
|
|
|
1622
1622
|
Install a remote executor into a workspace
|
|
1623
1623
|
```
|
|
1624
1624
|
|
|
1625
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1626
1626
|
|
|
1627
1627
|
## `hereya workspace executor token`
|
|
1628
1628
|
|
|
@@ -1639,7 +1639,7 @@ DESCRIPTION
|
|
|
1639
1639
|
Generate a workspace-scoped executor token for the remote executor
|
|
1640
1640
|
```
|
|
1641
1641
|
|
|
1642
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1643
1643
|
|
|
1644
1644
|
## `hereya workspace executor uninstall`
|
|
1645
1645
|
|
|
@@ -1657,7 +1657,7 @@ DESCRIPTION
|
|
|
1657
1657
|
Uninstall the remote executor from a workspace
|
|
1658
1658
|
```
|
|
1659
1659
|
|
|
1660
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1661
1661
|
|
|
1662
1662
|
## `hereya workspace install PACKAGE`
|
|
1663
1663
|
|
|
@@ -1684,7 +1684,7 @@ EXAMPLES
|
|
|
1684
1684
|
$ hereya workspace install hereya/aws-cognito
|
|
1685
1685
|
```
|
|
1686
1686
|
|
|
1687
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1688
1688
|
|
|
1689
1689
|
## `hereya workspace list`
|
|
1690
1690
|
|
|
@@ -1708,7 +1708,7 @@ EXAMPLES
|
|
|
1708
1708
|
$ hereya workspace list --org personal
|
|
1709
1709
|
```
|
|
1710
1710
|
|
|
1711
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1712
1712
|
|
|
1713
1713
|
## `hereya workspace set-profile PROFILE`
|
|
1714
1714
|
|
|
@@ -1732,7 +1732,7 @@ EXAMPLES
|
|
|
1732
1732
|
$ hereya workspace set-profile prod-profile -w production
|
|
1733
1733
|
```
|
|
1734
1734
|
|
|
1735
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1736
1736
|
|
|
1737
1737
|
## `hereya workspace uninstall PACKAGE`
|
|
1738
1738
|
|
|
@@ -1759,5 +1759,5 @@ EXAMPLES
|
|
|
1759
1759
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1760
1760
|
```
|
|
1761
1761
|
|
|
1762
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.
|
|
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)_
|
|
1763
1763
|
<!-- commandsstop -->
|
|
@@ -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
|
-
|
|
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) {
|
|
@@ -174,8 +174,10 @@ export default class AppDestroy extends Command {
|
|
|
174
174
|
const cloudBackend = backend;
|
|
175
175
|
const myLogger = new ListrLogger({ useIcons: false });
|
|
176
176
|
myLogger.log(ListrLogLevels.STARTED, `Destroying ${appName} on workspace ${flags.workspace}...`);
|
|
177
|
+
const providedParameters = arrayOfStringToObject(flags.parameter ?? []);
|
|
177
178
|
const destroyResult = await cloudBackend.destroyApp({
|
|
178
179
|
name: appName,
|
|
180
|
+
parameters: providedParameters,
|
|
179
181
|
workspace: flags.workspace,
|
|
180
182
|
});
|
|
181
183
|
if (!destroyResult.success) {
|
package/oclif.manifest.json
CHANGED