hereya-cli 0.85.0 → 0.85.2

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.0 linux-x64 node-v24.14.1
24
+ hereya-cli/0.85.2 linux-x64 node-v24.15.0
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.0/src/commands/add/index.ts)_
130
+ _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/add/index.ts)_
131
131
 
132
132
  ## `hereya app deploy NAME`
133
133
 
@@ -156,7 +156,7 @@ EXAMPLES
156
156
  $ hereya app deploy my-org/my-app -w prod -p organizationId=org-123
157
157
  ```
158
158
 
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)_
159
+ _See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/app/deploy/index.ts)_
160
160
 
161
161
  ## `hereya app deployments NAME`
162
162
 
@@ -176,7 +176,7 @@ EXAMPLES
176
176
  $ hereya app deployments my-org/my-app
177
177
  ```
178
178
 
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)_
179
+ _See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/app/deployments/index.ts)_
180
180
 
181
181
  ## `hereya app destroy NAME`
182
182
 
@@ -199,7 +199,7 @@ EXAMPLES
199
199
  $ hereya app destroy my-org/my-app -w my-workspace
200
200
  ```
201
201
 
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)_
202
+ _See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/app/destroy/index.ts)_
203
203
 
204
204
  ## `hereya app env NAME [KEY]`
205
205
 
@@ -225,7 +225,7 @@ EXAMPLES
225
225
  $ hereya app env my-org/my-app -w my-workspace DATABASE_URL
226
226
  ```
227
227
 
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)_
228
+ _See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/app/env/index.ts)_
229
229
 
230
230
  ## `hereya app list`
231
231
 
@@ -242,7 +242,7 @@ EXAMPLES
242
242
  $ hereya app list
243
243
  ```
244
244
 
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)_
245
+ _See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/app/list/index.ts)_
246
246
 
247
247
  ## `hereya app new DIRNAME`
248
248
 
@@ -268,7 +268,7 @@ EXAMPLES
268
268
  $ hereya app new ./my-app -n my-org/my-app --description "An ai-app-builder app"
269
269
  ```
270
270
 
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)_
271
+ _See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/app/new/index.ts)_
272
272
 
273
273
  ## `hereya app status NAME`
274
274
 
@@ -291,7 +291,7 @@ EXAMPLES
291
291
  $ hereya app status my-org/my-app -w my-workspace
292
292
  ```
293
293
 
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)_
294
+ _See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/app/status/index.ts)_
295
295
 
296
296
  ## `hereya bootstrap INFRASTRUCTURETYPE`
297
297
 
@@ -316,7 +316,7 @@ EXAMPLES
316
316
  $ hereya bootstrap local
317
317
  ```
318
318
 
319
- _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/bootstrap/index.ts)_
319
+ _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/bootstrap/index.ts)_
320
320
 
321
321
  ## `hereya clone PROJECT`
322
322
 
@@ -341,7 +341,7 @@ EXAMPLES
341
341
  $ hereya clone myProject --chdir=./myProject
342
342
  ```
343
343
 
344
- _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/clone/index.ts)_
344
+ _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/clone/index.ts)_
345
345
 
346
346
  ## `hereya config export-backend [FILE]`
347
347
 
@@ -363,7 +363,7 @@ EXAMPLES
363
363
  $ hereya config export-backend ./path/to/export.json
364
364
  ```
365
365
 
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)_
366
+ _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/config/export-backend/index.ts)_
367
367
 
368
368
  ## `hereya config get-backend`
369
369
 
@@ -380,7 +380,7 @@ EXAMPLES
380
380
  $ hereya config get-backend
381
381
  ```
382
382
 
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)_
383
+ _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/config/get-backend/index.ts)_
384
384
 
385
385
  ## `hereya config import-backend FILE`
386
386
 
@@ -400,7 +400,7 @@ EXAMPLES
400
400
  $ hereya config import-backend ./path/to/cloud-backend.json
401
401
  ```
402
402
 
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)_
403
+ _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/config/import-backend/index.ts)_
404
404
 
405
405
  ## `hereya config use-backend TYPE`
406
406
 
@@ -422,7 +422,7 @@ EXAMPLES
422
422
  $ hereya config use-backend local
423
423
  ```
424
424
 
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)_
425
+ _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/config/use-backend/index.ts)_
426
426
 
427
427
  ## `hereya delete-state`
428
428
 
@@ -448,7 +448,7 @@ EXAMPLES
448
448
  $ hereya delete-state --workspace staging
449
449
  ```
450
450
 
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)_
451
+ _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/delete-state/index.ts)_
452
452
 
453
453
  ## `hereya deploy`
454
454
 
@@ -474,7 +474,7 @@ EXAMPLES
474
474
  $ hereya deploy
475
475
  ```
476
476
 
477
- _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/deploy/index.ts)_
477
+ _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/deploy/index.ts)_
478
478
 
479
479
  ## `hereya devenv config`
480
480
 
@@ -494,7 +494,7 @@ EXAMPLES
494
494
  $ hereya devenv config -w my-workspace
495
495
  ```
496
496
 
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)_
497
+ _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/devenv/config/index.ts)_
498
498
 
499
499
  ## `hereya devenv install`
