hereya-cli 0.102.0 → 0.103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,7 +21,7 @@ $ npm install -g hereya-cli
21
21
  $ hereya COMMAND
22
22
  running command...
23
23
  $ hereya (--version)
24
- hereya-cli/0.102.0 linux-x64 node-v24.18.0
24
+ hereya-cli/0.103.0 linux-x64 node-v24.18.0
25
25
  $ hereya --help [COMMAND]
26
26
  USAGE
27
27
  $ hereya COMMAND
@@ -131,7 +131,7 @@ EXAMPLES
131
131
  $ hereya add cloudy/docker_postgres
132
132
  ```
133
133
 
134
- _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/add/index.ts)_
134
+ _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/add/index.ts)_
135
135
 
136
136
  ## `hereya app deploy NAME`
137
137
 
@@ -165,7 +165,7 @@ EXAMPLES
165
165
  $ hereya app deploy my-org/my-app -w prod -p organizationId=org-123
166
166
  ```
167
167
 
168
- _See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/app/deploy/index.ts)_
168
+ _See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/app/deploy/index.ts)_
169
169
 
170
170
  ## `hereya app deployments NAME`
171
171
 
@@ -185,7 +185,7 @@ EXAMPLES
185
185
  $ hereya app deployments my-org/my-app
186
186
  ```
187
187
 
188
- _See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/app/deployments/index.ts)_
188
+ _See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/app/deployments/index.ts)_
189
189
 
190
190
  ## `hereya app destroy NAME`
191
191
 
@@ -214,7 +214,7 @@ EXAMPLES
214
214
  $ hereya app destroy my-org/my-app -w my-workspace
215
215
  ```
216
216
 
217
- _See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/app/destroy/index.ts)_
217
+ _See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/app/destroy/index.ts)_
218
218
 
219
219
  ## `hereya app env NAME [KEY]`
220
220
 
@@ -240,7 +240,7 @@ EXAMPLES
240
240
  $ hereya app env my-org/my-app -w my-workspace DATABASE_URL
241
241
  ```
242
242
 
243
- _See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/app/env/index.ts)_
243
+ _See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/app/env/index.ts)_
244
244
 
245
245
  ## `hereya app list`
246
246
 
@@ -257,7 +257,7 @@ EXAMPLES
257
257
  $ hereya app list
258
258
  ```
259
259
 
260
- _See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/app/list/index.ts)_
260
+ _See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/app/list/index.ts)_
261
261
 
262
262
  ## `hereya app new DIRNAME`
263
263
 
@@ -283,7 +283,7 @@ EXAMPLES
283
283
  $ hereya app new ./my-app -n my-org/my-app --description "An ai-app-builder app"
284
284
  ```
285
285
 
286
- _See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/app/new/index.ts)_
286
+ _See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/app/new/index.ts)_
287
287
 
288
288
  ## `hereya app status NAME`
289
289
 
@@ -306,7 +306,7 @@ EXAMPLES
306
306
  $ hereya app status my-org/my-app -w my-workspace
307
307
  ```
308
308
 
309
- _See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/app/status/index.ts)_
309
+ _See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/app/status/index.ts)_
310
310
 
311
311
  ## `hereya bootstrap INFRASTRUCTURETYPE`
312
312
 
@@ -331,7 +331,7 @@ EXAMPLES
331
331
  $ hereya bootstrap local
332
332
  ```
333
333
 
334
- _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/bootstrap/index.ts)_
334
+ _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/bootstrap/index.ts)_
335
335
 
336
336
  ## `hereya clone PROJECT`
337
337
 
@@ -356,7 +356,7 @@ EXAMPLES
356
356
  $ hereya clone myProject --chdir=./myProject
357
357
  ```
358
358
 
359
- _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/clone/index.ts)_
359
+ _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/clone/index.ts)_
360
360
 
361
361
  ## `hereya config export-backend [FILE]`
362
362
 
@@ -378,7 +378,7 @@ EXAMPLES
378
378
  $ hereya config export-backend ./path/to/export.json
379
379
  ```
380
380
 
381
- _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/config/export-backend/index.ts)_
381
+ _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/config/export-backend/index.ts)_
382
382
 
383
383
  ## `hereya config get-backend`
384
384
 
@@ -395,7 +395,7 @@ EXAMPLES
395
395
  $ hereya config get-backend
396
396
  ```
397
397
 
398
- _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/config/get-backend/index.ts)_
398
+ _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/config/get-backend/index.ts)_
399
399
 
400
400
  ## `hereya config import-backend FILE`
401
401
 
@@ -415,7 +415,7 @@ EXAMPLES
415
415
  $ hereya config import-backend ./path/to/cloud-backend.json
