hereya-cli 0.77.0 → 0.77.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.77.0 linux-x64 node-v24.14.0
24
+ hereya-cli/0.77.1 linux-x64 node-v24.14.0
25
25
  $ hereya --help [COMMAND]
26
26
  USAGE
27
27
  $ hereya COMMAND
@@ -118,7 +118,7 @@ EXAMPLES
118
118
  $ hereya add cloudy/docker_postgres
119
119
  ```
120
120
 
121
- _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/add/index.ts)_
121
+ _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/add/index.ts)_
122
122
 
123
123
  ## `hereya bootstrap INFRASTRUCTURETYPE`
124
124
 
@@ -143,7 +143,7 @@ EXAMPLES
143
143
  $ hereya bootstrap local
144
144
  ```
145
145
 
146
- _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/bootstrap/index.ts)_
146
+ _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/bootstrap/index.ts)_
147
147
 
148
148
  ## `hereya config export-backend [FILE]`
149
149
 
@@ -165,7 +165,7 @@ EXAMPLES
165
165
  $ hereya config export-backend ./path/to/export.json
166
166
  ```
167
167
 
168
- _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/config/export-backend/index.ts)_
168
+ _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/config/export-backend/index.ts)_
169
169
 
170
170
  ## `hereya config get-backend`
171
171
 
@@ -182,7 +182,7 @@ EXAMPLES
182
182
  $ hereya config get-backend
183
183
  ```
184
184
 
185
- _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/config/get-backend/index.ts)_
185
+ _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/config/get-backend/index.ts)_
186
186
 
187
187
  ## `hereya config import-backend FILE`
188
188
 
@@ -202,7 +202,7 @@ EXAMPLES
202
202
  $ hereya config import-backend ./path/to/cloud-backend.json
203
203
  ```
204
204
 
205
- _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/config/import-backend/index.ts)_
205
+ _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/config/import-backend/index.ts)_
206
206
 
207
207
  ## `hereya config use-backend TYPE`
208
208
 
@@ -224,7 +224,7 @@ EXAMPLES
224
224
  $ hereya config use-backend local
225
225
  ```
226
226
 
227
- _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/config/use-backend/index.ts)_
227
+ _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/config/use-backend/index.ts)_
228
228
 
229
229
  ## `hereya delete-state`
230
230
 
@@ -250,7 +250,7 @@ EXAMPLES
250
250
  $ hereya delete-state --workspace staging
251
251
  ```
252
252
 
253
- _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/delete-state/index.ts)_
253
+ _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/delete-state/index.ts)_
254
254
 
255
255
  ## `hereya deploy`
256
256
 
@@ -276,7 +276,7 @@ EXAMPLES
276
276
  $ hereya deploy
277
277
  ```
278
278
 
279
- _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/deploy/index.ts)_
279
+ _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/deploy/index.ts)_
280
280
 
281
281
  ## `hereya devenv config`
282
282
 
@@ -296,7 +296,7 @@ EXAMPLES
296
296
  $ hereya devenv config -w my-workspace
297
297
  ```
298
298
 
299
- _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/devenv/config/index.ts)_
299
+ _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/devenv/config/index.ts)_
300
300
 
301
301
  ## `hereya devenv install`
302
302
 
@@ -321,7 +321,7 @@ EXAMPLES
321
321
  $ hereya devenv install -w my-workspace -p instanceType=t3.large
322
322
  ```
323
323
 
324
- _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/devenv/install/index.ts)_
324
+ _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/devenv/install/index.ts)_
325
325
 
326
326
  ## `hereya devenv project init PROJECT`
327
327
 
@@ -353,7 +353,7 @@ EXAMPLES
353
353
  $ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
354
354
  ```
355
355
 
356
- _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/devenv/project/init/index.ts)_
356
+ _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/devenv/project/init/index.ts)_
357
357
 
358
358
  ## `hereya devenv project uninit PROJECT`
359
359
 
@@ -379,7 +379,7 @@ EXAMPLES
379
379
  $ hereya devenv project uninit my-app -w my-workspace --force
380
380
  ```
381
381
 
382
- _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/devenv/project/uninit/index.ts)_
382
+ _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/devenv/project/uninit/index.ts)_
383
383
 
384
384
  ## `hereya devenv ssh`
385
385
 
@@ -399,7 +399,7 @@ EXAMPLES
399
399
  $ hereya devenv ssh -w my-workspace
