hereya-cli 0.79.0 → 0.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -57
- package/dist/commands/clone/index.js +1 -10
- package/oclif.manifest.json +34 -34
- package/package.json +1 -1
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.79.
|
|
24
|
+
hereya-cli/0.79.1 linux-x64 node-v24.14.0
|
|
25
25
|
$ hereya --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ hereya COMMAND
|
|
@@ -120,7 +120,7 @@ EXAMPLES
|
|
|
120
120
|
$ hereya add cloudy/docker_postgres
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
123
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/add/index.ts)_
|
|
124
124
|
|
|
125
125
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
126
126
|
|
|
@@ -145,7 +145,7 @@ EXAMPLES
|
|
|
145
145
|
$ hereya bootstrap local
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
148
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/bootstrap/index.ts)_
|
|
149
149
|
|
|
150
150
|
## `hereya clone PROJECT`
|
|
151
151
|
|
|
@@ -170,7 +170,7 @@ EXAMPLES
|
|
|
170
170
|
$ hereya clone myProject --chdir=./myProject
|
|
171
171
|
```
|
|
172
172
|
|
|
173
|
-
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
173
|
+
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/clone/index.ts)_
|
|
174
174
|
|
|
175
175
|
## `hereya config export-backend [FILE]`
|
|
176
176
|
|
|
@@ -192,7 +192,7 @@ EXAMPLES
|
|
|
192
192
|
$ hereya config export-backend ./path/to/export.json
|
|
193
193
|
```
|
|
194
194
|
|
|
195
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
195
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/config/export-backend/index.ts)_
|
|
196
196
|
|
|
197
197
|
## `hereya config get-backend`
|
|
198
198
|
|
|
@@ -209,7 +209,7 @@ EXAMPLES
|
|
|
209
209
|
$ hereya config get-backend
|
|
210
210
|
```
|
|
211
211
|
|
|
212
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
212
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/config/get-backend/index.ts)_
|
|
213
213
|
|
|
214
214
|
## `hereya config import-backend FILE`
|
|
215
215
|
|
|
@@ -229,7 +229,7 @@ EXAMPLES
|
|
|
229
229
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
230
230
|
```
|
|
231
231
|
|
|
232
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
232
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/config/import-backend/index.ts)_
|
|
233
233
|
|
|
234
234
|
## `hereya config use-backend TYPE`
|
|
235
235
|
|
|
@@ -251,7 +251,7 @@ EXAMPLES
|
|
|
251
251
|
$ hereya config use-backend local
|
|
252
252
|
```
|
|
253
253
|
|
|
254
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
254
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/config/use-backend/index.ts)_
|
|
255
255
|
|
|
256
256
|
## `hereya delete-state`
|
|
257
257
|
|
|
@@ -277,7 +277,7 @@ EXAMPLES
|
|
|
277
277
|
$ hereya delete-state --workspace staging
|
|
278
278
|
```
|
|
279
279
|
|
|
280
|
-
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
280
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/delete-state/index.ts)_
|
|
281
281
|
|
|
282
282
|
## `hereya deploy`
|
|
283
283
|
|
|
@@ -303,7 +303,7 @@ EXAMPLES
|
|
|
303
303
|
$ hereya deploy
|
|
304
304
|
```
|
|
305
305
|
|
|
306
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
306
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/deploy/index.ts)_
|
|
307
307
|
|
|
308
308
|
## `hereya devenv config`
|
|
309
309
|
|
|
@@ -323,7 +323,7 @@ EXAMPLES
|
|
|
323
323
|
$ hereya devenv config -w my-workspace
|
|
324
324
|
```
|
|
325
325
|
|
|
326
|
-
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
326
|
+
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/devenv/config/index.ts)_
|
|
327
327
|
|
|
328
328
|
## `hereya devenv install`
|
|
329
329
|
|
|
@@ -348,7 +348,7 @@ EXAMPLES
|
|
|
348
348
|
$ hereya devenv install -w my-workspace -p instanceType=t3.large
|
|
349
349
|
```
|
|
350
350
|
|
|
351
|
-
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
351
|
+
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/devenv/install/index.ts)_
|
|
352
352
|
|
|
353
353
|
## `hereya devenv project init PROJECT`
|
|
354
354
|
|
|
@@ -380,7 +380,7 @@ EXAMPLES
|
|
|
380
380
|
$ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
|
|
381
381
|
```
|
|
382
382
|
|
|
383
|
-
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
383
|
+
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/devenv/project/init/index.ts)_
|
|
384
384
|
|
|
385
385
|
## `hereya devenv project uninit PROJECT`
|
|
386
386
|
|
|
@@ -406,7 +406,7 @@ EXAMPLES
|
|
|
406
406
|
$ hereya devenv project uninit my-app -w my-workspace --force
|
|
407
407
|
```
|
|
408
408
|
|
|
409
|
-
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
409
|
+
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/devenv/project/uninit/index.ts)_
|
|
410
410
|
|
|
411
411
|
## `hereya devenv ssh`
|
|
412
412
|
|
|
@@ -426,7 +426,7 @@ EXAMPLES
|
|
|
426
426
|
$ hereya devenv ssh -w my-workspace
|
|
427
427
|
```
|
|
428
428
|
|
|
429
|
-
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
429
|
+
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/devenv/ssh/index.ts)_
|
|
430
430
|
|
|
431
431
|
## `hereya devenv uninstall`
|
|
432
432
|
|
|
@@ -447,7 +447,7 @@ EXAMPLES
|
|
|
447
447
|
$ hereya devenv uninstall -w my-workspace
|
|
448
448
|
```
|
|
449
449
|
|
|
450
|
-
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
450
|
+
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/devenv/uninstall/index.ts)_
|
|
451
451
|
|
|
452
452
|
## `hereya doc PACKAGE`
|
|
453
453
|
|
|
@@ -480,7 +480,7 @@ EXAMPLES
|
|
|
480
480
|
$ hereya doc my-package --no-doc
|
|
481
481
|
```
|
|
482
482
|
|
|
483
|
-
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
483
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/doc/index.ts)_
|
|
484
484
|
|
|
485
485
|
## `hereya docker run IMAGE`
|
|
486
486
|
|
|
@@ -511,7 +511,7 @@ EXAMPLES
|
|
|
511
511
|
$ hereya docker run myapp:latest -- --rm -v ./data:/data
|
|
512
512
|
```
|
|
513
513
|
|
|
514
|
-
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
514
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/docker/run/index.ts)_
|
|
515
515
|
|
|
516
516
|
## `hereya down`
|
|
517
517
|
|
|
@@ -538,7 +538,7 @@ EXAMPLES
|
|
|
538
538
|
$ hereya down
|
|
539
539
|
```
|
|
540
540
|
|
|
541
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
541
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/down/index.ts)_
|
|
542
542
|
|
|
543
543
|
## `hereya env [NAME]`
|
|
544
544
|
|
|
@@ -569,7 +569,7 @@ EXAMPLES
|
|
|
569
569
|
$ hereya env -w dev -l
|
|
570
570
|
```
|
|
571
571
|
|
|
572
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
572
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/env/index.ts)_
|
|
573
573
|
|
|
574
574
|
## `hereya env set [NAME]`
|
|
575
575
|
|
|
@@ -596,7 +596,7 @@ EXAMPLES
|
|
|
596
596
|
$ hereya env set FOO -v bar -w dev
|
|
597
597
|
```
|
|
598
598
|
|
|
599
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
599
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/env/set/index.ts)_
|
|
600
600
|
|
|
601
601
|
## `hereya executor start`
|
|
602
602
|
|
|
@@ -629,7 +629,7 @@ EXAMPLES
|
|
|
629
629
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
630
630
|
```
|
|
631
631
|
|
|
632
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
632
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/executor/start/index.ts)_
|
|
633
633
|
|
|
634
634
|
## `hereya flow add PACKAGE`
|
|
635
635
|
|
|
@@ -667,7 +667,7 @@ EXAMPLES
|
|
|
667
667
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
668
668
|
```
|
|
669
669
|
|
|
670
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
670
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/add/index.ts)_
|
|
671
671
|
|
|
672
672
|
## `hereya flow docker run IMAGE`
|
|
673
673
|
|
|
@@ -697,7 +697,7 @@ EXAMPLES
|
|
|
697
697
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
698
698
|
```
|
|
699
699
|
|
|
700
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
700
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/docker/run/index.ts)_
|
|
701
701
|
|
|
702
702
|
## `hereya flow down`
|
|
703
703
|
|
|
@@ -731,7 +731,7 @@ EXAMPLES
|
|
|
731
731
|
$ hereya flow down --pin
|
|
732
732
|
```
|
|
733
733
|
|
|
734
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
734
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/down/index.ts)_
|
|
735
735
|
|
|
736
736
|
## `hereya flow env [NAME]`
|
|
737
737
|
|
|
@@ -765,7 +765,7 @@ EXAMPLES
|
|
|
765
765
|
$ hereya flow env -l
|
|
766
766
|
```
|
|
767
767
|
|
|
768
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
768
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/env/index.ts)_
|
|
769
769
|
|
|
770
770
|
## `hereya flow provid PACKAGE`
|
|
771
771
|
|
|
@@ -794,7 +794,7 @@ EXAMPLES
|
|
|
794
794
|
$ hereya flow provid hereya/postgres --pin
|
|
795
795
|
```
|
|
796
796
|
|
|
797
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
797
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/provid/index.ts)_
|
|
798
798
|
|
|
799
799
|
## `hereya flow remove PACKAGE`
|
|
800
800
|
|
|
@@ -824,7 +824,7 @@ EXAMPLES
|
|
|
824
824
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
825
825
|
```
|
|
826
826
|
|
|
827
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
827
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/remove/index.ts)_
|
|
828
828
|
|
|
829
829
|
## `hereya flow run CMD`
|
|
830
830
|
|
|
@@ -853,7 +853,7 @@ EXAMPLES
|
|
|
853
853
|
$ hereya flow run --pin -- npm test
|
|
854
854
|
```
|
|
855
855
|
|
|
856
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
856
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/run/index.ts)_
|
|
857
857
|
|
|
858
858
|
## `hereya flow up`
|
|
859
859
|
|
|
@@ -887,7 +887,7 @@ EXAMPLES
|
|
|
887
887
|
$ hereya flow up --pin
|
|
888
888
|
```
|
|
889
889
|
|
|
890
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
890
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/flow/up/index.ts)_
|
|
891
891
|
|
|
892
892
|
## `hereya help [COMMAND]`
|
|
893
893
|
|
|
@@ -944,7 +944,7 @@ EXAMPLES
|
|
|
944
944
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
945
945
|
```
|
|
946
946
|
|
|
947
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
947
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/import/index.ts)_
|
|
948
948
|
|
|
949
949
|
## `hereya init PROJECT`
|
|
950
950
|
|
|
@@ -978,7 +978,7 @@ EXAMPLES
|
|
|
978
978
|
$ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
|
|
979
979
|
```
|
|
980
980
|
|
|
981
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
981
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/init/index.ts)_
|
|
982
982
|
|
|
983
983
|
## `hereya list`
|
|
984
984
|
|
|
@@ -995,7 +995,7 @@ EXAMPLES
|
|
|
995
995
|
$ hereya list
|
|
996
996
|
```
|
|
997
997
|
|
|
998
|
-
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
998
|
+
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/list/index.ts)_
|
|
999
999
|
|
|
1000
1000
|
## `hereya login [URL]`
|
|
1001
1001
|
|
|
@@ -1024,7 +1024,7 @@ EXAMPLES
|
|
|
1024
1024
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
1025
1025
|
```
|
|
1026
1026
|
|
|
1027
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1027
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/login/index.ts)_
|
|
1028
1028
|
|
|
1029
1029
|
## `hereya logout`
|
|
1030
1030
|
|
|
@@ -1041,7 +1041,7 @@ EXAMPLES
|
|
|
1041
1041
|
$ hereya logout
|
|
1042
1042
|
```
|
|
1043
1043
|
|
|
1044
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1044
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/logout/index.ts)_
|
|
1045
1045
|
|
|
1046
1046
|
## `hereya provid PACKAGE`
|
|
1047
1047
|
|
|
@@ -1069,7 +1069,7 @@ EXAMPLES
|
|
|
1069
1069
|
$ hereya provid hereya/postgres --workspace staging
|
|
1070
1070
|
```
|
|
1071
1071
|
|
|
1072
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1072
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/provid/index.ts)_
|
|
1073
1073
|
|
|
1074
1074
|
## `hereya publish`
|
|
1075
1075
|
|
|
@@ -1092,7 +1092,7 @@ EXAMPLES
|
|
|
1092
1092
|
$ hereya publish --chdir=/path/to/package
|
|
1093
1093
|
```
|
|
1094
1094
|
|
|
1095
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1095
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/publish/index.ts)_
|
|
1096
1096
|
|
|
1097
1097
|
## `hereya remove PACKAGE`
|
|
1098
1098
|
|
|
@@ -1120,7 +1120,7 @@ EXAMPLES
|
|
|
1120
1120
|
$ hereya remove cloudy/docker_postgres
|
|
1121
1121
|
```
|
|
1122
1122
|
|
|
1123
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1123
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/remove/index.ts)_
|
|
1124
1124
|
|
|
1125
1125
|
## `hereya run CMD`
|
|
1126
1126
|
|
|
@@ -1146,7 +1146,7 @@ EXAMPLES
|
|
|
1146
1146
|
$ hereya run -w uat -- node index.js
|
|
1147
1147
|
```
|
|
1148
1148
|
|
|
1149
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1149
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/run/index.ts)_
|
|
1150
1150
|
|
|
1151
1151
|
## `hereya search QUERY`
|
|
1152
1152
|
|
|
@@ -1177,7 +1177,7 @@ EXAMPLES
|
|
|
1177
1177
|
$ hereya search database --json
|
|
1178
1178
|
```
|
|
1179
1179
|
|
|
1180
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1180
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/search/index.ts)_
|
|
1181
1181
|
|
|
1182
1182
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
1183
1183
|
|
|
@@ -1202,7 +1202,7 @@ EXAMPLES
|
|
|
1202
1202
|
$ hereya unbootstrap local
|
|
1203
1203
|
```
|
|
1204
1204
|
|
|
1205
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1205
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/unbootstrap/index.ts)_
|
|
1206
1206
|
|
|
1207
1207
|
## `hereya undeploy`
|
|
1208
1208
|
|
|
@@ -1228,7 +1228,7 @@ EXAMPLES
|
|
|
1228
1228
|
$ hereya undeploy
|
|
1229
1229
|
```
|
|
1230
1230
|
|
|
1231
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1231
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/undeploy/index.ts)_
|
|
1232
1232
|
|
|
1233
1233
|
## `hereya uninit PROJECT`
|
|
1234
1234
|
|
|
@@ -1256,7 +1256,7 @@ EXAMPLES
|
|
|
1256
1256
|
$ hereya uninit myProject -w dev -p prodWorkspace=prod
|
|
1257
1257
|
```
|
|
1258
1258
|
|
|
1259
|
-
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1259
|
+
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/uninit/index.ts)_
|
|
1260
1260
|
|
|
1261
1261
|
## `hereya up`
|
|
1262
1262
|
|
|
@@ -1283,7 +1283,7 @@ EXAMPLES
|
|
|
1283
1283
|
$ hereya up
|
|
1284
1284
|
```
|
|
1285
1285
|
|
|
1286
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1286
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/up/index.ts)_
|
|
1287
1287
|
|
|
1288
1288
|
## `hereya update [VERSION]`
|
|
1289
1289
|
|
|
@@ -1305,7 +1305,7 @@ EXAMPLES
|
|
|
1305
1305
|
$ hereya update 0.75.0
|
|
1306
1306
|
```
|
|
1307
1307
|
|
|
1308
|
-
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1308
|
+
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/update/index.ts)_
|
|
1309
1309
|
|
|
1310
1310
|
## `hereya workspace create NAME`
|
|
1311
1311
|
|
|
@@ -1330,7 +1330,7 @@ EXAMPLES
|
|
|
1330
1330
|
$ hereya workspace create dev
|
|
1331
1331
|
```
|
|
1332
1332
|
|
|
1333
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1333
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/create/index.ts)_
|
|
1334
1334
|
|
|
1335
1335
|
## `hereya workspace delete NAME`
|
|
1336
1336
|
|
|
@@ -1350,7 +1350,7 @@ EXAMPLES
|
|
|
1350
1350
|
$ hereya workspace delete dev
|
|
1351
1351
|
```
|
|
1352
1352
|
|
|
1353
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1353
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/delete/index.ts)_
|
|
1354
1354
|
|
|
1355
1355
|
## `hereya workspace env [NAME]`
|
|
1356
1356
|
|
|
@@ -1376,7 +1376,7 @@ EXAMPLES
|
|
|
1376
1376
|
$ hereya workspace env myEnv -w dev
|
|
1377
1377
|
```
|
|
1378
1378
|
|
|
1379
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1379
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/env/index.ts)_
|
|
1380
1380
|
|
|
1381
1381
|
## `hereya workspace env set`
|
|
1382
1382
|
|
|
@@ -1400,7 +1400,7 @@ EXAMPLES
|
|
|
1400
1400
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1401
1401
|
```
|
|
1402
1402
|
|
|
1403
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1403
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/env/set/index.ts)_
|
|
1404
1404
|
|
|
1405
1405
|
## `hereya workspace env unset`
|
|
1406
1406
|
|
|
@@ -1421,7 +1421,7 @@ EXAMPLES
|
|
|
1421
1421
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1422
1422
|
```
|
|
1423
1423
|
|
|
1424
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1424
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/env/unset/index.ts)_
|
|
1425
1425
|
|
|
1426
1426
|
## `hereya workspace executor install`
|
|
1427
1427
|
|
|
@@ -1440,7 +1440,7 @@ DESCRIPTION
|
|
|
1440
1440
|
Install a remote executor into a workspace
|
|
1441
1441
|
```
|
|
1442
1442
|
|
|
1443
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1443
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/executor/install/index.ts)_
|
|
1444
1444
|
|
|
1445
1445
|
## `hereya workspace executor token`
|
|
1446
1446
|
|
|
@@ -1457,7 +1457,7 @@ DESCRIPTION
|
|
|
1457
1457
|
Generate a workspace-scoped executor token for the remote executor
|
|
1458
1458
|
```
|
|
1459
1459
|
|
|
1460
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1460
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/executor/token/index.ts)_
|
|
1461
1461
|
|
|
1462
1462
|
## `hereya workspace executor uninstall`
|
|
1463
1463
|
|
|
@@ -1475,7 +1475,7 @@ DESCRIPTION
|
|
|
1475
1475
|
Uninstall the remote executor from a workspace
|
|
1476
1476
|
```
|
|
1477
1477
|
|
|
1478
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1478
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1479
1479
|
|
|
1480
1480
|
## `hereya workspace install PACKAGE`
|
|
1481
1481
|
|
|
@@ -1502,7 +1502,7 @@ EXAMPLES
|
|
|
1502
1502
|
$ hereya workspace install hereya/aws-cognito
|
|
1503
1503
|
```
|
|
1504
1504
|
|
|
1505
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1505
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/install/index.ts)_
|
|
1506
1506
|
|
|
1507
1507
|
## `hereya workspace list`
|
|
1508
1508
|
|
|
@@ -1526,7 +1526,7 @@ EXAMPLES
|
|
|
1526
1526
|
$ hereya workspace list --org personal
|
|
1527
1527
|
```
|
|
1528
1528
|
|
|
1529
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1529
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/list/index.ts)_
|
|
1530
1530
|
|
|
1531
1531
|
## `hereya workspace set-profile PROFILE`
|
|
1532
1532
|
|
|
@@ -1550,7 +1550,7 @@ EXAMPLES
|
|
|
1550
1550
|
$ hereya workspace set-profile prod-profile -w production
|
|
1551
1551
|
```
|
|
1552
1552
|
|
|
1553
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1553
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/set-profile/index.ts)_
|
|
1554
1554
|
|
|
1555
1555
|
## `hereya workspace uninstall PACKAGE`
|
|
1556
1556
|
|
|
@@ -1577,5 +1577,5 @@ EXAMPLES
|
|
|
1577
1577
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1578
1578
|
```
|
|
1579
1579
|
|
|
1580
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.
|
|
1580
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.79.1/src/commands/workspace/uninstall/index.ts)_
|
|
1581
1581
|
<!-- commandsstop -->
|
|
@@ -4,7 +4,6 @@ import fs from 'node:fs';
|
|
|
4
4
|
import path from 'node:path';
|
|
5
5
|
import { getBackend } from '../../backend/index.js';
|
|
6
6
|
import { getExecutorForWorkspace } from '../../executor/context.js';
|
|
7
|
-
import { getConfigManager } from '../../lib/config/index.js';
|
|
8
7
|
import { gitUtils } from '../../lib/git-utils.js';
|
|
9
8
|
import { getLogPath } from '../../lib/log.js';
|
|
10
9
|
export default class Clone extends Command {
|
|
@@ -77,17 +76,9 @@ export default class Clone extends Command {
|
|
|
77
76
|
},
|
|
78
77
|
{
|
|
79
78
|
async task(ctx) {
|
|
80
|
-
const configManager = getConfigManager();
|
|
81
|
-
const existing = await configManager.loadConfig({ projectRootDir: targetDir });
|
|
82
|
-
const config = {
|
|
83
|
-
...(existing.found ? existing.config : {}),
|
|
84
|
-
project: args.project,
|
|
85
|
-
workspace: ctx.defaultWorkspace,
|
|
86
|
-
};
|
|
87
|
-
await configManager.saveConfig({ config, projectRootDir: targetDir });
|
|
88
79
|
await gitUtils.setupCredentialHelper({ hereyaBinPath: process.argv[1], projectDir: targetDir });
|
|
89
80
|
const backend = await getBackend();
|
|
90
|
-
await backend.saveState(
|
|
81
|
+
await backend.saveState({ project: args.project, workspace: ctx.defaultWorkspace }, ctx.defaultWorkspace);
|
|
91
82
|
},
|
|
92
83
|
title: 'Setting up project',
|
|
93
84
|
},
|
package/oclif.manifest.json
CHANGED
|
@@ -691,27 +691,44 @@
|
|
|
691
691
|
"index.js"
|
|
692
692
|
]
|
|
693
693
|
},
|
|
694
|
-
"
|
|
694
|
+
"provid": {
|
|
695
695
|
"aliases": [],
|
|
696
|
-
"args": {
|
|
697
|
-
|
|
696
|
+
"args": {
|
|
697
|
+
"package": {
|
|
698
|
+
"description": "Package name (e.g., hereya/postgres)",
|
|
699
|
+
"name": "package",
|
|
700
|
+
"required": true
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
"description": "Display the provisioning ID for a package",
|
|
698
704
|
"examples": [
|
|
699
|
-
"
|
|
700
|
-
"
|
|
705
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres",
|
|
706
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres -w dev",
|
|
707
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres --workspace staging"
|
|
701
708
|
],
|
|
702
709
|
"flags": {
|
|
703
710
|
"chdir": {
|
|
704
|
-
"
|
|
711
|
+
"char": "C",
|
|
712
|
+
"description": "Project root directory",
|
|
705
713
|
"name": "chdir",
|
|
706
714
|
"required": false,
|
|
707
715
|
"hasDynamicHelp": false,
|
|
708
716
|
"multiple": false,
|
|
709
717
|
"type": "option"
|
|
718
|
+
},
|
|
719
|
+
"workspace": {
|
|
720
|
+
"char": "w",
|
|
721
|
+
"description": "Name of the workspace",
|
|
722
|
+
"name": "workspace",
|
|
723
|
+
"required": false,
|
|
724
|
+
"hasDynamicHelp": false,
|
|
725
|
+
"multiple": false,
|
|
726
|
+
"type": "option"
|
|
710
727
|
}
|
|
711
728
|
},
|
|
712
729
|
"hasDynamicHelp": false,
|
|
713
730
|
"hiddenAliases": [],
|
|
714
|
-
"id": "
|
|
731
|
+
"id": "provid",
|
|
715
732
|
"pluginAlias": "hereya-cli",
|
|
716
733
|
"pluginName": "hereya-cli",
|
|
717
734
|
"pluginType": "core",
|
|
@@ -721,48 +738,31 @@
|
|
|
721
738
|
"relativePath": [
|
|
722
739
|
"dist",
|
|
723
740
|
"commands",
|
|
724
|
-
"
|
|
741
|
+
"provid",
|
|
725
742
|
"index.js"
|
|
726
743
|
]
|
|
727
744
|
},
|
|
728
|
-
"
|
|
745
|
+
"publish": {
|
|
729
746
|
"aliases": [],
|
|
730
|
-
"args": {
|
|
731
|
-
|
|
732
|
-
"description": "Package name (e.g., hereya/postgres)",
|
|
733
|
-
"name": "package",
|
|
734
|
-
"required": true
|
|
735
|
-
}
|
|
736
|
-
},
|
|
737
|
-
"description": "Display the provisioning ID for a package",
|
|
747
|
+
"args": {},
|
|
748
|
+
"description": "Publish a package to the Hereya registry",
|
|
738
749
|
"examples": [
|
|
739
|
-
"
|
|
740
|
-
"
|
|
741
|
-
"<%= config.bin %> <%= command.id %> hereya/postgres --workspace staging"
|
|
750
|
+
"$ hereya publish",
|
|
751
|
+
"$ hereya publish --chdir=/path/to/package"
|
|
742
752
|
],
|
|
743
753
|
"flags": {
|
|
744
754
|
"chdir": {
|
|
745
|
-
"
|
|
746
|
-
"description": "Project root directory",
|
|
755
|
+
"description": "\n Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n ",
|
|
747
756
|
"name": "chdir",
|
|
748
757
|
"required": false,
|
|
749
758
|
"hasDynamicHelp": false,
|
|
750
759
|
"multiple": false,
|
|
751
760
|
"type": "option"
|
|
752
|
-
},
|
|
753
|
-
"workspace": {
|
|
754
|
-
"char": "w",
|
|
755
|
-
"description": "Name of the workspace",
|
|
756
|
-
"name": "workspace",
|
|
757
|
-
"required": false,
|
|
758
|
-
"hasDynamicHelp": false,
|
|
759
|
-
"multiple": false,
|
|
760
|
-
"type": "option"
|
|
761
761
|
}
|
|
762
762
|
},
|
|
763
763
|
"hasDynamicHelp": false,
|
|
764
764
|
"hiddenAliases": [],
|
|
765
|
-
"id": "
|
|
765
|
+
"id": "publish",
|
|
766
766
|
"pluginAlias": "hereya-cli",
|
|
767
767
|
"pluginName": "hereya-cli",
|
|
768
768
|
"pluginType": "core",
|
|
@@ -772,7 +772,7 @@
|
|
|
772
772
|
"relativePath": [
|
|
773
773
|
"dist",
|
|
774
774
|
"commands",
|
|
775
|
-
"
|
|
775
|
+
"publish",
|
|
776
776
|
"index.js"
|
|
777
777
|
]
|
|
778
778
|
},
|
|
@@ -2881,5 +2881,5 @@
|
|
|
2881
2881
|
]
|
|
2882
2882
|
}
|
|
2883
2883
|
},
|
|
2884
|
-
"version": "0.79.
|
|
2884
|
+
"version": "0.79.1"
|
|
2885
2885
|
}
|