416
416
  ```
417
417
 
418
- _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/config/import-backend/index.ts)_
418
+ _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/config/import-backend/index.ts)_
419
419
 
420
420
  ## `hereya config use-backend TYPE`
421
421
 
@@ -437,7 +437,7 @@ EXAMPLES
437
437
  $ hereya config use-backend local
438
438
  ```
439
439
 
440
- _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/config/use-backend/index.ts)_
440
+ _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/config/use-backend/index.ts)_
441
441
 
442
442
  ## `hereya delete-state`
443
443
 
@@ -463,7 +463,7 @@ EXAMPLES
463
463
  $ hereya delete-state --workspace staging
464
464
  ```
465
465
 
466
- _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/delete-state/index.ts)_
466
+ _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/delete-state/index.ts)_
467
467
 
468
468
  ## `hereya deploy`
469
469
 
@@ -489,7 +489,7 @@ EXAMPLES
489
489
  $ hereya deploy
490
490
  ```
491
491
 
492
- _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/deploy/index.ts)_
492
+ _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/deploy/index.ts)_
493
493
 
494
494
  ## `hereya devenv config`
495
495
 
@@ -510,7 +510,7 @@ EXAMPLES
510
510
  $ hereya devenv config -w my-workspace
511
511
  ```
512
512
 
513
- _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/devenv/config/index.ts)_
513
+ _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/devenv/config/index.ts)_
514
514
 
515
515
  ## `hereya devenv install`
516
516
 
@@ -537,7 +537,7 @@ EXAMPLES
537
537
  $ hereya devenv install -w my-workspace -p instanceType=t3.large
538
538
  ```
539
539
 
540
- _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/devenv/install/index.ts)_
540
+ _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/devenv/install/index.ts)_
541
541
 
542
542
  ## `hereya devenv project init PROJECT`
543
543
 
@@ -569,7 +569,7 @@ EXAMPLES
569
569
  $ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
570
570
  ```
571
571
 
572
- _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/devenv/project/init/index.ts)_
572
+ _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/devenv/project/init/index.ts)_
573
573
 
574
574
  ## `hereya devenv project uninit PROJECT`
575
575
 
@@ -595,7 +595,7 @@ EXAMPLES
595
595
  $ hereya devenv project uninit my-app -w my-workspace --force
596
596
  ```
597
597
 
598
- _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/devenv/project/uninit/index.ts)_
598
+ _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/devenv/project/uninit/index.ts)_
599
599
 
600
600
  ## `hereya devenv sleep`
601
601
 
@@ -616,7 +616,7 @@ EXAMPLES
616
616
  $ hereya devenv sleep -w my-workspace
617
617
  ```
618
618
 
619
- _See code: [src/commands/devenv/sleep/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/devenv/sleep/index.ts)_
619
+ _See code: [src/commands/devenv/sleep/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/devenv/sleep/index.ts)_
620
620
 
621
621
  ## `hereya devenv ssh`
622
622
 
@@ -636,7 +636,7 @@ EXAMPLES
636
636
  $ hereya devenv ssh -w my-workspace
637
637
  ```
638
638
 
639
- _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/devenv/ssh/index.ts)_
639
+ _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/devenv/ssh/index.ts)_
640
640
 
641
641
  ## `hereya devenv uninstall`
642
642
 
@@ -657,7 +657,7 @@ EXAMPLES
657
657
  $ hereya devenv uninstall -w my-workspace
658
658
  ```
659
659
 
660
- _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/devenv/uninstall/index.ts)_
660
+ _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/devenv/uninstall/index.ts)_
661
661
 
662
662
  ## `hereya doc PACKAGE`
663
663
 
@@ -690,7 +690,7 @@ EXAMPLES
690
690
  $ hereya doc my-package --no-doc
691
691
  ```
692
692
 
693
- _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/doc/index.ts)_
693
+ _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/doc/index.ts)_
694
694
 
695
695
  ## `hereya docker run IMAGE`
696
696
 
@@ -721,7 +721,7 @@ EXAMPLES
721
721
  $ hereya docker run myapp:latest -- --rm -v ./data:/data
722
722
  ```
723
723
 
724
- _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/docker/run/index.ts)_
724
+ _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/docker/run/index.ts)_
725
725
 
726
726
  ## `hereya down`
727
727
 
@@ -748,7 +748,7 @@ EXAMPLES
748
748
  $ hereya down
749
749
  ```
750
750
 
751
- _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/down/index.ts)_
751
+ _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/down/index.ts)_
752
752
 
753
753
  ## `hereya env [NAME]`
754
754
 
@@ -779,7 +779,7 @@ EXAMPLES
779
779
  $ hereya env -w dev -l
780
780
  ```
781
781
 
782
- _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/env/index.ts)_
782
+ _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/env/index.ts)_
783
783
 
784
784
  ## `hereya env set [NAME]`
785
785
 
@@ -806,7 +806,7 @@ EXAMPLES
806
806
  $ hereya env set FOO -v bar -w dev
807
807
  ```
