hereya-cli 0.66.0 → 0.66.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
@@ -20,7 +20,7 @@ $ npm install -g hereya-cli
20
20
  $ hereya COMMAND
21
21
  running command...
22
22
  $ hereya (--version)
23
- hereya-cli/0.66.0 linux-x64 node-v24.14.0
23
+ hereya-cli/0.66.2 linux-x64 node-v24.14.0
24
24
  $ hereya --help [COMMAND]
25
25
  USAGE
26
26
  $ hereya COMMAND
@@ -109,7 +109,7 @@ EXAMPLES
109
109
  $ hereya add cloudy/docker_postgres
110
110
  ```
111
111
 
112
- _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/add/index.ts)_
112
+ _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/add/index.ts)_
113
113
 
114
114
  ## `hereya bootstrap INFRASTRUCTURETYPE`
115
115
 
@@ -134,7 +134,7 @@ EXAMPLES
134
134
  $ hereya bootstrap local
135
135
  ```
136
136
 
137
- _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/bootstrap/index.ts)_
137
+ _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/bootstrap/index.ts)_
138
138
 
139
139
  ## `hereya config export-backend [FILE]`
140
140
 
@@ -156,7 +156,7 @@ EXAMPLES
156
156
  $ hereya config export-backend ./path/to/export.json
157
157
  ```
158
158
 
159
- _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/config/export-backend/index.ts)_
159
+ _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/config/export-backend/index.ts)_
160
160
 
161
161
  ## `hereya config get-backend`
162
162
 
@@ -173,7 +173,7 @@ EXAMPLES
173
173
  $ hereya config get-backend
174
174
  ```
175
175
 
176
- _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/config/get-backend/index.ts)_
176
+ _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/config/get-backend/index.ts)_
177
177
 
178
178
  ## `hereya config import-backend FILE`
179
179
 
@@ -193,7 +193,7 @@ EXAMPLES
193
193
  $ hereya config import-backend ./path/to/cloud-backend.json
194
194
  ```
195
195
 
196
- _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/config/import-backend/index.ts)_
196
+ _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/config/import-backend/index.ts)_
197
197
 
198
198
  ## `hereya config use-backend TYPE`
199
199
 
@@ -215,7 +215,7 @@ EXAMPLES
215
215
  $ hereya config use-backend local
216
216
  ```
217
217
 
218
- _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/config/use-backend/index.ts)_
218
+ _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/config/use-backend/index.ts)_
219
219
 
220
220
  ## `hereya delete-state`
221
221
 
@@ -241,7 +241,7 @@ EXAMPLES
241
241
  $ hereya delete-state --workspace staging
242
242
  ```
243
243
 
244
- _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/delete-state/index.ts)_
244
+ _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/delete-state/index.ts)_
245
245
 
246
246
  ## `hereya deploy`
247
247
 
@@ -266,7 +266,7 @@ EXAMPLES
266
266
  $ hereya deploy
267
267
  ```
268
268
 
269
- _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/deploy/index.ts)_
269
+ _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/deploy/index.ts)_
270
270
 
271
271
  ## `hereya doc PACKAGE`
272
272
 
@@ -299,7 +299,7 @@ EXAMPLES
299
299
  $ hereya doc my-package --no-doc
300
300
  ```
301
301
 
302
- _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/doc/index.ts)_
302
+ _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/doc/index.ts)_
303
303
 
304
304
  ## `hereya docker run IMAGE`
305
305
 
@@ -330,7 +330,7 @@ EXAMPLES
330
330
  $ hereya docker run myapp:latest -- --rm -v ./data:/data
331
331
  ```
332
332
 
333
- _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/docker/run/index.ts)_
333
+ _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/docker/run/index.ts)_
334
334
 
335
335
  ## `hereya down`
336
336
 
@@ -357,7 +357,7 @@ EXAMPLES
357
357
  $ hereya down
358
358
  ```
359
359
 
360
- _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/down/index.ts)_
360
+ _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/down/index.ts)_
361
361
 
362
362
  ## `hereya env [NAME]`
363
363
 
@@ -388,7 +388,7 @@ EXAMPLES
388
388
  $ hereya env -w dev -l
389
389
  ```