400
400
  ```
401
401
 
402
- _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/devenv/ssh/index.ts)_
402
+ _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/devenv/ssh/index.ts)_
403
403
 
404
404
  ## `hereya devenv uninstall`
405
405
 
@@ -420,7 +420,7 @@ EXAMPLES
420
420
  $ hereya devenv uninstall -w my-workspace
421
421
  ```
422
422
 
423
- _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/devenv/uninstall/index.ts)_
423
+ _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/devenv/uninstall/index.ts)_
424
424
 
425
425
  ## `hereya doc PACKAGE`
426
426
 
@@ -453,7 +453,7 @@ EXAMPLES
453
453
  $ hereya doc my-package --no-doc
454
454
  ```
455
455
 
456
- _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/doc/index.ts)_
456
+ _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/doc/index.ts)_
457
457
 
458
458
  ## `hereya docker run IMAGE`
459
459
 
@@ -484,7 +484,7 @@ EXAMPLES
484
484
  $ hereya docker run myapp:latest -- --rm -v ./data:/data
485
485
  ```
486
486
 
487
- _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/docker/run/index.ts)_
487
+ _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/docker/run/index.ts)_
488
488
 
489
489
  ## `hereya down`
490
490
 
@@ -511,7 +511,7 @@ EXAMPLES
511
511
  $ hereya down
512
512
  ```
513
513
 
514
- _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/down/index.ts)_
514
+ _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/down/index.ts)_
515
515
 
516
516
  ## `hereya env [NAME]`
517
517
 
@@ -542,7 +542,7 @@ EXAMPLES
542
542
  $ hereya env -w dev -l
543
543
  ```
544
544
 
545
- _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/env/index.ts)_
545
+ _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/env/index.ts)_
546
546
 
547
547
  ## `hereya env set [NAME]`
548
548
 
@@ -569,7 +569,7 @@ EXAMPLES
569
569
  $ hereya env set FOO -v bar -w dev
570
570
  ```
571
571
 
572
- _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/env/set/index.ts)_
572
+ _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/env/set/index.ts)_
573
573
 
574
574
  ## `hereya executor start`
575
575
 
@@ -602,7 +602,7 @@ EXAMPLES
602
602
  HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
603
603
  ```
604
604
 
605
- _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/executor/start/index.ts)_
605
+ _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/executor/start/index.ts)_
606
606
 
607
607
  ## `hereya flow add PACKAGE`
608
608
 
@@ -640,7 +640,7 @@ EXAMPLES
640
640
  $ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
641
641
  ```
642
642
 
643
- _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/flow/add/index.ts)_
643
+ _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/flow/add/index.ts)_
644
644
 
645
645
  ## `hereya flow docker run IMAGE`
646
646
 
@@ -670,7 +670,7 @@ EXAMPLES
670
670
  $ hereya flow docker run --pin myapp:latest -- --rm
671
671
  ```
672
672
 
673
- _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/flow/docker/run/index.ts)_
673
+ _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/flow/docker/run/index.ts)_
674
674
 
675
675
  ## `hereya flow down`
676
676
 
@@ -704,7 +704,7 @@ EXAMPLES
704
704
  $ hereya flow down --pin
705
705
  ```
706
706
 
707
- _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/flow/down/index.ts)_
707
+ _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/flow/down/index.ts)_
708
708
 
709
709
  ## `hereya flow env [NAME]`
710
710
 
@@ -738,7 +738,7 @@ EXAMPLES
738
738
  $ hereya flow env -l
739
739
  ```
740
740
 
741
- _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/flow/env/index.ts)_
741
+ _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/flow/env/index.ts)_
742
742
 
743
743
  ## `hereya flow provid PACKAGE`
744
744
 
@@ -767,7 +767,7 @@ EXAMPLES
767
767
  $ hereya flow provid hereya/postgres --pin
768
768
  ```
769
769
 
770
- _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/flow/provid/index.ts)_
770
+ _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/flow/provid/index.ts)_
771
771
 
772
772
  ## `hereya flow remove PACKAGE`
773
773
 
@@ -797,7 +797,7 @@ EXAMPLES
797
797
  $ hereya flow remove cloudy/docker_postgres --profile staging
798
798
  ```
799
799
 
800
- _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/flow/remove/index.ts)_
800
+ _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/flow/remove/index.ts)_
801
801
 
802
802
  ## `hereya flow run CMD`
803
803
 