808
808
 
809
- _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/env/set/index.ts)_
809
+ _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/env/set/index.ts)_
810
810
 
811
811
  ## `hereya executor start`
812
812
 
@@ -840,7 +840,7 @@ EXAMPLES
840
840
  HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
841
841
  ```
842
842
 
843
- _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/executor/start/index.ts)_
843
+ _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/executor/start/index.ts)_
844
844
 
845
845
  ## `hereya flow add PACKAGE`
846
846
 
@@ -878,7 +878,7 @@ EXAMPLES
878
878
  $ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
879
879
  ```
880
880
 
881
- _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/flow/add/index.ts)_
881
+ _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/flow/add/index.ts)_
882
882
 
883
883
  ## `hereya flow docker run IMAGE`
884
884
 
@@ -908,7 +908,7 @@ EXAMPLES
908
908
  $ hereya flow docker run --pin myapp:latest -- --rm
909
909
  ```
910
910
 
911
- _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/flow/docker/run/index.ts)_
911
+ _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/flow/docker/run/index.ts)_
912
912
 
913
913
  ## `hereya flow down`
914
914
 
@@ -942,7 +942,7 @@ EXAMPLES
942
942
  $ hereya flow down --pin
943
943
  ```
944
944
 
945
- _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/flow/down/index.ts)_
945
+ _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/flow/down/index.ts)_
946
946
 
947
947
  ## `hereya flow env [NAME]`
948
948
 
@@ -976,7 +976,7 @@ EXAMPLES
976
976
  $ hereya flow env -l
977
977
  ```
978
978
 
979
- _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/flow/env/index.ts)_
979
+ _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/flow/env/index.ts)_
980
980
 
981
981
  ## `hereya flow provid PACKAGE`
982
982
 
@@ -1005,7 +1005,7 @@ EXAMPLES
1005
1005
  $ hereya flow provid hereya/postgres --pin
1006
1006
  ```
1007
1007
 
1008
- _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/flow/provid/index.ts)_
1008
+ _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/flow/provid/index.ts)_
1009
1009
 
1010
1010
  ## `hereya flow remove PACKAGE`
1011
1011
 
@@ -1035,7 +1035,7 @@ EXAMPLES
1035
1035
  $ hereya flow remove cloudy/docker_postgres --profile staging
1036
1036
  ```
1037
1037
 
1038
- _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/flow/remove/index.ts)_
1038
+ _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/flow/remove/index.ts)_
1039
1039
 
1040
1040
  ## `hereya flow run CMD`
1041
1041
 
@@ -1064,7 +1064,7 @@ EXAMPLES
1064
1064
  $ hereya flow run --pin -- npm test
1065
1065
  ```
1066
1066
 
1067
- _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/flow/run/index.ts)_
1067
+ _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/flow/run/index.ts)_
1068
1068
 
1069
1069
  ## `hereya flow up`
1070
1070
 
@@ -1098,7 +1098,7 @@ EXAMPLES
1098
1098
  $ hereya flow up --pin
1099
1099
  ```
1100
1100
 
1101
- _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/flow/up/index.ts)_
1101
+ _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/flow/up/index.ts)_
1102
1102
 
1103
1103
  ## `hereya help [COMMAND]`
1104
1104
 
@@ -1155,7 +1155,7 @@ EXAMPLES
1155
1155
  $ hereya import org/my-package -f state.tfstate -w my-workspace
1156
1156
  ```
1157
1157
 
1158
- _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/import/index.ts)_
1158
+ _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/import/index.ts)_
1159
1159
 
1160
1160
  ## `hereya import-repo PROJECT`
1161
1161
 
@@ -1185,7 +1185,7 @@ EXAMPLES
1185
1185
  $ hereya import-repo myProject -w=dev -r=https://github.com/acme/api --clone --chdir=./api
1186
1186
  ```
1187
1187
 
1188
- _See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/import-repo/index.ts)_
1188
+ _See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/import-repo/index.ts)_
1189
1189
 
1190
1190
  ## `hereya init PROJECT`
1191
1191
 
@@ -1219,30 +1219,35 @@ EXAMPLES
1219
1219
  $ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
1220
1220
  ```
1221
1221
 
1222
- _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/init/index.ts)_
1222
+ _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/init/index.ts)_
1223
1223
 
1224
1224
  ## `hereya job cancel JOBID`
1225
1225
 
1226
- Cancel a pending remote executor job. Only pending jobs can be cancelled.
1226
+ Cancel a remote executor job. Pending jobs and running jobs with a stale executor heartbeat (stuck executor) are cancellable by default; use --force to cancel a job that is actively running.
1227
1227
 
