hereya-cli 0.78.0 → 0.79.1

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.78.0 linux-x64 node-v24.14.0
24
+ hereya-cli/0.79.1 linux-x64 node-v24.14.0
25
25
  $ hereya --help [COMMAND]
26
26
  USAGE
27
27
  $ hereya COMMAND
@@ -62,6 +62,7 @@ USAGE
62
62
  * [`hereya help [COMMAND]`](#hereya-help-command)
63
63
  * [`hereya import PACKAGE`](#hereya-import-package)
64
64
  * [`hereya init PROJECT`](#hereya-init-project)
65
+ * [`hereya list`](#hereya-list)
65
66
  * [`hereya login [URL]`](#hereya-login-url)
66
67
  * [`hereya logout`](#hereya-logout)
67
68
  * [`hereya provid PACKAGE`](#hereya-provid-package)
@@ -119,7 +120,7 @@ EXAMPLES
119
120
  $ hereya add cloudy/docker_postgres
120
121
  ```
121
122
 
122
- _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/add/index.ts)_
123
+ _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/add/index.ts)_
123
124
 
124
125
  ## `hereya bootstrap INFRASTRUCTURETYPE`
125
126
 
@@ -144,7 +145,7 @@ EXAMPLES
144
145
  $ hereya bootstrap local
145
146
  ```
146
147
 
147
- _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/bootstrap/index.ts)_
148
+ _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/bootstrap/index.ts)_
148
149
 
149
150
  ## `hereya clone PROJECT`
150
151
 
@@ -169,7 +170,7 @@ EXAMPLES
169
170
  $ hereya clone myProject --chdir=./myProject
170
171
  ```
171
172
 
172
- _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/clone/index.ts)_
173
+ _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/clone/index.ts)_
173
174
 
174
175
  ## `hereya config export-backend [FILE]`
175
176
 
@@ -191,7 +192,7 @@ EXAMPLES
191
192
  $ hereya config export-backend ./path/to/export.json
192
193
  ```
193
194
 
194
- _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/config/export-backend/index.ts)_
195
196
 
196
197
  ## `hereya config get-backend`
197
198
 
@@ -208,7 +209,7 @@ EXAMPLES
208
209
  $ hereya config get-backend
209
210
  ```
210
211
 
211
- _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/config/get-backend/index.ts)_
212
213
 
213
214
  ## `hereya config import-backend FILE`
214
215
 
@@ -228,7 +229,7 @@ EXAMPLES
228
229
  $ hereya config import-backend ./path/to/cloud-backend.json
229
230
  ```
230
231
 
231
- _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/config/import-backend/index.ts)_
232
233
 
233
234
  ## `hereya config use-backend TYPE`
234
235
 
@@ -250,7 +251,7 @@ EXAMPLES
250
251
  $ hereya config use-backend local
251
252
  ```
252
253
 
253
- _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/config/use-backend/index.ts)_
254
255
 
255
256
  ## `hereya delete-state`
256
257
 
@@ -276,7 +277,7 @@ EXAMPLES
276
277
  $ hereya delete-state --workspace staging
277
278
  ```
278
279
 
279
- _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/delete-state/index.ts)_
280
+ _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/delete-state/index.ts)_
280
281
 
281
282
  ## `hereya deploy`
282
283
 
@@ -302,7 +303,7 @@ EXAMPLES
302
303
  $ hereya deploy
303
304
  ```
304
305
 
305
- _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/deploy/index.ts)_
306
+ _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/deploy/index.ts)_
306
307
 
307
308
  ## `hereya devenv config`
308
309
 
@@ -322,7 +323,7 @@ EXAMPLES
322
323
  $ hereya devenv config -w my-workspace
323
324
  ```
324
325
 
325
- _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/devenv/config/index.ts)_
326
+ _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/devenv/config/index.ts)_
326
327
 
327
328
  ## `hereya devenv install`
328
329
 
@@ -347,7 +348,7 @@ EXAMPLES
347
348
  $ hereya devenv install -w my-workspace -p instanceType=t3.large
348
349
  ```
349
350
 
350
- _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/devenv/install/index.ts)_
351
+ _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/devenv/install/index.ts)_
351
352
 
352
353
  ## `hereya devenv project init PROJECT`
353
354
 
@@ -379,7 +380,7 @@ EXAMPLES
379
380
  $ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
380
381
  ```
381
382
 
382
- _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/devenv/project/init/index.ts)_
383
384
 
384
385
  ## `hereya devenv project uninit PROJECT`
385
386
 
@@ -405,7 +406,7 @@ EXAMPLES
405
406
  $ hereya devenv project uninit my-app -w my-workspace --force