@@ -826,7 +826,7 @@ EXAMPLES
826
826
  $ hereya flow run --pin -- npm test
827
827
  ```
828
828
 
829
- _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/flow/run/index.ts)_
829
+ _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/flow/run/index.ts)_
830
830
 
831
831
  ## `hereya flow up`
832
832
 
@@ -860,7 +860,7 @@ EXAMPLES
860
860
  $ hereya flow up --pin
861
861
  ```
862
862
 
863
- _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/flow/up/index.ts)_
863
+ _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/flow/up/index.ts)_
864
864
 
865
865
  ## `hereya help [COMMAND]`
866
866
 
@@ -917,7 +917,7 @@ EXAMPLES
917
917
  $ hereya import org/my-package -f state.tfstate -w my-workspace
918
918
  ```
919
919
 
920
- _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/import/index.ts)_
920
+ _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/import/index.ts)_
921
921
 
922
922
  ## `hereya init PROJECT`
923
923
 
@@ -951,7 +951,7 @@ EXAMPLES
951
951
  $ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
952
952
  ```
953
953
 
954
- _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/init/index.ts)_
954
+ _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/init/index.ts)_
955
955
 
956
956
  ## `hereya login [URL]`
957
957
 
@@ -980,7 +980,7 @@ EXAMPLES
980
980
  $ hereya login --token=your-token https://cloud.hereya.dev
981
981
  ```
982
982
 
983
- _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/login/index.ts)_
983
+ _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/login/index.ts)_
984
984
 
985
985
  ## `hereya logout`
986
986
 
@@ -997,7 +997,7 @@ EXAMPLES
997
997
  $ hereya logout
998
998
  ```
999
999
 
1000
- _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/logout/index.ts)_
1000
+ _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/logout/index.ts)_
1001
1001
 
1002
1002
  ## `hereya provid PACKAGE`
1003
1003
 
@@ -1025,7 +1025,7 @@ EXAMPLES
1025
1025
  $ hereya provid hereya/postgres --workspace staging
1026
1026
  ```
1027
1027
 
1028
- _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/provid/index.ts)_
1028
+ _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/provid/index.ts)_
1029
1029
 
1030
1030
  ## `hereya publish`
1031
1031
 
@@ -1048,7 +1048,7 @@ EXAMPLES
1048
1048
  $ hereya publish --chdir=/path/to/package
1049
1049
  ```
1050
1050
 
1051
- _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/publish/index.ts)_
1051
+ _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/publish/index.ts)_
1052
1052
 
1053
1053
  ## `hereya remove PACKAGE`
1054
1054
 
@@ -1076,7 +1076,7 @@ EXAMPLES
1076
1076
  $ hereya remove cloudy/docker_postgres
1077
1077
  ```
1078
1078
 
1079
- _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/remove/index.ts)_
1079
+ _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/remove/index.ts)_
1080
1080
 
1081
1081
  ## `hereya run CMD`
1082
1082
 
@@ -1102,7 +1102,7 @@ EXAMPLES
1102
1102
  $ hereya run -w uat -- node index.js
1103
1103
  ```
1104
1104
 
1105
- _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/run/index.ts)_
1105
+ _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/run/index.ts)_
1106
1106
 
1107
1107
  ## `hereya search QUERY`
1108
1108
 
@@ -1133,7 +1133,7 @@ EXAMPLES
1133
1133
  $ hereya search database --json
1134
1134
  ```
1135
1135
 
1136
- _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/search/index.ts)_
1136
+ _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/search/index.ts)_
1137
1137
 
1138
1138
  ## `hereya unbootstrap INFRASTRUCTURETYPE`
1139
1139
 
@@ -1158,7 +1158,7 @@ EXAMPLES
1158
1158
  $ hereya unbootstrap local
1159
1159
  ```
1160
1160
 
1161
- _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/unbootstrap/index.ts)_
1161
+ _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/unbootstrap/index.ts)_
1162
1162
 
1163
1163
  ## `hereya undeploy`
1164
1164
 
@@ -1184,7 +1184,7 @@ EXAMPLES
1184
1184
  $ hereya undeploy
1185
1185
  ```
1186
1186
 
1187
- _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/undeploy/index.ts)_
1187
+ _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/undeploy/index.ts)_
1188
1188
 
1189
1189
  ## `hereya uninit PROJECT`
1190
1190
 
@@ -1212,7 +1212,7 @@ EXAMPLES
1212
1212
  $ hereya uninit myProject -w dev -p prodWorkspace=prod
1213
1213
  ```