390
390
 
391
- _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/env/index.ts)_
391
+ _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/env/index.ts)_
392
392
 
393
393
  ## `hereya env set [NAME]`
394
394
 
@@ -415,7 +415,7 @@ EXAMPLES
415
415
  $ hereya env set FOO -v bar -w dev
416
416
  ```
417
417
 
418
- _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/env/set/index.ts)_
418
+ _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/env/set/index.ts)_
419
419
 
420
420
  ## `hereya executor start`
421
421
 
@@ -448,7 +448,7 @@ EXAMPLES
448
448
  HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
449
449
  ```
450
450
 
451
- _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/executor/start/index.ts)_
451
+ _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/executor/start/index.ts)_
452
452
 
453
453
  ## `hereya flow add PACKAGE`
454
454
 
@@ -486,7 +486,7 @@ EXAMPLES
486
486
  $ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
487
487
  ```
488
488
 
489
- _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/flow/add/index.ts)_
489
+ _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/flow/add/index.ts)_
490
490
 
491
491
  ## `hereya flow docker run IMAGE`
492
492
 
@@ -516,7 +516,7 @@ EXAMPLES
516
516
  $ hereya flow docker run --pin myapp:latest -- --rm
517
517
  ```
518
518
 
519
- _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/flow/docker/run/index.ts)_
519
+ _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/flow/docker/run/index.ts)_
520
520
 
521
521
  ## `hereya flow down`
522
522
 
@@ -550,7 +550,7 @@ EXAMPLES
550
550
  $ hereya flow down --pin
551
551
  ```
552
552
 
553
- _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/flow/down/index.ts)_
553
+ _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/flow/down/index.ts)_
554
554
 
555
555
  ## `hereya flow env [NAME]`
556
556
 
@@ -584,7 +584,7 @@ EXAMPLES
584
584
  $ hereya flow env -l
585
585
  ```
586
586
 
587
- _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/flow/env/index.ts)_
587
+ _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/flow/env/index.ts)_
588
588
 
589
589
  ## `hereya flow provid PACKAGE`
590
590
 
@@ -613,7 +613,7 @@ EXAMPLES
613
613
  $ hereya flow provid hereya/postgres --pin
614
614
  ```
615
615
 
616
- _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/flow/provid/index.ts)_
616
+ _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/flow/provid/index.ts)_
617
617
 
618
618
  ## `hereya flow remove PACKAGE`
619
619
 
@@ -643,7 +643,7 @@ EXAMPLES
643
643
  $ hereya flow remove cloudy/docker_postgres --profile staging
644
644
  ```
645
645
 
646
- _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/flow/remove/index.ts)_
646
+ _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/flow/remove/index.ts)_
647
647
 
648
648
  ## `hereya flow run CMD`
649
649
 
@@ -672,7 +672,7 @@ EXAMPLES
672
672
  $ hereya flow run --pin -- npm test
673
673
  ```
674
674
 
675
- _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/flow/run/index.ts)_
675
+ _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/flow/run/index.ts)_
676
676
 
677
677
  ## `hereya flow up`
678
678
 
@@ -706,7 +706,7 @@ EXAMPLES
706
706
  $ hereya flow up --pin
707
707
  ```
708
708
 
709
- _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/flow/up/index.ts)_
709
+ _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/flow/up/index.ts)_
710
710
 
711
711
  ## `hereya help [COMMAND]`
712
712
 
@@ -763,7 +763,7 @@ EXAMPLES
763
763
  $ hereya import org/my-package -f state.tfstate -w my-workspace
764
764
  ```
765
765
 
766
- _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/import/index.ts)_
766
+ _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/import/index.ts)_
767
767
 
768
768
  ## `hereya init PROJECT`
769
769
 
@@ -789,7 +789,7 @@ EXAMPLES
789
789
  $ hereya init myProject -w=defaultWorkspace --chdir=./myProject
790
790
  ```
791
791
 