500
500
 
@@ -519,7 +519,7 @@ EXAMPLES
519
519
  $ hereya devenv install -w my-workspace -p instanceType=t3.large
520
520
  ```
521
521
 
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)_
522
+ _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/devenv/install/index.ts)_
523
523
 
524
524
  ## `hereya devenv project init PROJECT`
525
525
 
@@ -551,7 +551,7 @@ EXAMPLES
551
551
  $ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
552
552
  ```
553
553
 
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)_
554
+ _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/devenv/project/init/index.ts)_
555
555
 
556
556
  ## `hereya devenv project uninit PROJECT`
557
557
 
@@ -577,7 +577,7 @@ EXAMPLES
577
577
  $ hereya devenv project uninit my-app -w my-workspace --force
578
578
  ```
579
579
 
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)_
580
+ _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/devenv/project/uninit/index.ts)_
581
581
 
582
582
  ## `hereya devenv ssh`
583
583
 
@@ -597,7 +597,7 @@ EXAMPLES
597
597
  $ hereya devenv ssh -w my-workspace
598
598
  ```
599
599
 
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)_
600
+ _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/devenv/ssh/index.ts)_
601
601
 
602
602
  ## `hereya devenv uninstall`
603
603
 
@@ -618,7 +618,7 @@ EXAMPLES
618
618
  $ hereya devenv uninstall -w my-workspace
619
619
  ```
620
620
 
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)_
621
+ _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/devenv/uninstall/index.ts)_
622
622
 
623
623
  ## `hereya doc PACKAGE`
624
624
 
@@ -651,7 +651,7 @@ EXAMPLES
651
651
  $ hereya doc my-package --no-doc
652
652
  ```
653
653
 
654
- _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/doc/index.ts)_
654
+ _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/doc/index.ts)_
655
655
 
656
656
  ## `hereya docker run IMAGE`
657
657
 
@@ -682,7 +682,7 @@ EXAMPLES
682
682
  $ hereya docker run myapp:latest -- --rm -v ./data:/data
683
683
  ```
684
684
 
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)_
685
+ _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/docker/run/index.ts)_
686
686
 
687
687
  ## `hereya down`
688
688
 
@@ -709,7 +709,7 @@ EXAMPLES
709
709
  $ hereya down
710
710
  ```
711
711
 
712
- _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/down/index.ts)_
712
+ _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/down/index.ts)_
713
713
 
714
714
  ## `hereya env [NAME]`
715
715
 
@@ -740,7 +740,7 @@ EXAMPLES
740
740
  $ hereya env -w dev -l
741
741
  ```
742
742
 
743
- _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/env/index.ts)_
743
+ _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/env/index.ts)_
744
744
 
745
745
  ## `hereya env set [NAME]`
746
746
 
@@ -767,7 +767,7 @@ EXAMPLES
767
767
  $ hereya env set FOO -v bar -w dev
768
768
  ```
769
769
 
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)_
770
+ _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/env/set/index.ts)_
771
771
 
772
772
  ## `hereya executor start`
773
773
 
@@ -800,7 +800,7 @@ EXAMPLES
800
800
  HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
801
801
  ```
802
802
 
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)_
803
+ _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/executor/start/index.ts)_
804
804
 
805
805
  ## `hereya flow add PACKAGE`
806
806
 
@@ -838,7 +838,7 @@ EXAMPLES
838
838
  $ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
839
839
  ```
840
840
 
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)_
841
+ _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/flow/add/index.ts)_
842
842
 
843
843
  ## `hereya flow docker run IMAGE`
844
844
 
@@ -868,7 +868,7 @@ EXAMPLES
868
868
  $ hereya flow docker run --pin myapp:latest -- --rm
869
869
  ```
870
870
 
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)_
871
+ _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/flow/docker/run/index.ts)_
872
872
 
873
873
  ## `hereya flow down`
874
874
 
@@ -902,7 +902,7 @@ EXAMPLES
902
902
  $ hereya flow down --pin
903
903
  ```
904
904
 
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)_
905
+ _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/flow/down/index.ts)_
906
906
 
907
907
  ## `hereya flow env [NAME]`
908
908
 
@@ -936,7 +936,7 @@ EXAMPLES
936
936
  $ hereya flow env -l
937
937
  ```
938
938
 
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)_
939
+ _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/flow/env/index.ts)_
940
940
 
941
941
  ## `hereya flow provid PACKAGE`
942
942
 
@@ -965,7 +965,7 @@ EXAMPLES
965
965
  $ hereya flow provid hereya/postgres --pin
966
966
  ```
967
967
 
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)_
968
+ _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/flow/provid/index.ts)_
969
969
 
970
970
  ## `hereya flow remove PACKAGE`
971
971
 
@@ -995,7 +995,7 @@ EXAMPLES
995
995
  $ hereya flow remove cloudy/docker_postgres --profile staging
996
996
  ```
997
997
 
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)_
998
+ _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/flow/remove/index.ts)_
999
999
 
1000
1000
  ## `hereya flow run CMD`
1001
1001
 
@@ -1024,7 +1024,7 @@ EXAMPLES
1024
1024
  $ hereya flow run --pin -- npm test
1025
1025
  ```
