hereya-cli 0.73.0 → 0.73.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 +54 -54
- package/dist/lib/git-utils.js +7 -7
- package/oclif.manifest.json +47 -47
- 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.73.
|
|
24
|
+
hereya-cli/0.73.1 linux-x64 node-v24.14.0
|
|
25
25
|
$ hereya --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ hereya COMMAND
|
|
@@ -117,7 +117,7 @@ EXAMPLES
|
|
|
117
117
|
$ hereya add cloudy/docker_postgres
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
120
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/add/index.ts)_
|
|
121
121
|
|
|
122
122
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
123
123
|
|
|
@@ -142,7 +142,7 @@ EXAMPLES
|
|
|
142
142
|
$ hereya bootstrap local
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
145
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/bootstrap/index.ts)_
|
|
146
146
|
|
|
147
147
|
## `hereya config export-backend [FILE]`
|
|
148
148
|
|
|
@@ -164,7 +164,7 @@ EXAMPLES
|
|
|
164
164
|
$ hereya config export-backend ./path/to/export.json
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
167
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/config/export-backend/index.ts)_
|
|
168
168
|
|
|
169
169
|
## `hereya config get-backend`
|
|
170
170
|
|
|
@@ -181,7 +181,7 @@ EXAMPLES
|
|
|
181
181
|
$ hereya config get-backend
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
184
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/config/get-backend/index.ts)_
|
|
185
185
|
|
|
186
186
|
## `hereya config import-backend FILE`
|
|
187
187
|
|
|
@@ -201,7 +201,7 @@ EXAMPLES
|
|
|
201
201
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
204
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/config/import-backend/index.ts)_
|
|
205
205
|
|
|
206
206
|
## `hereya config use-backend TYPE`
|
|
207
207
|
|
|
@@ -223,7 +223,7 @@ EXAMPLES
|
|
|
223
223
|
$ hereya config use-backend local
|
|
224
224
|
```
|
|
225
225
|
|
|
226
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
226
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/config/use-backend/index.ts)_
|
|
227
227
|
|
|
228
228
|
## `hereya delete-state`
|
|
229
229
|
|
|
@@ -249,7 +249,7 @@ EXAMPLES
|
|
|
249
249
|
$ hereya delete-state --workspace staging
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
252
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/delete-state/index.ts)_
|
|
253
253
|
|
|
254
254
|
## `hereya deploy`
|
|
255
255
|
|
|
@@ -274,7 +274,7 @@ EXAMPLES
|
|
|
274
274
|
$ hereya deploy
|
|
275
275
|
```
|
|
276
276
|
|
|
277
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
277
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/deploy/index.ts)_
|
|
278
278
|
|
|
279
279
|
## `hereya devenv config`
|
|
280
280
|
|
|
@@ -294,7 +294,7 @@ EXAMPLES
|
|
|
294
294
|
$ hereya devenv config -w my-workspace
|
|
295
295
|
```
|
|
296
296
|
|
|
297
|
-
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
297
|
+
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/devenv/config/index.ts)_
|
|
298
298
|
|
|
299
299
|
## `hereya devenv install`
|
|
300
300
|
|
|
@@ -319,7 +319,7 @@ EXAMPLES
|
|
|
319
319
|
$ hereya devenv install -w my-workspace -p instanceType=t3.large
|
|
320
320
|
```
|
|
321
321
|
|
|
322
|
-
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
322
|
+
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/devenv/install/index.ts)_
|
|
323
323
|
|
|
324
324
|
## `hereya devenv project init PROJECT`
|
|
325
325
|
|
|
@@ -350,7 +350,7 @@ EXAMPLES
|
|
|
350
350
|
$ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
|
|
351
351
|
```
|
|
352
352
|
|
|
353
|
-
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
353
|
+
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/devenv/project/init/index.ts)_
|
|
354
354
|
|
|
355
355
|
## `hereya devenv project uninit PROJECT`
|
|
356
356
|
|
|
@@ -376,7 +376,7 @@ EXAMPLES
|
|
|
376
376
|
$ hereya devenv project uninit my-app -w my-workspace --force
|
|
377
377
|
```
|
|
378
378
|
|
|
379
|
-
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
379
|
+
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/devenv/project/uninit/index.ts)_
|
|
380
380
|
|
|
381
381
|
## `hereya devenv ssh`
|
|
382
382
|
|
|
@@ -396,7 +396,7 @@ EXAMPLES
|
|
|
396
396
|
$ hereya devenv ssh -w my-workspace
|
|
397
397
|
```
|
|
398
398
|
|
|
399
|
-
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
399
|
+
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/devenv/ssh/index.ts)_
|
|
400
400
|
|
|
401
401
|
## `hereya devenv uninstall`
|
|
402
402
|
|
|
@@ -417,7 +417,7 @@ EXAMPLES
|
|
|
417
417
|
$ hereya devenv uninstall -w my-workspace
|
|
418
418
|
```
|
|
419
419
|
|
|
420
|
-
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
420
|
+
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/devenv/uninstall/index.ts)_
|
|
421
421
|
|
|
422
422
|
## `hereya doc PACKAGE`
|
|
423
423
|
|
|
@@ -450,7 +450,7 @@ EXAMPLES
|
|
|
450
450
|
$ hereya doc my-package --no-doc
|
|
451
451
|
```
|
|
452
452
|
|
|
453
|
-
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
453
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/doc/index.ts)_
|
|
454
454
|
|
|
455
455
|
## `hereya docker run IMAGE`
|
|
456
456
|
|
|
@@ -481,7 +481,7 @@ EXAMPLES
|
|
|
481
481
|
$ hereya docker run myapp:latest -- --rm -v ./data:/data
|
|
482
482
|
```
|
|
483
483
|
|
|
484
|
-
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
484
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/docker/run/index.ts)_
|
|
485
485
|
|
|
486
486
|
## `hereya down`
|
|
487
487
|
|
|
@@ -508,7 +508,7 @@ EXAMPLES
|
|
|
508
508
|
$ hereya down
|
|
509
509
|
```
|
|
510
510
|
|
|
511
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
511
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/down/index.ts)_
|
|
512
512
|
|
|
513
513
|
## `hereya env [NAME]`
|
|
514
514
|
|
|
@@ -539,7 +539,7 @@ EXAMPLES
|
|
|
539
539
|
$ hereya env -w dev -l
|
|
540
540
|
```
|
|
541
541
|
|
|
542
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
542
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/env/index.ts)_
|
|
543
543
|
|
|
544
544
|
## `hereya env set [NAME]`
|
|
545
545
|
|
|
@@ -566,7 +566,7 @@ EXAMPLES
|
|
|
566
566
|
$ hereya env set FOO -v bar -w dev
|
|
567
567
|
```
|
|
568
568
|
|
|
569
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
569
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/env/set/index.ts)_
|
|
570
570
|
|
|
571
571
|
## `hereya executor start`
|
|
572
572
|
|
|
@@ -599,7 +599,7 @@ EXAMPLES
|
|
|
599
599
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
600
600
|
```
|
|
601
601
|
|
|
602
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
602
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/executor/start/index.ts)_
|
|
603
603
|
|
|
604
604
|
## `hereya flow add PACKAGE`
|
|
605
605
|
|
|
@@ -637,7 +637,7 @@ EXAMPLES
|
|
|
637
637
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
638
638
|
```
|
|
639
639
|
|
|
640
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
640
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/flow/add/index.ts)_
|
|
641
641
|
|
|
642
642
|
## `hereya flow docker run IMAGE`
|
|
643
643
|
|
|
@@ -667,7 +667,7 @@ EXAMPLES
|
|
|
667
667
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
668
668
|
```
|
|
669
669
|
|
|
670
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
670
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/flow/docker/run/index.ts)_
|
|
671
671
|
|
|
672
672
|
## `hereya flow down`
|
|
673
673
|
|
|
@@ -701,7 +701,7 @@ EXAMPLES
|
|
|
701
701
|
$ hereya flow down --pin
|
|
702
702
|
```
|
|
703
703
|
|
|
704
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
704
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/flow/down/index.ts)_
|
|
705
705
|
|
|
706
706
|
## `hereya flow env [NAME]`
|
|
707
707
|
|
|
@@ -735,7 +735,7 @@ EXAMPLES
|
|
|
735
735
|
$ hereya flow env -l
|
|
736
736
|
```
|
|
737
737
|
|
|
738
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
738
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/flow/env/index.ts)_
|
|
739
739
|
|
|
740
740
|
## `hereya flow provid PACKAGE`
|
|
741
741
|
|
|
@@ -764,7 +764,7 @@ EXAMPLES
|
|
|
764
764
|
$ hereya flow provid hereya/postgres --pin
|
|
765
765
|
```
|
|
766
766
|
|
|
767
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
767
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/flow/provid/index.ts)_
|
|
768
768
|
|
|
769
769
|
## `hereya flow remove PACKAGE`
|
|
770
770
|
|
|
@@ -794,7 +794,7 @@ EXAMPLES
|
|
|
794
794
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
795
795
|
```
|
|
796
796
|
|
|
797
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
797
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/flow/remove/index.ts)_
|
|
798
798
|
|
|
799
799
|
## `hereya flow run CMD`
|
|
800
800
|
|
|
@@ -823,7 +823,7 @@ EXAMPLES
|
|
|
823
823
|
$ hereya flow run --pin -- npm test
|
|
824
824
|
```
|
|
825
825
|
|
|
826
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
826
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/flow/run/index.ts)_
|
|
827
827
|
|
|
828
828
|
## `hereya flow up`
|
|
829
829
|
|
|
@@ -857,7 +857,7 @@ EXAMPLES
|
|
|
857
857
|
$ hereya flow up --pin
|
|
858
858
|
```
|
|
859
859
|
|
|
860
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
860
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/flow/up/index.ts)_
|
|
861
861
|
|
|
862
862
|
## `hereya help [COMMAND]`
|
|
863
863
|
|
|
@@ -914,7 +914,7 @@ EXAMPLES
|
|
|
914
914
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
915
915
|
```
|
|
916
916
|
|
|
917
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
917
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/import/index.ts)_
|
|
918
918
|
|
|
919
919
|
## `hereya init PROJECT`
|
|
920
920
|
|
|
@@ -947,7 +947,7 @@ EXAMPLES
|
|
|
947
947
|
$ hereya init myProject -w=dev -t=acme/node-starter -p region=us-east-1
|
|
948
948
|
```
|
|
949
949
|
|
|
950
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
950
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/init/index.ts)_
|
|
951
951
|
|
|
952
952
|
## `hereya login [URL]`
|
|
953
953
|
|
|
@@ -976,7 +976,7 @@ EXAMPLES
|
|
|
976
976
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
977
977
|
```
|
|
978
978
|
|
|
979
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
979
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/login/index.ts)_
|
|
980
980
|
|
|
981
981
|
## `hereya logout`
|
|
982
982
|
|
|
@@ -993,7 +993,7 @@ EXAMPLES
|
|
|
993
993
|
$ hereya logout
|
|
994
994
|
```
|
|
995
995
|
|
|
996
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
996
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/logout/index.ts)_
|
|
997
997
|
|
|
998
998
|
## `hereya provid PACKAGE`
|
|
999
999
|
|
|
@@ -1021,7 +1021,7 @@ EXAMPLES
|
|
|
1021
1021
|
$ hereya provid hereya/postgres --workspace staging
|
|
1022
1022
|
```
|
|
1023
1023
|
|
|
1024
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1024
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/provid/index.ts)_
|
|
1025
1025
|
|
|
1026
1026
|
## `hereya publish`
|
|
1027
1027
|
|
|
@@ -1044,7 +1044,7 @@ EXAMPLES
|
|
|
1044
1044
|
$ hereya publish --chdir=/path/to/package
|
|
1045
1045
|
```
|
|
1046
1046
|
|
|
1047
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1047
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/publish/index.ts)_
|
|
1048
1048
|
|
|
1049
1049
|
## `hereya remove PACKAGE`
|
|
1050
1050
|
|
|
@@ -1072,7 +1072,7 @@ EXAMPLES
|
|
|
1072
1072
|
$ hereya remove cloudy/docker_postgres
|
|
1073
1073
|
```
|
|
1074
1074
|
|
|
1075
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1075
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/remove/index.ts)_
|
|
1076
1076
|
|
|
1077
1077
|
## `hereya run CMD`
|
|
1078
1078
|
|
|
@@ -1098,7 +1098,7 @@ EXAMPLES
|
|
|
1098
1098
|
$ hereya run -w uat -- node index.js
|
|
1099
1099
|
```
|
|
1100
1100
|
|
|
1101
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1101
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/run/index.ts)_
|
|
1102
1102
|
|
|
1103
1103
|
## `hereya search QUERY`
|
|
1104
1104
|
|
|
@@ -1129,7 +1129,7 @@ EXAMPLES
|
|
|
1129
1129
|
$ hereya search database --json
|
|
1130
1130
|
```
|
|
1131
1131
|
|
|
1132
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1132
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/search/index.ts)_
|
|
1133
1133
|
|
|
1134
1134
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
1135
1135
|
|
|
@@ -1154,7 +1154,7 @@ EXAMPLES
|
|
|
1154
1154
|
$ hereya unbootstrap local
|
|
1155
1155
|
```
|
|
1156
1156
|
|
|
1157
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1157
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/unbootstrap/index.ts)_
|
|
1158
1158
|
|
|
1159
1159
|
## `hereya undeploy`
|
|
1160
1160
|
|
|
@@ -1179,7 +1179,7 @@ EXAMPLES
|
|
|
1179
1179
|
$ hereya undeploy
|
|
1180
1180
|
```
|
|
1181
1181
|
|
|
1182
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1182
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/undeploy/index.ts)_
|
|
1183
1183
|
|
|
1184
1184
|
## `hereya uninit PROJECT`
|
|
1185
1185
|
|
|
@@ -1203,7 +1203,7 @@ EXAMPLES
|
|
|
1203
1203
|
$ hereya uninit myProject -w dev
|
|
1204
1204
|
```
|
|
1205
1205
|
|
|
1206
|
-
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1206
|
+
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/uninit/index.ts)_
|
|
1207
1207
|
|
|
1208
1208
|
## `hereya up`
|
|
1209
1209
|
|
|
@@ -1230,7 +1230,7 @@ EXAMPLES
|
|
|
1230
1230
|
$ hereya up
|
|
1231
1231
|
```
|
|
1232
1232
|
|
|
1233
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1233
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/up/index.ts)_
|
|
1234
1234
|
|
|
1235
1235
|
## `hereya workspace create NAME`
|
|
1236
1236
|
|
|
@@ -1255,7 +1255,7 @@ EXAMPLES
|
|
|
1255
1255
|
$ hereya workspace create dev
|
|
1256
1256
|
```
|
|
1257
1257
|
|
|
1258
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1258
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/create/index.ts)_
|
|
1259
1259
|
|
|
1260
1260
|
## `hereya workspace delete NAME`
|
|
1261
1261
|
|
|
@@ -1275,7 +1275,7 @@ EXAMPLES
|
|
|
1275
1275
|
$ hereya workspace delete dev
|
|
1276
1276
|
```
|
|
1277
1277
|
|
|
1278
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1278
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/delete/index.ts)_
|
|
1279
1279
|
|
|
1280
1280
|
## `hereya workspace env [NAME]`
|
|
1281
1281
|
|
|
@@ -1301,7 +1301,7 @@ EXAMPLES
|
|
|
1301
1301
|
$ hereya workspace env myEnv -w dev
|
|
1302
1302
|
```
|
|
1303
1303
|
|
|
1304
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1304
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/env/index.ts)_
|
|
1305
1305
|
|
|
1306
1306
|
## `hereya workspace env set`
|
|
1307
1307
|
|
|
@@ -1325,7 +1325,7 @@ EXAMPLES
|
|
|
1325
1325
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1326
1326
|
```
|
|
1327
1327
|
|
|
1328
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1328
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/env/set/index.ts)_
|
|
1329
1329
|
|
|
1330
1330
|
## `hereya workspace env unset`
|
|
1331
1331
|
|
|
@@ -1346,7 +1346,7 @@ EXAMPLES
|
|
|
1346
1346
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1347
1347
|
```
|
|
1348
1348
|
|
|
1349
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1349
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/env/unset/index.ts)_
|
|
1350
1350
|
|
|
1351
1351
|
## `hereya workspace executor install`
|
|
1352
1352
|
|
|
@@ -1365,7 +1365,7 @@ DESCRIPTION
|
|
|
1365
1365
|
Install a remote executor into a workspace
|
|
1366
1366
|
```
|
|
1367
1367
|
|
|
1368
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1368
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/executor/install/index.ts)_
|
|
1369
1369
|
|
|
1370
1370
|
## `hereya workspace executor token`
|
|
1371
1371
|
|
|
@@ -1382,7 +1382,7 @@ DESCRIPTION
|
|
|
1382
1382
|
Generate a workspace-scoped executor token for the remote executor
|
|
1383
1383
|
```
|
|
1384
1384
|
|
|
1385
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1385
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/executor/token/index.ts)_
|
|
1386
1386
|
|
|
1387
1387
|
## `hereya workspace executor uninstall`
|
|
1388
1388
|
|
|
@@ -1400,7 +1400,7 @@ DESCRIPTION
|
|
|
1400
1400
|
Uninstall the remote executor from a workspace
|
|
1401
1401
|
```
|
|
1402
1402
|
|
|
1403
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1403
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1404
1404
|
|
|
1405
1405
|
## `hereya workspace install PACKAGE`
|
|
1406
1406
|
|
|
@@ -1427,7 +1427,7 @@ EXAMPLES
|
|
|
1427
1427
|
$ hereya workspace install hereya/aws-cognito
|
|
1428
1428
|
```
|
|
1429
1429
|
|
|
1430
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1430
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/install/index.ts)_
|
|
1431
1431
|
|
|
1432
1432
|
## `hereya workspace list`
|
|
1433
1433
|
|
|
@@ -1451,7 +1451,7 @@ EXAMPLES
|
|
|
1451
1451
|
$ hereya workspace list --org personal
|
|
1452
1452
|
```
|
|
1453
1453
|
|
|
1454
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1454
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/list/index.ts)_
|
|
1455
1455
|
|
|
1456
1456
|
## `hereya workspace set-profile PROFILE`
|
|
1457
1457
|
|
|
@@ -1475,7 +1475,7 @@ EXAMPLES
|
|
|
1475
1475
|
$ hereya workspace set-profile prod-profile -w production
|
|
1476
1476
|
```
|
|
1477
1477
|
|
|
1478
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1478
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/set-profile/index.ts)_
|
|
1479
1479
|
|
|
1480
1480
|
## `hereya workspace uninstall PACKAGE`
|
|
1481
1481
|
|
|
@@ -1502,5 +1502,5 @@ EXAMPLES
|
|
|
1502
1502
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1503
1503
|
```
|
|
1504
1504
|
|
|
1505
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.
|
|
1505
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.73.1/src/commands/workspace/uninstall/index.ts)_
|
|
1506
1506
|
<!-- commandsstop -->
|
package/dist/lib/git-utils.js
CHANGED
|
@@ -86,6 +86,7 @@ export async function cloneWithCredentialHelper(input) {
|
|
|
86
86
|
env.hereyaGitPassword = password;
|
|
87
87
|
const child = spawn('git', [
|
|
88
88
|
'clone',
|
|
89
|
+
'-c', 'credential.helper=',
|
|
89
90
|
'-c', `credential.helper=${credHelper}`,
|
|
90
91
|
gitUrl,
|
|
91
92
|
targetDir,
|
|
@@ -113,13 +114,8 @@ export async function cloneWithCredentialHelper(input) {
|
|
|
113
114
|
export async function setupCredentialHelper(input) {
|
|
114
115
|
const { hereyaBinPath, projectDir } = input;
|
|
115
116
|
const credHelper = `!${hereyaBinPath} credential-helper`;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
await new Promise((resolve, reject) => {
|
|
119
|
-
const child = spawn('git', ['config', 'credential.helper', credHelper], {
|
|
120
|
-
cwd: projectDir,
|
|
121
|
-
stdio: 'pipe',
|
|
122
|
-
});
|
|
117
|
+
const runGitConfig = (args) => new Promise((resolve, reject) => {
|
|
118
|
+
const child = spawn('git', args, { cwd: projectDir, stdio: 'pipe' });
|
|
123
119
|
child.on('close', (code) => {
|
|
124
120
|
if (code === 0)
|
|
125
121
|
resolve();
|
|
@@ -128,4 +124,8 @@ export async function setupCredentialHelper(input) {
|
|
|
128
124
|
});
|
|
129
125
|
child.on('error', reject);
|
|
130
126
|
});
|
|
127
|
+
// Empty string resets the helper list, clearing any global/system helpers (e.g. GCM)
|
|
128
|
+
await runGitConfig(['config', 'credential.helper', '']);
|
|
129
|
+
// Then add ours — git tries helpers in config order, so this is the only one
|
|
130
|
+
await runGitConfig(['config', '--add', 'credential.helper', credHelper]);
|
|
131
131
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -2323,7 +2323,7 @@
|
|
|
2323
2323
|
"index.js"
|
|
2324
2324
|
]
|
|
2325
2325
|
},
|
|
2326
|
-
"devenv:project:
|
|
2326
|
+
"devenv:project:uninit": {
|
|
2327
2327
|
"aliases": [],
|
|
2328
2328
|
"args": {
|
|
2329
2329
|
"project": {
|
|
@@ -2332,39 +2332,19 @@
|
|
|
2332
2332
|
"required": true
|
|
2333
2333
|
}
|
|
2334
2334
|
},
|
|
2335
|
-
"description": "
|
|
2335
|
+
"description": "Uninitialize a project on a remote dev environment.",
|
|
2336
2336
|
"examples": [
|
|
2337
2337
|
"<%= config.bin %> <%= command.id %> my-app -w my-workspace",
|
|
2338
|
-
"<%= config.bin %> <%= command.id %> my-app -w my-workspace
|
|
2339
|
-
"<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter -p region=us-east-1"
|
|
2338
|
+
"<%= config.bin %> <%= command.id %> my-app -w my-workspace --force"
|
|
2340
2339
|
],
|
|
2341
2340
|
"flags": {
|
|
2342
2341
|
"force": {
|
|
2343
2342
|
"char": "f",
|
|
2344
|
-
"description": "
|
|
2343
|
+
"description": "also remove the project directory after uninit",
|
|
2345
2344
|
"name": "force",
|
|
2346
2345
|
"allowNo": false,
|
|
2347
2346
|
"type": "boolean"
|
|
2348
2347
|
},
|
|
2349
|
-
"parameter": {
|
|
2350
|
-
"char": "p",
|
|
2351
|
-
"description": "parameter for the template, in the form of 'key=value'. Can be specified multiple times.",
|
|
2352
|
-
"name": "parameter",
|
|
2353
|
-
"required": false,
|
|
2354
|
-
"default": [],
|
|
2355
|
-
"hasDynamicHelp": false,
|
|
2356
|
-
"multiple": true,
|
|
2357
|
-
"type": "option"
|
|
2358
|
-
},
|
|
2359
|
-
"template": {
|
|
2360
|
-
"char": "t",
|
|
2361
|
-
"description": "template package to scaffold the project from",
|
|
2362
|
-
"name": "template",
|
|
2363
|
-
"required": false,
|
|
2364
|
-
"hasDynamicHelp": false,
|
|
2365
|
-
"multiple": false,
|
|
2366
|
-
"type": "option"
|
|
2367
|
-
},
|
|
2368
2348
|
"workspace": {
|
|
2369
2349
|
"char": "w",
|
|
2370
2350
|
"description": "name of the workspace",
|
|
@@ -2377,7 +2357,7 @@
|
|
|
2377
2357
|
},
|
|
2378
2358
|
"hasDynamicHelp": false,
|
|
2379
2359
|
"hiddenAliases": [],
|
|
2380
|
-
"id": "devenv:project:
|
|
2360
|
+
"id": "devenv:project:uninit",
|
|
2381
2361
|
"pluginAlias": "hereya-cli",
|
|
2382
2362
|
"pluginName": "hereya-cli",
|
|
2383
2363
|
"pluginType": "core",
|
|
@@ -2389,11 +2369,11 @@
|
|
|
2389
2369
|
"commands",
|
|
2390
2370
|
"devenv",
|
|
2391
2371
|
"project",
|
|
2392
|
-
"
|
|
2372
|
+
"uninit",
|
|
2393
2373
|
"index.js"
|
|
2394
2374
|
]
|
|
2395
2375
|
},
|
|
2396
|
-
"devenv:project:
|
|
2376
|
+
"devenv:project:init": {
|
|
2397
2377
|
"aliases": [],
|
|
2398
2378
|
"args": {
|
|
2399
2379
|
"project": {
|
|
@@ -2402,19 +2382,39 @@
|
|
|
2402
2382
|
"required": true
|
|
2403
2383
|
}
|
|
2404
2384
|
},
|
|
2405
|
-
"description": "
|
|
2385
|
+
"description": "Initialize a project on a remote dev environment.",
|
|
2406
2386
|
"examples": [
|
|
2407
2387
|
"<%= config.bin %> <%= command.id %> my-app -w my-workspace",
|
|
2408
|
-
"<%= config.bin %> <%= command.id %> my-app -w my-workspace
|
|
2388
|
+
"<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter",
|
|
2389
|
+
"<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter -p region=us-east-1"
|
|
2409
2390
|
],
|
|
2410
2391
|
"flags": {
|
|
2411
2392
|
"force": {
|
|
2412
2393
|
"char": "f",
|
|
2413
|
-
"description": "
|
|
2394
|
+
"description": "continue even if folder already exists",
|
|
2414
2395
|
"name": "force",
|
|
2415
2396
|
"allowNo": false,
|
|
2416
2397
|
"type": "boolean"
|
|
2417
2398
|
},
|
|
2399
|
+
"parameter": {
|
|
2400
|
+
"char": "p",
|
|
2401
|
+
"description": "parameter for the template, in the form of 'key=value'. Can be specified multiple times.",
|
|
2402
|
+
"name": "parameter",
|
|
2403
|
+
"required": false,
|
|
2404
|
+
"default": [],
|
|
2405
|
+
"hasDynamicHelp": false,
|
|
2406
|
+
"multiple": true,
|
|
2407
|
+
"type": "option"
|
|
2408
|
+
},
|
|
2409
|
+
"template": {
|
|
2410
|
+
"char": "t",
|
|
2411
|
+
"description": "template package to scaffold the project from",
|
|
2412
|
+
"name": "template",
|
|
2413
|
+
"required": false,
|
|
2414
|
+
"hasDynamicHelp": false,
|
|
2415
|
+
"multiple": false,
|
|
2416
|
+
"type": "option"
|
|
2417
|
+
},
|
|
2418
2418
|
"workspace": {
|
|
2419
2419
|
"char": "w",
|
|
2420
2420
|
"description": "name of the workspace",
|
|
@@ -2427,7 +2427,7 @@
|
|
|
2427
2427
|
},
|
|
2428
2428
|
"hasDynamicHelp": false,
|
|
2429
2429
|
"hiddenAliases": [],
|
|
2430
|
-
"id": "devenv:project:
|
|
2430
|
+
"id": "devenv:project:init",
|
|
2431
2431
|
"pluginAlias": "hereya-cli",
|
|
2432
2432
|
"pluginName": "hereya-cli",
|
|
2433
2433
|
"pluginType": "core",
|
|
@@ -2439,7 +2439,7 @@
|
|
|
2439
2439
|
"commands",
|
|
2440
2440
|
"devenv",
|
|
2441
2441
|
"project",
|
|
2442
|
-
"
|
|
2442
|
+
"init",
|
|
2443
2443
|
"index.js"
|
|
2444
2444
|
]
|
|
2445
2445
|
},
|
|
@@ -2672,11 +2672,17 @@
|
|
|
2672
2672
|
"index.js"
|
|
2673
2673
|
]
|
|
2674
2674
|
},
|
|
2675
|
-
"workspace:executor:
|
|
2675
|
+
"workspace:executor:uninstall": {
|
|
2676
2676
|
"aliases": [],
|
|
2677
2677
|
"args": {},
|
|
2678
|
-
"description": "
|
|
2678
|
+
"description": "Uninstall the remote executor from a workspace",
|
|
2679
2679
|
"flags": {
|
|
2680
|
+
"debug": {
|
|
2681
|
+
"description": "enable debug mode",
|
|
2682
|
+
"name": "debug",
|
|
2683
|
+
"allowNo": false,
|
|
2684
|
+
"type": "boolean"
|
|
2685
|
+
},
|
|
2680
2686
|
"workspace": {
|
|
2681
2687
|
"char": "w",
|
|
2682
2688
|
"description": "name of the workspace",
|
|
@@ -2689,7 +2695,7 @@
|
|
|
2689
2695
|
},
|
|
2690
2696
|
"hasDynamicHelp": false,
|
|
2691
2697
|
"hiddenAliases": [],
|
|
2692
|
-
"id": "workspace:executor:
|
|
2698
|
+
"id": "workspace:executor:uninstall",
|
|
2693
2699
|
"pluginAlias": "hereya-cli",
|
|
2694
2700
|
"pluginName": "hereya-cli",
|
|
2695
2701
|
"pluginType": "core",
|
|
@@ -2701,21 +2707,15 @@
|
|
|
2701
2707
|
"commands",
|
|
2702
2708
|
"workspace",
|
|
2703
2709
|
"executor",
|
|
2704
|
-
"
|
|
2710
|
+
"uninstall",
|
|
2705
2711
|
"index.js"
|
|
2706
2712
|
]
|
|
2707
2713
|
},
|
|
2708
|
-
"workspace:executor:
|
|
2714
|
+
"workspace:executor:token": {
|
|
2709
2715
|
"aliases": [],
|
|
2710
2716
|
"args": {},
|
|
2711
|
-
"description": "
|
|
2717
|
+
"description": "Generate a workspace-scoped executor token for the remote executor",
|
|
2712
2718
|
"flags": {
|
|
2713
|
-
"debug": {
|
|
2714
|
-
"description": "enable debug mode",
|
|
2715
|
-
"name": "debug",
|
|
2716
|
-
"allowNo": false,
|
|
2717
|
-
"type": "boolean"
|
|
2718
|
-
},
|
|
2719
2719
|
"workspace": {
|
|
2720
2720
|
"char": "w",
|
|
2721
2721
|
"description": "name of the workspace",
|
|
@@ -2728,7 +2728,7 @@
|
|
|
2728
2728
|
},
|
|
2729
2729
|
"hasDynamicHelp": false,
|
|
2730
2730
|
"hiddenAliases": [],
|
|
2731
|
-
"id": "workspace:executor:
|
|
2731
|
+
"id": "workspace:executor:token",
|
|
2732
2732
|
"pluginAlias": "hereya-cli",
|
|
2733
2733
|
"pluginName": "hereya-cli",
|
|
2734
2734
|
"pluginType": "core",
|
|
@@ -2740,10 +2740,10 @@
|
|
|
2740
2740
|
"commands",
|
|
2741
2741
|
"workspace",
|
|
2742
2742
|
"executor",
|
|
2743
|
-
"
|
|
2743
|
+
"token",
|
|
2744
2744
|
"index.js"
|
|
2745
2745
|
]
|
|
2746
2746
|
}
|
|
2747
2747
|
},
|
|
2748
|
-
"version": "0.73.
|
|
2748
|
+
"version": "0.73.1"
|
|
2749
2749
|
}
|