792
- _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/init/index.ts)_
792
+ _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/init/index.ts)_
793
793
 
794
794
  ## `hereya login [URL]`
795
795
 
@@ -818,7 +818,7 @@ EXAMPLES
818
818
  $ hereya login --token=your-token https://cloud.hereya.dev
819
819
  ```
820
820
 
821
- _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/login/index.ts)_
821
+ _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/login/index.ts)_
822
822
 
823
823
  ## `hereya logout`
824
824
 
@@ -835,7 +835,7 @@ EXAMPLES
835
835
  $ hereya logout
836
836
  ```
837
837
 
838
- _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/logout/index.ts)_
838
+ _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/logout/index.ts)_
839
839
 
840
840
  ## `hereya provid PACKAGE`
841
841
 
@@ -863,7 +863,7 @@ EXAMPLES
863
863
  $ hereya provid hereya/postgres --workspace staging
864
864
  ```
865
865
 
866
- _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/provid/index.ts)_
866
+ _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/provid/index.ts)_
867
867
 
868
868
  ## `hereya publish`
869
869
 
@@ -886,7 +886,7 @@ EXAMPLES
886
886
  $ hereya publish --chdir=/path/to/package
887
887
  ```
888
888
 
889
- _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/publish/index.ts)_
889
+ _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/publish/index.ts)_
890
890
 
891
891
  ## `hereya remove PACKAGE`
892
892
 
@@ -914,7 +914,7 @@ EXAMPLES
914
914
  $ hereya remove cloudy/docker_postgres
915
915
  ```
916
916
 
917
- _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/remove/index.ts)_
917
+ _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/remove/index.ts)_
918
918
 
919
919
  ## `hereya run CMD`
920
920
 
@@ -940,7 +940,7 @@ EXAMPLES
940
940
  $ hereya run -w uat -- node index.js
941
941
  ```
942
942
 
943
- _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/run/index.ts)_
943
+ _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/run/index.ts)_
944
944
 
945
945
  ## `hereya search QUERY`
946
946
 
@@ -971,7 +971,7 @@ EXAMPLES
971
971
  $ hereya search database --json
972
972
  ```
973
973
 
974
- _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/search/index.ts)_
974
+ _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/search/index.ts)_
975
975
 
976
976
  ## `hereya unbootstrap INFRASTRUCTURETYPE`
977
977
 
@@ -996,7 +996,7 @@ EXAMPLES
996
996
  $ hereya unbootstrap local
997
997
  ```
998
998
 
999
- _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/unbootstrap/index.ts)_
999
+ _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/unbootstrap/index.ts)_
1000
1000
 
1001
1001
  ## `hereya undeploy`
1002
1002
 
@@ -1021,7 +1021,7 @@ EXAMPLES
1021
1021
  $ hereya undeploy
1022
1022
  ```
1023
1023
 
1024
- _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/undeploy/index.ts)_
1024
+ _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/undeploy/index.ts)_
1025
1025
 
1026
1026
  ## `hereya up`
1027
1027
 
@@ -1048,7 +1048,7 @@ EXAMPLES
1048
1048
  $ hereya up
1049
1049
  ```
1050
1050
 
1051
- _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/up/index.ts)_
1051
+ _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/up/index.ts)_
1052
1052
 
1053
1053
  ## `hereya workspace create NAME`
1054
1054
 
@@ -1073,7 +1073,7 @@ EXAMPLES
1073
1073
  $ hereya workspace create dev
1074
1074
  ```
1075
1075
 
1076
- _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/create/index.ts)_
1076
+ _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/create/index.ts)_
1077
1077
 
1078
1078
  ## `hereya workspace delete NAME`
1079
1079
 
@@ -1093,7 +1093,7 @@ EXAMPLES
1093
1093
  $ hereya workspace delete dev
1094
1094
  ```
1095
1095
 
1096
- _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/delete/index.ts)_
1096
+ _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/delete/index.ts)_
1097
1097
 
1098
1098
  ## `hereya workspace env [NAME]`
1099
1099
 
@@ -1119,7 +1119,7 @@ EXAMPLES
1119
1119
  $ hereya workspace env myEnv -w dev