1026
1026
 
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)_
1027
+ _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/flow/run/index.ts)_
1028
1028
 
1029
1029
  ## `hereya flow up`
1030
1030
 
@@ -1058,7 +1058,7 @@ EXAMPLES
1058
1058
  $ hereya flow up --pin
1059
1059
  ```
1060
1060
 
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)_
1061
+ _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/flow/up/index.ts)_
1062
1062
 
1063
1063
  ## `hereya help [COMMAND]`
1064
1064
 
@@ -1115,7 +1115,7 @@ EXAMPLES
1115
1115
  $ hereya import org/my-package -f state.tfstate -w my-workspace
1116
1116
  ```
1117
1117
 
1118
- _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/import/index.ts)_
1118
+ _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/import/index.ts)_
1119
1119
 
1120
1120
  ## `hereya init PROJECT`
1121
1121
 
@@ -1149,7 +1149,7 @@ EXAMPLES
1149
1149
  $ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
1150
1150
  ```
1151
1151
 
1152
- _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/init/index.ts)_
1152
+ _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/init/index.ts)_
1153
1153
 
1154
1154
  ## `hereya list`
1155
1155
 
@@ -1166,7 +1166,7 @@ EXAMPLES
1166
1166
  $ hereya list
1167
1167
  ```
1168
1168
 
1169
- _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/list/index.ts)_
1169
+ _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/list/index.ts)_
1170
1170
 
1171
1171
  ## `hereya login [URL]`
1172
1172
 
@@ -1195,7 +1195,7 @@ EXAMPLES
1195
1195
  $ hereya login --token=your-token https://cloud.hereya.dev
1196
1196
  ```
1197
1197
 
1198
- _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/login/index.ts)_
1198
+ _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/login/index.ts)_
1199
1199
 
1200
1200
  ## `hereya logout`
1201
1201
 
@@ -1212,7 +1212,7 @@ EXAMPLES
1212
1212
  $ hereya logout
1213
1213
  ```
1214
1214
 
1215
- _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/logout/index.ts)_
1215
+ _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/logout/index.ts)_
1216
1216
 
1217
1217
  ## `hereya provid PACKAGE`
1218
1218
 
@@ -1240,7 +1240,7 @@ EXAMPLES
1240
1240
  $ hereya provid hereya/postgres --workspace staging
1241
1241
  ```
1242
1242
 
1243
- _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/provid/index.ts)_
1243
+ _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/provid/index.ts)_
1244
1244
 
1245
1245
  ## `hereya publish`
1246
1246
 
@@ -1263,7 +1263,7 @@ EXAMPLES
1263
1263
  $ hereya publish --chdir=/path/to/package
1264
1264
  ```
1265
1265
 
1266
- _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/publish/index.ts)_
1266
+ _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/publish/index.ts)_
1267
1267
 
1268
1268
  ## `hereya remove PACKAGE`
1269
1269
 
@@ -1291,7 +1291,7 @@ EXAMPLES
1291
1291
  $ hereya remove cloudy/docker_postgres
1292
1292
  ```
1293
1293
 
1294
- _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/remove/index.ts)_
1294
+ _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/remove/index.ts)_
1295
1295
 
1296
1296
  ## `hereya run CMD`
1297
1297
 
@@ -1317,7 +1317,7 @@ EXAMPLES
1317
1317
  $ hereya run -w uat -- node index.js
1318
1318
  ```
1319
1319
 
1320
- _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/run/index.ts)_
1320
+ _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/run/index.ts)_
1321
1321
 
1322
1322
  ## `hereya search QUERY`
1323
1323
 
@@ -1348,7 +1348,7 @@ EXAMPLES
1348
1348
  $ hereya search database --json
1349
1349
  ```
1350
1350
 
1351
- _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/search/index.ts)_
1351
+ _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/search/index.ts)_
1352
1352
 
1353
1353
  ## `hereya unbootstrap INFRASTRUCTURETYPE`
1354
1354
 
@@ -1373,7 +1373,7 @@ EXAMPLES
1373
1373
  $ hereya unbootstrap local
1374
1374
  ```
1375
1375
 
1376
- _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/unbootstrap/index.ts)_
1376
+ _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/unbootstrap/index.ts)_
1377
1377
 
1378
1378
  ## `hereya undeploy`
1379
1379
 
@@ -1399,7 +1399,7 @@ EXAMPLES
1399
1399
  $ hereya undeploy
1400
1400
  ```
1401
1401
 
1402
- _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/undeploy/index.ts)_
1402
+ _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/undeploy/index.ts)_
1403
1403
 
1404
1404
  ## `hereya uninit PROJECT`
1405
1405
 
@@ -1427,7 +1427,7 @@ EXAMPLES
1427
1427
  $ hereya uninit myProject -w dev -p prodWorkspace=prod
1428
1428
  ```
1429
1429
 
1430
- _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/uninit/index.ts)_
1430
+ _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/uninit/index.ts)_
1431
1431
 
1432
1432
  ## `hereya up`
1433
1433
 
@@ -1454,7 +1454,7 @@ EXAMPLES
1454
1454
  $ hereya up
