hereya-cli 0.80.0 → 0.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md 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.80.0 linux-x64 node-v24.14.0
24
+ hereya-cli/0.81.0 linux-x64 node-v24.14.1
25
25
  $ hereya --help [COMMAND]
26
26
  USAGE
27
27
  $ hereya COMMAND
@@ -120,7 +120,7 @@ EXAMPLES
120
120
  $ hereya add cloudy/docker_postgres
121
121
  ```
122
122
 
123
- _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/add/index.ts)_
123
+ _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/add/index.ts)_
124
124
 
125
125
  ## `hereya bootstrap INFRASTRUCTURETYPE`
126
126
 
@@ -145,7 +145,7 @@ EXAMPLES
145
145
  $ hereya bootstrap local
146
146
  ```
147
147
 
148
- _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/bootstrap/index.ts)_
148
+ _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/bootstrap/index.ts)_
149
149
 
150
150
  ## `hereya clone PROJECT`
151
151
 
@@ -170,7 +170,7 @@ EXAMPLES
170
170
  $ hereya clone myProject --chdir=./myProject
171
171
  ```
172
172
 
173
- _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/clone/index.ts)_
173
+ _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/clone/index.ts)_
174
174
 
175
175
  ## `hereya config export-backend [FILE]`
176
176
 
@@ -192,7 +192,7 @@ EXAMPLES
192
192
  $ hereya config export-backend ./path/to/export.json
193
193
  ```
194
194
 
195
- _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/config/export-backend/index.ts)_
195
+ _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/config/export-backend/index.ts)_
196
196
 
197
197
  ## `hereya config get-backend`
198
198
 
@@ -209,7 +209,7 @@ EXAMPLES
209
209
  $ hereya config get-backend
210
210
  ```
211
211
 
212
- _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/config/get-backend/index.ts)_
212
+ _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/config/get-backend/index.ts)_
213
213
 
214
214
  ## `hereya config import-backend FILE`
215
215
 
@@ -229,7 +229,7 @@ EXAMPLES
229
229
  $ hereya config import-backend ./path/to/cloud-backend.json
230
230
  ```
231
231
 
232
- _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/config/import-backend/index.ts)_
232
+ _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/config/import-backend/index.ts)_
233
233
 
234
234
  ## `hereya config use-backend TYPE`
235
235
 
@@ -251,7 +251,7 @@ EXAMPLES
251
251
  $ hereya config use-backend local
252
252
  ```
253
253
 
254
- _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/config/use-backend/index.ts)_
254
+ _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/config/use-backend/index.ts)_
255
255
 
256
256
  ## `hereya delete-state`
257
257
 
@@ -277,7 +277,7 @@ EXAMPLES
277
277
  $ hereya delete-state --workspace staging
278
278
  ```
279
279
 
280
- _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/delete-state/index.ts)_
280
+ _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/delete-state/index.ts)_
281
281
 
282
282
  ## `hereya deploy`
283
283
 
@@ -303,7 +303,7 @@ EXAMPLES
303
303
  $ hereya deploy
304
304
  ```
305
305
 
306
- _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/deploy/index.ts)_
306
+ _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/deploy/index.ts)_
307
307
 
308
308
  ## `hereya devenv config`
309
309
 
@@ -323,7 +323,7 @@ EXAMPLES
323
323
  $ hereya devenv config -w my-workspace
324
324
  ```
325
325
 
326
- _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/devenv/config/index.ts)_
326
+ _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/devenv/config/index.ts)_
327
327
 
328
328
  ## `hereya devenv install`
329
329
 
@@ -348,7 +348,7 @@ EXAMPLES
348
348
  $ hereya devenv install -w my-workspace -p instanceType=t3.large
349
349
  ```
350
350
 
351
- _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/devenv/install/index.ts)_
351
+ _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/devenv/install/index.ts)_
352
352
 
353
353
  ## `hereya devenv project init PROJECT`
354
354
 
@@ -380,7 +380,7 @@ EXAMPLES
380
380
  $ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
381
381
  ```
382
382
 
383
- _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/devenv/project/init/index.ts)_
383
+ _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/devenv/project/init/index.ts)_
384
384
 
385
385
  ## `hereya devenv project uninit PROJECT`
386
386
 
@@ -406,7 +406,7 @@ EXAMPLES
406
406
  $ hereya devenv project uninit my-app -w my-workspace --force
407
407
  ```
408
408
 
409
- _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/devenv/project/uninit/index.ts)_
409
+ _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/devenv/project/uninit/index.ts)_
410
410
 
411
411
  ## `hereya devenv ssh`
412
412
 
@@ -426,7 +426,7 @@ EXAMPLES
426
426
  $ hereya devenv ssh -w my-workspace
427
427
  ```
428
428
 
429
- _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/devenv/ssh/index.ts)_
429
+ _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/devenv/ssh/index.ts)_
430
430
 
431
431
  ## `hereya devenv uninstall`
432
432
 
@@ -447,7 +447,7 @@ EXAMPLES
447
447
  $ hereya devenv uninstall -w my-workspace
448
448
  ```
449
449
 
450
- _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/devenv/uninstall/index.ts)_
450
+ _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/devenv/uninstall/index.ts)_
451
451
 
452
452
  ## `hereya doc PACKAGE`
453
453
 
@@ -480,7 +480,7 @@ EXAMPLES
480
480
  $ hereya doc my-package --no-doc
481
481
  ```
482
482
 