1120
1120
  ```
1121
1121
 
1122
- _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/env/index.ts)_
1122
+ _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/env/index.ts)_
1123
1123
 
1124
1124
  ## `hereya workspace env set`
1125
1125
 
@@ -1143,7 +1143,7 @@ EXAMPLES
1143
1143
  $ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
1144
1144
  ```
1145
1145
 
1146
- _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/env/set/index.ts)_
1146
+ _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/env/set/index.ts)_
1147
1147
 
1148
1148
  ## `hereya workspace env unset`
1149
1149
 
@@ -1164,7 +1164,7 @@ EXAMPLES
1164
1164
  $ hereya workspace env unset -w my-workspace -n myVar
1165
1165
  ```
1166
1166
 
1167
- _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/env/unset/index.ts)_
1167
+ _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/env/unset/index.ts)_
1168
1168
 
1169
1169
  ## `hereya workspace executor install`
1170
1170
 
@@ -1182,7 +1182,7 @@ DESCRIPTION
1182
1182
  Install a remote executor into a workspace
1183
1183
  ```
1184
1184
 
1185
- _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/executor/install/index.ts)_
1185
+ _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/executor/install/index.ts)_
1186
1186
 
1187
1187
  ## `hereya workspace executor token`
1188
1188
 
@@ -1199,7 +1199,7 @@ DESCRIPTION
1199
1199
  Generate a workspace-scoped executor token for the remote executor
1200
1200
  ```
1201
1201
 
1202
- _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/executor/token/index.ts)_
1202
+ _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/executor/token/index.ts)_
1203
1203
 
1204
1204
  ## `hereya workspace executor uninstall`
1205
1205
 
@@ -1217,7 +1217,7 @@ DESCRIPTION
1217
1217
  Uninstall the remote executor from a workspace
1218
1218
  ```
1219
1219
 
1220
- _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/executor/uninstall/index.ts)_
1220
+ _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/executor/uninstall/index.ts)_
1221
1221
 
1222
1222
  ## `hereya workspace install PACKAGE`
1223
1223
 
@@ -1244,7 +1244,7 @@ EXAMPLES
1244
1244
  $ hereya workspace install hereya/aws-cognito
1245
1245
  ```
1246
1246
 
1247
- _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/install/index.ts)_
1247
+ _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/install/index.ts)_
1248
1248
 
1249
1249
  ## `hereya workspace list`
1250
1250
 
@@ -1268,7 +1268,7 @@ EXAMPLES
1268
1268
  $ hereya workspace list --org personal
1269
1269
  ```
1270
1270
 
1271
- _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/list/index.ts)_
1271
+ _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/list/index.ts)_
1272
1272
 
1273
1273
  ## `hereya workspace set-profile PROFILE`
1274
1274
 
@@ -1292,7 +1292,7 @@ EXAMPLES
1292
1292
  $ hereya workspace set-profile prod-profile -w production
1293
1293
  ```
1294
1294
 
1295
- _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/set-profile/index.ts)_
1295
+ _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/set-profile/index.ts)_
1296
1296
 
1297
1297
  ## `hereya workspace uninstall PACKAGE`
1298
1298
 
@@ -1319,5 +1319,5 @@ EXAMPLES
1319
1319
  $ hereya workspace uninstall hereya/aws-cognito
1320
1320
  ```
1321
1321
 
1322
- _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.0/src/commands/workspace/uninstall/index.ts)_
1322
+ _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.66.2/src/commands/workspace/uninstall/index.ts)_
1323
1323
  <!-- commandsstop -->