1455
1455
  ```
1456
1456
 
1457
- _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/up/index.ts)_
1457
+ _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/up/index.ts)_
1458
1458
 
1459
1459
  ## `hereya update [VERSION]`
1460
1460
 
@@ -1476,7 +1476,7 @@ EXAMPLES
1476
1476
  $ hereya update 0.75.0
1477
1477
  ```
1478
1478
 
1479
- _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.0/src/commands/update/index.ts)_
1479
+ _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/update/index.ts)_
1480
1480
 
1481
1481
  ## `hereya workspace create NAME`
1482
1482
 
@@ -1501,7 +1501,7 @@ EXAMPLES
1501
1501
  $ hereya workspace create dev
1502
1502
  ```
1503
1503
 
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)_
1504
+ _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/create/index.ts)_
1505
1505
 
1506
1506
  ## `hereya workspace delete NAME`
1507
1507
 
@@ -1521,7 +1521,7 @@ EXAMPLES
1521
1521
  $ hereya workspace delete dev
1522
1522
  ```
1523
1523
 
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)_
1524
+ _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/delete/index.ts)_
1525
1525
 
1526
1526
  ## `hereya workspace env [NAME]`
1527
1527
 
@@ -1547,7 +1547,7 @@ EXAMPLES
1547
1547
  $ hereya workspace env myEnv -w dev
1548
1548
  ```
1549
1549
 
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)_
1550
+ _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/env/index.ts)_
1551
1551
 
1552
1552
  ## `hereya workspace env set`
1553
1553
 
@@ -1571,7 +1571,7 @@ EXAMPLES
1571
1571
  $ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
1572
1572
  ```
1573
1573
 
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)_
1574
+ _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/env/set/index.ts)_
1575
1575
 
1576
1576
  ## `hereya workspace env unset`
1577
1577
 
@@ -1592,7 +1592,7 @@ EXAMPLES
1592
1592
  $ hereya workspace env unset -w my-workspace -n myVar
1593
1593
  ```
1594
1594
 
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)_
1595
+ _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/env/unset/index.ts)_
1596
1596
 
1597
1597
  ## `hereya workspace executor install`
1598
1598
 
@@ -1611,7 +1611,7 @@ DESCRIPTION
1611
1611
  Install a remote executor into a workspace
1612
1612
  ```
1613
1613
 
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)_
1614
+ _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/executor/install/index.ts)_
1615
1615
 
1616
1616
  ## `hereya workspace executor token`
1617
1617
 
@@ -1628,7 +1628,7 @@ DESCRIPTION
1628
1628
  Generate a workspace-scoped executor token for the remote executor
1629
1629
  ```
1630
1630
 
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)_
1631
+ _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/executor/token/index.ts)_
1632
1632
 
1633
1633
  ## `hereya workspace executor uninstall`
1634
1634
 
@@ -1646,7 +1646,7 @@ DESCRIPTION
1646
1646
  Uninstall the remote executor from a workspace
1647
1647
  ```
1648
1648
 
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)_
1649
+ _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/executor/uninstall/index.ts)_
1650
1650
 
1651
1651
  ## `hereya workspace install PACKAGE`
1652
1652
 
@@ -1673,7 +1673,7 @@ EXAMPLES
1673
1673
  $ hereya workspace install hereya/aws-cognito
1674
1674
  ```
1675
1675
 
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)_
1676
+ _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/install/index.ts)_
1677
1677
 
1678
1678
  ## `hereya workspace list`
1679
1679
 
@@ -1697,7 +1697,7 @@ EXAMPLES
1697
1697
  $ hereya workspace list --org personal
1698
1698
  ```
1699
1699
 
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)_
1700
+ _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/list/index.ts)_
1701
1701
 
1702
1702
  ## `hereya workspace set-profile PROFILE`
1703
1703
 
@@ -1721,7 +1721,7 @@ EXAMPLES
1721
1721
  $ hereya workspace set-profile prod-profile -w production
1722
1722
  ```
1723
1723
 
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)_
1724
+ _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/set-profile/index.ts)_
1725
1725
 
1726
1726
  ## `hereya workspace uninstall PACKAGE`
1727
1727
 
@@ -1748,5 +1748,5 @@ EXAMPLES
1748
1748
  $ hereya workspace uninstall hereya/aws-cognito
1749
1749
  ```
1750
1750
 
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)_
1751
+ _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.85.2/src/commands/workspace/uninstall/index.ts)_
1752
1752
  <!-- commandsstop -->
@@ -279,9 +279,14 @@ Set the HEREYA_CLOUD_URL environment variable to target a specific hereya cloud
279
279
  }
280
280
  const mergedEnv = {};
281
281
  // 1) Provision regular packages
282
+ // Workspace env is merged in so packages like aws-postgres-serverless that
283
+ // depend on workspace-level outputs (clusterArn, masterSecretArn, ...) can
284
+ // resolve them. Mirrors the env-flow that `hereya add` produces in the
285
+ // project lifecycle.
282
286
  /* eslint-disable no-await-in-loop */