1228
1228
  ```
1229
1229
  USAGE
1230
- $ hereya job cancel JOBID -w <value>
1230
+ $ hereya job cancel JOBID -w <value> [-f]
1231
1231
 
1232
1232
  ARGUMENTS
1233
1233
  JOBID id of the remote executor job to cancel
1234
1234
 
1235
1235
  FLAGS
1236
+ -f, --force cancel even if the job appears to be actively running; does NOT stop the executor's in-flight
1237
+ work
1236
1238
  -w, --workspace=<value> (required) name of the workspace the job belongs to
1237
1239
 
1238
1240
  DESCRIPTION
1239
- Cancel a pending remote executor job. Only pending jobs can be cancelled.
1241
+ Cancel a remote executor job. Pending jobs and running jobs with a stale executor heartbeat (stuck executor) are
1242
+ cancellable by default; use --force to cancel a job that is actively running.
1240
1243
 
1241
1244
  EXAMPLES
1242
1245
  $ hereya job cancel my-job-id -w my-workspace
1246
+
1247
+ $ hereya job cancel my-job-id -w my-workspace --force
1243
1248
  ```
1244
1249
 
1245
- _See code: [src/commands/job/cancel/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/job/cancel/index.ts)_
1250
+ _See code: [src/commands/job/cancel/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/job/cancel/index.ts)_
1246
1251
 
1247
1252
  ## `hereya job list`
1248
1253
 
@@ -1268,7 +1273,7 @@ EXAMPLES
1268
1273
  $ hereya job list -w my-workspace --status pending --limit 10
1269
1274
  ```
1270
1275
 
1271
- _See code: [src/commands/job/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/job/list/index.ts)_
1276
+ _See code: [src/commands/job/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/job/list/index.ts)_
1272
1277
 
1273
1278
  ## `hereya list`
1274
1279
 
@@ -1285,7 +1290,7 @@ EXAMPLES
1285
1290
  $ hereya list
1286
1291
  ```
1287
1292
 
1288
- _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/list/index.ts)_
1293
+ _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/list/index.ts)_
1289
1294
 
1290
1295
  ## `hereya login [URL]`
1291
1296
 
@@ -1314,7 +1319,7 @@ EXAMPLES
1314
1319
  $ hereya login --token=your-token https://cloud.hereya.dev
1315
1320
  ```
1316
1321
 
1317
- _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/login/index.ts)_
1322
+ _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/login/index.ts)_
1318
1323
 
1319
1324
  ## `hereya logout`
1320
1325
 
@@ -1331,7 +1336,7 @@ EXAMPLES
1331
1336
  $ hereya logout
1332
1337
  ```
1333
1338
 
1334
- _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/logout/index.ts)_
1339
+ _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/logout/index.ts)_
1335
1340
 
1336
1341
  ## `hereya provid PACKAGE`
1337
1342
 
@@ -1359,7 +1364,7 @@ EXAMPLES
1359
1364
  $ hereya provid hereya/postgres --workspace staging
1360
1365
  ```
1361
1366
 
1362
- _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/provid/index.ts)_
1367
+ _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/provid/index.ts)_
1363
1368
 
1364
1369
  ## `hereya publish`
1365
1370
 
@@ -1382,7 +1387,7 @@ EXAMPLES
1382
1387
  $ hereya publish --chdir=/path/to/package
1383
1388
  ```
1384
1389
 
1385
- _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/publish/index.ts)_
1390
+ _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/publish/index.ts)_
1386
1391
 
1387
1392
  ## `hereya remove PACKAGE`
1388
1393
 
@@ -1410,7 +1415,7 @@ EXAMPLES
1410
1415
  $ hereya remove cloudy/docker_postgres
1411
1416
  ```
1412
1417
 
1413
- _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/remove/index.ts)_
1418
+ _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/remove/index.ts)_
1414
1419
 
1415
1420
  ## `hereya run CMD`
1416
1421
 
@@ -1436,7 +1441,7 @@ EXAMPLES
1436
1441
  $ hereya run -w uat -- node index.js
1437
1442
  ```
1438
1443
 
1439
- _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/run/index.ts)_
1444
+ _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/run/index.ts)_
1440
1445
 
1441
1446
  ## `hereya search QUERY`
1442
1447
 
@@ -1467,7 +1472,7 @@ EXAMPLES
1467
1472
  $ hereya search database --json
1468
1473
  ```
1469
1474
 
1470
- _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/search/index.ts)_
1475
+ _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/search/index.ts)_
1471
1476
 
1472
1477
  ## `hereya unbootstrap INFRASTRUCTURETYPE`
1473
1478
 
@@ -1492,7 +1497,7 @@ EXAMPLES
1492
1497
  $ hereya unbootstrap local
1493
1498
  ```
1494
1499
 
1495
- _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/unbootstrap/index.ts)_
1500
+ _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/unbootstrap/index.ts)_
1496
1501
 
1497
1502
  ## `hereya undeploy`
1498
1503
 
@@ -1518,7 +1523,7 @@ EXAMPLES
1518
1523
  $ hereya undeploy