406
407
  ```
407
408
 
408
- _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/devenv/project/uninit/index.ts)_
409
410
 
410
411
  ## `hereya devenv ssh`
411
412
 
@@ -425,7 +426,7 @@ EXAMPLES
425
426
  $ hereya devenv ssh -w my-workspace
426
427
  ```
427
428
 
428
- _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/devenv/ssh/index.ts)_
429
+ _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/devenv/ssh/index.ts)_
429
430
 
430
431
  ## `hereya devenv uninstall`
431
432
 
@@ -446,7 +447,7 @@ EXAMPLES
446
447
  $ hereya devenv uninstall -w my-workspace
447
448
  ```
448
449
 
449
- _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/devenv/uninstall/index.ts)_
450
+ _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/devenv/uninstall/index.ts)_
450
451
 
451
452
  ## `hereya doc PACKAGE`
452
453
 
@@ -479,7 +480,7 @@ EXAMPLES
479
480
  $ hereya doc my-package --no-doc
480
481
  ```
481
482
 
482
- _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/doc/index.ts)_
483
+ _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/doc/index.ts)_
483
484
 
484
485
  ## `hereya docker run IMAGE`
485
486
 
@@ -510,7 +511,7 @@ EXAMPLES
510
511
  $ hereya docker run myapp:latest -- --rm -v ./data:/data
511
512
  ```
512
513
 
513
- _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/docker/run/index.ts)_
514
+ _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/docker/run/index.ts)_
514
515
 
515
516
  ## `hereya down`
516
517
 
@@ -537,7 +538,7 @@ EXAMPLES
537
538
  $ hereya down
538
539
  ```
539
540
 
540
- _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/down/index.ts)_
541
+ _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/down/index.ts)_
541
542
 
542
543
  ## `hereya env [NAME]`
543
544
 
@@ -568,7 +569,7 @@ EXAMPLES
568
569
  $ hereya env -w dev -l
569
570
  ```
570
571
 
571
- _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/env/index.ts)_
572
+ _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/env/index.ts)_
572
573
 
573
574
  ## `hereya env set [NAME]`
574
575
 
@@ -595,7 +596,7 @@ EXAMPLES
595
596
  $ hereya env set FOO -v bar -w dev
596
597
  ```
597
598
 
598
- _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/env/set/index.ts)_
599
+ _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/env/set/index.ts)_
599
600
 
600
601
  ## `hereya executor start`
601
602
 
@@ -628,7 +629,7 @@ EXAMPLES
628
629
  HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
629
630
  ```
630
631
 
631
- _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/executor/start/index.ts)_
632
+ _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/executor/start/index.ts)_
632
633
 
633
634
  ## `hereya flow add PACKAGE`
634
635
 
@@ -666,7 +667,7 @@ EXAMPLES
666
667
  $ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
667
668
  ```
668
669
 
669
- _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/flow/add/index.ts)_
670
+ _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/add/index.ts)_
670
671
 
671
672
  ## `hereya flow docker run IMAGE`
672
673
 
@@ -696,7 +697,7 @@ EXAMPLES
696
697
  $ hereya flow docker run --pin myapp:latest -- --rm
697
698
  ```
698
699
 
699
- _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/flow/docker/run/index.ts)_
700
701
 
701
702
  ## `hereya flow down`
702
703
 
@@ -730,7 +731,7 @@ EXAMPLES
730
731
  $ hereya flow down --pin
731
732
  ```
732
733
 
733
- _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/flow/down/index.ts)_
734
+ _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/down/index.ts)_
734
735
 
735
736
  ## `hereya flow env [NAME]`
736
737
 
@@ -764,7 +765,7 @@ EXAMPLES
764
765
  $ hereya flow env -l
765
766
  ```
766
767
 
767
- _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/flow/env/index.ts)_
768
+ _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/env/index.ts)_
768
769
 
769
770
  ## `hereya flow provid PACKAGE`
770
771
 
@@ -793,7 +794,7 @@ EXAMPLES
793
794
  $ hereya flow provid hereya/postgres --pin
794
795
  ```
795
796
 
796
- _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/flow/provid/index.ts)_
797
+ _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/provid/index.ts)_
797
798
 
798
799
  ## `hereya flow remove PACKAGE`
799
800
 
@@ -823,7 +824,7 @@ EXAMPLES
823
824
  $ hereya flow remove cloudy/docker_postgres --profile staging
824
825
  ```
825
826
 
826
- _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/flow/remove/index.ts)_
827
+ _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/remove/index.ts)_
827
828
 
828
829
  ## `hereya flow run CMD`
829
830
 
@@ -852,7 +853,7 @@ EXAMPLES
852
853
  $ hereya flow run --pin -- npm test
853
854
  ```
854
855
 
