hereya-cli 0.41.0 → 0.42.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 +28 -28
- package/dist/lib/log.js +4 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g hereya-cli
|
|
|
20
20
|
$ hereya COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ hereya (--version)
|
|
23
|
-
hereya-cli/0.
|
|
23
|
+
hereya-cli/0.42.1 linux-x64 node-v22.17.1
|
|
24
24
|
$ hereya --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ hereya COMMAND
|
|
@@ -89,7 +89,7 @@ EXAMPLES
|
|
|
89
89
|
$ hereya add cloudy/docker_postgres
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
92
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/add/index.ts)_
|
|
93
93
|
|
|
94
94
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
95
95
|
|
|
@@ -114,7 +114,7 @@ EXAMPLES
|
|
|
114
114
|
$ hereya bootstrap local
|
|
115
115
|
```
|
|
116
116
|
|
|
117
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
117
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/bootstrap/index.ts)_
|
|
118
118
|
|
|
119
119
|
## `hereya config export-backend [FILE]`
|
|
120
120
|
|
|
@@ -136,7 +136,7 @@ EXAMPLES
|
|
|
136
136
|
$ hereya config export-backend ./path/to/export.json
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
139
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/config/export-backend/index.ts)_
|
|
140
140
|
|
|
141
141
|
## `hereya config get-backend`
|
|
142
142
|
|
|
@@ -153,7 +153,7 @@ EXAMPLES
|
|
|
153
153
|
$ hereya config get-backend
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
156
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/config/get-backend/index.ts)_
|
|
157
157
|
|
|
158
158
|
## `hereya config import-backend FILE`
|
|
159
159
|
|
|
@@ -173,7 +173,7 @@ EXAMPLES
|
|
|
173
173
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
174
174
|
```
|
|
175
175
|
|
|
176
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
176
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/config/import-backend/index.ts)_
|
|
177
177
|
|
|
178
178
|
## `hereya config use-backend TYPE`
|
|
179
179
|
|
|
@@ -195,7 +195,7 @@ EXAMPLES
|
|
|
195
195
|
$ hereya config use-backend local
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
198
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/config/use-backend/index.ts)_
|
|
199
199
|
|
|
200
200
|
## `hereya deploy`
|
|
201
201
|
|
|
@@ -220,7 +220,7 @@ EXAMPLES
|
|
|
220
220
|
$ hereya deploy
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
223
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/deploy/index.ts)_
|
|
224
224
|
|
|
225
225
|
## `hereya down`
|
|
226
226
|
|
|
@@ -247,7 +247,7 @@ EXAMPLES
|
|
|
247
247
|
$ hereya down
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
250
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/down/index.ts)_
|
|
251
251
|
|
|
252
252
|
## `hereya env [NAME]`
|
|
253
253
|
|
|
@@ -278,7 +278,7 @@ EXAMPLES
|
|
|
278
278
|
$ hereya env -w dev -l
|
|
279
279
|
```
|
|
280
280
|
|
|
281
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
281
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/env/index.ts)_
|
|
282
282
|
|
|
283
283
|
## `hereya env set [NAME]`
|
|
284
284
|
|
|
@@ -305,7 +305,7 @@ EXAMPLES
|
|
|
305
305
|
$ hereya env set FOO -v bar -w dev
|
|
306
306
|
```
|
|
307
307
|
|
|
308
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
308
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/env/set/index.ts)_
|
|
309
309
|
|
|
310
310
|
## `hereya help [COMMAND]`
|
|
311
311
|
|
|
@@ -362,7 +362,7 @@ EXAMPLES
|
|
|
362
362
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
363
363
|
```
|
|
364
364
|
|
|
365
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
365
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/import/index.ts)_
|
|
366
366
|
|
|
367
367
|
## `hereya init PROJECT`
|
|
368
368
|
|
|
@@ -388,7 +388,7 @@ EXAMPLES
|
|
|
388
388
|
$ hereya init myProject -w=defaultWorkspace --chdir=./myProject
|
|
389
389
|
```
|
|
390
390
|
|
|
391
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
391
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/init/index.ts)_
|
|
392
392
|
|
|
393
393
|
## `hereya login [URL]`
|
|
394
394
|
|
|
@@ -417,7 +417,7 @@ EXAMPLES
|
|
|
417
417
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
418
418
|
```
|
|
419
419
|
|
|
420
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
420
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/login/index.ts)_
|
|
421
421
|
|
|
422
422
|
## `hereya logout`
|
|
423
423
|
|
|
@@ -434,7 +434,7 @@ EXAMPLES
|
|
|
434
434
|
$ hereya logout
|
|
435
435
|
```
|
|
436
436
|
|
|
437
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
437
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/logout/index.ts)_
|
|
438
438
|
|
|
439
439
|
## `hereya remove PACKAGE`
|
|
440
440
|
|
|
@@ -461,7 +461,7 @@ EXAMPLES
|
|
|
461
461
|
$ hereya remove cloudy/docker_postgres
|
|
462
462
|
```
|
|
463
463
|
|
|
464
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
464
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/remove/index.ts)_
|
|
465
465
|
|
|
466
466
|
## `hereya run CMD`
|
|
467
467
|
|
|
@@ -487,7 +487,7 @@ EXAMPLES
|
|
|
487
487
|
$ hereya run -w uat -- node index.js
|
|
488
488
|
```
|
|
489
489
|
|
|
490
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
490
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/run/index.ts)_
|
|
491
491
|
|
|
492
492
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
493
493
|
|
|
@@ -512,7 +512,7 @@ EXAMPLES
|
|
|
512
512
|
$ hereya unbootstrap local
|
|
513
513
|
```
|
|
514
514
|
|
|
515
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
515
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/unbootstrap/index.ts)_
|
|
516
516
|
|
|
517
517
|
## `hereya undeploy`
|
|
518
518
|
|
|
@@ -537,7 +537,7 @@ EXAMPLES
|
|
|
537
537
|
$ hereya undeploy
|
|
538
538
|
```
|
|
539
539
|
|
|
540
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
540
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/undeploy/index.ts)_
|
|
541
541
|
|
|
542
542
|
## `hereya up`
|
|
543
543
|
|
|
@@ -564,7 +564,7 @@ EXAMPLES
|
|
|
564
564
|
$ hereya up
|
|
565
565
|
```
|
|
566
566
|
|
|
567
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
567
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/up/index.ts)_
|
|
568
568
|
|
|
569
569
|
## `hereya workspace create NAME`
|
|
570
570
|
|
|
@@ -587,7 +587,7 @@ EXAMPLES
|
|
|
587
587
|
$ hereya workspace create dev
|
|
588
588
|
```
|
|
589
589
|
|
|
590
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
590
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/workspace/create/index.ts)_
|
|
591
591
|
|
|
592
592
|
## `hereya workspace delete NAME`
|
|
593
593
|
|
|
@@ -607,7 +607,7 @@ EXAMPLES
|
|
|
607
607
|
$ hereya workspace delete dev
|
|
608
608
|
```
|
|
609
609
|
|
|
610
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
610
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/workspace/delete/index.ts)_
|
|
611
611
|
|
|
612
612
|
## `hereya workspace env [NAME]`
|
|
613
613
|
|
|
@@ -633,7 +633,7 @@ EXAMPLES
|
|
|
633
633
|
$ hereya workspace env myEnv -w dev
|
|
634
634
|
```
|
|
635
635
|
|
|
636
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
636
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/workspace/env/index.ts)_
|
|
637
637
|
|
|
638
638
|
## `hereya workspace env set`
|
|
639
639
|
|
|
@@ -657,7 +657,7 @@ EXAMPLES
|
|
|
657
657
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
658
658
|
```
|
|
659
659
|
|
|
660
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
660
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/workspace/env/set/index.ts)_
|
|
661
661
|
|
|
662
662
|
## `hereya workspace env unset`
|
|
663
663
|
|
|
@@ -678,7 +678,7 @@ EXAMPLES
|
|
|
678
678
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
679
679
|
```
|
|
680
680
|
|
|
681
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
681
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/workspace/env/unset/index.ts)_
|
|
682
682
|
|
|
683
683
|
## `hereya workspace install PACKAGE`
|
|
684
684
|
|
|
@@ -705,7 +705,7 @@ EXAMPLES
|
|
|
705
705
|
$ hereya workspace install hereya/aws-cognito
|
|
706
706
|
```
|
|
707
707
|
|
|
708
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
708
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/workspace/install/index.ts)_
|
|
709
709
|
|
|
710
710
|
## `hereya workspace list`
|
|
711
711
|
|
|
@@ -722,7 +722,7 @@ EXAMPLES
|
|
|
722
722
|
$ hereya workspace list
|
|
723
723
|
```
|
|
724
724
|
|
|
725
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
725
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/workspace/list/index.ts)_
|
|
726
726
|
|
|
727
727
|
## `hereya workspace uninstall PACKAGE`
|
|
728
728
|
|
|
@@ -749,5 +749,5 @@ EXAMPLES
|
|
|
749
749
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
750
750
|
```
|
|
751
751
|
|
|
752
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
752
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.42.1/src/commands/workspace/uninstall/index.ts)_
|
|
753
753
|
<!-- commandsstop -->
|
package/dist/lib/log.js
CHANGED
|
@@ -11,6 +11,10 @@ export function isDebug() {
|
|
|
11
11
|
}
|
|
12
12
|
const logPath = path.resolve(os.tmpdir(), logFileName());
|
|
13
13
|
export function getLogPath() {
|
|
14
|
+
if (process.env.HEREYA_VERBOSE === 'true') {
|
|
15
|
+
const logContent = fs.readFileSync(logPath, 'utf8');
|
|
16
|
+
console.log(logContent);
|
|
17
|
+
}
|
|
14
18
|
return logPath;
|
|
15
19
|
}
|
|
16
20
|
export function getLogger(task) {
|
package/oclif.manifest.json
CHANGED