1214
1214
 
1215
- _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/uninit/index.ts)_
1215
+ _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/uninit/index.ts)_
1216
1216
 
1217
1217
  ## `hereya up`
1218
1218
 
@@ -1239,7 +1239,7 @@ EXAMPLES
1239
1239
  $ hereya up
1240
1240
  ```
1241
1241
 
1242
- _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/up/index.ts)_
1242
+ _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/up/index.ts)_
1243
1243
 
1244
1244
  ## `hereya update [VERSION]`
1245
1245
 
@@ -1261,7 +1261,7 @@ EXAMPLES
1261
1261
  $ hereya update 0.75.0
1262
1262
  ```
1263
1263
 
1264
- _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/update/index.ts)_
1264
+ _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/update/index.ts)_
1265
1265
 
1266
1266
  ## `hereya workspace create NAME`
1267
1267
 
@@ -1286,7 +1286,7 @@ EXAMPLES
1286
1286
  $ hereya workspace create dev
1287
1287
  ```
1288
1288
 
1289
- _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/create/index.ts)_
1289
+ _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/create/index.ts)_
1290
1290
 
1291
1291
  ## `hereya workspace delete NAME`
1292
1292
 
@@ -1306,7 +1306,7 @@ EXAMPLES
1306
1306
  $ hereya workspace delete dev
1307
1307
  ```
1308
1308
 
1309
- _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/delete/index.ts)_
1309
+ _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/delete/index.ts)_
1310
1310
 
1311
1311
  ## `hereya workspace env [NAME]`
1312
1312
 
@@ -1332,7 +1332,7 @@ EXAMPLES
1332
1332
  $ hereya workspace env myEnv -w dev
1333
1333
  ```
1334
1334
 
1335
- _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/env/index.ts)_
1335
+ _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/env/index.ts)_
1336
1336
 
1337
1337
  ## `hereya workspace env set`
1338
1338
 
@@ -1356,7 +1356,7 @@ EXAMPLES
1356
1356
  $ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
1357
1357
  ```
1358
1358
 
1359
- _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/env/set/index.ts)_
1359
+ _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/env/set/index.ts)_
1360
1360
 
1361
1361
  ## `hereya workspace env unset`
1362
1362
 
@@ -1377,7 +1377,7 @@ EXAMPLES
1377
1377
  $ hereya workspace env unset -w my-workspace -n myVar
1378
1378
  ```
1379
1379
 
1380
- _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/env/unset/index.ts)_
1380
+ _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/env/unset/index.ts)_
1381
1381
 
1382
1382
  ## `hereya workspace executor install`
1383
1383
 
@@ -1396,7 +1396,7 @@ DESCRIPTION
1396
1396
  Install a remote executor into a workspace
1397
1397
  ```
1398
1398
 
1399
- _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/executor/install/index.ts)_
1399
+ _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/executor/install/index.ts)_
1400
1400
 
1401
1401
  ## `hereya workspace executor token`
1402
1402
 
@@ -1413,7 +1413,7 @@ DESCRIPTION
1413
1413
  Generate a workspace-scoped executor token for the remote executor
1414
1414
  ```
1415
1415
 
1416
- _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/executor/token/index.ts)_
1416
+ _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/executor/token/index.ts)_
1417
1417
 
1418
1418
  ## `hereya workspace executor uninstall`
1419
1419
 
@@ -1431,7 +1431,7 @@ DESCRIPTION
1431
1431
  Uninstall the remote executor from a workspace
1432
1432
  ```
1433
1433
 
1434
- _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/executor/uninstall/index.ts)_
1434
+ _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/executor/uninstall/index.ts)_
1435
1435
 
1436
1436
  ## `hereya workspace install PACKAGE`
1437
1437
 
@@ -1458,7 +1458,7 @@ EXAMPLES
1458
1458
  $ hereya workspace install hereya/aws-cognito
1459
1459
  ```
1460
1460
 
1461
- _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/install/index.ts)_
1461
+ _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/install/index.ts)_
1462
1462
 
1463
1463
  ## `hereya workspace list`
1464
1464
 
@@ -1482,7 +1482,7 @@ EXAMPLES
1482
1482
  $ hereya workspace list --org personal
1483
1483
  ```
1484
1484
 
1485
- _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/list/index.ts)_
1485
+ _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/list/index.ts)_
1486
1486
 