855
- _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/flow/run/index.ts)_
856
+ _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/run/index.ts)_
856
857
 
857
858
  ## `hereya flow up`
858
859
 
@@ -886,7 +887,7 @@ EXAMPLES
886
887
  $ hereya flow up --pin
887
888
  ```
888
889
 
889
- _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/flow/up/index.ts)_
890
+ _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/up/index.ts)_
890
891
 
891
892
  ## `hereya help [COMMAND]`
892
893
 
@@ -943,7 +944,7 @@ EXAMPLES
943
944
  $ hereya import org/my-package -f state.tfstate -w my-workspace
944
945
  ```
945
946
 
946
- _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/import/index.ts)_
947
+ _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/import/index.ts)_
947
948
 
948
949
  ## `hereya init PROJECT`
949
950
 
@@ -977,7 +978,24 @@ EXAMPLES
977
978
  $ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
978
979
  ```
979
980
 
980
- _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/init/index.ts)_
981
+ _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/init/index.ts)_
982
+
983
+ ## `hereya list`
984
+
985
+ List your projects.
986
+
987
+ ```
988
+ USAGE
989
+ $ hereya list
990
+
991
+ DESCRIPTION
992
+ List your projects.
993
+
994
+ EXAMPLES
995
+ $ hereya list
996
+ ```
997
+
998
+ _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/list/index.ts)_
981
999
 
982
1000
  ## `hereya login [URL]`
983
1001
 
@@ -1006,7 +1024,7 @@ EXAMPLES
1006
1024
  $ hereya login --token=your-token https://cloud.hereya.dev
1007
1025
  ```
1008
1026
 
1009
- _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/login/index.ts)_
1027
+ _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/login/index.ts)_
1010
1028
 
1011
1029
  ## `hereya logout`
1012
1030
 
@@ -1023,7 +1041,7 @@ EXAMPLES
1023
1041
  $ hereya logout
1024
1042
  ```
1025
1043
 
1026
- _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/logout/index.ts)_
1044
+ _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/logout/index.ts)_
1027
1045
 
1028
1046
  ## `hereya provid PACKAGE`
1029
1047
 
@@ -1051,7 +1069,7 @@ EXAMPLES
1051
1069
  $ hereya provid hereya/postgres --workspace staging
1052
1070
  ```
1053
1071
 
1054
- _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/provid/index.ts)_
1072
+ _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/provid/index.ts)_
1055
1073
 
1056
1074
  ## `hereya publish`
1057
1075
 
@@ -1074,7 +1092,7 @@ EXAMPLES
1074
1092
  $ hereya publish --chdir=/path/to/package
1075
1093
  ```
1076
1094
 
1077
- _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/publish/index.ts)_
1095
+ _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/publish/index.ts)_
1078
1096
 
1079
1097
  ## `hereya remove PACKAGE`
1080
1098
 
@@ -1102,7 +1120,7 @@ EXAMPLES
1102
1120
  $ hereya remove cloudy/docker_postgres
1103
1121
  ```
1104
1122
 
1105
- _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/remove/index.ts)_
1123
+ _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/remove/index.ts)_
1106
1124
 
1107
1125
  ## `hereya run CMD`
1108
1126
 
@@ -1128,7 +1146,7 @@ EXAMPLES
1128
1146
  $ hereya run -w uat -- node index.js
1129
1147
  ```
1130
1148
 
1131
- _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/run/index.ts)_
1149
+ _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/run/index.ts)_
1132
1150
 
1133
1151
  ## `hereya search QUERY`
1134
1152
 
@@ -1159,7 +1177,7 @@ EXAMPLES
1159
1177
  $ hereya search database --json
1160
1178
  ```
1161
1179
 
1162
- _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/search/index.ts)_
1180
+ _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/search/index.ts)_
1163
1181
 
1164
1182
  ## `hereya unbootstrap INFRASTRUCTURETYPE`
1165
1183
 
@@ -1184,7 +1202,7 @@ EXAMPLES
1184
1202
  $ hereya unbootstrap local
1185
1203
  ```
1186
1204
 
1187
- _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/unbootstrap/index.ts)_
1205
+ _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/unbootstrap/index.ts)_
1188
1206
 
1189
1207
  ## `hereya undeploy`
1190
1208
 
@@ -1210,7 +1228,7 @@ EXAMPLES
1210
1228
  $ hereya undeploy
1211
1229
  ```
1212
1230
 
1213
- _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/undeploy/index.ts)_
1231
+ _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/undeploy/index.ts)_
1214
1232
 
1215
1233
  ## `hereya uninit PROJECT`
1216
1234
 
@@ -1238,7 +1256,7 @@ EXAMPLES
1238
1256
  $ hereya uninit myProject -w dev -p prodWorkspace=prod