1519
1524
  ```
1520
1525
 
1521
- _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/undeploy/index.ts)_
1526
+ _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/undeploy/index.ts)_
1522
1527
 
1523
1528
  ## `hereya uninit PROJECT`
1524
1529
 
@@ -1546,7 +1551,7 @@ EXAMPLES
1546
1551
  $ hereya uninit myProject -w dev -p prodWorkspace=prod
1547
1552
  ```
1548
1553
 
1549
- _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/uninit/index.ts)_
1554
+ _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/uninit/index.ts)_
1550
1555
 
1551
1556
  ## `hereya up`
1552
1557
 
@@ -1573,7 +1578,7 @@ EXAMPLES
1573
1578
  $ hereya up
1574
1579
  ```
1575
1580
 
1576
- _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/up/index.ts)_
1581
+ _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/up/index.ts)_
1577
1582
 
1578
1583
  ## `hereya update [VERSION]`
1579
1584
 
@@ -1595,7 +1600,7 @@ EXAMPLES
1595
1600
  $ hereya update 0.75.0
1596
1601
  ```
1597
1602
 
1598
- _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/update/index.ts)_
1603
+ _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/update/index.ts)_
1599
1604
 
1600
1605
  ## `hereya workspace create NAME`
1601
1606
 
@@ -1620,7 +1625,7 @@ EXAMPLES
1620
1625
  $ hereya workspace create dev
1621
1626
  ```
1622
1627
 
1623
- _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/create/index.ts)_
1628
+ _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/create/index.ts)_
1624
1629
 
1625
1630
  ## `hereya workspace delete NAME`
1626
1631
 
@@ -1640,7 +1645,7 @@ EXAMPLES
1640
1645
  $ hereya workspace delete dev
1641
1646
  ```
1642
1647
 
1643
- _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/delete/index.ts)_
1648
+ _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/delete/index.ts)_
1644
1649
 
1645
1650
  ## `hereya workspace env [NAME]`
1646
1651
 
@@ -1666,7 +1671,7 @@ EXAMPLES
1666
1671
  $ hereya workspace env myEnv -w dev
1667
1672
  ```
1668
1673
 
1669
- _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/env/index.ts)_
1674
+ _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/env/index.ts)_
1670
1675
 
1671
1676
  ## `hereya workspace env set`
1672
1677
 
@@ -1690,7 +1695,7 @@ EXAMPLES
1690
1695
  $ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
1691
1696
  ```
1692
1697
 
1693
- _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/env/set/index.ts)_
1698
+ _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/env/set/index.ts)_
1694
1699
 
1695
1700
  ## `hereya workspace env unset`
1696
1701
 
@@ -1711,7 +1716,7 @@ EXAMPLES
1711
1716
  $ hereya workspace env unset -w my-workspace -n myVar
1712
1717
  ```
1713
1718
 
1714
- _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/env/unset/index.ts)_
1719
+ _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/env/unset/index.ts)_
1715
1720
 
1716
1721
  ## `hereya workspace executor install`
1717
1722
 
@@ -1740,7 +1745,7 @@ DESCRIPTION
1740
1745
  - always-on: a long-lived EC2 polls hereya-cloud 24/7 (legacy).
1741
1746
  ```
1742
1747
 
1743
- _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/executor/install/index.ts)_
1748
+ _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/executor/install/index.ts)_
1744
1749
 
1745
1750
  ## `hereya workspace executor token`
1746
1751
 
@@ -1757,7 +1762,7 @@ DESCRIPTION
1757
1762
  Generate a workspace-scoped executor token for the remote executor
1758
1763
  ```
1759
1764
 
1760
- _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/executor/token/index.ts)_
1765
+ _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/executor/token/index.ts)_
1761
1766
 
1762
1767
  ## `hereya workspace executor uninstall`
1763
1768
 
@@ -1781,7 +1786,7 @@ DESCRIPTION
1781
1786
  controls log output.
1782
1787
  ```
1783
1788
 
1784
- _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/executor/uninstall/index.ts)_
1789
+ _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/executor/uninstall/index.ts)_
1785
1790
 
1786
1791
  ## `hereya workspace install PACKAGE`
1787
1792
 
@@ -1808,7 +1813,7 @@ EXAMPLES
1808
1813
  $ hereya workspace install hereya/aws-cognito
1809
1814
  ```
1810
1815
 
1811
- _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/install/index.ts)_
1816
+ _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/install/index.ts)_
1812
1817
 
1813
1818
  ## `hereya workspace list`
1814
1819
 
@@ -1832,7 +1837,7 @@ EXAMPLES
1832
1837
  $ hereya workspace list --org personal
1833
1838
  ```
1834
1839
 
1835
- _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/list/index.ts)_
1840
+ _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/list/index.ts)_
1836
1841
 
1837
1842
  ## `hereya workspace set-profile PROFILE`
