hereya-cli 0.87.0 → 0.89.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 +111 -163
- package/dist/backend/cloud/cloud-backend.d.ts +2 -1
- package/dist/backend/cloud/cloud-backend.js +36 -0
- package/dist/backend/common.d.ts +17 -0
- package/dist/backend/index.js +0 -24
- package/dist/commands/app/deploy/index.d.ts +0 -2
- package/dist/commands/app/deploy/index.js +0 -17
- package/dist/commands/app/deployments/index.d.ts +0 -4
- package/dist/commands/app/deployments/index.js +1 -20
- package/dist/commands/app/destroy/index.d.ts +0 -2
- package/dist/commands/app/destroy/index.js +0 -17
- package/dist/commands/app/env/index.d.ts +0 -2
- package/dist/commands/app/env/index.js +0 -17
- package/dist/commands/app/list/index.d.ts +0 -4
- package/dist/commands/app/list/index.js +1 -20
- package/dist/commands/app/status/index.d.ts +0 -2
- package/dist/commands/app/status/index.js +0 -17
- package/dist/commands/clone/index.js +2 -2
- package/dist/commands/deploy/index.d.ts +0 -2
- package/dist/commands/deploy/index.js +56 -69
- package/dist/commands/import-repo/index.d.ts +15 -0
- package/dist/commands/import-repo/index.js +111 -0
- package/dist/commands/init/index.d.ts +0 -2
- package/dist/commands/init/index.js +10 -70
- package/dist/commands/login/index.js +0 -5
- package/dist/commands/publish/index.d.ts +0 -2
- package/dist/commands/publish/index.js +0 -17
- package/dist/commands/run/index.d.ts +0 -2
- package/dist/commands/run/index.js +0 -17
- package/dist/commands/search/index.d.ts +0 -2
- package/dist/commands/search/index.js +21 -38
- package/dist/commands/undeploy/index.d.ts +0 -2
- package/dist/commands/undeploy/index.js +14 -27
- package/dist/commands/up/index.d.ts +0 -2
- package/dist/commands/up/index.js +1 -17
- package/dist/commands/workspace/executor/install/index.d.ts +0 -2
- package/dist/commands/workspace/executor/install/index.js +1 -17
- package/dist/commands/workspace/executor/token/index.d.ts +0 -2
- package/dist/commands/workspace/executor/token/index.js +0 -17
- package/dist/commands/workspace/executor/uninstall/index.d.ts +0 -2
- package/dist/commands/workspace/executor/uninstall/index.js +1 -17
- package/dist/executor/context.js +15 -12
- package/dist/lib/clone-and-configure.d.ts +43 -0
- package/dist/lib/clone-and-configure.js +77 -0
- package/dist/lib/hereya-token.js +11 -10
- package/dist/lib/package/index.js +24 -20
- package/oclif.manifest.json +145 -254
- package/package.json +1 -1
- package/dist/commands/git/index.d.ts +0 -12
- package/dist/commands/git/index.js +0 -116
- package/dist/lib/active-cloud.d.ts +0 -31
- package/dist/lib/active-cloud.js +0 -55
- package/dist/lib/ephemeral-token.d.ts +0 -45
- package/dist/lib/ephemeral-token.js +0 -89
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.89.0 linux-x64 node-v24.14.1
|
|
25
25
|
$ hereya --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ hereya COMMAND
|
|
@@ -66,9 +66,9 @@ USAGE
|
|
|
66
66
|
* [`hereya flow remove PACKAGE`](#hereya-flow-remove-package)
|
|
67
67
|
* [`hereya flow run CMD`](#hereya-flow-run-cmd)
|
|
68
68
|
* [`hereya flow up`](#hereya-flow-up)
|
|
69
|
-
* [`hereya git`](#hereya-git)
|
|
70
69
|
* [`hereya help [COMMAND]`](#hereya-help-command)
|
|
71
70
|
* [`hereya import PACKAGE`](#hereya-import-package)
|
|
71
|
+
* [`hereya import-repo PROJECT`](#hereya-import-repo-project)
|
|
72
72
|
* [`hereya init PROJECT`](#hereya-init-project)
|
|
73
73
|
* [`hereya list`](#hereya-list)
|
|
74
74
|
* [`hereya login [URL]`](#hereya-login-url)
|
|
@@ -128,7 +128,7 @@ EXAMPLES
|
|
|
128
128
|
$ hereya add cloudy/docker_postgres
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
131
|
+
_See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/add/index.ts)_
|
|
132
132
|
|
|
133
133
|
## `hereya app deploy NAME`
|
|
134
134
|
|
|
@@ -136,8 +136,7 @@ Deploy a hereya-app to a workspace.
|
|
|
136
136
|
|
|
137
137
|
```
|
|
138
138
|
USAGE
|
|
139
|
-
$ hereya app deploy NAME -w <value> [--chdir <value>] [--local] [-p <value>...] [--
|
|
140
|
-
<value>]
|
|
139
|
+
$ hereya app deploy NAME -w <value> [--chdir <value>] [--local] [-p <value>...] [--version <value>]
|
|
141
140
|
|
|
142
141
|
ARGUMENTS
|
|
143
142
|
NAME app name in org/name format
|
|
@@ -150,9 +149,6 @@ FLAGS
|
|
|
150
149
|
Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR
|
|
151
150
|
environment variable.
|
|
152
151
|
--local force local execution (skip remote executor)
|
|
153
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written
|
|
154
|
-
to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN
|
|
155
|
-
environment variable.
|
|
156
152
|
--version=<value> specific app version to deploy (defaults to latest)
|
|
157
153
|
|
|
158
154
|
DESCRIPTION
|
|
@@ -166,7 +162,7 @@ EXAMPLES
|
|
|
166
162
|
$ hereya app deploy my-org/my-app -w prod -p organizationId=org-123
|
|
167
163
|
```
|
|
168
164
|
|
|
169
|
-
_See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
165
|
+
_See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/app/deploy/index.ts)_
|
|
170
166
|
|
|
171
167
|
## `hereya app deployments NAME`
|
|
172
168
|
|
|
@@ -174,15 +170,11 @@ List workspaces a hereya-app has been deployed to.
|
|
|
174
170
|
|
|
175
171
|
```
|
|
176
172
|
USAGE
|
|
177
|
-
$ hereya app deployments NAME
|
|
173
|
+
$ hereya app deployments NAME
|
|
178
174
|
|
|
179
175
|
ARGUMENTS
|
|
180
176
|
NAME app name in org/name format
|
|
181
177
|
|
|
182
|
-
FLAGS
|
|
183
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to the
|
|
184
|
-
keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.
|
|
185
|
-
|
|
186
178
|
DESCRIPTION
|
|
187
179
|
List workspaces a hereya-app has been deployed to.
|
|
188
180
|
|
|
@@ -190,7 +182,7 @@ EXAMPLES
|
|
|
190
182
|
$ hereya app deployments my-org/my-app
|
|
191
183
|
```
|
|
192
184
|
|
|
193
|
-
_See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
185
|
+
_See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/app/deployments/index.ts)_
|
|
194
186
|
|
|
195
187
|
## `hereya app destroy NAME`
|
|
196
188
|
|
|
@@ -198,7 +190,7 @@ Destroy a hereya-app deployment from a workspace.
|
|
|
198
190
|
|
|
199
191
|
```
|
|
200
192
|
USAGE
|
|
201
|
-
$ hereya app destroy NAME -w <value> [--chdir <value>] [--local] [-p <value>...]
|
|
193
|
+
$ hereya app destroy NAME -w <value> [--chdir <value>] [--local] [-p <value>...]
|
|
202
194
|
|
|
203
195
|
ARGUMENTS
|
|
204
196
|
NAME app name in org/name format
|
|
@@ -211,9 +203,6 @@ FLAGS
|
|
|
211
203
|
Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR
|
|
212
204
|
environment variable.
|
|
213
205
|
--local force local execution (skip remote executor)
|
|
214
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written
|
|
215
|
-
to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN
|
|
216
|
-
environment variable.
|
|
217
206
|
|
|
218
207
|
DESCRIPTION
|
|
219
208
|
Destroy a hereya-app deployment from a workspace.
|
|
@@ -222,7 +211,7 @@ EXAMPLES
|
|
|
222
211
|
$ hereya app destroy my-org/my-app -w my-workspace
|
|
223
212
|
```
|
|
224
213
|
|
|
225
|
-
_See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
214
|
+
_See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/app/destroy/index.ts)_
|
|
226
215
|
|
|
227
216
|
## `hereya app env NAME [KEY]`
|
|
228
217
|
|
|
@@ -230,7 +219,7 @@ Print environment variables exported by a hereya-app deployment.
|
|
|
230
219
|
|
|
231
220
|
```
|
|
232
221
|
USAGE
|
|
233
|
-
$ hereya app env NAME [KEY] -w <value>
|
|
222
|
+
$ hereya app env NAME [KEY] -w <value>
|
|
234
223
|
|
|
235
224
|
ARGUMENTS
|
|
236
225
|
NAME app name in org/name format
|
|
@@ -238,9 +227,6 @@ ARGUMENTS
|
|
|
238
227
|
|
|
239
228
|
FLAGS
|
|
240
229
|
-w, --workspace=<value> (required) workspace to read env outputs from
|
|
241
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to
|
|
242
|
-
the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment
|
|
243
|
-
variable.
|
|
244
230
|
|
|
245
231
|
DESCRIPTION
|
|
246
232
|
Print environment variables exported by a hereya-app deployment.
|
|
@@ -251,7 +237,7 @@ EXAMPLES
|
|
|
251
237
|
$ hereya app env my-org/my-app -w my-workspace DATABASE_URL
|
|
252
238
|
```
|
|
253
239
|
|
|
254
|
-
_See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
240
|
+
_See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/app/env/index.ts)_
|
|
255
241
|
|
|
256
242
|
## `hereya app list`
|
|
257
243
|
|
|
@@ -259,11 +245,7 @@ List hereya-apps available to your account.
|
|
|
259
245
|
|
|
260
246
|
```
|
|
261
247
|
USAGE
|
|
262
|
-
$ hereya app list
|
|
263
|
-
|
|
264
|
-
FLAGS
|
|
265
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to the
|
|
266
|
-
keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.
|
|
248
|
+
$ hereya app list
|
|
267
249
|
|
|
268
250
|
DESCRIPTION
|
|
269
251
|
List hereya-apps available to your account.
|
|
@@ -272,7 +254,7 @@ EXAMPLES
|
|
|
272
254
|
$ hereya app list
|
|
273
255
|
```
|
|
274
256
|
|
|
275
|
-
_See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
257
|
+
_See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/app/list/index.ts)_
|
|
276
258
|
|
|
277
259
|
## `hereya app new DIRNAME`
|
|
278
260
|
|
|
@@ -298,7 +280,7 @@ EXAMPLES
|
|
|
298
280
|
$ hereya app new ./my-app -n my-org/my-app --description "An ai-app-builder app"
|
|
299
281
|
```
|
|
300
282
|
|
|
301
|
-
_See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
283
|
+
_See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/app/new/index.ts)_
|
|
302
284
|
|
|
303
285
|
## `hereya app status NAME`
|
|
304
286
|
|
|
@@ -306,16 +288,13 @@ Show the deployment status of a hereya-app on a workspace.
|
|
|
306
288
|
|
|
307
289
|
```
|
|
308
290
|
USAGE
|
|
309
|
-
$ hereya app status NAME -w <value>
|
|
291
|
+
$ hereya app status NAME -w <value>
|
|
310
292
|
|
|
311
293
|
ARGUMENTS
|
|
312
294
|
NAME app name in org/name format
|
|
313
295
|
|
|
314
296
|
FLAGS
|
|
315
297
|
-w, --workspace=<value> (required) workspace to read deployment status from
|
|
316
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to
|
|
317
|
-
the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment
|
|
318
|
-
variable.
|
|
319
298
|
|
|
320
299
|
DESCRIPTION
|
|
321
300
|
Show the deployment status of a hereya-app on a workspace.
|
|
@@ -324,7 +303,7 @@ EXAMPLES
|
|
|
324
303
|
$ hereya app status my-org/my-app -w my-workspace
|
|
325
304
|
```
|
|
326
305
|
|
|
327
|
-
_See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
306
|
+
_See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/app/status/index.ts)_
|
|
328
307
|
|
|
329
308
|
## `hereya bootstrap INFRASTRUCTURETYPE`
|
|
330
309
|
|
|
@@ -349,7 +328,7 @@ EXAMPLES
|
|
|
349
328
|
$ hereya bootstrap local
|
|
350
329
|
```
|
|
351
330
|
|
|
352
|
-
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
331
|
+
_See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/bootstrap/index.ts)_
|
|
353
332
|
|
|
354
333
|
## `hereya clone PROJECT`
|
|
355
334
|
|
|
@@ -374,7 +353,7 @@ EXAMPLES
|
|
|
374
353
|
$ hereya clone myProject --chdir=./myProject
|
|
375
354
|
```
|
|
376
355
|
|
|
377
|
-
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
356
|
+
_See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/clone/index.ts)_
|
|
378
357
|
|
|
379
358
|
## `hereya config export-backend [FILE]`
|
|
380
359
|
|
|
@@ -396,7 +375,7 @@ EXAMPLES
|
|
|
396
375
|
$ hereya config export-backend ./path/to/export.json
|
|
397
376
|
```
|
|
398
377
|
|
|
399
|
-
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
378
|
+
_See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/config/export-backend/index.ts)_
|
|
400
379
|
|
|
401
380
|
## `hereya config get-backend`
|
|
402
381
|
|
|
@@ -413,7 +392,7 @@ EXAMPLES
|
|
|
413
392
|
$ hereya config get-backend
|
|
414
393
|
```
|
|
415
394
|
|
|
416
|
-
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
395
|
+
_See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/config/get-backend/index.ts)_
|
|
417
396
|
|
|
418
397
|
## `hereya config import-backend FILE`
|
|
419
398
|
|
|
@@ -433,7 +412,7 @@ EXAMPLES
|
|
|
433
412
|
$ hereya config import-backend ./path/to/cloud-backend.json
|
|
434
413
|
```
|
|
435
414
|
|
|
436
|
-
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
415
|
+
_See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/config/import-backend/index.ts)_
|
|
437
416
|
|
|
438
417
|
## `hereya config use-backend TYPE`
|
|
439
418
|
|
|
@@ -455,7 +434,7 @@ EXAMPLES
|
|
|
455
434
|
$ hereya config use-backend local
|
|
456
435
|
```
|
|
457
436
|
|
|
458
|
-
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
437
|
+
_See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/config/use-backend/index.ts)_
|
|
459
438
|
|
|
460
439
|
## `hereya delete-state`
|
|
461
440
|
|
|
@@ -481,7 +460,7 @@ EXAMPLES
|
|
|
481
460
|
$ hereya delete-state --workspace staging
|
|
482
461
|
```
|
|
483
462
|
|
|
484
|
-
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
463
|
+
_See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/delete-state/index.ts)_
|
|
485
464
|
|
|
486
465
|
## `hereya deploy`
|
|
487
466
|
|
|
@@ -489,7 +468,7 @@ Deploy a hereya project using the project deployment package
|
|
|
489
468
|
|
|
490
469
|
```
|
|
491
470
|
USAGE
|
|
492
|
-
$ hereya deploy -w <value> [--chdir <value>] [--debug] [--local]
|
|
471
|
+
$ hereya deploy -w <value> [--chdir <value>] [--debug] [--local]
|
|
493
472
|
|
|
494
473
|
FLAGS
|
|
495
474
|
-w, --workspace=<value> (required) name of the workspace to deploy the packages for
|
|
@@ -499,9 +478,6 @@ FLAGS
|
|
|
499
478
|
environment variable.
|
|
500
479
|
--debug enable debug mode
|
|
501
480
|
--local force local execution (skip remote executor)
|
|
502
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to
|
|
503
|
-
the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment
|
|
504
|
-
variable.
|
|
505
481
|
|
|
506
482
|
DESCRIPTION
|
|
507
483
|
Deploy a hereya project using the project deployment package
|
|
@@ -510,7 +486,7 @@ EXAMPLES
|
|
|
510
486
|
$ hereya deploy
|
|
511
487
|
```
|
|
512
488
|
|
|
513
|
-
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
489
|
+
_See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/deploy/index.ts)_
|
|
514
490
|
|
|
515
491
|
## `hereya devenv config`
|
|
516
492
|
|
|
@@ -530,7 +506,7 @@ EXAMPLES
|
|
|
530
506
|
$ hereya devenv config -w my-workspace
|
|
531
507
|
```
|
|
532
508
|
|
|
533
|
-
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
509
|
+
_See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/devenv/config/index.ts)_
|
|
534
510
|
|
|
535
511
|
## `hereya devenv install`
|
|
536
512
|
|
|
@@ -555,7 +531,7 @@ EXAMPLES
|
|
|
555
531
|
$ hereya devenv install -w my-workspace -p instanceType=t3.large
|
|
556
532
|
```
|
|
557
533
|
|
|
558
|
-
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
534
|
+
_See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/devenv/install/index.ts)_
|
|
559
535
|
|
|
560
536
|
## `hereya devenv project init PROJECT`
|
|
561
537
|
|
|
@@ -587,7 +563,7 @@ EXAMPLES
|
|
|
587
563
|
$ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
|
|
588
564
|
```
|
|
589
565
|
|
|
590
|
-
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
566
|
+
_See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/devenv/project/init/index.ts)_
|
|
591
567
|
|
|
592
568
|
## `hereya devenv project uninit PROJECT`
|
|
593
569
|
|
|
@@ -613,7 +589,7 @@ EXAMPLES
|
|
|
613
589
|
$ hereya devenv project uninit my-app -w my-workspace --force
|
|
614
590
|
```
|
|
615
591
|
|
|
616
|
-
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
592
|
+
_See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/devenv/project/uninit/index.ts)_
|
|
617
593
|
|
|
618
594
|
## `hereya devenv ssh`
|
|
619
595
|
|
|
@@ -633,7 +609,7 @@ EXAMPLES
|
|
|
633
609
|
$ hereya devenv ssh -w my-workspace
|
|
634
610
|
```
|
|
635
611
|
|
|
636
|
-
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
612
|
+
_See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/devenv/ssh/index.ts)_
|
|
637
613
|
|
|
638
614
|
## `hereya devenv uninstall`
|
|
639
615
|
|
|
@@ -654,7 +630,7 @@ EXAMPLES
|
|
|
654
630
|
$ hereya devenv uninstall -w my-workspace
|
|
655
631
|
```
|
|
656
632
|
|
|
657
|
-
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
633
|
+
_See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/devenv/uninstall/index.ts)_
|
|
658
634
|
|
|
659
635
|
## `hereya doc PACKAGE`
|
|
660
636
|
|
|
@@ -687,7 +663,7 @@ EXAMPLES
|
|
|
687
663
|
$ hereya doc my-package --no-doc
|
|
688
664
|
```
|
|
689
665
|
|
|
690
|
-
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
666
|
+
_See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/doc/index.ts)_
|
|
691
667
|
|
|
692
668
|
## `hereya docker run IMAGE`
|
|
693
669
|
|
|
@@ -718,7 +694,7 @@ EXAMPLES
|
|
|
718
694
|
$ hereya docker run myapp:latest -- --rm -v ./data:/data
|
|
719
695
|
```
|
|
720
696
|
|
|
721
|
-
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
697
|
+
_See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/docker/run/index.ts)_
|
|
722
698
|
|
|
723
699
|
## `hereya down`
|
|
724
700
|
|
|
@@ -745,7 +721,7 @@ EXAMPLES
|
|
|
745
721
|
$ hereya down
|
|
746
722
|
```
|
|
747
723
|
|
|
748
|
-
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
724
|
+
_See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/down/index.ts)_
|
|
749
725
|
|
|
750
726
|
## `hereya env [NAME]`
|
|
751
727
|
|
|
@@ -776,7 +752,7 @@ EXAMPLES
|
|
|
776
752
|
$ hereya env -w dev -l
|
|
777
753
|
```
|
|
778
754
|
|
|
779
|
-
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
755
|
+
_See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/env/index.ts)_
|
|
780
756
|
|
|
781
757
|
## `hereya env set [NAME]`
|
|
782
758
|
|
|
@@ -803,7 +779,7 @@ EXAMPLES
|
|
|
803
779
|
$ hereya env set FOO -v bar -w dev
|
|
804
780
|
```
|
|
805
781
|
|
|
806
|
-
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
782
|
+
_See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/env/set/index.ts)_
|
|
807
783
|
|
|
808
784
|
## `hereya executor start`
|
|
809
785
|
|
|
@@ -836,7 +812,7 @@ EXAMPLES
|
|
|
836
812
|
HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
|
|
837
813
|
```
|
|
838
814
|
|
|
839
|
-
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
815
|
+
_See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/executor/start/index.ts)_
|
|
840
816
|
|
|
841
817
|
## `hereya flow add PACKAGE`
|
|
842
818
|
|
|
@@ -874,7 +850,7 @@ EXAMPLES
|
|
|
874
850
|
$ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
|
|
875
851
|
```
|
|
876
852
|
|
|
877
|
-
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
853
|
+
_See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/flow/add/index.ts)_
|
|
878
854
|
|
|
879
855
|
## `hereya flow docker run IMAGE`
|
|
880
856
|
|
|
@@ -904,7 +880,7 @@ EXAMPLES
|
|
|
904
880
|
$ hereya flow docker run --pin myapp:latest -- --rm
|
|
905
881
|
```
|
|
906
882
|
|
|
907
|
-
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
883
|
+
_See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/flow/docker/run/index.ts)_
|
|
908
884
|
|
|
909
885
|
## `hereya flow down`
|
|
910
886
|
|
|
@@ -938,7 +914,7 @@ EXAMPLES
|
|
|
938
914
|
$ hereya flow down --pin
|
|
939
915
|
```
|
|
940
916
|
|
|
941
|
-
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
917
|
+
_See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/flow/down/index.ts)_
|
|
942
918
|
|
|
943
919
|
## `hereya flow env [NAME]`
|
|
944
920
|
|
|
@@ -972,7 +948,7 @@ EXAMPLES
|
|
|
972
948
|
$ hereya flow env -l
|
|
973
949
|
```
|
|
974
950
|
|
|
975
|
-
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
951
|
+
_See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/flow/env/index.ts)_
|
|
976
952
|
|
|
977
953
|
## `hereya flow provid PACKAGE`
|
|
978
954
|
|
|
@@ -1001,7 +977,7 @@ EXAMPLES
|
|
|
1001
977
|
$ hereya flow provid hereya/postgres --pin
|
|
1002
978
|
```
|
|
1003
979
|
|
|
1004
|
-
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
980
|
+
_See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/flow/provid/index.ts)_
|
|
1005
981
|
|
|
1006
982
|
## `hereya flow remove PACKAGE`
|
|
1007
983
|
|
|
@@ -1031,7 +1007,7 @@ EXAMPLES
|
|
|
1031
1007
|
$ hereya flow remove cloudy/docker_postgres --profile staging
|
|
1032
1008
|
```
|
|
1033
1009
|
|
|
1034
|
-
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1010
|
+
_See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/flow/remove/index.ts)_
|
|
1035
1011
|
|
|
1036
1012
|
## `hereya flow run CMD`
|
|
1037
1013
|
|
|
@@ -1060,7 +1036,7 @@ EXAMPLES
|
|
|
1060
1036
|
$ hereya flow run --pin -- npm test
|
|
1061
1037
|
```
|
|
1062
1038
|
|
|
1063
|
-
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1039
|
+
_See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/flow/run/index.ts)_
|
|
1064
1040
|
|
|
1065
1041
|
## `hereya flow up`
|
|
1066
1042
|
|
|
@@ -1094,39 +1070,7 @@ EXAMPLES
|
|
|
1094
1070
|
$ hereya flow up --pin
|
|
1095
1071
|
```
|
|
1096
1072
|
|
|
1097
|
-
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1098
|
-
|
|
1099
|
-
## `hereya git`
|
|
1100
|
-
|
|
1101
|
-
Run an arbitrary git command with the hereya credential helper available. Wraps `git <args...>`, propagating an ephemeral `--token` to the credential-helper grandchild via `HEREYA_EPHEMERAL_TOKEN`. After a successful `clone`, also wires the cloned repo to use the hereya credential helper for future `push`/`pull`/`fetch` operations. Use `--` to separate hereya flags from git flags so e.g. `--depth` reaches git instead of being parsed by oclif.
|
|
1102
|
-
|
|
1103
|
-
```
|
|
1104
|
-
USAGE
|
|
1105
|
-
$ hereya git [--chdir <value>] [--token <value>]
|
|
1106
|
-
|
|
1107
|
-
FLAGS
|
|
1108
|
-
--chdir=<value> directory to run git in (cwd of the spawned git process)
|
|
1109
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to the
|
|
1110
|
-
keychain or `~/.hereya/secrets/`. Propagated to the git credential-helper grandchild via the
|
|
1111
|
-
HEREYA_EPHEMERAL_TOKEN env var. Takes precedence over the HEREYA_TOKEN environment variable.
|
|
1112
|
-
|
|
1113
|
-
DESCRIPTION
|
|
1114
|
-
Run an arbitrary git command with the hereya credential helper available. Wraps `git <args...>`, propagating an
|
|
1115
|
-
ephemeral `--token` to the credential-helper grandchild via `HEREYA_EPHEMERAL_TOKEN`. After a successful `clone`, also
|
|
1116
|
-
wires the cloned repo to use the hereya credential helper for future `push`/`pull`/`fetch` operations. Use `--` to
|
|
1117
|
-
separate hereya flags from git flags so e.g. `--depth` reaches git instead of being parsed by oclif.
|
|
1118
|
-
|
|
1119
|
-
EXAMPLES
|
|
1120
|
-
$ hereya git --token <token> -- push
|
|
1121
|
-
|
|
1122
|
-
$ hereya git --token <token> -- pull --rebase
|
|
1123
|
-
|
|
1124
|
-
$ hereya git --token <token> -- clone https://github.com/owner/repo my-dir
|
|
1125
|
-
|
|
1126
|
-
$ hereya git -- log --oneline -10
|
|
1127
|
-
```
|
|
1128
|
-
|
|
1129
|
-
_See code: [src/commands/git/index.ts](https://github.com/hereya/hereya-cli/blob/v0.87.0/src/commands/git/index.ts)_
|
|
1073
|
+
_See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/flow/up/index.ts)_
|
|
1130
1074
|
|
|
1131
1075
|
## `hereya help [COMMAND]`
|
|
1132
1076
|
|
|
@@ -1183,7 +1127,37 @@ EXAMPLES
|
|
|
1183
1127
|
$ hereya import org/my-package -f state.tfstate -w my-workspace
|
|
1184
1128
|
```
|
|
1185
1129
|
|
|
1186
|
-
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1130
|
+
_See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/import/index.ts)_
|
|
1131
|
+
|
|
1132
|
+
## `hereya import-repo PROJECT`
|
|
1133
|
+
|
|
1134
|
+
Register an existing GitHub repository as a hereya project so it can be deployed via the remote executor.
|
|
1135
|
+
|
|
1136
|
+
```
|
|
1137
|
+
USAGE
|
|
1138
|
+
$ hereya import-repo PROJECT -r <value> -w <value> [--chdir <value>] [--clone]
|
|
1139
|
+
|
|
1140
|
+
ARGUMENTS
|
|
1141
|
+
PROJECT project name
|
|
1142
|
+
|
|
1143
|
+
FLAGS
|
|
1144
|
+
-r, --repo-url=<value> (required) GitHub HTTPS clone URL (e.g. https://github.com/owner/repo.git)
|
|
1145
|
+
-w, --workspace=<value> (required) workspace to set as default
|
|
1146
|
+
--chdir=<value> directory to clone into (only meaningful with --clone)
|
|
1147
|
+
--clone also clone the repository locally and write hereya.yaml after the import
|
|
1148
|
+
|
|
1149
|
+
DESCRIPTION
|
|
1150
|
+
Register an existing GitHub repository as a hereya project so it can be deployed via the remote executor.
|
|
1151
|
+
|
|
1152
|
+
EXAMPLES
|
|
1153
|
+
$ hereya import-repo myProject -w=dev -r=https://github.com/acme/api.git
|
|
1154
|
+
|
|
1155
|
+
$ hereya import-repo myProject -w=dev -r=https://github.com/acme/api --clone
|
|
1156
|
+
|
|
1157
|
+
$ hereya import-repo myProject -w=dev -r=https://github.com/acme/api --clone --chdir=./api
|
|
1158
|
+
```
|
|
1159
|
+
|
|
1160
|
+
_See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/import-repo/index.ts)_
|
|
1187
1161
|
|
|
1188
1162
|
## `hereya init PROJECT`
|
|
1189
1163
|
|
|
@@ -1191,8 +1165,7 @@ Initialize hereya in a project directory.
|
|
|
1191
1165
|
|
|
1192
1166
|
```
|
|
1193
1167
|
USAGE
|
|
1194
|
-
$ hereya init PROJECT -w <value> [--chdir <value>] [-d <value>] [-p <value>...] [-t <value>]
|
|
1195
|
-
<value>]
|
|
1168
|
+
$ hereya init PROJECT -w <value> [--chdir <value>] [-d <value>] [-p <value>...] [-t <value>]
|
|
1196
1169
|
|
|
1197
1170
|
ARGUMENTS
|
|
1198
1171
|
PROJECT project name
|
|
@@ -1204,9 +1177,6 @@ FLAGS
|
|
|
1204
1177
|
-t, --template=<value> template package name (e.g. owner/repo)
|
|
1205
1178
|
-w, --workspace=<value> (required) workspace to set as default
|
|
1206
1179
|
--chdir=<value> directory to run command in
|
|
1207
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never
|
|
1208
|
-
written to the keychain or `~/.hereya/secrets/`. Takes precedence over the
|
|
1209
|
-
HEREYA_TOKEN environment variable.
|
|
1210
1180
|
|
|
1211
1181
|
DESCRIPTION
|
|
1212
1182
|
Initialize hereya in a project directory.
|
|
@@ -1221,7 +1191,7 @@ EXAMPLES
|
|
|
1221
1191
|
$ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
|
|
1222
1192
|
```
|
|
1223
1193
|
|
|
1224
|
-
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1194
|
+
_See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/init/index.ts)_
|
|
1225
1195
|
|
|
1226
1196
|
## `hereya list`
|
|
1227
1197
|
|
|
@@ -1238,7 +1208,7 @@ EXAMPLES
|
|
|
1238
1208
|
$ hereya list
|
|
1239
1209
|
```
|
|
1240
1210
|
|
|
1241
|
-
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1211
|
+
_See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/list/index.ts)_
|
|
1242
1212
|
|
|
1243
1213
|
## `hereya login [URL]`
|
|
1244
1214
|
|
|
@@ -1267,7 +1237,7 @@ EXAMPLES
|
|
|
1267
1237
|
$ hereya login --token=your-token https://cloud.hereya.dev
|
|
1268
1238
|
```
|
|
1269
1239
|
|
|
1270
|
-
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1240
|
+
_See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/login/index.ts)_
|
|
1271
1241
|
|
|
1272
1242
|
## `hereya logout`
|
|
1273
1243
|
|
|
@@ -1284,7 +1254,7 @@ EXAMPLES
|
|
|
1284
1254
|
$ hereya logout
|
|
1285
1255
|
```
|
|
1286
1256
|
|
|
1287
|
-
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1257
|
+
_See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/logout/index.ts)_
|
|
1288
1258
|
|
|
1289
1259
|
## `hereya provid PACKAGE`
|
|
1290
1260
|
|
|
@@ -1312,7 +1282,7 @@ EXAMPLES
|
|
|
1312
1282
|
$ hereya provid hereya/postgres --workspace staging
|
|
1313
1283
|
```
|
|
1314
1284
|
|
|
1315
|
-
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1285
|
+
_See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/provid/index.ts)_
|
|
1316
1286
|
|
|
1317
1287
|
## `hereya publish`
|
|
1318
1288
|
|
|
@@ -1320,13 +1290,11 @@ Publish a package to the Hereya registry
|
|
|
1320
1290
|
|
|
1321
1291
|
```
|
|
1322
1292
|
USAGE
|
|
1323
|
-
$ hereya publish [--chdir <value>]
|
|
1293
|
+
$ hereya publish [--chdir <value>]
|
|
1324
1294
|
|
|
1325
1295
|
FLAGS
|
|
1326
1296
|
--chdir=<value> Directory where the command will be executed.
|
|
1327
1297
|
If not specified, it defaults to the current working directory.
|
|
1328
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to the
|
|
1329
|
-
keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.
|
|
1330
1298
|
|
|
1331
1299
|
DESCRIPTION
|
|
1332
1300
|
Publish a package to the Hereya registry
|
|
@@ -1337,7 +1305,7 @@ EXAMPLES
|
|
|
1337
1305
|
$ hereya publish --chdir=/path/to/package
|
|
1338
1306
|
```
|
|
1339
1307
|
|
|
1340
|
-
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1308
|
+
_See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/publish/index.ts)_
|
|
1341
1309
|
|
|
1342
1310
|
## `hereya remove PACKAGE`
|
|
1343
1311
|
|
|
@@ -1365,7 +1333,7 @@ EXAMPLES
|
|
|
1365
1333
|
$ hereya remove cloudy/docker_postgres
|
|
1366
1334
|
```
|
|
1367
1335
|
|
|
1368
|
-
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1336
|
+
_See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/remove/index.ts)_
|
|
1369
1337
|
|
|
1370
1338
|
## `hereya run CMD`
|
|
1371
1339
|
|
|
@@ -1373,7 +1341,7 @@ Run a command with hereya env vars.
|
|
|
1373
1341
|
|
|
1374
1342
|
```
|
|
1375
1343
|
USAGE
|
|
1376
|
-
$ hereya run CMD... [--chdir <value>] [
|
|
1344
|
+
$ hereya run CMD... [--chdir <value>] [-w <value>]
|
|
1377
1345
|
|
|
1378
1346
|
ARGUMENTS
|
|
1379
1347
|
CMD... command to run
|
|
@@ -1381,9 +1349,6 @@ ARGUMENTS
|
|
|
1381
1349
|
FLAGS
|
|
1382
1350
|
-w, --workspace=<value> name of the workspace to run the command in
|
|
1383
1351
|
--chdir=<value> directory to run command in
|
|
1384
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to
|
|
1385
|
-
the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment
|
|
1386
|
-
variable.
|
|
1387
1352
|
|
|
1388
1353
|
DESCRIPTION
|
|
1389
1354
|
Run a command with hereya env vars.
|
|
@@ -1394,7 +1359,7 @@ EXAMPLES
|
|
|
1394
1359
|
$ hereya run -w uat -- node index.js
|
|
1395
1360
|
```
|
|
1396
1361
|
|
|
1397
|
-
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1362
|
+
_See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/run/index.ts)_
|
|
1398
1363
|
|
|
1399
1364
|
## `hereya search QUERY`
|
|
1400
1365
|
|
|
@@ -1402,7 +1367,7 @@ Search for packages in the registry
|
|
|
1402
1367
|
|
|
1403
1368
|
```
|
|
1404
1369
|
USAGE
|
|
1405
|
-
$ hereya search QUERY [-C <value>] [-j] [-l <value>]
|
|
1370
|
+
$ hereya search QUERY [-C <value>] [-j] [-l <value>]
|
|
1406
1371
|
|
|
1407
1372
|
ARGUMENTS
|
|
1408
1373
|
QUERY Search query string
|
|
@@ -1410,8 +1375,6 @@ ARGUMENTS
|
|
|
1410
1375
|
FLAGS
|
|
1411
1376
|
-j, --json Output in JSON format
|
|
1412
1377
|
-l, --limit=<value> [default: 20] Maximum number of results to return
|
|
1413
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to the
|
|
1414
|
-
keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.
|
|
1415
1378
|
|
|
1416
1379
|
GLOBAL FLAGS
|
|
1417
1380
|
-C, --chdir=<value> [default: .] directory to run command in
|
|
@@ -1427,7 +1390,7 @@ EXAMPLES
|
|
|
1427
1390
|
$ hereya search database --json
|
|
1428
1391
|
```
|
|
1429
1392
|
|
|
1430
|
-
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1393
|
+
_See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/search/index.ts)_
|
|
1431
1394
|
|
|
1432
1395
|
## `hereya unbootstrap INFRASTRUCTURETYPE`
|
|
1433
1396
|
|
|
@@ -1452,7 +1415,7 @@ EXAMPLES
|
|
|
1452
1415
|
$ hereya unbootstrap local
|
|
1453
1416
|
```
|
|
1454
1417
|
|
|
1455
|
-
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1418
|
+
_See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/unbootstrap/index.ts)_
|
|
1456
1419
|
|
|
1457
1420
|
## `hereya undeploy`
|
|
1458
1421
|
|
|
@@ -1460,7 +1423,7 @@ Undeploy a hereya project by removing all resources.
|
|
|
1460
1423
|
|
|
1461
1424
|
```
|
|
1462
1425
|
USAGE
|
|
1463
|
-
$ hereya undeploy -w <value> [--chdir <value>] [--debug] [--local]
|
|
1426
|
+
$ hereya undeploy -w <value> [--chdir <value>] [--debug] [--local]
|
|
1464
1427
|
|
|
1465
1428
|
FLAGS
|
|
1466
1429
|
-w, --workspace=<value> (required) name of the workspace to undeploy the packages for
|
|
@@ -1470,9 +1433,6 @@ FLAGS
|
|
|
1470
1433
|
environment variable.
|
|
1471
1434
|
--debug enable debug mode
|
|
1472
1435
|
--local force local execution (skip remote executor)
|
|
1473
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to
|
|
1474
|
-
the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment
|
|
1475
|
-
variable.
|
|
1476
1436
|
|
|
1477
1437
|
DESCRIPTION
|
|
1478
1438
|
Undeploy a hereya project by removing all resources.
|
|
@@ -1481,7 +1441,7 @@ EXAMPLES
|
|
|
1481
1441
|
$ hereya undeploy
|
|
1482
1442
|
```
|
|
1483
1443
|
|
|
1484
|
-
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1444
|
+
_See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/undeploy/index.ts)_
|
|
1485
1445
|
|
|
1486
1446
|
## `hereya uninit PROJECT`
|
|
1487
1447
|
|
|
@@ -1509,7 +1469,7 @@ EXAMPLES
|
|
|
1509
1469
|
$ hereya uninit myProject -w dev -p prodWorkspace=prod
|
|
1510
1470
|
```
|
|
1511
1471
|
|
|
1512
|
-
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1472
|
+
_See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/uninit/index.ts)_
|
|
1513
1473
|
|
|
1514
1474
|
## `hereya up`
|
|
1515
1475
|
|
|
@@ -1517,7 +1477,7 @@ Provision all packages in the project.
|
|
|
1517
1477
|
|
|
1518
1478
|
```
|
|
1519
1479
|
USAGE
|
|
1520
|
-
$ hereya up [--chdir <value>] [--debug] [--deploy] [-s <value>...] [
|
|
1480
|
+
$ hereya up [--chdir <value>] [--debug] [--deploy] [-s <value>...] [-w <value>]
|
|
1521
1481
|
|
|
1522
1482
|
FLAGS
|
|
1523
1483
|
-s, --select=<value>... [default: ] select the packages to provision
|
|
@@ -1528,9 +1488,6 @@ FLAGS
|
|
|
1528
1488
|
environment variable.
|
|
1529
1489
|
--debug enable debug mode
|
|
1530
1490
|
--deploy provision deployment companion packages
|
|
1531
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to
|
|
1532
|
-
the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment
|
|
1533
|
-
variable.
|
|
1534
1491
|
|
|
1535
1492
|
DESCRIPTION
|
|
1536
1493
|
Provision all packages in the project.
|
|
@@ -1539,7 +1496,7 @@ EXAMPLES
|
|
|
1539
1496
|
$ hereya up
|
|
1540
1497
|
```
|
|
1541
1498
|
|
|
1542
|
-
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1499
|
+
_See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/up/index.ts)_
|
|
1543
1500
|
|
|
1544
1501
|
## `hereya update [VERSION]`
|
|
1545
1502
|
|
|
@@ -1561,7 +1518,7 @@ EXAMPLES
|
|
|
1561
1518
|
$ hereya update 0.75.0
|
|
1562
1519
|
```
|
|
1563
1520
|
|
|
1564
|
-
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1521
|
+
_See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/update/index.ts)_
|
|
1565
1522
|
|
|
1566
1523
|
## `hereya workspace create NAME`
|
|
1567
1524
|
|
|
@@ -1586,7 +1543,7 @@ EXAMPLES
|
|
|
1586
1543
|
$ hereya workspace create dev
|
|
1587
1544
|
```
|
|
1588
1545
|
|
|
1589
|
-
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1546
|
+
_See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/create/index.ts)_
|
|
1590
1547
|
|
|
1591
1548
|
## `hereya workspace delete NAME`
|
|
1592
1549
|
|
|
@@ -1606,7 +1563,7 @@ EXAMPLES
|
|
|
1606
1563
|
$ hereya workspace delete dev
|
|
1607
1564
|
```
|
|
1608
1565
|
|
|
1609
|
-
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1566
|
+
_See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/delete/index.ts)_
|
|
1610
1567
|
|
|
1611
1568
|
## `hereya workspace env [NAME]`
|
|
1612
1569
|
|
|
@@ -1632,7 +1589,7 @@ EXAMPLES
|
|
|
1632
1589
|
$ hereya workspace env myEnv -w dev
|
|
1633
1590
|
```
|
|
1634
1591
|
|
|
1635
|
-
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1592
|
+
_See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/env/index.ts)_
|
|
1636
1593
|
|
|
1637
1594
|
## `hereya workspace env set`
|
|
1638
1595
|
|
|
@@ -1656,7 +1613,7 @@ EXAMPLES
|
|
|
1656
1613
|
$ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
|
|
1657
1614
|
```
|
|
1658
1615
|
|
|
1659
|
-
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1616
|
+
_See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/env/set/index.ts)_
|
|
1660
1617
|
|
|
1661
1618
|
## `hereya workspace env unset`
|
|
1662
1619
|
|
|
@@ -1677,7 +1634,7 @@ EXAMPLES
|
|
|
1677
1634
|
$ hereya workspace env unset -w my-workspace -n myVar
|
|
1678
1635
|
```
|
|
1679
1636
|
|
|
1680
|
-
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1637
|
+
_See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/env/unset/index.ts)_
|
|
1681
1638
|
|
|
1682
1639
|
## `hereya workspace executor install`
|
|
1683
1640
|
|
|
@@ -1685,21 +1642,18 @@ Install a remote executor into a workspace
|
|
|
1685
1642
|
|
|
1686
1643
|
```
|
|
1687
1644
|
USAGE
|
|
1688
|
-
$ hereya workspace executor install -w <value> [--debug] [-f]
|
|
1645
|
+
$ hereya workspace executor install -w <value> [--debug] [-f]
|
|
1689
1646
|
|
|
1690
1647
|
FLAGS
|
|
1691
1648
|
-f, --force force reinstall even if executor is already installed
|
|
1692
1649
|
-w, --workspace=<value> (required) name of the workspace
|
|
1693
1650
|
--debug enable debug mode
|
|
1694
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to
|
|
1695
|
-
the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment
|
|
1696
|
-
variable.
|
|
1697
1651
|
|
|
1698
1652
|
DESCRIPTION
|
|
1699
1653
|
Install a remote executor into a workspace
|
|
1700
1654
|
```
|
|
1701
1655
|
|
|
1702
|
-
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1656
|
+
_See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/executor/install/index.ts)_
|
|
1703
1657
|
|
|
1704
1658
|
## `hereya workspace executor token`
|
|
1705
1659
|
|
|
@@ -1707,19 +1661,16 @@ Generate a workspace-scoped executor token for the remote executor
|
|
|
1707
1661
|
|
|
1708
1662
|
```
|
|
1709
1663
|
USAGE
|
|
1710
|
-
$ hereya workspace executor token -w <value>
|
|
1664
|
+
$ hereya workspace executor token -w <value>
|
|
1711
1665
|
|
|
1712
1666
|
FLAGS
|
|
1713
1667
|
-w, --workspace=<value> (required) name of the workspace
|
|
1714
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to
|
|
1715
|
-
the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment
|
|
1716
|
-
variable.
|
|
1717
1668
|
|
|
1718
1669
|
DESCRIPTION
|
|
1719
1670
|
Generate a workspace-scoped executor token for the remote executor
|
|
1720
1671
|
```
|
|
1721
1672
|
|
|
1722
|
-
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1673
|
+
_See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/executor/token/index.ts)_
|
|
1723
1674
|
|
|
1724
1675
|
## `hereya workspace executor uninstall`
|
|
1725
1676
|
|
|
@@ -1727,20 +1678,17 @@ Uninstall the remote executor from a workspace
|
|
|
1727
1678
|
|
|
1728
1679
|
```
|
|
1729
1680
|
USAGE
|
|
1730
|
-
$ hereya workspace executor uninstall -w <value> [--debug]
|
|
1681
|
+
$ hereya workspace executor uninstall -w <value> [--debug]
|
|
1731
1682
|
|
|
1732
1683
|
FLAGS
|
|
1733
1684
|
-w, --workspace=<value> (required) name of the workspace
|
|
1734
1685
|
--debug enable debug mode
|
|
1735
|
-
--token=<value> Ephemeral cloud access token used for this invocation only. Held in memory; never written to
|
|
1736
|
-
the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment
|
|
1737
|
-
variable.
|
|
1738
1686
|
|
|
1739
1687
|
DESCRIPTION
|
|
1740
1688
|
Uninstall the remote executor from a workspace
|
|
1741
1689
|
```
|
|
1742
1690
|
|
|
1743
|
-
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1691
|
+
_See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/executor/uninstall/index.ts)_
|
|
1744
1692
|
|
|
1745
1693
|
## `hereya workspace install PACKAGE`
|
|
1746
1694
|
|
|
@@ -1767,7 +1715,7 @@ EXAMPLES
|
|
|
1767
1715
|
$ hereya workspace install hereya/aws-cognito
|
|
1768
1716
|
```
|
|
1769
1717
|
|
|
1770
|
-
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1718
|
+
_See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/install/index.ts)_
|
|
1771
1719
|
|
|
1772
1720
|
## `hereya workspace list`
|
|
1773
1721
|
|
|
@@ -1791,7 +1739,7 @@ EXAMPLES
|
|
|
1791
1739
|
$ hereya workspace list --org personal
|
|
1792
1740
|
```
|
|
1793
1741
|
|
|
1794
|
-
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1742
|
+
_See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/list/index.ts)_
|
|
1795
1743
|
|
|
1796
1744
|
## `hereya workspace set-profile PROFILE`
|
|
1797
1745
|
|
|
@@ -1815,7 +1763,7 @@ EXAMPLES
|
|
|
1815
1763
|
$ hereya workspace set-profile prod-profile -w production
|
|
1816
1764
|
```
|
|
1817
1765
|
|
|
1818
|
-
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1766
|
+
_See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/set-profile/index.ts)_
|
|
1819
1767
|
|
|
1820
1768
|
## `hereya workspace uninstall PACKAGE`
|
|
1821
1769
|
|
|
@@ -1842,5 +1790,5 @@ EXAMPLES
|
|
|
1842
1790
|
$ hereya workspace uninstall hereya/aws-cognito
|
|
1843
1791
|
```
|
|
1844
1792
|
|
|
1845
|
-
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.
|
|
1793
|
+
_See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.89.0/src/commands/workspace/uninstall/index.ts)_
|
|
1846
1794
|
<!-- commandsstop -->
|