1239
1257
  ```
1240
1258
 
1241
- _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/uninit/index.ts)_
1259
+ _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/uninit/index.ts)_
1242
1260
 
1243
1261
  ## `hereya up`
1244
1262
 
@@ -1265,7 +1283,7 @@ EXAMPLES
1265
1283
  $ hereya up
1266
1284
  ```
1267
1285
 
1268
- _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/up/index.ts)_
1286
+ _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/up/index.ts)_
1269
1287
 
1270
1288
  ## `hereya update [VERSION]`
1271
1289
 
@@ -1287,7 +1305,7 @@ EXAMPLES
1287
1305
  $ hereya update 0.75.0
1288
1306
  ```
1289
1307
 
1290
- _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/update/index.ts)_
1308
+ _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/update/index.ts)_
1291
1309
 
1292
1310
  ## `hereya workspace create NAME`
1293
1311
 
@@ -1312,7 +1330,7 @@ EXAMPLES
1312
1330
  $ hereya workspace create dev
1313
1331
  ```
1314
1332
 
1315
- _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/workspace/create/index.ts)_
1333
+ _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/create/index.ts)_
1316
1334
 
1317
1335
  ## `hereya workspace delete NAME`
1318
1336
 
@@ -1332,7 +1350,7 @@ EXAMPLES
1332
1350
  $ hereya workspace delete dev
1333
1351
  ```
1334
1352
 
1335
- _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/workspace/delete/index.ts)_
1353
+ _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/delete/index.ts)_
1336
1354
 
1337
1355
  ## `hereya workspace env [NAME]`
1338
1356
 
@@ -1358,7 +1376,7 @@ EXAMPLES
1358
1376
  $ hereya workspace env myEnv -w dev
1359
1377
  ```
1360
1378
 
1361
- _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/workspace/env/index.ts)_
1379
+ _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/env/index.ts)_
1362
1380
 
1363
1381
  ## `hereya workspace env set`
1364
1382
 
@@ -1382,7 +1400,7 @@ EXAMPLES
1382
1400
  $ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
1383
1401
  ```
1384
1402
 
1385
- _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/workspace/env/set/index.ts)_
1386
1404
 
1387
1405
  ## `hereya workspace env unset`
1388
1406
 
@@ -1403,7 +1421,7 @@ EXAMPLES
1403
1421
  $ hereya workspace env unset -w my-workspace -n myVar
1404
1422
  ```
1405
1423
 
1406
- _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/workspace/env/unset/index.ts)_
1407
1425
 
1408
1426
  ## `hereya workspace executor install`
1409
1427
 
@@ -1422,7 +1440,7 @@ DESCRIPTION
1422
1440
  Install a remote executor into a workspace
1423
1441
  ```
1424
1442
 
1425
- _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/workspace/executor/install/index.ts)_
1426
1444
 
1427
1445
  ## `hereya workspace executor token`
1428
1446
 
@@ -1439,7 +1457,7 @@ DESCRIPTION
1439
1457
  Generate a workspace-scoped executor token for the remote executor
1440
1458
  ```
1441
1459
 
1442
- _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/workspace/executor/token/index.ts)_
1443
1461
 
1444
1462
  ## `hereya workspace executor uninstall`
1445
1463
 
@@ -1457,7 +1475,7 @@ DESCRIPTION
1457
1475
  Uninstall the remote executor from a workspace
1458
1476
  ```
1459
1477
 
1460
- _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/workspace/executor/uninstall/index.ts)_
1461
1479
 
1462
1480
  ## `hereya workspace install PACKAGE`
1463
1481
 
@@ -1484,7 +1502,7 @@ EXAMPLES
1484
1502
  $ hereya workspace install hereya/aws-cognito
1485
1503
  ```
1486
1504
 
1487
- _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/workspace/install/index.ts)_
1505
+ _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/install/index.ts)_
1488
1506
 
1489
1507
  ## `hereya workspace list`
1490
1508
 
@@ -1508,7 +1526,7 @@ EXAMPLES
1508
1526
  $ hereya workspace list --org personal
1509
1527
  ```
1510
1528
 
1511
- _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/workspace/list/index.ts)_
1529
+ _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/list/index.ts)_
1512
1530
 
1513
1531
  ## `hereya workspace set-profile PROFILE`
1514
1532
 
@@ -1532,7 +1550,7 @@ EXAMPLES
1532
1550
  $ hereya workspace set-profile prod-profile -w production
1533
1551
  ```
1534
1552
 
1535
- _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.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.79.1/src/commands/workspace/set-profile/index.ts)_
1536
1554
 
1537
1555
  ## `hereya workspace uninstall PACKAGE`