1838
1843
 
@@ -1856,7 +1861,7 @@ EXAMPLES
1856
1861
  $ hereya workspace set-profile prod-profile -w production
1857
1862
  ```
1858
1863
 
1859
- _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/set-profile/index.ts)_
1864
+ _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/set-profile/index.ts)_
1860
1865
 
1861
1866
  ## `hereya workspace uninstall PACKAGE`
1862
1867
 
@@ -1883,5 +1888,5 @@ EXAMPLES
1883
1888
  $ hereya workspace uninstall hereya/aws-cognito
1884
1889
  ```
1885
1890
 
1886
- _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.102.0/src/commands/workspace/uninstall/index.ts)_
1891
+ _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.103.0/src/commands/workspace/uninstall/index.ts)_
1887
1892
  <!-- commandsstop -->
@@ -1,8 +1,11 @@
1
1
  import { CloudHttpConfig } from './utils.js';
2
2
  export declare function cancelExecutorJob(config: CloudHttpConfig, input: {
3
+ force?: boolean;
3
4
  jobId: string;
4
5
  workspace: string;
5
6
  }): Promise<{
7
+ active?: boolean;
8
+ heartbeatAgeSeconds?: number;
6
9
  reason: string;
7
10
  status?: string;
8
11
  success: false;
@@ -1,12 +1,15 @@
1
1
  import { safeResponseJson } from './utils.js';
2
2
  export async function cancelExecutorJob(config, input) {
3
3
  const response = await fetch(`${config.url}/api/workspaces/${encodeURIComponent(input.workspace)}/jobs/${encodeURIComponent(input.jobId)}/cancel`, {
4
- headers: { 'Authorization': `Bearer ${config.accessToken}` },
4
+ body: JSON.stringify({ force: input.force === true }),
5
+ headers: { 'Authorization': `Bearer ${config.accessToken}`, 'Content-Type': 'application/json' },
5
6
  method: 'POST',
6
7
  });
7
8
  if (!response.ok) {
8
9
  const error = await safeResponseJson(response);
9
10
  return {
11
+ active: error.active,
12
+ heartbeatAgeSeconds: error.heartbeatAgeSeconds,
10
13
  reason: error.error || `Failed to cancel job (status ${response.status})`,
11
14
  status: error.status,
12
15
  success: false,
@@ -28,9 +28,12 @@ export declare class CloudBackend implements Backend {
28
28
  constructor(config: CloudBackendConfig);
29
29
  addPackageToWorkspace(input: Parameters<typeof packagesWorkspace.addPackageToWorkspace>[1]): Promise<import("../common.js").AddPackageToWorkspaceOutput>;
30
30
  cancelExecutorJob(input: {
31
+ force?: boolean;
31
32
  jobId: string;
32
33
  workspace: string;
33
34
  }): Promise<{
35
+ active?: boolean;
36
+ heartbeatAgeSeconds?: number;
34
37
  reason: string;
35
38
  status?: string;
36
39
  success: false;
@@ -6,6 +6,7 @@ export default class JobCancel extends Command {
6
6
  static description: string;
7
7
  static examples: string[];
8
8
  static flags: {
9
+ force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  workspace: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
11
  };
11
12
  run(): Promise<void>;
@@ -5,9 +5,17 @@ export default class JobCancel extends Command {
5
5
  static args = {
6
6
  jobId: Args.string({ description: 'id of the remote executor job to cancel', required: true }),
7
7
  };
8
- static description = 'Cancel a pending remote executor job. Only pending jobs can be cancelled.';
9
- static examples = ['<%= config.bin %> <%= command.id %> my-job-id -w my-workspace'];
8
+ static description = 'Cancel a remote executor job. Pending jobs and running jobs with a stale executor heartbeat (stuck executor) are cancellable by default; use --force to cancel a job that is actively running.';
9
+ static examples = [
10
+ '<%= config.bin %> <%= command.id %> my-job-id -w my-workspace',
11
+ '<%= config.bin %> <%= command.id %> my-job-id -w my-workspace --force',
12
+ ];
10
13
  static flags = {
14
+ force: Flags.boolean({
15
+ char: 'f',
16
+ default: false,
17
+ description: "cancel even if the job appears to be actively running; does NOT stop the executor's in-flight work",
18
+ }),
11
19
  workspace: Flags.string({
12
20
  char: 'w',
13
21
  description: 'name of the workspace the job belongs to',
@@ -21,10 +29,17 @@ export default class JobCancel extends Command {
21
29
  this.error('Cancelling executor jobs requires the cloud backend. Run `hereya login` first.');
22
30
  }
23
31
  const cloudBackend = backend;
24
- const result = await cloudBackend.cancelExecutorJob({ jobId: args.jobId, workspace: flags.workspace });
32
+ const result = await cloudBackend.cancelExecutorJob({
33
+ force: flags.force,
34
+ jobId: args.jobId,
35
+ workspace: flags.workspace,
36
+ });
25
37
  if (!result.success) {
26
38
  const detail = result.status && !result.reason.includes(result.status) ? ` (current status: ${result.status})` : '';
27
- this.error(`Failed to cancel job ${args.jobId}: ${result.reason}${detail}`);
39
+ const forceHint = result.active && !flags.force
40
+ ? "\nRetry with --force to cancel anyway (the executor's in-flight work will NOT be stopped)."
41
+ : '';
42
+ this.error(`Failed to cancel job ${args.jobId}: ${result.reason}${detail}${forceHint}`);
28
43
  }
29
44
  this.log(`Job ${args.jobId} cancelled.`);
30
45
  }
@@ -2402,61 +2402,6 @@
2402
2402
  "index.js"
2403
2403
  ]
2404
2404
  },
2405
- "flow:remove": {
2406
- "aliases": [],
2407
- "args": {
2408
- "package": {
2409
- "description": "Remove a previously added package.",
2410
- "name": "package",
2411
- "required": true
2412
- }
2413
- },
2414
- "description": "Remove a package from the project in a git branch-based workspace",
2415
- "examples": [
2416
- "<%= config.bin %> <%= command.id %> cloudy/docker_postgres",
2417
- "<%= config.bin %> <%= command.id %> cloudy/docker_postgres --profile staging"
2418
- ],
2419
- "flags": {
2420
- "chdir": {
2421
- "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 ",
2422
- "name": "chdir",
2423
- "required": false,
2424
- "hasDynamicHelp": false,
2425
- "multiple": false,
2426
- "type": "option"
2427
- },
2428
- "debug": {
2429
- "description": "enable debug mode",
2430
- "name": "debug",
2431
- "allowNo": false,
2432
- "type": "boolean"
2433
- },
2434
- "profile": {
2435
- "description": "profile to use for the workspace (will be appended to workspace name)",
2436
- "name": "profile",
2437
- "required": false,
2438
- "hasDynamicHelp": false,
2439
- "multiple": false,
2440
- "type": "option"
2441
- }
2442
- },
2443
- "hasDynamicHelp": false,
2444
- "hiddenAliases": [],
2445
- "id": "flow:remove",
2446
- "pluginAlias": "hereya-cli",
2447
- "pluginName": "hereya-cli",
2448
- "pluginType": "core",
2449
- "strict": true,
2450
- "enableJsonFlag": false,
2451
- "isESM": true,
2452
- "relativePath": [
2453
- "dist",
2454
- "commands",
2455
- "flow",
2456
- "remove",
2457
- "index.js"
2458
- ]
2459
- },
2460
2405
  "flow:run": {
2461
2406
  "aliases": [],
2462
2407
  "args": {
@@ -2597,11 +2542,19 @@
2597
2542
  "required": true
2598
2543
  }
2599
2544
  },
2600
- "description": "Cancel a pending remote executor job. Only pending jobs can be cancelled.",
2545
+ "description": "Cancel a remote executor job. Pending jobs and running jobs with a stale executor heartbeat (stuck executor) are cancellable by default; use --force to cancel a job that is actively running.",
2601
2546
  "examples": [
2602
- "<%= config.bin %> <%= command.id %> my-job-id -w my-workspace"
2547
+ "<%= config.bin %> <%= command.id %> my-job-id -w my-workspace",
2548
+ "<%= config.bin %> <%= command.id %> my-job-id -w my-workspace --force"
2603
2549
  ],
2604
2550
  "flags": {
2551
+ "force": {
2552
+ "char": "f",
2553
+ "description": "cancel even if the job appears to be actively running; does NOT stop the executor's in-flight work",
2554
+ "name": "force",
2555
+ "allowNo": false,
2556
+ "type": "boolean"
2557
+ },
2605
2558
  "workspace": {
2606
2559
  "char": "w",
2607
2560
  "description": "name of the workspace the job belongs to",
@@ -3039,6 +2992,61 @@
3039
2992
  "index.js"
3040
2993
  ]
3041
2994
  },
2995
+ "flow:remove": {
2996
+ "aliases": [],
2997
+ "args": {
2998
+ "package": {
2999
+ "description": "Remove a previously added package.",
3000
+ "name": "package",
3001
+ "required": true
3002
+ }
3003
+ },
3004
+ "description": "Remove a package from the project in a git branch-based workspace",
3005
+ "examples": [
3006
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres",
3007
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres --profile staging"
3008
+ ],
3009
+ "flags": {
3010
+ "chdir": {
3011
+ "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 ",
3012
+ "name": "chdir",
3013
+ "required": false,
3014
+ "hasDynamicHelp": false,
3015
+ "multiple": false,
3016
+ "type": "option"
3017
+ },
3018
+ "debug": {
3019
+ "description": "enable debug mode",
3020
+ "name": "debug",
3021
+ "allowNo": false,
3022
+ "type": "boolean"
3023
+ },
3024
+ "profile": {
3025
+ "description": "profile to use for the workspace (will be appended to workspace name)",
3026
+ "name": "profile",
3027
+ "required": false,
3028
+ "hasDynamicHelp": false,
3029
+ "multiple": false,
3030
+ "type": "option"
3031
+ }
3032
+ },
3033
+ "hasDynamicHelp": false,
3034
+ "hiddenAliases": [],
3035
+ "id": "flow:remove",
3036
+ "pluginAlias": "hereya-cli",
3037
+ "pluginName": "hereya-cli",
3038
+ "pluginType": "core",
3039
+ "strict": true,
3040
+ "enableJsonFlag": false,
3041
+ "isESM": true,
3042
+ "relativePath": [
3043
+ "dist",
3044
+ "commands",
3045
+ "flow",
3046
+ "remove",
3047
+ "index.js"
3048
+ ]
3049
+ },
3042
3050
  "devenv:project:init": {
3043
3051
  "aliases": [],
3044
3052
  "args": {
@@ -3306,51 +3314,6 @@
3306
3314
  "index.js"
3307
3315
  ]
3308
3316
  },
3309
- "workspace:env:unset": {
3310
- "aliases": [],
3311
- "args": {},
3312
- "description": "unset an env var for a workspace",
3313
- "examples": [
3314
- "<%= config.bin %> <%= command.id %> -w my-workspace -n myVar"
3315
- ],
3316
- "flags": {
3317
- "name": {
3318
- "char": "n",
3319
- "description": "name of the env var to unset",
3320
- "name": "name",
3321
- "required": true,
3322
- "hasDynamicHelp": false,
3323
- "multiple": false,
3324
- "type": "option"
3325
- },
3326
- "workspace": {
3327
- "char": "w",
3328
- "description": "name of the workspace to unset an env var for",
3329
- "name": "workspace",
3330
- "required": true,
3331
- "hasDynamicHelp": false,
3332
- "multiple": false,
3333
- "type": "option"
3334
- }
3335
- },
3336
- "hasDynamicHelp": false,
3337
- "hiddenAliases": [],
3338
- "id": "workspace:env:unset",
3339
- "pluginAlias": "hereya-cli",
3340
- "pluginName": "hereya-cli",
3341
- "pluginType": "core",
3342
- "strict": true,
3343
- "enableJsonFlag": false,
3344
- "isESM": true,
3345
- "relativePath": [
3346
- "dist",
3347
- "commands",
3348
- "workspace",
3349
- "env",
3350
- "unset",
3351
- "index.js"
3352
- ]
3353
- },
3354
3317
  "workspace:executor:install": {
3355
3318
  "aliases": [],
3356
3319
  "args": {},
@@ -3507,7 +3470,52 @@
3507
3470
  "uninstall",
3508
3471
  "index.js"
3509
3472
  ]
3473
+ },
3474
+ "workspace:env:unset": {
3475
+ "aliases": [],
3476
+ "args": {},
3477
+ "description": "unset an env var for a workspace",
3478
+ "examples": [
3479
+ "<%= config.bin %> <%= command.id %> -w my-workspace -n myVar"
3480
+ ],
3481
+ "flags": {
3482
+ "name": {
3483
+ "char": "n",
3484
+ "description": "name of the env var to unset",
3485
+ "name": "name",
3486
+ "required": true,
3487
+ "hasDynamicHelp": false,
3488
+ "multiple": false,
3489
+ "type": "option"
3490
+ },
3491
+ "workspace": {
3492
+ "char": "w",
3493
+ "description": "name of the workspace to unset an env var for",
3494
+ "name": "workspace",
3495
+ "required": true,
3496
+ "hasDynamicHelp": false,
3497
+ "multiple": false,
3498
+ "type": "option"
3499
+ }
3500
+ },
3501
+ "hasDynamicHelp": false,
3502
+ "hiddenAliases": [],
3503
+ "id": "workspace:env:unset",
3504
+ "pluginAlias": "hereya-cli",
3505
+ "pluginName": "hereya-cli",
3506
+ "pluginType": "core",
3507
+ "strict": true,
3508
+ "enableJsonFlag": false,
3509
+ "isESM": true,
3510
+ "relativePath": [
3511
+ "dist",
3512
+ "commands",
3513
+ "workspace",
3514
+ "env",
3515
+ "unset",
3516
+ "index.js"
3517
+ ]
3510
3518
  }
3511
3519
  },
3512
- "version": "0.102.0"
3520
+ "version": "0.103.0"
3513
3521
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hereya-cli",
3
3
  "description": "Infrastructure as Package",
4
- "version": "0.102.0",
4
+ "version": "0.103.0",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.cjs"