hereya-cli 0.83.2 → 0.84.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 +233 -57
- package/dist/backend/cloud/cloud-backend.d.ts +124 -1
- package/dist/backend/cloud/cloud-backend.js +176 -0
- package/dist/commands/app/deploy/index.d.ts +16 -0
- package/dist/commands/app/deploy/index.js +113 -0
- package/dist/commands/app/deployments/index.d.ts +9 -0
- package/dist/commands/app/deployments/index.js +34 -0
- package/dist/commands/app/destroy/index.d.ts +12 -0
- package/dist/commands/app/destroy/index.js +52 -0
- package/dist/commands/app/env/index.d.ts +13 -0
- package/dist/commands/app/env/index.js +50 -0
- package/dist/commands/app/list/index.d.ts +6 -0
- package/dist/commands/app/list/index.js +30 -0
- package/dist/commands/app/new/index.d.ts +13 -0
- package/dist/commands/app/new/index.js +69 -0
- package/dist/commands/app/status/index.d.ts +12 -0
- package/dist/commands/app/status/index.js +51 -0
- package/dist/commands/executor/start/index.d.ts +13 -0
- package/dist/commands/executor/start/index.js +291 -0
- package/dist/commands/publish/index.d.ts +5 -3
- package/dist/commands/publish/index.js +75 -0
- package/dist/lib/app-source.d.ts +21 -0
- package/dist/lib/app-source.js +55 -0
- package/dist/lib/app-vars.d.ts +10 -0
- package/dist/lib/app-vars.js +45 -0
- package/dist/lib/package/index.d.ts +5 -0
- package/dist/lib/package/index.js +2 -0
- package/oclif.manifest.json +327 -11
- 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.
|
|
24
|
+
hereya-cli/0.84.0 linux-x64 node-v24.14.1
|
|
25
25
|
$ hereya --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ hereya COMMAND
|
|
@@ -31,6 +31,13 @@ USAGE
|
|
|
31
31
|
# Commands
|
|
32
32
|
<!-- commands -->
|
|
33
33
|
* [`hereya add PACKAGE`](#hereya-add-package)
|
|
34
|
+
* [`hereya app deploy NAME`](#hereya-app-deploy-name)
|
|
35
|
+
* [`hereya app deployments NAME`](#hereya-app-deployments-name)
|
|
36
|
+
* [`hereya app destroy NAME`](#hereya-app-destroy-name)
|
|
37
|
+
* [`hereya app env NAME [KEY]`](#hereya-app-env-name-key)
|
|
38
|
+
* [`hereya app list`](#hereya-app-list)
|
|
39
|
+
* [`hereya app new DIRNAME`](#hereya-app-new-dirname)
|
|
40
|
+
* [`hereya app status NAME`](#hereya-app-status-name)
|
|
34
41
|
* [`hereya bootstrap INFRASTRUCTURETYPE`](#hereya-bootstrap-infrastructuretype)
|
|
35
42
|
* [`hereya clone PROJECT`](#hereya-clone-project)
|
|
36
43
|
* [`hereya config export-backend [FILE]`](#hereya-config-export-backend-file)
|
|
@@ -120,7 +127,176 @@ EXAMPLES
|
|
|
120
127
|
$ hereya add cloudy/docker_postgres
|
|
121
128
|
```
|
|
122
129
|
|
|
123
|
-
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
130
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/add/index.ts)_
|
|
131
|
+
|
|
132
|
+
## `hereya app deploy NAME`
|
|
133
|
+
|
|
134
|
+
Deploy a hereya-app to a workspace.
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
USAGE
|
|
138
|
+
$ hereya app deploy NAME -w <value> [-p <value>...] [-V <value> | --vars-file <value>] [--version <value>]
|
|
139
|
+
|
|
140
|
+
ARGUMENTS
|
|
141
|
+
NAME app name in org/name format
|
|
142
|
+
|
|
143
|
+
FLAGS
|
|
144
|
+
-V, --vars=<value> YAML string mapping hereyavars filename -> YAML body (mutually exclusive with --vars-file)
|
|
145
|
+
-p, --parameter=<value>... [default: ] parameter for the app deployment, in the form of key=value (repeatable)
|
|
146
|
+
-w, --workspace=<value> (required) name of the workspace to deploy the app to
|
|
147
|
+
--vars-file=<value> path to a YAML file mapping hereyavars filename -> YAML body (mutually exclusive with
|
|
148
|
+
--vars)
|
|
149
|
+
--version=<value> specific app version to deploy (defaults to latest)
|
|
150
|
+
|
|
151
|
+
DESCRIPTION
|
|
152
|
+
Deploy a hereya-app to a workspace.
|
|
153
|
+
|
|
154
|
+
EXAMPLES
|
|
155
|
+
$ hereya app deploy my-org/my-app -w my-workspace
|
|
156
|
+
|
|
157
|
+
$ hereya app deploy my-org/my-app -w prod --version 1.2.0
|
|
158
|
+
|
|
159
|
+
$ hereya app deploy my-org/my-app -w prod -V 'app.yaml: "key: value"'
|
|
160
|
+
|
|
161
|
+
$ hereya app deploy my-org/my-app -w prod --vars-file ./hereyavars.yaml
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
_See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/app/deploy/index.ts)_
|
|
165
|
+
|
|
166
|
+
## `hereya app deployments NAME`
|
|
167
|
+
|
|
168
|
+
List workspaces a hereya-app has been deployed to.
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
USAGE
|
|
172
|
+
$ hereya app deployments NAME
|
|
173
|
+
|
|
174
|
+
ARGUMENTS
|
|
175
|
+
NAME app name in org/name format
|
|
176
|
+
|
|
177
|
+
DESCRIPTION
|
|
178
|
+
List workspaces a hereya-app has been deployed to.
|
|
179
|
+
|
|
180
|
+
EXAMPLES
|
|
181
|
+
$ hereya app deployments my-org/my-app
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
_See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/app/deployments/index.ts)_
|
|
185
|
+
|
|
186
|
+
## `hereya app destroy NAME`
|
|
187
|
+
|
|
188
|
+
Destroy a hereya-app deployment from a workspace.
|
|
189
|
+
|
|
190
|
+
```
|
|
191
|
+
USAGE
|
|
192
|
+
$ hereya app destroy NAME -w <value>
|
|
193
|
+
|
|
194
|
+
ARGUMENTS
|
|
195
|
+
NAME app name in org/name format
|
|
196
|
+
|
|
197
|
+
FLAGS
|
|
198
|
+
-w, --workspace=<value> (required) workspace where the app is currently deployed
|
|
199
|
+
|
|
200
|
+
DESCRIPTION
|
|
201
|
+
Destroy a hereya-app deployment from a workspace.
|
|
202
|
+
|
|
203
|
+
EXAMPLES
|
|
204
|
+
$ hereya app destroy my-org/my-app -w my-workspace
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
_See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/app/destroy/index.ts)_
|
|
208
|
+
|
|
209
|
+
## `hereya app env NAME [KEY]`
|
|
210
|
+
|
|
211
|
+
Print environment variables exported by a hereya-app deployment.
|
|
212
|
+
|
|
213
|
+
```
|
|
214
|
+
USAGE
|
|
215
|
+
$ hereya app env NAME [KEY] -w <value>
|
|
216
|
+
|
|
217
|
+
ARGUMENTS
|
|
218
|
+
NAME app name in org/name format
|
|
219
|
+
KEY optional env var key to print (omit to print all)
|
|
220
|
+
|
|
221
|
+
FLAGS
|
|
222
|
+
-w, --workspace=<value> (required) workspace to read env outputs from
|
|
223
|
+
|
|
224
|
+
DESCRIPTION
|
|
225
|
+
Print environment variables exported by a hereya-app deployment.
|
|
226
|
+
|
|
227
|
+
EXAMPLES
|
|
228
|
+
$ hereya app env my-org/my-app -w my-workspace
|
|
229
|
+
|
|
230
|
+
$ hereya app env my-org/my-app -w my-workspace DATABASE_URL
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
_See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/app/env/index.ts)_
|
|
234
|
+
|
|
235
|
+
## `hereya app list`
|
|
236
|
+
|
|
237
|
+
List hereya-apps available to your account.
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
USAGE
|
|
241
|
+
$ hereya app list
|
|
242
|
+
|
|
243
|
+
DESCRIPTION
|
|
244
|
+
List hereya-apps available to your account.
|
|
245
|
+
|
|
246
|
+
EXAMPLES
|
|
247
|
+
$ hereya app list
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
_See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/app/list/index.ts)_
|
|
251
|
+
|
|
252
|
+
## `hereya app new DIRNAME`
|
|
253
|
+
|
|
254
|
+
Scaffold a new hereya-app directory with starter hereyarc.yaml + hereya.yaml.
|
|
255
|
+
|
|
256
|
+
```
|
|
257
|
+
USAGE
|
|
258
|
+
$ hereya app new DIRNAME -n <value> [--description <value>]
|
|
259
|
+
|
|
260
|
+
ARGUMENTS
|
|
261
|
+
DIRNAME directory to create the app skeleton in
|
|
262
|
+
|
|
263
|
+
FLAGS
|
|
264
|
+
-n, --name=<value> (required) app name in org/name format (e.g. my-org/my-app)
|
|
265
|
+
--description=<value> description of the app
|
|
266
|
+
|
|
267
|
+
DESCRIPTION
|
|
268
|
+
Scaffold a new hereya-app directory with starter hereyarc.yaml + hereya.yaml.
|
|
269
|
+
|
|
270
|
+
EXAMPLES
|
|
271
|
+
$ hereya app new ./my-app -n my-org/my-app
|
|
272
|
+
|
|
273
|
+
$ hereya app new ./my-app -n my-org/my-app --description "An ai-app-builder app"
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
_See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/app/new/index.ts)_
|
|
277
|
+
|
|
278
|
+
## `hereya app status NAME`
|
|
279
|
+
|
|
280
|
+
Show the deployment status of a hereya-app on a workspace.
|
|
281
|
+
|
|
282
|
+
```
|
|
283
|
+
USAGE
|
|
284
|
+
$ hereya app status NAME -w <value>
|
|
285
|
+
|
|
286
|
+
ARGUMENTS
|
|
287
|
+
NAME app name in org/name format
|
|
288
|
+
|
|
289
|
+
FLAGS
|
|
290
|
+
-w, --workspace=<value> (required) workspace to read deployment status from
|
|
291
|
+
|
|
292
|
+
DESCRIPTION
|
|
293
|
+
Show the deployment status of a hereya-app on a workspace.
|
|
294
|
+
|
|
295
|
+
EXAMPLES
|
|
296
|
+
$ hereya app status my-org/my-app -w my-workspace
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
_See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/app/status/index.ts)_
|
|
124
300
|
|
|
125
301
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
126
302
|
|
|
@@ -145,7 +321,7 @@ EXAMPLES
|
|
|
145
321
|
$ hereya bootstrap local
|
|
146
322
|
```
|
|
147
323
|
|
|
148
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
324
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/bootstrap/index.ts)_
|
|
149
325
|
|
|
150
326
|
## `hereya clone PROJECT`
|
|
151
327
|
|
|
@@ -170,7 +346,7 @@ EXAMPLES
|
|
|
170
346
|
$ hereya clone myProject --chdir=./myProject
|
|
171
347
|
```
|
|
172
348
|
|
|
173
|
-
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
349
|
+
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/clone/index.ts)_
|
|
174
350
|
|
|
175
351
|
## `hereya config export-backend [FILE]`
|
|
176
352
|
|
|
@@ -192,7 +368,7 @@ EXAMPLES
|
|
|
192
368
|
$ hereya config export-backend ./path/to/export.json
|
|
193
369
|
```
|
|
194
370
|
|
|
195
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
371
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/config/export-backend/index.ts)_
|
|
196
372
|
|
|
197
373
|
## `hereya config get-backend`
|
|
198
374
|
|
|
@@ -209,7 +385,7 @@ EXAMPLES
|
|
|
209
385
|
$ hereya config get-backend
|
|
210
386
|
```
|
|
211
387
|
|
|
212
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
388
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/config/get-backend/index.ts)_
|
|
213
389
|
|
|
214
390
|
## `hereya config import-backend FILE`
|
|
215
391
|
|
|
@@ -229,7 +405,7 @@ EXAMPLES
|
|
|
229
405
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
230
406
|
```
|
|
231
407
|
|
|
232
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
408
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/config/import-backend/index.ts)_
|
|
233
409
|
|
|
234
410
|
## `hereya config use-backend TYPE`
|
|
235
411
|
|
|
@@ -251,7 +427,7 @@ EXAMPLES
|
|
|
251
427
|
$ hereya config use-backend local
|
|
252
428
|
```
|
|
253
429
|
|
|
254
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
430
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/config/use-backend/index.ts)_
|
|
255
431
|
|
|
256
432
|
## `hereya delete-state`
|
|
257
433
|
|
|
@@ -277,7 +453,7 @@ EXAMPLES
|
|
|
277
453
|
$ hereya delete-state --workspace staging
|
|
278
454
|
```
|
|
279
455
|
|
|
280
|
-
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
456
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/delete-state/index.ts)_
|
|
281
457
|
|
|
282
458
|
## `hereya deploy`
|
|
283
459
|
|
|
@@ -303,7 +479,7 @@ EXAMPLES
|
|
|
303
479
|
$ hereya deploy
|
|
304
480
|
```
|
|
305
481
|
|
|
306
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
482
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/deploy/index.ts)_
|
|
307
483
|
|
|
308
484
|
## `hereya devenv config`
|
|
309
485
|
|
|
@@ -323,7 +499,7 @@ EXAMPLES
|
|
|
323
499
|
$ hereya devenv config -w my-workspace
|
|
324
500
|
```
|
|
325
501
|
|
|
326
|
-
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
502
|
+
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/devenv/config/index.ts)_
|
|
327
503
|
|
|
328
504
|
## `hereya devenv install`
|
|
329
505
|
|
|
@@ -348,7 +524,7 @@ EXAMPLES
|
|
|
348
524
|
$ hereya devenv install -w my-workspace -p instanceType=t3.large
|
|
349
525
|
```
|
|
350
526
|
|
|
351
|
-
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
527
|
+
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/devenv/install/index.ts)_
|
|
352
528
|
|
|
353
529
|
## `hereya devenv project init PROJECT`
|
|
354
530
|
|
|
@@ -380,7 +556,7 @@ EXAMPLES
|
|
|
380
556
|
$ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
|
|
381
557
|
```
|
|
382
558
|
|
|
383
|
-
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
559
|
+
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/devenv/project/init/index.ts)_
|
|
384
560
|
|
|
385
561
|
## `hereya devenv project uninit PROJECT`
|
|
386
562
|
|
|
@@ -406,7 +582,7 @@ EXAMPLES
|
|
|
406
582
|
$ hereya devenv project uninit my-app -w my-workspace --force
|
|
407
583
|
```
|
|
408
584
|
|
|
409
|
-
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
585
|
+
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/devenv/project/uninit/index.ts)_
|
|
410
586
|
|
|
411
587
|
## `hereya devenv ssh`
|
|
412
588
|
|
|
@@ -426,7 +602,7 @@ EXAMPLES
|
|
|
426
602
|
$ hereya devenv ssh -w my-workspace
|
|
427
603
|
```
|
|
428
604
|
|
|
429
|
-
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
605
|
+
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/devenv/ssh/index.ts)_
|
|
430
606
|
|
|
431
607
|
## `hereya devenv uninstall`
|
|
432
608
|
|
|
@@ -447,7 +623,7 @@ EXAMPLES
|
|
|
447
623
|
$ hereya devenv uninstall -w my-workspace
|
|
448
624
|
```
|
|
449
625
|
|
|
450
|
-
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
626
|
+
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/devenv/uninstall/index.ts)_
|
|
451
627
|
|
|
452
628
|
## `hereya doc PACKAGE`
|
|
453
629
|
|
|
@@ -480,7 +656,7 @@ EXAMPLES
|
|
|
480
656
|
$ hereya doc my-package --no-doc
|
|
481
657
|
```
|
|
482
658
|
|
|
483
|
-
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
659
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/doc/index.ts)_
|
|
484
660
|
|
|
485
661
|
## `hereya docker run IMAGE`
|
|
486
662
|
|
|
@@ -511,7 +687,7 @@ EXAMPLES
|
|
|
511
687
|
$ hereya docker run myapp:latest -- --rm -v ./data:/data
|
|
512
688
|
```
|
|
513
689
|
|
|
514
|
-
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
690
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/docker/run/index.ts)_
|
|
515
691
|
|
|
516
692
|
## `hereya down`
|
|
517
693
|
|
|
@@ -538,7 +714,7 @@ EXAMPLES
|
|
|
538
714
|
$ hereya down
|
|
539
715
|
```
|
|
540
716
|
|
|
541
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
717
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/down/index.ts)_
|
|
542
718
|
|
|
543
719
|
## `hereya env [NAME]`
|
|
544
720
|
|
|
@@ -569,7 +745,7 @@ EXAMPLES
|
|
|
569
745
|
$ hereya env -w dev -l
|
|
570
746
|
```
|
|
571
747
|
|
|
572
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
748
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/env/index.ts)_
|
|
573
749
|
|
|
574
750
|
## `hereya env set [NAME]`
|
|
575
751
|
|
|
@@ -596,7 +772,7 @@ EXAMPLES
|
|
|
596
772
|
$ hereya env set FOO -v bar -w dev
|
|
597
773
|
```
|
|
598
774
|
|
|
599
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
775
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/env/set/index.ts)_
|
|
600
776
|
|
|
601
777
|
## `hereya executor start`
|
|
602
778
|
|
|
@@ -629,7 +805,7 @@ EXAMPLES
|
|
|
629
805
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
630
806
|
```
|
|
631
807
|
|
|
632
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
808
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/executor/start/index.ts)_
|
|
633
809
|
|
|
634
810
|
## `hereya flow add PACKAGE`
|
|
635
811
|
|
|
@@ -667,7 +843,7 @@ EXAMPLES
|
|
|
667
843
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
668
844
|
```
|
|
669
845
|
|
|
670
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
846
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/flow/add/index.ts)_
|
|
671
847
|
|
|
672
848
|
## `hereya flow docker run IMAGE`
|
|
673
849
|
|
|
@@ -697,7 +873,7 @@ EXAMPLES
|
|
|
697
873
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
698
874
|
```
|
|
699
875
|
|
|
700
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
876
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/flow/docker/run/index.ts)_
|
|
701
877
|
|
|
702
878
|
## `hereya flow down`
|
|
703
879
|
|
|
@@ -731,7 +907,7 @@ EXAMPLES
|
|
|
731
907
|
$ hereya flow down --pin
|
|
732
908
|
```
|
|
733
909
|
|
|
734
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
910
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/flow/down/index.ts)_
|
|
735
911
|
|
|
736
912
|
## `hereya flow env [NAME]`
|
|
737
913
|
|
|
@@ -765,7 +941,7 @@ EXAMPLES
|
|
|
765
941
|
$ hereya flow env -l
|
|
766
942
|
```
|
|
767
943
|
|
|
768
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
944
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/flow/env/index.ts)_
|
|
769
945
|
|
|
770
946
|
## `hereya flow provid PACKAGE`
|
|
771
947
|
|
|
@@ -794,7 +970,7 @@ EXAMPLES
|
|
|
794
970
|
$ hereya flow provid hereya/postgres --pin
|
|
795
971
|
```
|
|
796
972
|
|
|
797
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
973
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/flow/provid/index.ts)_
|
|
798
974
|
|
|
799
975
|
## `hereya flow remove PACKAGE`
|
|
800
976
|
|
|
@@ -824,7 +1000,7 @@ EXAMPLES
|
|
|
824
1000
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
825
1001
|
```
|
|
826
1002
|
|
|
827
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1003
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/flow/remove/index.ts)_
|
|
828
1004
|
|
|
829
1005
|
## `hereya flow run CMD`
|
|
830
1006
|
|
|
@@ -853,7 +1029,7 @@ EXAMPLES
|
|
|
853
1029
|
$ hereya flow run --pin -- npm test
|
|
854
1030
|
```
|
|
855
1031
|
|
|
856
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1032
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/flow/run/index.ts)_
|
|
857
1033
|
|
|
858
1034
|
## `hereya flow up`
|
|
859
1035
|
|
|
@@ -887,7 +1063,7 @@ EXAMPLES
|
|
|
887
1063
|
$ hereya flow up --pin
|
|
888
1064
|
```
|
|
889
1065
|
|
|
890
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1066
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/flow/up/index.ts)_
|
|
891
1067
|
|
|
892
1068
|
## `hereya help [COMMAND]`
|
|
893
1069
|
|
|
@@ -944,7 +1120,7 @@ EXAMPLES
|
|
|
944
1120
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
945
1121
|
```
|
|
946
1122
|
|
|
947
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1123
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/import/index.ts)_
|
|
948
1124
|
|
|
949
1125
|
## `hereya init PROJECT`
|
|
950
1126
|
|
|
@@ -978,7 +1154,7 @@ EXAMPLES
|
|
|
978
1154
|
$ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
|
|
979
1155
|
```
|
|
980
1156
|
|
|
981
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1157
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/init/index.ts)_
|
|
982
1158
|
|
|
983
1159
|
## `hereya list`
|
|
984
1160
|
|
|
@@ -995,7 +1171,7 @@ EXAMPLES
|
|
|
995
1171
|
$ hereya list
|
|
996
1172
|
```
|
|
997
1173
|
|
|
998
|
-
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1174
|
+
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/list/index.ts)_
|
|
999
1175
|
|
|
1000
1176
|
## `hereya login [URL]`
|
|
1001
1177
|
|
|
@@ -1024,7 +1200,7 @@ EXAMPLES
|
|
|
1024
1200
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
1025
1201
|
```
|
|
1026
1202
|
|
|
1027
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1203
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/login/index.ts)_
|
|
1028
1204
|
|
|
1029
1205
|
## `hereya logout`
|
|
1030
1206
|
|
|
@@ -1041,7 +1217,7 @@ EXAMPLES
|
|
|
1041
1217
|
$ hereya logout
|
|
1042
1218
|
```
|
|
1043
1219
|
|
|
1044
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1220
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/logout/index.ts)_
|
|
1045
1221
|
|
|
1046
1222
|
## `hereya provid PACKAGE`
|
|
1047
1223
|
|
|
@@ -1069,7 +1245,7 @@ EXAMPLES
|
|
|
1069
1245
|
$ hereya provid hereya/postgres --workspace staging
|
|
1070
1246
|
```
|
|
1071
1247
|
|
|
1072
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1248
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/provid/index.ts)_
|
|
1073
1249
|
|
|
1074
1250
|
## `hereya publish`
|
|
1075
1251
|
|
|
@@ -1092,7 +1268,7 @@ EXAMPLES
|
|
|
1092
1268
|
$ hereya publish --chdir=/path/to/package
|
|
1093
1269
|
```
|
|
1094
1270
|
|
|
1095
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1271
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/publish/index.ts)_
|
|
1096
1272
|
|
|
1097
1273
|
## `hereya remove PACKAGE`
|
|
1098
1274
|
|
|
@@ -1120,7 +1296,7 @@ EXAMPLES
|
|
|
1120
1296
|
$ hereya remove cloudy/docker_postgres
|
|
1121
1297
|
```
|
|
1122
1298
|
|
|
1123
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1299
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/remove/index.ts)_
|
|
1124
1300
|
|
|
1125
1301
|
## `hereya run CMD`
|
|
1126
1302
|
|
|
@@ -1146,7 +1322,7 @@ EXAMPLES
|
|
|
1146
1322
|
$ hereya run -w uat -- node index.js
|
|
1147
1323
|
```
|
|
1148
1324
|
|
|
1149
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1325
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/run/index.ts)_
|
|
1150
1326
|
|
|
1151
1327
|
## `hereya search QUERY`
|
|
1152
1328
|
|
|
@@ -1177,7 +1353,7 @@ EXAMPLES
|
|
|
1177
1353
|
$ hereya search database --json
|
|
1178
1354
|
```
|
|
1179
1355
|
|
|
1180
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1356
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/search/index.ts)_
|
|
1181
1357
|
|
|
1182
1358
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
1183
1359
|
|
|
@@ -1202,7 +1378,7 @@ EXAMPLES
|
|
|
1202
1378
|
$ hereya unbootstrap local
|
|
1203
1379
|
```
|
|
1204
1380
|
|
|
1205
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1381
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/unbootstrap/index.ts)_
|
|
1206
1382
|
|
|
1207
1383
|
## `hereya undeploy`
|
|
1208
1384
|
|
|
@@ -1228,7 +1404,7 @@ EXAMPLES
|
|
|
1228
1404
|
$ hereya undeploy
|
|
1229
1405
|
```
|
|
1230
1406
|
|
|
1231
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1407
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/undeploy/index.ts)_
|
|
1232
1408
|
|
|
1233
1409
|
## `hereya uninit PROJECT`
|
|
1234
1410
|
|
|
@@ -1256,7 +1432,7 @@ EXAMPLES
|
|
|
1256
1432
|
$ hereya uninit myProject -w dev -p prodWorkspace=prod
|
|
1257
1433
|
```
|
|
1258
1434
|
|
|
1259
|
-
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1435
|
+
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/uninit/index.ts)_
|
|
1260
1436
|
|
|
1261
1437
|
## `hereya up`
|
|
1262
1438
|
|
|
@@ -1283,7 +1459,7 @@ EXAMPLES
|
|
|
1283
1459
|
$ hereya up
|
|
1284
1460
|
```
|
|
1285
1461
|
|
|
1286
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1462
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/up/index.ts)_
|
|
1287
1463
|
|
|
1288
1464
|
## `hereya update [VERSION]`
|
|
1289
1465
|
|
|
@@ -1305,7 +1481,7 @@ EXAMPLES
|
|
|
1305
1481
|
$ hereya update 0.75.0
|
|
1306
1482
|
```
|
|
1307
1483
|
|
|
1308
|
-
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1484
|
+
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/update/index.ts)_
|
|
1309
1485
|
|
|
1310
1486
|
## `hereya workspace create NAME`
|
|
1311
1487
|
|
|
@@ -1330,7 +1506,7 @@ EXAMPLES
|
|
|
1330
1506
|
$ hereya workspace create dev
|
|
1331
1507
|
```
|
|
1332
1508
|
|
|
1333
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1509
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/create/index.ts)_
|
|
1334
1510
|
|
|
1335
1511
|
## `hereya workspace delete NAME`
|
|
1336
1512
|
|
|
@@ -1350,7 +1526,7 @@ EXAMPLES
|
|
|
1350
1526
|
$ hereya workspace delete dev
|
|
1351
1527
|
```
|
|
1352
1528
|
|
|
1353
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1529
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/delete/index.ts)_
|
|
1354
1530
|
|
|
1355
1531
|
## `hereya workspace env [NAME]`
|
|
1356
1532
|
|
|
@@ -1376,7 +1552,7 @@ EXAMPLES
|
|
|
1376
1552
|
$ hereya workspace env myEnv -w dev
|
|
1377
1553
|
```
|
|
1378
1554
|
|
|
1379
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1555
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/env/index.ts)_
|
|
1380
1556
|
|
|
1381
1557
|
## `hereya workspace env set`
|
|
1382
1558
|
|
|
@@ -1400,7 +1576,7 @@ EXAMPLES
|
|
|
1400
1576
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1401
1577
|
```
|
|
1402
1578
|
|
|
1403
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1579
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/env/set/index.ts)_
|
|
1404
1580
|
|
|
1405
1581
|
## `hereya workspace env unset`
|
|
1406
1582
|
|
|
@@ -1421,7 +1597,7 @@ EXAMPLES
|
|
|
1421
1597
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1422
1598
|
```
|
|
1423
1599
|
|
|
1424
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1600
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/env/unset/index.ts)_
|
|
1425
1601
|
|
|
1426
1602
|
## `hereya workspace executor install`
|
|
1427
1603
|
|
|
@@ -1440,7 +1616,7 @@ DESCRIPTION
|
|
|
1440
1616
|
Install a remote executor into a workspace
|
|
1441
1617
|
```
|
|
1442
1618
|
|
|
1443
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1619
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/executor/install/index.ts)_
|
|
1444
1620
|
|
|
1445
1621
|
## `hereya workspace executor token`
|
|
1446
1622
|
|
|
@@ -1457,7 +1633,7 @@ DESCRIPTION
|
|
|
1457
1633
|
Generate a workspace-scoped executor token for the remote executor
|
|
1458
1634
|
```
|
|
1459
1635
|
|
|
1460
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1636
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/executor/token/index.ts)_
|
|
1461
1637
|
|
|
1462
1638
|
## `hereya workspace executor uninstall`
|
|
1463
1639
|
|
|
@@ -1475,7 +1651,7 @@ DESCRIPTION
|
|
|
1475
1651
|
Uninstall the remote executor from a workspace
|
|
1476
1652
|
```
|
|
1477
1653
|
|
|
1478
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1654
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1479
1655
|
|
|
1480
1656
|
## `hereya workspace install PACKAGE`
|
|
1481
1657
|
|
|
@@ -1502,7 +1678,7 @@ EXAMPLES
|
|
|
1502
1678
|
$ hereya workspace install hereya/aws-cognito
|
|
1503
1679
|
```
|
|
1504
1680
|
|
|
1505
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1681
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/install/index.ts)_
|
|
1506
1682
|
|
|
1507
1683
|
## `hereya workspace list`
|
|
1508
1684
|
|
|
@@ -1526,7 +1702,7 @@ EXAMPLES
|
|
|
1526
1702
|
$ hereya workspace list --org personal
|
|
1527
1703
|
```
|
|
1528
1704
|
|
|
1529
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1705
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/list/index.ts)_
|
|
1530
1706
|
|
|
1531
1707
|
## `hereya workspace set-profile PROFILE`
|
|
1532
1708
|
|
|
@@ -1550,7 +1726,7 @@ EXAMPLES
|
|
|
1550
1726
|
$ hereya workspace set-profile prod-profile -w production
|
|
1551
1727
|
```
|
|
1552
1728
|
|
|
1553
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1729
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/set-profile/index.ts)_
|
|
1554
1730
|
|
|
1555
1731
|
## `hereya workspace uninstall PACKAGE`
|
|
1556
1732
|
|
|
@@ -1577,5 +1753,5 @@ EXAMPLES
|
|
|
1577
1753
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1578
1754
|
```
|
|
1579
1755
|
|
|
1580
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1756
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.84.0/src/commands/workspace/uninstall/index.ts)_
|
|
1581
1757
|
<!-- commandsstop -->
|