483
- _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/doc/index.ts)_
483
+ _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/doc/index.ts)_
484
484
 
485
485
  ## `hereya docker run IMAGE`
486
486
 
@@ -511,7 +511,7 @@ EXAMPLES
511
511
  $ hereya docker run myapp:latest -- --rm -v ./data:/data
512
512
  ```
513
513
 
514
- _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/docker/run/index.ts)_
514
+ _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/docker/run/index.ts)_
515
515
 
516
516
  ## `hereya down`
517
517
 
@@ -538,7 +538,7 @@ EXAMPLES
538
538
  $ hereya down
539
539
  ```
540
540
 
541
- _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/down/index.ts)_
541
+ _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/down/index.ts)_
542
542
 
543
543
  ## `hereya env [NAME]`
544
544
 
@@ -569,7 +569,7 @@ EXAMPLES
569
569
  $ hereya env -w dev -l
570
570
  ```
571
571
 
572
- _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/env/index.ts)_
572
+ _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/env/index.ts)_
573
573
 
574
574
  ## `hereya env set [NAME]`
575
575
 
@@ -596,7 +596,7 @@ EXAMPLES
596
596
  $ hereya env set FOO -v bar -w dev
597
597
  ```
598
598
 
599
- _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/env/set/index.ts)_
599
+ _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/env/set/index.ts)_
600
600
 
601
601
  ## `hereya executor start`
602
602
 
@@ -629,7 +629,7 @@ EXAMPLES
629
629
  HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
630
630
  ```
631
631
 
632
- _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/executor/start/index.ts)_
632
+ _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/executor/start/index.ts)_
633
633
 
634
634
  ## `hereya flow add PACKAGE`
635
635
 
@@ -667,7 +667,7 @@ EXAMPLES
667
667
  $ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
668
668
  ```
669
669
 
670
- _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/flow/add/index.ts)_
670
+ _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/flow/add/index.ts)_
671
671
 
672
672
  ## `hereya flow docker run IMAGE`
673
673
 
@@ -697,7 +697,7 @@ EXAMPLES
697
697
  $ hereya flow docker run --pin myapp:latest -- --rm
698
698
  ```
699
699
 
700
- _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/flow/docker/run/index.ts)_
700
+ _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/flow/docker/run/index.ts)_
701
701
 
702
702
  ## `hereya flow down`
703
703
 
@@ -731,7 +731,7 @@ EXAMPLES
731
731
  $ hereya flow down --pin
732
732
  ```
733
733
 
734
- _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/flow/down/index.ts)_
734
+ _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/flow/down/index.ts)_
735
735
 
736
736
  ## `hereya flow env [NAME]`
737
737
 
@@ -765,7 +765,7 @@ EXAMPLES
765
765
  $ hereya flow env -l
766
766
  ```
767
767
 
768
- _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/flow/env/index.ts)_
768
+ _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/flow/env/index.ts)_
769
769
 
770
770
  ## `hereya flow provid PACKAGE`
771
771
 
@@ -794,7 +794,7 @@ EXAMPLES
794
794
  $ hereya flow provid hereya/postgres --pin
795
795
  ```
796
796
 
797
- _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/flow/provid/index.ts)_
797
+ _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/flow/provid/index.ts)_
798
798
 
799
799
  ## `hereya flow remove PACKAGE`
800
800
 
@@ -824,7 +824,7 @@ EXAMPLES
824
824
  $ hereya flow remove cloudy/docker_postgres --profile staging
825
825
  ```
826
826
 
827
- _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/flow/remove/index.ts)_
827
+ _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/flow/remove/index.ts)_
828
828
 
829
829
  ## `hereya flow run CMD`
830
830
 
@@ -853,7 +853,7 @@ EXAMPLES
853
853
  $ hereya flow run --pin -- npm test
854
854
  ```
855
855
 
856
- _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/flow/run/index.ts)_
856
+ _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/flow/run/index.ts)_
857
857
 
858
858
  ## `hereya flow up`
859
859
 
@@ -887,7 +887,7 @@ EXAMPLES
887
887
  $ hereya flow up --pin
888
888
  ```
889
889
 
890
- _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/flow/up/index.ts)_
890
+ _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/flow/up/index.ts)_
891
891
 
892
892
  ## `hereya help [COMMAND]`
893
893
 
@@ -944,7 +944,7 @@ EXAMPLES
944
944
  $ hereya import org/my-package -f state.tfstate -w my-workspace
945
945
  ```
946
946
 
947
- _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/import/index.ts)_
947
+ _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/import/index.ts)_
948
948
 
949
949
  ## `hereya init PROJECT`
950
950
 
@@ -978,7 +978,7 @@ EXAMPLES
978
978
  $ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
979
979
  ```
980
980
 
981
- _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/init/index.ts)_
981
+ _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/init/index.ts)_
982
982
 
983
983
  ## `hereya list`
984
984
 
@@ -995,7 +995,7 @@ EXAMPLES
995
995
  $ hereya list
996
996
  ```
997
997
 
998
- _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/list/index.ts)_
998
+ _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/list/index.ts)_
999
999
 
1000
1000
  ## `hereya login [URL]`
1001
1001
 
@@ -1024,7 +1024,7 @@ EXAMPLES
1024
1024
  $ hereya login --token=your-token https://cloud.hereya.dev