1538
1556
 
@@ -1559,5 +1577,5 @@ EXAMPLES
1559
1577
  $ hereya workspace uninstall hereya/aws-cognito
1560
1578
  ```
1561
1579
 
1562
- _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.78.0/src/commands/workspace/uninstall/index.ts)_
1580
+ _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/uninstall/index.ts)_
1563
1581
  <!-- commandsstop -->
@@ -1,5 +1,5 @@
1
1
  import { Config } from '../../lib/config/common.js';
2
- import { AddPackageToWorkspaceInput, AddPackageToWorkspaceOutput, Backend, CreateWorkspaceInput, CreateWorkspaceOutput, DeleteStateInput, DeleteStateOutput, DeleteWorkspaceInput, DeleteWorkspaceOutput, ExportBackendOutput, GetPackageOutput, GetProjectMetadataInput, GetProjectMetadataOutput, GetProvisioningIdInput, GetProvisioningIdOutput, GetStateInput, GetStateOutput, GetWorkspaceEnvInput, GetWorkspaceEnvOutput, GetWorkspaceOutput, ImportBackendInput, ImportBackendOutput, InitProjectInput, InitProjectOutput, ListPackageVersionsOutput, ListWorkspacesInput, PublishPackageInput, PublishPackageOutput, RemovePackageFromWorkspaceInput, RemovePackageFromWorkspaceOutput, SaveProjectMetadataInput, SaveProjectMetadataOutput, SearchPackagesInput, SearchPackagesOutput, SetEnvVarInput, SetEnvVarOutput, UnsetEnvVarInput, UnsetEnvVarOutput, UpdateWorkspaceInput, UpdateWorkspaceOutput } from '../common.js';
2
+ import { AddPackageToWorkspaceInput, AddPackageToWorkspaceOutput, Backend, CreateWorkspaceInput, CreateWorkspaceOutput, DeleteStateInput, DeleteStateOutput, DeleteWorkspaceInput, DeleteWorkspaceOutput, ExportBackendOutput, GetPackageOutput, GetProjectMetadataInput, GetProjectMetadataOutput, GetProvisioningIdInput, GetProvisioningIdOutput, GetStateInput, GetStateOutput, GetWorkspaceEnvInput, GetWorkspaceEnvOutput, GetWorkspaceOutput, ImportBackendInput, ImportBackendOutput, InitProjectInput, InitProjectOutput, ListPackageVersionsOutput, ListProjectsOutput, ListWorkspacesInput, PublishPackageInput, PublishPackageOutput, RemovePackageFromWorkspaceInput, RemovePackageFromWorkspaceOutput, SaveProjectMetadataInput, SaveProjectMetadataOutput, SearchPackagesInput, SearchPackagesOutput, SetEnvVarInput, SetEnvVarOutput, UnsetEnvVarInput, UnsetEnvVarOutput, UpdateWorkspaceInput, UpdateWorkspaceOutput } from '../common.js';
3
3
  interface CloudBackendConfig {
4
4
  accessToken: string;
5
5
  clientId: string;
@@ -52,6 +52,7 @@ export declare class CloudBackend implements Backend {
52
52
  importBackend(input: ImportBackendInput): Promise<ImportBackendOutput>;
53
53
  init(input: InitProjectInput): Promise<InitProjectOutput>;
54
54
  listPackageVersions(name: string): Promise<ListPackageVersionsOutput>;
55
+ listProjects(): Promise<ListProjectsOutput>;
55
56
  listWorkspaces(input?: ListWorkspacesInput): Promise<string[]>;
56
57
  pollExecutorJobs(input: {
57
58
  executorId?: string;
@@ -453,6 +453,20 @@ export class CloudBackend {
453
453
  success: true,
454
454
  };
455
455
  }
456
+ async listProjects() {
457
+ const response = await fetch(`${this.config.url}/api/projects`, {
458
+ headers: { 'Authorization': `Bearer ${this.config.accessToken}` },
459
+ method: 'GET',
460
+ });
461
+ if (!response.ok) {
462
+ throw new Error(JSON.stringify(await this.safeResponseJson(response)));
463
+ }
464
+ const result = await response.json();
465
+ return (result.projects ?? []).map((p) => ({
466
+ defaultWorkspace: p.defaultWorkspace?.name ?? '-',
467
+ name: p.name,
468
+ }));
469
+ }
456
470
  async listWorkspaces(input) {
457
471
  const url = new URL(`${this.config.url}/api/workspaces`);
458
472
  if (input?.org) {
@@ -17,6 +17,7 @@ export interface Backend {
17
17
  importBackend(input: ImportBackendInput): Promise<ImportBackendOutput>;
18
18
  init(options: InitProjectInput): Promise<InitProjectOutput>;
19
19
  listPackageVersions?(name: string): Promise<ListPackageVersionsOutput>;
20
+ listProjects?(): Promise<ListProjectsOutput>;
20
21
  listWorkspaces(input?: ListWorkspacesInput): Promise<string[]>;
21
22
  publishPackage?(input: PublishPackageInput): Promise<PublishPackageOutput>;
22
23
  removePackageFromWorkspace(input: RemovePackageFromWorkspaceInput): Promise<RemovePackageFromWorkspaceOutput>;
@@ -343,3 +344,8 @@ export type SaveProjectMetadataOutput = {
343
344
  } | {
344
345
  success: true;
345
346
  };
347
+ export type ProjectSummary = {
348
+ defaultWorkspace: string;
349
+ name: string;
350
+ };
351
+ export type ListProjectsOutput = ProjectSummary[];
@@ -4,7 +4,6 @@ import fs from 'node:fs';
4
4
  import path from 'node:path';
5
5
  import { getBackend } from '../../backend/index.js';
6
6
  import { getExecutorForWorkspace } from '../../executor/context.js';
7
- import { getConfigManager } from '../../lib/config/index.js';
8
7
  import { gitUtils } from '../../lib/git-utils.js';
9
8
  import { getLogPath } from '../../lib/log.js';
10
9
  export default class Clone extends Command {
@@ -77,17 +76,9 @@ export default class Clone extends Command {
77
76
  },
78
77
  {
79
78
  async task(ctx) {
80
- const configManager = getConfigManager();
81
- const existing = await configManager.loadConfig({ projectRootDir: targetDir });
82
- const config = {
83
- ...(existing.found ? existing.config : {}),
84
- project: args.project,
85
- workspace: ctx.defaultWorkspace,
86
- };
87
- await configManager.saveConfig({ config, projectRootDir: targetDir });
88
79
  await gitUtils.setupCredentialHelper({ hereyaBinPath: process.argv[1], projectDir: targetDir });
89
80
  const backend = await getBackend();
90
- await backend.saveState(config, ctx.defaultWorkspace);
81
+ await backend.saveState({ project: args.project, workspace: ctx.defaultWorkspace }, ctx.defaultWorkspace);
91
82
  },
92
83
  title: 'Setting up project',
93
84
  },
@@ -0,0 +1,6 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class List extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ run(): Promise<void>;
6
+ }
@@ -0,0 +1,29 @@
1
+ import { Command } from '@oclif/core';
2
+ import { getBackend } from '../../backend/index.js';
3
+ export default class List extends Command {
4
+ static description = 'List your projects.';
5
+ static examples = ['<%= config.bin %> <%= command.id %>'];
6
+ async run() {
7
+ try {
8
+ const backend = await getBackend();
9
+ if (!backend.listProjects) {
10
+ this.error('Listing projects requires cloud backend. Run `hereya login` first.');
11
+ }
12
+ const projects = await backend.listProjects();
13
+ if (projects.length === 0) {
14
+ this.log('No projects found.');
15
+ return;
16
+ }
17
+ const nameWidth = Math.max(4, ...projects.map(p => p.name.length));
18
+ const wsWidth = Math.max(17, ...projects.map(p => p.defaultWorkspace.length));
19
+ this.log(`${'Name'.padEnd(nameWidth)} ${'Default Workspace'.padEnd(wsWidth)}`);
20
+ this.log('-'.repeat(nameWidth + wsWidth + 2));
21
+ for (const project of projects) {
22
+ this.log(`${project.name.padEnd(nameWidth)} ${project.defaultWorkspace.padEnd(wsWidth)}`);
23
+ }
24
+ }
25
+ catch (error) {
26
+ this.error(`Failed to list projects: ${error}`);
27
+ }
28
+ }
29
+ }
@@ -170,12 +170,13 @@
170
170
  "index.js"
171
171
  ]
172
172
  },
173
- "deploy": {
173
+ "delete-state": {
174
174
  "aliases": [],
175
175
  "args": {},
176
- "description": "Deploy a hereya project using the project deployment package",
176
+ "description": "Delete the remote state of a project for a given workspace",
177
177
  "examples": [
178
- "<%= config.bin %> <%= command.id %>"
178
+ "<%= config.bin %> <%= command.id %> -w dev",
179
+ "<%= config.bin %> <%= command.id %> --workspace staging"
179
180
  ],
180
181
  "flags": {
181
182
  "chdir": {
@@ -186,21 +187,9 @@
186
187
  "multiple": false,
187
188
  "type": "option"
188
189
  },
189
- "debug": {
190
- "description": "enable debug mode",
191
- "name": "debug",
192
- "allowNo": false,
193
- "type": "boolean"
194
- },
195
- "local": {
196
- "description": "force local execution (skip remote executor)",
197
- "name": "local",
198
- "allowNo": false,
199
- "type": "boolean"
200
- },
201
190
  "workspace": {
202
191
  "char": "w",
203
- "description": "name of the workspace to deploy the packages for",
192
+ "description": "workspace name",
204
193
  "name": "workspace",
205
194
  "required": true,
206
195
  "hasDynamicHelp": false,
@@ -210,7 +199,7 @@
210
199
  },
211
200
  "hasDynamicHelp": false,
212
201
  "hiddenAliases": [],
213
- "id": "deploy",
202
+ "id": "delete-state",
214
203
  "pluginAlias": "hereya-cli",
215
204
  "pluginName": "hereya-cli",
216
205
  "pluginType": "core",
@@ -220,17 +209,16 @@
220
209
  "relativePath": [
221
210
  "dist",
222
211
  "commands",
223
- "deploy",
212
+ "delete-state",
224
213
  "index.js"
225
214
  ]
226
215
  },
227
- "delete-state": {
216
+ "deploy": {
228
217
  "aliases": [],
229
218
  "args": {},
230
- "description": "Delete the remote state of a project for a given workspace",
219
+ "description": "Deploy a hereya project using the project deployment package",
231
220
  "examples": [
232
- "<%= config.bin %> <%= command.id %> -w dev",
233
- "<%= config.bin %> <%= command.id %> --workspace staging"
221
+ "<%= config.bin %> <%= command.id %>"
234
222
  ],
235
223
  "flags": {
236
224
  "chdir": {
@@ -241,9 +229,21 @@
241
229
  "multiple": false,
242
230
  "type": "option"
243
231
  },
232
+ "debug": {
233
+ "description": "enable debug mode",
234
+ "name": "debug",
235
+ "allowNo": false,
236
+ "type": "boolean"
237
+ },
238
+ "local": {
239
+ "description": "force local execution (skip remote executor)",
240
+ "name": "local",
241
+ "allowNo": false,
242
+ "type": "boolean"
243
+ },
244
244
  "workspace": {
245
245
  "char": "w",
246
- "description": "workspace name",
246
+ "description": "name of the workspace to deploy the packages for",
247
247
  "name": "workspace",
248
248
  "required": true,
249
249
  "hasDynamicHelp": false,
@@ -253,7 +253,7 @@
253
253
  },
254
254
  "hasDynamicHelp": false,
255
255
  "hiddenAliases": [],
256
- "id": "delete-state",
256
+ "id": "deploy",
257
257
  "pluginAlias": "hereya-cli",
258
258
  "pluginName": "hereya-cli",
259
259
  "pluginType": "core",
@@ -263,7 +263,7 @@
263
263
  "relativePath": [
264
264
  "dist",
265
265
  "commands",
266
- "delete-state",
266
+ "deploy",
267
267
  "index.js"
268
268
  ]
269
269
  },
@@ -599,6 +599,30 @@
599
599
  "index.js"
600
600
  ]
601
601
  },
602
+ "list": {
603
+ "aliases": [],
604
+ "args": {},
605
+ "description": "List your projects.",
606
+ "examples": [
607
+ "<%= config.bin %> <%= command.id %>"
608
+ ],
609
+ "flags": {},
610
+ "hasDynamicHelp": false,
611
+ "hiddenAliases": [],
612
+ "id": "list",
613
+ "pluginAlias": "hereya-cli",
614
+ "pluginName": "hereya-cli",
615
+ "pluginType": "core",
616
+ "strict": true,
617
+ "enableJsonFlag": false,
618
+ "isESM": true,
619
+ "relativePath": [
620
+ "dist",
621
+ "commands",
622
+ "list",
623
+ "index.js"
624
+ ]
625
+ },
602
626
  "login": {
603
627
  "aliases": [],
604
628
  "args": {
@@ -1889,34 +1913,32 @@
1889
1913
  "index.js"
1890
1914
  ]
1891
1915
  },
1892
- "flow:run": {
1916
+ "flow:remove": {
1893
1917
  "aliases": [],
1894
1918
  "args": {
1895
- "cmd": {
1896
- "description": "command to run",
1897
- "name": "cmd",
1919
+ "package": {
1920
+ "description": "Remove a previously added package.",
1921
+ "name": "package",
1898
1922
  "required": true
1899
1923
  }
1900
1924
  },
1901
- "description": "Run a command with hereya env vars in a git branch-based workspace",
1925
+ "description": "Remove a package from the project in a git branch-based workspace",
1902
1926
  "examples": [
1903
- "<%= config.bin %> <%= command.id %> -- npm run dev",
1904
- "<%= config.bin %> <%= command.id %> --profile staging -- node index.js",
1905
- "<%= config.bin %> <%= command.id %> --pin -- npm test"
1927
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres",
1928
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres --profile staging"
1906
1929
  ],
1907
1930
  "flags": {
1908
1931
  "chdir": {
1909
- "description": "directory to run command in",
1932
+ "description": "\n Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR environment variable.\n ",
1910
1933
  "name": "chdir",
1911
1934
  "required": false,
1912
1935
  "hasDynamicHelp": false,
1913
1936
  "multiple": false,
1914
1937
  "type": "option"
1915
1938
  },
1916
- "pin": {
1917
- "description": "append git commit SHA to workspace name for commit-specific isolation",
1918
- "name": "pin",
1919
- "required": false,
1939
+ "debug": {
1940
+ "description": "enable debug mode",
1941
+ "name": "debug",
1920
1942
  "allowNo": false,
1921
1943
  "type": "boolean"
1922
1944
  },
@@ -1931,47 +1953,49 @@
1931
1953
  },
1932
1954
  "hasDynamicHelp": false,
1933
1955
  "hiddenAliases": [],
1934
- "id": "flow:run",
1956
+ "id": "flow:remove",
1935
1957
  "pluginAlias": "hereya-cli",
1936
1958
  "pluginName": "hereya-cli",
1937
1959
  "pluginType": "core",
1938
- "strict": false,
1960
+ "strict": true,
1939
1961
  "enableJsonFlag": false,
1940
1962
  "isESM": true,
1941
1963
  "relativePath": [
1942
1964
  "dist",
1943
1965
  "commands",
1944
1966
  "flow",
1945
- "run",
1967
+ "remove",
1946
1968
  "index.js"
1947
1969
  ]
1948
1970
  },
1949
- "flow:remove": {
1971
+ "flow:run": {
1950
1972
  "aliases": [],
1951
1973
  "args": {
1952
- "package": {
1953
- "description": "Remove a previously added package.",
1954
- "name": "package",
1974
+ "cmd": {
1975
+ "description": "command to run",
1976
+ "name": "cmd",
1955
1977
  "required": true
1956
1978
  }
1957
1979
  },
1958
- "description": "Remove a package from the project in a git branch-based workspace",
1980
+ "description": "Run a command with hereya env vars in a git branch-based workspace",
1959
1981
  "examples": [
1960
- "<%= config.bin %> <%= command.id %> cloudy/docker_postgres",
1961
- "<%= config.bin %> <%= command.id %> cloudy/docker_postgres --profile staging"
1982
+ "<%= config.bin %> <%= command.id %> -- npm run dev",
1983
+ "<%= config.bin %> <%= command.id %> --profile staging -- node index.js",
1984
+ "<%= config.bin %> <%= command.id %> --pin -- npm test"
1962
1985
  ],
1963
1986
  "flags": {
1964
1987
  "chdir": {
1965
- "description": "\n Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR environment variable.\n ",
1988
+ "description": "directory to run command in",
1966
1989
  "name": "chdir",
1967
1990
  "required": false,
1968
1991
  "hasDynamicHelp": false,
1969
1992
  "multiple": false,
1970
1993
  "type": "option"
1971
1994
  },
1972
- "debug": {
1973
- "description": "enable debug mode",
1974
- "name": "debug",
1995
+ "pin": {
1996
+ "description": "append git commit SHA to workspace name for commit-specific isolation",
1997
+ "name": "pin",
1998
+ "required": false,
1975
1999
  "allowNo": false,
1976
2000
  "type": "boolean"
1977
2001
  },
@@ -1986,18 +2010,18 @@
1986
2010
  },
1987
2011
  "hasDynamicHelp": false,
1988
2012
  "hiddenAliases": [],
1989
- "id": "flow:remove",
2013
+ "id": "flow:run",
1990
2014
  "pluginAlias": "hereya-cli",
1991
2015
  "pluginName": "hereya-cli",
1992
2016
  "pluginType": "core",
1993
- "strict": true,
2017
+ "strict": false,
1994
2018
  "enableJsonFlag": false,
1995
2019
  "isESM": true,
1996
2020
  "relativePath": [
1997
2021
  "dist",
1998
2022
  "commands",
1999
2023
  "flow",
2000
- "remove",
2024
+ "run",
2001
2025
  "index.js"
2002
2026
  ]
2003
2027
  },
@@ -2857,5 +2881,5 @@
2857
2881
  ]
2858
2882
  }
2859
2883
  },
2860
- "version": "0.78.0"
2884
+ "version": "0.79.1"
2861
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.78.0",
4
+ "version": "0.79.1",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.js"