283
287
  for (const pkg of packages) {
284
288
  const result = await appPackageOps.provisionPackage({
289
+ env: { ...workspaceEnv, ...mergedEnv },
285
290
  isDeploying: true,
286
291
  logger,
287
292
  package: pkg.spec,
@@ -298,6 +303,7 @@ Set the HEREYA_CLOUD_URL environment variable to target a specific hereya cloud
298
303
  // 2) Provision deploy packages — these get workspace env merged in
299
304
  for (const pkg of deployPackages) {
300
305
  const result = await appPackageOps.provisionPackage({
306
+ env: { ...workspaceEnv, ...mergedEnv },
301
307
  isDeploying: true,
302
308
  logger,
303
309
  package: pkg.spec,
@@ -412,6 +418,7 @@ Set the HEREYA_CLOUD_URL environment variable to target a specific hereya cloud
412
418
  /* eslint-disable no-await-in-loop */
413
419
  for (const pkg of reversed) {
414
420
  const result = await appPackageOps.destroyPackage({
421
+ env: workspaceEnv,
415
422
  isDeploying: true,
416
423
  logger,
417
424
  package: pkg.spec,
@@ -1,10 +1,27 @@
1
+ const DEFAULT_TIMEOUT_MIN = 90;
2
+ const HEARTBEAT_INTERVAL_MS = 5 * 60 * 1000;
3
+ /**
4
+ * Default poll timeout, in ms. Overridable via HEREYA_JOB_TIMEOUT_MIN env var
5
+ * (positive integer, in minutes). Falls back to DEFAULT_TIMEOUT_MIN.
6
+ */
7
+ function defaultTimeoutMs() {
8
+ const fromEnv = process.env.HEREYA_JOB_TIMEOUT_MIN;
9
+ if (fromEnv !== undefined) {
10
+ const parsed = Number(fromEnv);
11
+ if (Number.isFinite(parsed) && parsed > 0) {
12
+ return parsed * 60 * 1000;
13
+ }
14
+ }
15
+ return DEFAULT_TIMEOUT_MIN * 60 * 1000;
16
+ }
1
17
  export async function pollExecutorJob(input) {
2
18
  const { cloudBackend, jobId, logger, workspace } = input;
3
- const timeout = input.timeoutMs ?? 10 * 60 * 1000;
19
+ const timeout = input.timeoutMs ?? defaultTimeoutMs();
4
20
  logger?.info?.(`Remote executor job submitted (${jobId}). Waiting for result...`);
5
21
  const startTime = Date.now();
6
22
  let lastLogLength = 0;
7
23
  let lastStatus = 'pending';
24
+ let lastUserHeartbeat = startTime;
8
25
  while (Date.now() - startTime < timeout) {
9
26
  // eslint-disable-next-line no-await-in-loop
10
27
  const statusResult = await cloudBackend.getExecutorJobStatus({
@@ -18,12 +35,23 @@ export async function pollExecutorJob(input) {
18
35
  }
19
36
  const { job } = statusResult;
20
37
  lastStatus = job.status;
21
- if (job.logs && job.logs.length > lastLogLength) {
38
+ const sawNewLog = Boolean(job.logs && job.logs.length > lastLogLength);
39
+ if (sawNewLog) {
22
40
  const newLogs = job.logs.slice(lastLogLength);
23
41
  if (newLogs.trim()) {
24
42
  logger?.info?.(newLogs);
25
43
  }
26
44
  lastLogLength = job.logs.length;
45
+ lastUserHeartbeat = Date.now();
46
+ }
47
+ else {
48
+ const now = Date.now();
49
+ if (now - lastUserHeartbeat >= HEARTBEAT_INTERVAL_MS) {
50
+ const elapsedMin = Math.round((now - startTime) / 60_000);
51
+ const totalMin = Math.round(timeout / 60_000);
52
+ logger?.info?.(`still waiting on job ${jobId} (${elapsedMin}m elapsed, ${totalMin}m timeout). Set HEREYA_JOB_TIMEOUT_MIN to extend.`);
53
+ lastUserHeartbeat = now;
54
+ }
27
55
  }
28
56
  if (job.status === 'completed') {
29
57
  if (job.result) {
@@ -41,5 +69,8 @@ export async function pollExecutorJob(input) {
41
69
  setTimeout(resolve, 1000);
42
70
  });
43
71
  }
44
- return { reason: `Remote executor job timed out after ${Math.round(timeout / 60_000)} minutes`, success: false };
72
+ return {
73
+ reason: `Remote executor job timed out after ${Math.round(timeout / 60_000)} minutes (configurable via HEREYA_JOB_TIMEOUT_MIN)`,
74
+ success: false,
75
+ };
45
76
  }
@@ -1536,23 +1536,24 @@
1536
1536
  "index.js"
1537
1537
  ]
1538
1538
  },
1539
- "config:import-backend": {
1539
+ "config:use-backend": {
1540
1540
  "aliases": [],
1541
1541
  "args": {
1542
- "file": {
1543
- "description": "Path to the file containing the backend configuration to import",
1544
- "name": "file",
1542
+ "type": {
1543
+ "description": "type of backend to use. Possible values: s3, local",
1544
+ "name": "type",
1545
1545
  "required": true
1546
1546
  }
1547
1547
  },
1548
- "description": "Import a backend configuration from a file",
1548
+ "description": "set the current backend type",
1549
1549
  "examples": [
1550
- "<%= config.bin %> <%= command.id %> ./path/to/cloud-backend.json"
1550
+ "<%= config.bin %> <%= command.id %> s3",
1551
+ "<%= config.bin %> <%= command.id %> local"
1551
1552
  ],
1552
1553
  "flags": {},
1553
1554
  "hasDynamicHelp": false,
1554
1555
  "hiddenAliases": [],
1555
- "id": "config:import-backend",
1556
+ "id": "config:use-backend",
1556
1557
  "pluginAlias": "hereya-cli",
1557
1558
  "pluginName": "hereya-cli",
1558
1559
  "pluginType": "core",
@@ -1563,28 +1564,27 @@
1563
1564
  "dist",
1564
1565
  "commands",
1565
1566
  "config",
1566
- "import-backend",
1567
+ "use-backend",
1567
1568
  "index.js"
1568
1569
  ]
1569
1570
  },
1570
- "config:use-backend": {
1571
+ "config:import-backend": {
1571
1572
  "aliases": [],
1572
1573
  "args": {
1573
- "type": {
1574
- "description": "type of backend to use. Possible values: s3, local",
1575
- "name": "type",
1574
+ "file": {
1575
+ "description": "Path to the file containing the backend configuration to import",
1576
+ "name": "file",
1576
1577
  "required": true
1577
1578
  }
1578
1579
  },
1579
- "description": "set the current backend type",
1580
+ "description": "Import a backend configuration from a file",
1580
1581
  "examples": [
1581
- "<%= config.bin %> <%= command.id %> s3",
1582
- "<%= config.bin %> <%= command.id %> local"
1582
+ "<%= config.bin %> <%= command.id %> ./path/to/cloud-backend.json"
1583
1583
  ],
1584
1584
  "flags": {},
1585
1585
  "hasDynamicHelp": false,
1586
1586
  "hiddenAliases": [],
1587
- "id": "config:use-backend",
1587
+ "id": "config:import-backend",
1588
1588
  "pluginAlias": "hereya-cli",
1589
1589
  "pluginName": "hereya-cli",
1590
1590
  "pluginType": "core",
@@ -1595,7 +1595,7 @@
1595
1595
  "dist",
1596
1596
  "commands",
1597
1597
  "config",
1598
- "use-backend",
1598
+ "import-backend",
1599
1599
  "index.js"
1600
1600
  ]
1601
1601
  },
@@ -2680,60 +2680,46 @@
2680
2680
  "index.js"
2681
2681
  ]
2682
2682
  },
2683
- "devenv:project:init": {
2683
+ "workspace:uninstall": {
2684
2684
  "aliases": [],
2685
2685
  "args": {
2686
- "project": {
2687
- "description": "project name",
2688
- "name": "project",
2686
+ "package": {
2687
+ "description": "The package to remove. Packages are gitHub repositories. Use the format owner/repository",
2688
+ "name": "package",
2689
2689
  "required": true
2690
2690
  }
2691
2691
  },
2692
- "description": "Initialize a project on a remote dev environment.",
2692
+ "description": "Remove a package from a workspace.",
2693
2693
  "examples": [
2694
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace",
2695
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter",
2696
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter -p region=us-east-1"
2694
+ "<%= config.bin %> <%= command.id %> hereya/aws-cognito"
2697
2695
  ],
2698
2696
  "flags": {
2699
- "deploy-workspace": {
2700
- "char": "d",
2701
- "description": "workspace used for deployment (required when using a template)",
2702
- "name": "deploy-workspace",
2703
- "required": false,
2704
- "hasDynamicHelp": false,
2705
- "multiple": false,
2706
- "type": "option"
2707
- },
2708
- "force": {
2709
- "char": "f",
2710
- "description": "continue even if folder already exists",
2711
- "name": "force",
2697
+ "debug": {
2698
+ "description": "enable debug mode",
2699
+ "name": "debug",
2712
2700
  "allowNo": false,
2713
2701
  "type": "boolean"
2714
2702
  },
2715
2703
  "parameter": {
2716
2704
  "char": "p",
2717
- "description": "parameter for the template, in the form of 'key=value'. Can be specified multiple times.",
2705
+ "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
2718
2706
  "name": "parameter",
2719
- "required": false,
2720
2707
  "default": [],
2721
2708
  "hasDynamicHelp": false,
2722
2709
  "multiple": true,
2723
2710
  "type": "option"
2724
2711
  },
2725
- "template": {
2726
- "char": "t",
2727
- "description": "template package to scaffold the project from",
2728
- "name": "template",
2729
- "required": false,
2712
+ "parameter-file": {
2713
+ "char": "f",
2714
+ "description": "path to a file containing parameters for the package",
2715
+ "name": "parameter-file",
2730
2716
  "hasDynamicHelp": false,
2731
2717
  "multiple": false,
2732
2718
  "type": "option"
2733
2719
  },
2734
2720
  "workspace": {
2735
2721
  "char": "w",
2736
- "description": "name of the workspace",
2722
+ "description": "name of the workspace to remove the package from",
2737
2723
  "name": "workspace",
2738
2724
  "required": true,
2739
2725
  "hasDynamicHelp": false,
@@ -2743,7 +2729,7 @@
2743
2729
  },
2744
2730
  "hasDynamicHelp": false,
2745
2731
  "hiddenAliases": [],
2746
- "id": "devenv:project:init",
2732
+ "id": "workspace:uninstall",
2747
2733
  "pluginAlias": "hereya-cli",
2748
2734
  "pluginName": "hereya-cli",
2749
2735
  "pluginType": "core",
@@ -2753,52 +2739,65 @@
2753
2739
  "relativePath": [
2754
2740
  "dist",
2755
2741
  "commands",
2756
- "devenv",
2757
- "project",
2758
- "init",
2742
+ "workspace",
2743
+ "uninstall",
2759
2744
  "index.js"
2760
2745
  ]
2761
2746
  },
2762
- "workspace:uninstall": {
2747
+ "devenv:project:init": {
2763
2748
  "aliases": [],
2764
2749
  "args": {
2765
- "package": {
2766
- "description": "The package to remove. Packages are gitHub repositories. Use the format owner/repository",
2767
- "name": "package",
2750
+ "project": {
2751
+ "description": "project name",
2752
+ "name": "project",
2768
2753
  "required": true
2769
2754
  }
2770
2755
  },
2771
- "description": "Remove a package from a workspace.",
2756
+ "description": "Initialize a project on a remote dev environment.",
2772
2757
  "examples": [
2773
- "<%= config.bin %> <%= command.id %> hereya/aws-cognito"
2758
+ "<%= config.bin %> <%= command.id %> my-app -w my-workspace",
2759
+ "<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter",
2760
+ "<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter -p region=us-east-1"
2774
2761
  ],
2775
2762
  "flags": {
2776
- "debug": {
2777
- "description": "enable debug mode",
2778
- "name": "debug",
2763
+ "deploy-workspace": {
2764
+ "char": "d",
2765
+ "description": "workspace used for deployment (required when using a template)",
2766
+ "name": "deploy-workspace",
2767
+ "required": false,
2768
+ "hasDynamicHelp": false,
2769
+ "multiple": false,
2770
+ "type": "option"
2771
+ },
2772
+ "force": {
2773
+ "char": "f",
2774
+ "description": "continue even if folder already exists",
2775
+ "name": "force",
2779
2776
  "allowNo": false,
2780
2777
  "type": "boolean"
2781
2778
  },
2782
2779
  "parameter": {
2783
2780
  "char": "p",
2784
- "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
2781
+ "description": "parameter for the template, in the form of 'key=value'. Can be specified multiple times.",
2785
2782
  "name": "parameter",
2783
+ "required": false,
2786
2784
  "default": [],
2787
2785
  "hasDynamicHelp": false,
2788
2786
  "multiple": true,
2789
2787
  "type": "option"
2790
2788
  },
2791
- "parameter-file": {
2792
- "char": "f",
2793
- "description": "path to a file containing parameters for the package",
2794
- "name": "parameter-file",
2789
+ "template": {
2790
+ "char": "t",
2791
+ "description": "template package to scaffold the project from",
2792
+ "name": "template",
2793
+ "required": false,
2795
2794
  "hasDynamicHelp": false,
2796
2795
  "multiple": false,
2797
2796
  "type": "option"
2798
2797
  },
2799
2798
  "workspace": {
2800
2799
  "char": "w",
2801
- "description": "name of the workspace to remove the package from",
2800
+ "description": "name of the workspace",
2802
2801
  "name": "workspace",
2803
2802
  "required": true,
2804
2803
  "hasDynamicHelp": false,
@@ -2808,7 +2807,7 @@
2808
2807
  },
2809
2808
  "hasDynamicHelp": false,
2810
2809
  "hiddenAliases": [],
2811
- "id": "workspace:uninstall",
2810
+ "id": "devenv:project:init",
2812
2811
  "pluginAlias": "hereya-cli",
2813
2812
  "pluginName": "hereya-cli",
2814
2813
  "pluginType": "core",
@@ -2818,8 +2817,9 @@
2818
2817
  "relativePath": [
2819
2818
  "dist",
2820
2819
  "commands",
2821
- "workspace",
2822
- "uninstall",
2820
+ "devenv",
2821
+ "project",
2822
+ "init",
2823
2823
  "index.js"
2824
2824
  ]
2825
2825
  },
@@ -2941,26 +2941,51 @@
2941
2941
  "index.js"
2942
2942
  ]
2943
2943
  },
2944
- "workspace:env:unset": {
2944
+ "workspace:env:set": {
2945
2945
  "aliases": [],
2946
2946
  "args": {},
2947
- "description": "unset an env var for a workspace",
2947
+ "description": "set an env var for a workspace",
2948
2948
  "examples": [
2949
- "<%= config.bin %> <%= command.id %> -w my-workspace -n myVar"
2949
+ "<%= config.bin %> <%= command.id %> -w my-workspace -n myVar -v my-value -i aws -s"
2950
2950
  ],
2951
2951
  "flags": {
2952
+ "infra": {
2953
+ "char": "i",
2954
+ "description": "the infrastructure to store the env var in",
2955
+ "name": "infra",
2956
+ "required": true,
2957
+ "hasDynamicHelp": false,
2958
+ "multiple": false,
2959
+ "type": "option"
2960
+ },
2952
2961
  "name": {
2953
2962
  "char": "n",
2954
- "description": "name of the env var to unset",
2963
+ "description": "name of the env var to set",
2955
2964
  "name": "name",
2956
2965
  "required": true,
2957
2966
  "hasDynamicHelp": false,
2958
2967
  "multiple": false,
2959
2968
  "type": "option"
2960
2969
  },
2970
+ "sensitive": {
2971
+ "char": "s",
2972
+ "description": "whether the env var is sensitive",
2973
+ "name": "sensitive",
2974
+ "allowNo": false,
2975
+ "type": "boolean"
2976
+ },
2977
+ "value": {
2978
+ "char": "v",
2979
+ "description": "value of the env var to set",
2980
+ "name": "value",
2981
+ "required": true,
2982
+ "hasDynamicHelp": false,
2983
+ "multiple": false,
2984
+ "type": "option"
2985
+ },
2961
2986
  "workspace": {
2962
2987
  "char": "w",
2963
- "description": "name of the workspace to unset an env var for",
2988
+ "description": "name of the workspace to set an env var for",
2964
2989
  "name": "workspace",
2965
2990
  "required": true,
2966
2991
  "hasDynamicHelp": false,
@@ -2970,7 +2995,7 @@
2970
2995
  },
2971
2996
  "hasDynamicHelp": false,
2972
2997
  "hiddenAliases": [],
2973
- "id": "workspace:env:unset",
2998
+ "id": "workspace:env:set",
2974
2999
  "pluginAlias": "hereya-cli",
2975
3000
  "pluginName": "hereya-cli",
2976
3001
  "pluginType": "core",
@@ -2982,55 +3007,30 @@
2982
3007
  "commands",
2983
3008
  "workspace",
2984
3009
  "env",
2985
- "unset",
3010
+ "set",
2986
3011
  "index.js"
2987
3012
  ]
2988
3013
  },
2989
- "workspace:env:set": {
3014
+ "workspace:env:unset": {
2990
3015
  "aliases": [],
2991
3016
  "args": {},
2992
- "description": "set an env var for a workspace",
3017
+ "description": "unset an env var for a workspace",
2993
3018
  "examples": [
2994
- "<%= config.bin %> <%= command.id %> -w my-workspace -n myVar -v my-value -i aws -s"
3019
+ "<%= config.bin %> <%= command.id %> -w my-workspace -n myVar"
2995
3020
  ],
2996
3021
  "flags": {
2997
- "infra": {
2998
- "char": "i",
2999
- "description": "the infrastructure to store the env var in",
3000
- "name": "infra",
3001
- "required": true,
3002
- "hasDynamicHelp": false,
3003
- "multiple": false,
3004
- "type": "option"
3005
- },
3006
3022
  "name": {
3007
3023
  "char": "n",
3008
- "description": "name of the env var to set",
3024
+ "description": "name of the env var to unset",
3009
3025
  "name": "name",
3010
3026
  "required": true,
3011
3027
  "hasDynamicHelp": false,
3012
3028
  "multiple": false,
3013
3029
  "type": "option"
3014
3030
  },
3015
- "sensitive": {
3016
- "char": "s",
3017
- "description": "whether the env var is sensitive",
3018
- "name": "sensitive",
3019
- "allowNo": false,
3020
- "type": "boolean"
3021
- },
3022
- "value": {
3023
- "char": "v",
3024
- "description": "value of the env var to set",
3025
- "name": "value",
3026
- "required": true,
3027
- "hasDynamicHelp": false,
3028
- "multiple": false,
3029
- "type": "option"
3030
- },
3031
3031
  "workspace": {
3032
3032
  "char": "w",
3033
- "description": "name of the workspace to set an env var for",
3033
+ "description": "name of the workspace to unset an env var for",
3034
3034
  "name": "workspace",
3035
3035
  "required": true,
3036
3036
  "hasDynamicHelp": false,
@@ -3040,7 +3040,7 @@
3040
3040
  },
3041
3041
  "hasDynamicHelp": false,
3042
3042
  "hiddenAliases": [],
3043
- "id": "workspace:env:set",
3043
+ "id": "workspace:env:unset",
3044
3044
  "pluginAlias": "hereya-cli",
3045
3045
  "pluginName": "hereya-cli",
3046
3046
  "pluginType": "core",
@@ -3052,7 +3052,7 @@
3052
3052
  "commands",
3053
3053
  "workspace",
3054
3054
  "env",
3055
- "set",
3055
+ "unset",
3056
3056
  "index.js"
3057
3057
  ]
3058
3058
  },
@@ -3175,5 +3175,5 @@
3175
3175
  ]
3176
3176
  }
3177
3177
  },
3178
- "version": "0.85.0"
3178
+ "version": "0.85.2"
3179
3179
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hereya-cli",
3
3
  "description": "Infrastructure as Package",
4
- "version": "0.85.0",
4
+ "version": "0.85.2",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.js"