1025
1025
  ```
1026
1026
 
1027
- _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/login/index.ts)_
1027
+ _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/login/index.ts)_
1028
1028
 
1029
1029
  ## `hereya logout`
1030
1030
 
@@ -1041,7 +1041,7 @@ EXAMPLES
1041
1041
  $ hereya logout
1042
1042
  ```
1043
1043
 
1044
- _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/logout/index.ts)_
1044
+ _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/logout/index.ts)_
1045
1045
 
1046
1046
  ## `hereya provid PACKAGE`
1047
1047
 
@@ -1069,7 +1069,7 @@ EXAMPLES
1069
1069
  $ hereya provid hereya/postgres --workspace staging
1070
1070
  ```
1071
1071
 
1072
- _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/provid/index.ts)_
1072
+ _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/provid/index.ts)_
1073
1073
 
1074
1074
  ## `hereya publish`
1075
1075
 
@@ -1092,7 +1092,7 @@ EXAMPLES
1092
1092
  $ hereya publish --chdir=/path/to/package
1093
1093
  ```
1094
1094
 
1095
- _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/publish/index.ts)_
1095
+ _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/publish/index.ts)_
1096
1096
 
1097
1097
  ## `hereya remove PACKAGE`
1098
1098
 
@@ -1120,7 +1120,7 @@ EXAMPLES
1120
1120
  $ hereya remove cloudy/docker_postgres
1121
1121
  ```
1122
1122
 
1123
- _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/remove/index.ts)_
1123
+ _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/remove/index.ts)_
1124
1124
 
1125
1125
  ## `hereya run CMD`
1126
1126
 
@@ -1146,7 +1146,7 @@ EXAMPLES
1146
1146
  $ hereya run -w uat -- node index.js
1147
1147
  ```
1148
1148
 
1149
- _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/run/index.ts)_
1149
+ _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/run/index.ts)_
1150
1150
 
1151
1151
  ## `hereya search QUERY`
1152
1152
 
@@ -1177,7 +1177,7 @@ EXAMPLES
1177
1177
  $ hereya search database --json
1178
1178
  ```
1179
1179
 
1180
- _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/search/index.ts)_
1180
+ _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/search/index.ts)_
1181
1181
 
1182
1182
  ## `hereya unbootstrap INFRASTRUCTURETYPE`
1183
1183
 
@@ -1202,7 +1202,7 @@ EXAMPLES
1202
1202
  $ hereya unbootstrap local
1203
1203
  ```
1204
1204
 
1205
- _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/unbootstrap/index.ts)_
1205
+ _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/unbootstrap/index.ts)_
1206
1206
 
1207
1207
  ## `hereya undeploy`
1208
1208
 
@@ -1228,7 +1228,7 @@ EXAMPLES
1228
1228
  $ hereya undeploy
1229
1229
  ```
1230
1230
 
1231
- _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/undeploy/index.ts)_
1231
+ _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/undeploy/index.ts)_
1232
1232
 
1233
1233
  ## `hereya uninit PROJECT`
1234
1234
 
@@ -1256,7 +1256,7 @@ EXAMPLES
1256
1256
  $ hereya uninit myProject -w dev -p prodWorkspace=prod
1257
1257
  ```
1258
1258
 
1259
- _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/uninit/index.ts)_
1259
+ _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/uninit/index.ts)_
1260
1260
 
1261
1261
  ## `hereya up`
1262
1262
 
@@ -1283,7 +1283,7 @@ EXAMPLES
1283
1283
  $ hereya up
1284
1284
  ```
1285
1285
 
1286
- _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/up/index.ts)_
1286
+ _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/up/index.ts)_
1287
1287
 
1288
1288
  ## `hereya update [VERSION]`
1289
1289
 
@@ -1305,7 +1305,7 @@ EXAMPLES
1305
1305
  $ hereya update 0.75.0
1306
1306
  ```
1307
1307
 
1308
- _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/update/index.ts)_
1308
+ _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/update/index.ts)_
1309
1309
 
1310
1310
  ## `hereya workspace create NAME`
1311
1311
 
@@ -1330,7 +1330,7 @@ EXAMPLES
1330
1330
  $ hereya workspace create dev
1331
1331
  ```
1332
1332
 
1333
- _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/create/index.ts)_
1333
+ _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/create/index.ts)_
1334
1334
 
1335
1335
  ## `hereya workspace delete NAME`
1336
1336
 
@@ -1350,7 +1350,7 @@ EXAMPLES
1350
1350
  $ hereya workspace delete dev
1351
1351
  ```
1352
1352
 
1353
- _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/delete/index.ts)_
1353
+ _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/delete/index.ts)_
1354
1354
 
1355
1355
  ## `hereya workspace env [NAME]`
1356
1356
 
@@ -1376,7 +1376,7 @@ EXAMPLES
1376
1376
  $ hereya workspace env myEnv -w dev
1377
1377
  ```
1378
1378
 
1379
- _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/env/index.ts)_
1379
+ _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/env/index.ts)_
1380
1380
 
1381
1381
  ## `hereya workspace env set`
1382
1382
 
@@ -1400,7 +1400,7 @@ EXAMPLES
1400
1400
  $ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
1401
1401
  ```
1402
1402
 
1403
- _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/env/set/index.ts)_
1403
+ _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/env/set/index.ts)_
1404
1404
 
1405
1405
  ## `hereya workspace env unset`
1406
1406
 
@@ -1421,7 +1421,7 @@ EXAMPLES
1421
1421
  $ hereya workspace env unset -w my-workspace -n myVar