1487
1487
  ## `hereya workspace set-profile PROFILE`
1488
1488
 
@@ -1506,7 +1506,7 @@ EXAMPLES
1506
1506
  $ hereya workspace set-profile prod-profile -w production
1507
1507
  ```
1508
1508
 
1509
- _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/set-profile/index.ts)_
1509
+ _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/set-profile/index.ts)_
1510
1510
 
1511
1511
  ## `hereya workspace uninstall PACKAGE`
1512
1512
 
@@ -1533,5 +1533,5 @@ EXAMPLES
1533
1533
  $ hereya workspace uninstall hereya/aws-cognito
1534
1534
  ```
1535
1535
 
1536
- _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.0/src/commands/workspace/uninstall/index.ts)_
1536
+ _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.77.1/src/commands/workspace/uninstall/index.ts)_
1537
1537
  <!-- commandsstop -->
@@ -12,7 +12,7 @@ import { getLogger, getLogPath, isDebug, setDebug } from '../../lib/log.js';
12
12
  import { getParameterManager } from '../../lib/parameter/index.js';
13
13
  import { getProfileFromWorkspace } from '../../lib/profile-utils.js';
14
14
  import { pollExecutorJob } from '../../lib/remote-job-utils.js';
15
- import { delay } from '../../lib/shell.js';
15
+ import { delay, runShell } from '../../lib/shell.js';
16
16
  import { resolveWorkspaceName } from '../../lib/workspace-utils.js';
17
17
  import { validateDeploymentWorkspace } from '../../lib/workspace-validation.js';
18
18
  export default class Undeploy extends Command {
@@ -89,6 +89,14 @@ export default class Undeploy extends Command {
89
89
  },
90
90
  title: 'Loading project config',
91
91
  },
92
+ {
93
+ skip: (ctx) => !ctx.configOutput.config.preDeployCommand,
94
+ async task(ctx) {
95
+ const command = ctx.configOutput.config.preDeployCommand;
96
+ await runShell('sh', ['-c', command], { directory: projectRootDir });
97
+ },
98
+ title: 'Running pre-deploy command',
99
+ },
92
100
  {
93
101
  async task(ctx) {
94
102
  const backend = await getBackend();
@@ -559,30 +559,6 @@
559
559
  "index.js"
560
560
  ]
561
561
  },
562
- "logout": {
563
- "aliases": [],
564
- "args": {},
565
- "description": "Logout from Hereya Cloud",
566
- "examples": [
567
- "<%= config.bin %> <%= command.id %>"
568
- ],
569
- "flags": {},
570
- "hasDynamicHelp": false,
571
- "hiddenAliases": [],
572
- "id": "logout",
573
- "pluginAlias": "hereya-cli",
574
- "pluginName": "hereya-cli",
575
- "pluginType": "core",
576
- "strict": true,
577
- "enableJsonFlag": false,
578
- "isESM": true,
579
- "relativePath": [
580
- "dist",
581
- "commands",
582
- "logout",
583
- "index.js"
584
- ]
585
- },
586
562
  "login": {
587
563
  "aliases": [],
588
564
  "args": {
@@ -627,6 +603,30 @@
627
603
  "index.js"
628
604
  ]
629
605
  },
606
+ "logout": {
607
+ "aliases": [],
608
+ "args": {},
609
+ "description": "Logout from Hereya Cloud",
610
+ "examples": [
611
+ "<%= config.bin %> <%= command.id %>"
612
+ ],
613
+ "flags": {},
614
+ "hasDynamicHelp": false,
615
+ "hiddenAliases": [],
616
+ "id": "logout",
617
+ "pluginAlias": "hereya-cli",
618
+ "pluginName": "hereya-cli",
619
+ "pluginType": "core",
620
+ "strict": true,
621
+ "enableJsonFlag": false,
622
+ "isESM": true,
623
+ "relativePath": [
624
+ "dist",
625
+ "commands",
626
+ "logout",
627
+ "index.js"
628
+ ]
629
+ },
630
630
  "provid": {
631
631
  "aliases": [],
632
632
  "args": {
@@ -2817,5 +2817,5 @@
2817
2817
  ]
2818
2818
  }
2819
2819
  },
2820
- "version": "0.77.0"
2820
+ "version": "0.77.1"
2821
2821
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hereya-cli",
3
3
  "description": "Infrastructure as Package",
4
- "version": "0.77.0",
4
+ "version": "0.77.1",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.js"