@@ -183,7 +183,7 @@ export default class Add extends Command {
183
183
  const configManager = getConfigManager();
184
184
  const { config } = await configManager.loadConfig({ projectRootDir });
185
185
  const devDeploy = config.devDeploy ?? {};
186
- if (Object.keys(devDeploy).length === 0) {
186
+ if (Object.keys(devDeploy).length === 0 || Boolean(ctx.provisionOutput.metadata.deploy)) {
187
187
  return;
188
188
  }
189
189
  const backend = await getBackend();
@@ -210,7 +210,7 @@ export default class Add extends Command {
210
210
  {
211
211
  skip(ctx) {
212
212
  const devDeploy = ctx.configOutput.config.devDeploy ?? {};
213
- return Object.keys(devDeploy).length === 0;
213
+ return Object.keys(devDeploy).length === 0 || Boolean(ctx.provisionOutput.metadata.deploy);
214
214
  },
215
215
  async task(ctx, task) {
216
216
  const configManager = getConfigManager();
@@ -97,6 +97,7 @@ export default class Down extends Command {
97
97
  // Handle --select flag with version validation
98
98
  if (flags.select.length > 0) {
99
99
  const selectedPackages = [];
100
+ ctx.selectedPackageNames = flags.select.map(s => s.split('@')[0]);
100
101
  for (const selectedPkg of flags.select) {
101
102
  // Parse the selected package to extract name and version
102
103
  const [selectedName, selectedVersion] = selectedPkg.split('@');
@@ -134,6 +135,10 @@ export default class Down extends Command {
134
135
  }));
135
136
  }
136
137
  ctx.devDeployPackages = [...devDeployFromConfig, ...devDeployFromState];
138
+ // Filter devDeploy packages if -s was used
139
+ if (ctx.selectedPackageNames) {
140
+ ctx.devDeployPackages = ctx.devDeployPackages.filter(pkg => ctx.selectedPackageNames.includes(pkg.name));
141
+ }
137
142
  await delay(500);
138
143
  },
139
144
  title: 'Identifying packages to destroy',
@@ -192,13 +192,13 @@ export default class Remove extends Command {
192
192
  {
193
193
  skip(ctx) {
194
194
  const devDeploy = ctx.configOutput.config.devDeploy ?? {};
195
- return Object.keys(devDeploy).length === 0;
195
+ return Object.keys(devDeploy).length === 0 || Boolean(ctx.destroyOutput.metadata.deploy);
196
196
  },
197
197
  async task(ctx) {
198
198
  const configManager = getConfigManager();
199
199
  const { config } = await configManager.loadConfig({ projectRootDir });
200
200
  const devDeploy = config.devDeploy ?? {};
201
- if (Object.keys(devDeploy).length === 0) {
201
+ if (Object.keys(devDeploy).length === 0 || Boolean(ctx.destroyOutput.metadata.deploy)) {
202
202
  return;
203
203
  }
204
204
  const backend = await getBackend();
@@ -224,7 +224,7 @@ export default class Remove extends Command {
224
224
  {
225
225
  skip(ctx) {
226
226
  const devDeploy = ctx.configOutput.config.devDeploy ?? {};
227
- return Object.keys(devDeploy).length === 0;
227
+ return Object.keys(devDeploy).length === 0 || Boolean(ctx.destroyOutput.metadata.deploy);
228
228
  },
229
229
  async task(ctx, task) {
230
230
  const configManager = getConfigManager();
@@ -98,6 +98,7 @@ export default class Up extends Command {
98
98
  // Handle --select flag with version validation
99
99
  if (flags.select.length > 0) {
100
100
  const selectedPackages = [];
101
+ ctx.selectedPackageNames = flags.select.map(s => s.split('@')[0]);
101
102
  for (const selectedPkg of flags.select) {
102
103
  // Parse the selected package to extract name and version
103
104
  const [selectedName, selectedVersion] = selectedPkg.split('@');
@@ -286,11 +287,17 @@ export default class Up extends Command {
286
287
  skip: (ctx) => !ctx.configOutput.config.devDeploy || Object.keys(ctx.configOutput.config.devDeploy).length === 0,
287
288
  async task(ctx) {
288
289
  const devDeployPackages = ctx.configOutput.config.devDeploy ?? {};
289
- const devDeployEntries = Object.entries(devDeployPackages).map(([name, info]) => ({
290
+ let devDeployEntries = Object.entries(devDeployPackages).map(([name, info]) => ({
290
291
  name,
291
292
  packageSpec: info.version ? `${name}@${info.version}` : name,
292
293
  version: info.version || '',
293
294
  }));
295
+ // Filter devDeploy packages if -s was used
296
+ if (ctx.selectedPackageNames) {
297
+ devDeployEntries = devDeployEntries.filter(e => ctx.selectedPackageNames.includes(e.name));
298
+ }
299
+ if (devDeployEntries.length === 0)
300
+ return;
294
301
  return task.newListr(devDeployEntries.map((pkg) => ({
295
302
  rendererOptions: {
296
303
  persistentOutput: isDebug(),
@@ -1755,37 +1755,6 @@
1755
1755
  "index.js"
1756
1756
  ]
1757
1757
  },
1758
- "workspace:delete": {
1759
- "aliases": [],
1760
- "args": {
1761
- "name": {
1762
- "description": "name of the workspace to delete",
1763
- "name": "name",
1764
- "required": true
1765
- }
1766
- },
1767
- "description": "Delete a workspace if it exists.",
1768
- "examples": [
1769
- "<%= config.bin %> <%= command.id %> dev"
1770
- ],
1771
- "flags": {},
1772
- "hasDynamicHelp": false,
1773
- "hiddenAliases": [],
1774
- "id": "workspace:delete",
1775
- "pluginAlias": "hereya-cli",
1776
- "pluginName": "hereya-cli",
1777
- "pluginType": "core",
1778
- "strict": true,
1779
- "enableJsonFlag": false,
1780
- "isESM": true,
1781
- "relativePath": [
1782
- "dist",
1783
- "commands",
1784
- "workspace",
1785
- "delete",
1786
- "index.js"
1787
- ]
1788
- },
1789
1758
  "workspace:env": {
1790
1759
  "aliases": [],
1791
1760
  "args": {
@@ -1836,6 +1805,37 @@
1836
1805
  "index.js"
1837
1806
  ]
1838
1807
  },
1808
+ "workspace:delete": {
1809
+ "aliases": [],
1810
+ "args": {
1811
+ "name": {
1812
+ "description": "name of the workspace to delete",
1813
+ "name": "name",
1814
+ "required": true
1815
+ }
1816
+ },
1817
+ "description": "Delete a workspace if it exists.",
1818
+ "examples": [
1819
+ "<%= config.bin %> <%= command.id %> dev"
1820
+ ],
1821
+ "flags": {},
1822
+ "hasDynamicHelp": false,
1823
+ "hiddenAliases": [],
1824
+ "id": "workspace:delete",
1825
+ "pluginAlias": "hereya-cli",
1826
+ "pluginName": "hereya-cli",
1827
+ "pluginType": "core",
1828
+ "strict": true,
1829
+ "enableJsonFlag": false,
1830
+ "isESM": true,
1831
+ "relativePath": [
1832
+ "dist",
1833
+ "commands",
1834
+ "workspace",
1835
+ "delete",
1836
+ "index.js"
1837
+ ]
1838
+ },
1839
1839
  "workspace:install": {
1840
1840
  "aliases": [],
1841
1841
  "args": {
@@ -1986,70 +1986,6 @@
1986
1986
  "index.js"
1987
1987
  ]
1988
1988
  },
1989
- "workspace:uninstall": {
1990
- "aliases": [],
1991
- "args": {
1992
- "package": {
1993
- "description": "The package to remove. Packages are gitHub repositories. Use the format owner/repository",
1994
- "name": "package",
1995
- "required": true
1996
- }
1997
- },
1998
- "description": "Remove a package from a workspace.",
1999
- "examples": [
2000
- "<%= config.bin %> <%= command.id %> hereya/aws-cognito"
2001
- ],
2002
- "flags": {
2003
- "debug": {
2004
- "description": "enable debug mode",
2005
- "name": "debug",
2006
- "allowNo": false,
2007
- "type": "boolean"
2008
- },
2009
- "parameter": {
2010
- "char": "p",
2011
- "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
2012
- "name": "parameter",
2013
- "default": [],
2014
- "hasDynamicHelp": false,
2015
- "multiple": true,
2016
- "type": "option"
2017
- },
2018
- "parameter-file": {
2019
- "char": "f",
2020
- "description": "path to a file containing parameters for the package",
2021
- "name": "parameter-file",
2022
- "hasDynamicHelp": false,
2023
- "multiple": false,
2024
- "type": "option"
2025
- },
2026
- "workspace": {
2027
- "char": "w",
2028
- "description": "name of the workspace to remove the package from",
2029
- "name": "workspace",
2030
- "required": true,
2031
- "hasDynamicHelp": false,
2032
- "multiple": false,
2033
- "type": "option"
2034
- }
2035
- },
2036
- "hasDynamicHelp": false,
2037
- "hiddenAliases": [],
2038
- "id": "workspace:uninstall",
2039
- "pluginAlias": "hereya-cli",
2040
- "pluginName": "hereya-cli",
2041
- "pluginType": "core",
2042
- "strict": true,
2043
- "enableJsonFlag": false,
2044
- "isESM": true,
2045
- "relativePath": [
2046
- "dist",
2047
- "commands",
2048
- "workspace",
2049
- "uninstall",
2050
- "index.js"
2051
- ]
2052
- },
2053
1989
  "flow:docker:run": {
2054
1990
  "aliases": [],
2055
1991
  "args": {
@@ -2118,6 +2054,70 @@
2118
2054
  "index.js"
2119
2055
  ]
2120
2056
  },
2057
+ "workspace:uninstall": {
2058
+ "aliases": [],
2059
+ "args": {
2060
+ "package": {
2061
+ "description": "The package to remove. Packages are gitHub repositories. Use the format owner/repository",
2062
+ "name": "package",
2063
+ "required": true
2064
+ }
2065
+ },
2066
+ "description": "Remove a package from a workspace.",
2067
+ "examples": [
2068
+ "<%= config.bin %> <%= command.id %> hereya/aws-cognito"
2069
+ ],
2070
+ "flags": {
2071
+ "debug": {
2072
+ "description": "enable debug mode",
2073
+ "name": "debug",
2074
+ "allowNo": false,
2075
+ "type": "boolean"
2076
+ },
2077
+ "parameter": {
2078
+ "char": "p",
2079
+ "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
2080
+ "name": "parameter",
2081
+ "default": [],
2082
+ "hasDynamicHelp": false,
2083
+ "multiple": true,
2084
+ "type": "option"
2085
+ },
2086
+ "parameter-file": {
2087
+ "char": "f",
2088
+ "description": "path to a file containing parameters for the package",
2089
+ "name": "parameter-file",
2090
+ "hasDynamicHelp": false,
2091
+ "multiple": false,
2092
+ "type": "option"
2093
+ },
2094
+ "workspace": {
2095
+ "char": "w",
2096
+ "description": "name of the workspace to remove the package from",
2097
+ "name": "workspace",
2098
+ "required": true,
2099
+ "hasDynamicHelp": false,
2100
+ "multiple": false,
2101
+ "type": "option"
2102
+ }
2103
+ },
2104
+ "hasDynamicHelp": false,
2105
+ "hiddenAliases": [],
2106
+ "id": "workspace:uninstall",
2107
+ "pluginAlias": "hereya-cli",
2108
+ "pluginName": "hereya-cli",
2109
+ "pluginType": "core",
2110
+ "strict": true,
2111
+ "enableJsonFlag": false,
2112
+ "isESM": true,
2113
+ "relativePath": [
2114
+ "dist",
2115
+ "commands",
2116
+ "workspace",
2117
+ "uninstall",
2118
+ "index.js"
2119
+ ]
2120
+ },
2121
2121
  "workspace:env:set": {
2122
2122
  "aliases": [],
2123
2123
  "args": {},
@@ -2345,5 +2345,5 @@
2345
2345
  ]
2346
2346
  }
2347
2347
  },
2348
- "version": "0.66.0"
2348
+ "version": "0.66.2"
2349
2349
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hereya-cli",
3
3
  "description": "Infrastructure as Package",
4
- "version": "0.66.0",
4
+ "version": "0.66.2",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.js"