1422
1422
  ```
1423
1423
 
1424
- _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/env/unset/index.ts)_
1424
+ _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/env/unset/index.ts)_
1425
1425
 
1426
1426
  ## `hereya workspace executor install`
1427
1427
 
@@ -1440,7 +1440,7 @@ DESCRIPTION
1440
1440
  Install a remote executor into a workspace
1441
1441
  ```
1442
1442
 
1443
- _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/executor/install/index.ts)_
1443
+ _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/executor/install/index.ts)_
1444
1444
 
1445
1445
  ## `hereya workspace executor token`
1446
1446
 
@@ -1457,7 +1457,7 @@ DESCRIPTION
1457
1457
  Generate a workspace-scoped executor token for the remote executor
1458
1458
  ```
1459
1459
 
1460
- _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/executor/token/index.ts)_
1460
+ _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/executor/token/index.ts)_
1461
1461
 
1462
1462
  ## `hereya workspace executor uninstall`
1463
1463
 
@@ -1475,7 +1475,7 @@ DESCRIPTION
1475
1475
  Uninstall the remote executor from a workspace
1476
1476
  ```
1477
1477
 
1478
- _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/executor/uninstall/index.ts)_
1478
+ _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/executor/uninstall/index.ts)_
1479
1479
 
1480
1480
  ## `hereya workspace install PACKAGE`
1481
1481
 
@@ -1502,7 +1502,7 @@ EXAMPLES
1502
1502
  $ hereya workspace install hereya/aws-cognito
1503
1503
  ```
1504
1504
 
1505
- _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/install/index.ts)_
1505
+ _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/install/index.ts)_
1506
1506
 
1507
1507
  ## `hereya workspace list`
1508
1508
 
@@ -1526,7 +1526,7 @@ EXAMPLES
1526
1526
  $ hereya workspace list --org personal
1527
1527
  ```
1528
1528
 
1529
- _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/list/index.ts)_
1529
+ _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/list/index.ts)_
1530
1530
 
1531
1531
  ## `hereya workspace set-profile PROFILE`
1532
1532
 
@@ -1550,7 +1550,7 @@ EXAMPLES
1550
1550
  $ hereya workspace set-profile prod-profile -w production
1551
1551
  ```
1552
1552
 
1553
- _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/set-profile/index.ts)_
1553
+ _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/set-profile/index.ts)_
1554
1554
 
1555
1555
  ## `hereya workspace uninstall PACKAGE`
1556
1556
 
@@ -1577,5 +1577,5 @@ EXAMPLES
1577
1577
  $ hereya workspace uninstall hereya/aws-cognito
1578
1578
  ```
1579
1579
 
1580
- _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.80.0/src/commands/workspace/uninstall/index.ts)_
1580
+ _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.81.0/src/commands/workspace/uninstall/index.ts)_
1581
1581
  <!-- commandsstop -->
@@ -862,6 +862,16 @@ export class CloudBackend {
862
862
  };
863
863
  }
864
864
  }
865
+ let ownPackages;
866
+ if (workspace.ownPackages) {
867
+ ownPackages = {};
868
+ for (const pkg of workspace.ownPackages) {
869
+ ownPackages[pkg.name] = {
870
+ parameters: pkg.parameters,
871
+ version: pkg.version,
872
+ };
873
+ }
874
+ }
865
875
  return {
866
876
  env,
867
877
  hasExecutor: workspace.hasExecutor ?? undefined,
@@ -869,6 +879,7 @@ export class CloudBackend {
869
879
  isDeploy: workspace.isDeploy,
870
880
  mirrorOf: workspace.mirrorOf?.name,
871
881
  name: workspace.name,
882
+ ...(ownPackages === undefined ? {} : { ownPackages }),
872
883
  packages,
873
884
  profile: workspace.profile === null ? undefined : workspace.profile,
874
885
  };
@@ -35,6 +35,16 @@ export declare const WorkspaceSchema: z.ZodObject<{
35
35
  isDeploy: z.ZodOptional<z.ZodBoolean>;
36
36
  mirrorOf: z.ZodOptional<z.ZodString>;
37
37
  name: z.ZodString;
38
+ ownPackages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
39
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
40
+ version: z.ZodString;
41
+ }, "strip", z.ZodTypeAny, {
42
+ version: string;
43
+ parameters?: Record<string, any> | undefined;
44
+ }, {
45
+ version: string;
46
+ parameters?: Record<string, any> | undefined;
47
+ }>>>;
38
48
  packages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
39
49
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
40
50
  version: z.ZodString;
@@ -58,6 +68,10 @@ export declare const WorkspaceSchema: z.ZodObject<{
58
68
  hasExecutor?: boolean | undefined;
59
69
  isDeploy?: boolean | undefined;
60
70
  mirrorOf?: string | undefined;
71
+ ownPackages?: Record<string, {
72
+ version: string;
73
+ parameters?: Record<string, any> | undefined;
74
+ }> | undefined;
61
75
  }, {
62
76
  name: string;
63
77
  id: string;
@@ -70,6 +84,10 @@ export declare const WorkspaceSchema: z.ZodObject<{
70
84
  hasExecutor?: boolean | undefined;
71
85
  isDeploy?: boolean | undefined;
72
86
  mirrorOf?: string | undefined;
87
+ ownPackages?: Record<string, {
88
+ version: string;
89
+ parameters?: Record<string, any> | undefined;
90
+ }> | undefined;
73
91
  }>;
74
92
  export type Workspace = z.infer<typeof WorkspaceSchema>;
75
93
  export type AddPackageToWorkspaceInput = {
@@ -6,6 +6,12 @@ export const WorkspaceSchema = z.object({
6
6
  isDeploy: z.boolean().optional(),
7
7
  mirrorOf: z.string().optional(),
8
8
  name: z.string().min(2),
9
+ ownPackages: z
10
+ .record(z.object({
11
+ parameters: z.record(z.any()).optional(),
12
+ version: z.string(),
13
+ }))
14
+ .optional(),
9
15
  packages: z
10
16
  .record(z.object({
11
17
  parameters: z.record(z.any()).optional(),
@@ -9,6 +9,7 @@ export declare class FileBackend implements Backend {
9
9
  deleteState(input: DeleteStateInput): Promise<DeleteStateOutput>;
10
10
  deleteWorkspace(input: DeleteWorkspaceInput): Promise<DeleteWorkspaceOutput>;
11
11
  exportBackend(): Promise<ExportBackendOutput>;
12
+ getOwnWorkspace(workspace: string): Promise<GetWorkspaceOutput>;
12
13
  getPackageByVersion(_: string, __: string): Promise<GetPackageOutput>;
13
14
  getPackageLatest(_: string): Promise<GetPackageOutput>;
14
15
  getProjectMetadata(_input: GetProjectMetadataInput): Promise<GetProjectMetadataOutput>;
@@ -9,7 +9,7 @@ export class FileBackend {
9
9
  this.fileStorage = fileStorage;
10
10
  }
11
11
  async addPackageToWorkspace(input) {
12
- const workspace$ = await this.getWorkspace(input.workspace);
12
+ const workspace$ = await this.getOwnWorkspace(input.workspace);
13
13
  if (!workspace$.found) {
14
14
  return {
15
15
  reason: `Workspace ${input.workspace} not found`,
@@ -23,12 +23,6 @@ export class FileBackend {
23
23
  };
24
24
  }
25
25
  const { workspace } = workspace$;
26
- if (workspace.mirrorOf) {
27
- return {
28
- reason: `Cannot add package to mirroring workspace ${input.workspace}`,
29
- success: false,
30
- };
31
- }
32
26
  workspace.packages = {
33
27
  ...workspace.packages,
34
28
  [input.package]: {
@@ -155,7 +149,7 @@ export class FileBackend {
155
149
  success: false,
156
150
  };
157
151
  }
158
- if (!workspace.mirrorOf && Object.keys(workspace.packages ?? {}).length > 0) {
152
+ if (Object.keys(workspace.ownPackages ?? {}).length > 0) {
159
153
  return {
160
154
  reason: `Cannot delete workspace ${input.name} because it has packages`,
161
155
  success: false,
@@ -180,6 +174,39 @@ export class FileBackend {
180
174
  success: false,
181
175
  };
182
176
  }
177
+ async getOwnWorkspace(workspace) {
178
+ const paths = [
179
+ ['state', 'workspaces', `${workspace}.yaml`].join('/'),
180
+ ['state', 'workspaces', `${workspace}.yml`].join('/'),
181
+ ];
182
+ const result = await this.fileStorage.getFileContent({ paths });
183
+ if (!result.found) {
184
+ return {
185
+ found: false,
186
+ };
187
+ }
188
+ const { data, error } = await parseYaml(result.content);
189
+ if (error) {
190
+ return {
191
+ error,
192
+ found: true,
193
+ hasError: true,
194
+ };
195
+ }
196
+ const workspace$ = WorkspaceSchema.safeParse(data);
197
+ if (!workspace$.success) {
198
+ return {
199
+ error: workspace$.error.message,
200
+ found: true,
201
+ hasError: true,
202
+ };
203
+ }
204
+ return {
205
+ found: true,
206
+ hasError: false,
207
+ workspace: workspace$.data,
208
+ };
209
+ }
183
210
  async getPackageByVersion(_, __) {
184
211
  return {
185
212
  reason: 'Package registry operations are only supported with the cloud backend. Please run `hereya login` to use cloud backend.',
@@ -240,38 +267,22 @@ export class FileBackend {
240
267
  };
241
268
  }
242
269
  async getWorkspace(workspace) {
243
- const paths = [
244
- ['state', 'workspaces', `${workspace}.yaml`].join('/'),
245
- ['state', 'workspaces', `${workspace}.yml`].join('/'),
246
- ];
247
- const result = await this.fileStorage.getFileContent({ paths });
248
- if (!result.found) {
270
+ const ownWorkspace$ = await this.getOwnWorkspace(workspace);
271
+ if (!ownWorkspace$.found) {
249
272
  return {
250
273
  found: false,
251
274
  };
252
275
  }
253
- const { data, error } = await parseYaml(result.content);
254
- if (error) {
255
- return {
256
- error,
257
- found: true,
258
- hasError: true,
259
- };
260
- }
261
- const workspace$ = WorkspaceSchema.safeParse(data);
262
- if (!workspace$.success) {
263
- return {
264
- error: workspace$.error.message,
265
- found: true,
266
- hasError: true,
267
- };
276
+ if (ownWorkspace$.hasError) {
277
+ return ownWorkspace$;
268
278
  }
279
+ const ownData = ownWorkspace$.workspace;
269
280
  let mirroredWorkspace;
270
- if (workspace$.data.mirrorOf) {
271
- const mirroredWorkspace$ = await this.getWorkspace(workspace$.data.mirrorOf);
281
+ if (ownData.mirrorOf) {
282
+ const mirroredWorkspace$ = await this.getWorkspace(ownData.mirrorOf);
272
283
  if (!mirroredWorkspace$.found) {
273
284
  return {
274
- error: `Mirrored workspace ${workspace$.data.mirrorOf} not found`,
285
+ error: `Mirrored workspace ${ownData.mirrorOf} not found`,
275
286
  found: true,
276
287
  hasError: true,
277
288
  };
@@ -290,19 +301,22 @@ export class FileBackend {
290
301
  hasError: false,
291
302
  workspace: mirroredWorkspace
292
303
  ? {
293
- ...workspace$.data,
304
+ ...ownData,
294
305
  env: {
295
306
  ...mirroredWorkspace.env,
296
- ...workspace$.data.env,
307
+ ...ownData.env,
297
308
  },
309
+ ownPackages: ownData.packages ?? {},
298
310
  packages: {
299
311
  ...mirroredWorkspace.packages,
312
+ ...ownData.packages,
300
313
  },
301
314
  }
302
315
  : {
303
- ...workspace$.data,
316
+ ...ownData,
317
+ ownPackages: ownData.packages ?? {},
304
318
  packages: {
305
- ...workspace$.data.packages,
319
+ ...ownData.packages,
306
320
  },
307
321
  },
308
322
  };
@@ -369,7 +383,7 @@ export class FileBackend {
369
383
  };
370
384
  }
371
385
  async removePackageFromWorkspace(input) {
372
- const workspace$ = await this.getWorkspace(input.workspace);
386
+ const workspace$ = await this.getOwnWorkspace(input.workspace);
373
387
  if (!workspace$.found) {
374
388
  return {
375
389
  reason: `Workspace ${input.workspace} not found`,
@@ -383,9 +397,9 @@ export class FileBackend {
383
397
  };
384
398
  }
385
399
  const { workspace } = workspace$;
386
- if (workspace.mirrorOf) {
400
+ if (!workspace.packages || !(input.package in workspace.packages)) {
387
401
  return {
388
- reason: `Cannot remove package from mirrored workspace ${input.workspace}`,
402
+ reason: `Package ${input.package} not found in workspace ${input.workspace}`,
389
403
  success: false,
390
404
  };
391
405
  }
@@ -423,7 +437,7 @@ export class FileBackend {
423
437
  await this.fileStorage.saveFileContent({ content: stringify(object), paths });
424
438
  }
425
439
  async setEnvVar(input) {
426
- const workspace$ = await this.getWorkspace(input.workspace);
440
+ const workspace$ = await this.getOwnWorkspace(input.workspace);
427
441
  if (!workspace$.found) {
428
442
  return {
429
443
  reason: `Workspace ${input.workspace} not found`,
@@ -447,7 +461,7 @@ export class FileBackend {
447
461
  };
448
462
  }
449
463
  async unsetEnvVar(input) {
450
- const workspace$ = await this.getWorkspace(input.workspace);
464
+ const workspace$ = await this.getOwnWorkspace(input.workspace);
451
465
  if (!workspace$.found) {
452
466
  return {
453
467
  reason: `Workspace ${input.workspace} not found`,
@@ -475,7 +489,7 @@ export class FileBackend {
475
489
  }
476
490
  async updateWorkspace(input) {
477
491
  // Load existing workspace
478
- const workspace$ = await this.getWorkspace(input.name);
492
+ const workspace$ = await this.getOwnWorkspace(input.name);
479
493
  if (!workspace$.found) {
480
494
  return {
481
495
  reason: `Workspace ${input.name} not found`,
@@ -51,9 +51,6 @@ export default class DevenvInstall extends Command {
51
51
  if (!loadWorkspaceOutput.found || loadWorkspaceOutput.hasError) {
52
52
  throw new Error(`Workspace ${flags.workspace} not found`);
53
53
  }
54
- if (loadWorkspaceOutput.workspace.mirrorOf) {
55
- throw new Error(`Workspace ${flags.workspace} is a mirror of ${loadWorkspaceOutput.workspace.mirrorOf}`);
56
- }
57
54
  ctx.workspace = loadWorkspaceOutput;
58
55
  await delay(500);
59
56
  },
@@ -51,9 +51,6 @@ export default class WorkspaceInstall extends Command {
51
51
  if (!loadWorkspaceOutput.found || loadWorkspaceOutput.hasError) {
52
52
  throw new Error(`Workspace ${flags.workspace} not found`);
53
53
  }
54
- if (loadWorkspaceOutput.workspace.mirrorOf) {
55
- throw new Error(`Workspace ${flags.workspace} is a mirror of ${loadWorkspaceOutput.workspace.mirrorOf}`);
56
- }
57
54
  ctx.workspace = loadWorkspaceOutput;
58
55
  await delay(500);
59
56
  },
@@ -51,12 +51,9 @@ export default class WorkspaceUninstall extends Command {
51
51
  if (!loadWorkspaceOutput.found || loadWorkspaceOutput.hasError) {
52
52
  throw new Error(`Workspace ${flags.workspace} not found`);
53
53
  }
54
- if (loadWorkspaceOutput.workspace.mirrorOf) {
55
- throw new Error(`Workspace ${flags.workspace} is a mirror of ${loadWorkspaceOutput.workspace.mirrorOf}`);
56
- }
57
54
  // Parse package name to extract name and version
58
55
  const [packageNameWithoutVersion, userSpecifiedVersion] = args.package.split('@');
59
- const packageInfo = loadWorkspaceOutput.workspace.packages?.[packageNameWithoutVersion];
56
+ const packageInfo = loadWorkspaceOutput.workspace.ownPackages?.[packageNameWithoutVersion];
60
57
  if (!packageInfo) {
61
58
  throw new Error(`Package ${packageNameWithoutVersion} not found in workspace ${flags.workspace}`);
62
59
  }
@@ -1602,53 +1602,6 @@
1602
1602
  "index.js"
1603
1603
  ]
1604
1604
  },
1605
- "executor:start": {
1606
- "aliases": [],
1607
- "args": {},
1608
- "description": "Start the remote executor process (polls for jobs from hereya cloud).\n\nJobs are executed in parallel up to the concurrency limit (default: 10). Use --concurrency to adjust.\n\nSet the HEREYA_TOKEN environment variable to authenticate without running `hereya login`.\nSet the HEREYA_CLOUD_URL environment variable to target a specific hereya cloud instance (defaults to https://cloud.hereya.dev).",
1609
- "examples": [
1610
- "<%= config.bin %> <%= command.id %> -w my-workspace",
1611
- "<%= config.bin %> <%= command.id %> -w my-workspace --concurrency 5",
1612
- "HEREYA_TOKEN=<token> <%= config.bin %> <%= command.id %> -w my-workspace",
1613
- "HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com <%= config.bin %> <%= command.id %> -w my-workspace"
1614
- ],
1615
- "flags": {
1616
- "concurrency": {
1617
- "char": "c",
1618
- "description": "maximum number of parallel jobs",
1619
- "name": "concurrency",
1620
- "default": 10,
1621
- "hasDynamicHelp": false,
1622
- "multiple": false,
1623
- "type": "option"
1624
- },
1625
- "workspace": {
1626
- "char": "w",
1627
- "description": "name of the workspace to poll jobs for",
1628
- "name": "workspace",
1629
- "required": true,
1630
- "hasDynamicHelp": false,
1631
- "multiple": false,
1632
- "type": "option"
1633
- }
1634
- },
1635
- "hasDynamicHelp": false,
1636
- "hiddenAliases": [],
1637
- "id": "executor:start",
1638
- "pluginAlias": "hereya-cli",
1639
- "pluginName": "hereya-cli",
1640
- "pluginType": "core",
1641
- "strict": true,
1642
- "enableJsonFlag": false,
1643
- "isESM": true,
1644
- "relativePath": [
1645
- "dist",
1646
- "commands",
1647
- "executor",
1648
- "start",
1649
- "index.js"
1650
- ]
1651
- },
1652
1605
  "flow:add": {
1653
1606
  "aliases": [],
1654
1607
  "args": {
@@ -1714,6 +1667,53 @@
1714
1667
  "index.js"
1715
1668
  ]
1716
1669
  },
1670
+ "executor:start": {
1671
+ "aliases": [],
1672
+ "args": {},
1673
+ "description": "Start the remote executor process (polls for jobs from hereya cloud).\n\nJobs are executed in parallel up to the concurrency limit (default: 10). Use --concurrency to adjust.\n\nSet the HEREYA_TOKEN environment variable to authenticate without running `hereya login`.\nSet the HEREYA_CLOUD_URL environment variable to target a specific hereya cloud instance (defaults to https://cloud.hereya.dev).",
1674
+ "examples": [
1675
+ "<%= config.bin %> <%= command.id %> -w my-workspace",
1676
+ "<%= config.bin %> <%= command.id %> -w my-workspace --concurrency 5",
1677
+ "HEREYA_TOKEN=<token> <%= config.bin %> <%= command.id %> -w my-workspace",
1678
+ "HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com <%= config.bin %> <%= command.id %> -w my-workspace"
1679
+ ],
1680
+ "flags": {
1681
+ "concurrency": {
1682
+ "char": "c",
1683
+ "description": "maximum number of parallel jobs",
1684
+ "name": "concurrency",
1685
+ "default": 10,
1686
+ "hasDynamicHelp": false,
1687
+ "multiple": false,
1688
+ "type": "option"
1689
+ },
1690
+ "workspace": {
1691
+ "char": "w",
1692
+ "description": "name of the workspace to poll jobs for",
1693
+ "name": "workspace",
1694
+ "required": true,
1695
+ "hasDynamicHelp": false,
1696
+ "multiple": false,
1697
+ "type": "option"
1698
+ }
1699
+ },
1700
+ "hasDynamicHelp": false,
1701
+ "hiddenAliases": [],
1702
+ "id": "executor:start",
1703
+ "pluginAlias": "hereya-cli",
1704
+ "pluginName": "hereya-cli",
1705
+ "pluginType": "core",
1706
+ "strict": true,
1707
+ "enableJsonFlag": false,
1708
+ "isESM": true,
1709
+ "relativePath": [
1710
+ "dist",
1711
+ "commands",
1712
+ "executor",
1713
+ "start",
1714
+ "index.js"
1715
+ ]
1716
+ },
1717
1717
  "flow:down": {
1718
1718
  "aliases": [],
1719
1719
  "args": {},
@@ -2579,74 +2579,6 @@
2579
2579
  "index.js"
2580
2580
  ]
2581
2581
  },
2582
- "flow:docker:run": {
2583
- "aliases": [],
2584
- "args": {
2585
- "image": {
2586
- "description": "Docker image to run",
2587
- "name": "image",
2588
- "required": true
2589
- }
2590
- },
2591
- "description": "Run a Docker container with hereya env vars in a git branch-based workspace",
2592
- "examples": [
2593
- "<%= config.bin %> <%= command.id %> myapp:latest",
2594
- "<%= config.bin %> <%= command.id %> --profile staging myapp:latest",
2595
- "<%= config.bin %> <%= command.id %> --pin myapp:latest -- --rm"
2596
- ],
2597
- "flags": {
2598
- "chdir": {
2599
- "description": "directory to run command in",
2600
- "name": "chdir",
2601
- "required": false,
2602
- "hasDynamicHelp": false,
2603
- "multiple": false,
2604
- "type": "option"
2605
- },
2606
- "pin": {
2607
- "description": "append git commit SHA to workspace name for commit-specific isolation",
2608
- "name": "pin",
2609
- "required": false,
2610
- "allowNo": false,
2611
- "type": "boolean"
2612
- },
2613
- "port": {
2614
- "char": "p",
2615
- "description": "port to forward and set as PORT env var (default: 8080)",
2616
- "name": "port",
2617
- "required": false,
2618
- "default": 8080,
2619
- "hasDynamicHelp": false,
2620
- "multiple": false,
2621
- "type": "option"
2622
- },
2623
- "profile": {
2624
- "description": "profile to use for the workspace (will be appended to workspace name)",
2625
- "name": "profile",
2626
- "required": false,
2627
- "hasDynamicHelp": false,
2628
- "multiple": false,
2629
- "type": "option"
2630
- }
2631
- },
2632
- "hasDynamicHelp": false,
2633
- "hiddenAliases": [],
2634
- "id": "flow:docker:run",
2635
- "pluginAlias": "hereya-cli",
2636
- "pluginName": "hereya-cli",
2637
- "pluginType": "core",
2638
- "strict": false,
2639
- "enableJsonFlag": false,
2640
- "isESM": true,
2641
- "relativePath": [
2642
- "dist",
2643
- "commands",
2644
- "flow",
2645
- "docker",
2646
- "run",
2647
- "index.js"
2648
- ]
2649
- },
2650
2582
  "workspace:env:set": {
2651
2583
  "aliases": [],
2652
2584
  "args": {},
@@ -2717,6 +2649,74 @@
2717
2649
  "index.js"
2718
2650
  ]
2719
2651
  },
2652
+ "flow:docker:run": {
2653
+ "aliases": [],
2654
+ "args": {
2655
+ "image": {
2656
+ "description": "Docker image to run",
2657
+ "name": "image",
2658
+ "required": true
2659
+ }
2660
+ },
2661
+ "description": "Run a Docker container with hereya env vars in a git branch-based workspace",
2662
+ "examples": [
2663
+ "<%= config.bin %> <%= command.id %> myapp:latest",
2664
+ "<%= config.bin %> <%= command.id %> --profile staging myapp:latest",
2665
+ "<%= config.bin %> <%= command.id %> --pin myapp:latest -- --rm"
2666
+ ],
2667
+ "flags": {
2668
+ "chdir": {
2669
+ "description": "directory to run command in",
2670
+ "name": "chdir",
2671
+ "required": false,
2672
+ "hasDynamicHelp": false,
2673
+ "multiple": false,
2674
+ "type": "option"
2675
+ },
2676
+ "pin": {
2677
+ "description": "append git commit SHA to workspace name for commit-specific isolation",
2678
+ "name": "pin",
2679
+ "required": false,
2680
+ "allowNo": false,
2681
+ "type": "boolean"
2682
+ },
2683
+ "port": {
2684
+ "char": "p",
2685
+ "description": "port to forward and set as PORT env var (default: 8080)",
2686
+ "name": "port",
2687
+ "required": false,
2688
+ "default": 8080,
2689
+ "hasDynamicHelp": false,
2690
+ "multiple": false,
2691
+ "type": "option"
2692
+ },
2693
+ "profile": {
2694
+ "description": "profile to use for the workspace (will be appended to workspace name)",
2695
+ "name": "profile",
2696
+ "required": false,
2697
+ "hasDynamicHelp": false,
2698
+ "multiple": false,
2699
+ "type": "option"
2700
+ }
2701
+ },
2702
+ "hasDynamicHelp": false,
2703
+ "hiddenAliases": [],
2704
+ "id": "flow:docker:run",
2705
+ "pluginAlias": "hereya-cli",
2706
+ "pluginName": "hereya-cli",
2707
+ "pluginType": "core",
2708
+ "strict": false,
2709
+ "enableJsonFlag": false,
2710
+ "isESM": true,
2711
+ "relativePath": [
2712
+ "dist",
2713
+ "commands",
2714
+ "flow",
2715
+ "docker",
2716
+ "run",
2717
+ "index.js"
2718
+ ]
2719
+ },
2720
2720
  "workspace:env:unset": {
2721
2721
  "aliases": [],
2722
2722
  "args": {},
@@ -2881,5 +2881,5 @@
2881
2881
  ]
2882
2882
  }
2883
2883
  },
2884
- "version": "0.80.0"
2884
+ "version": "0.81.0"
2885
2885
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hereya-cli",
3
3
  "description": "Infrastructure as Package",
4
- "version": "0.80.0",
4
+ "version": "0.81.0",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.js"