hereya-cli 0.85.5 → 0.86.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.
Files changed (41) hide show
  1. package/README.md +130 -80
  2. package/dist/backend/cloud/cloud-backend.d.ts +1 -0
  3. package/dist/backend/cloud/cloud-backend.js +6 -1
  4. package/dist/backend/index.js +24 -0
  5. package/dist/commands/app/deploy/index.d.ts +2 -0
  6. package/dist/commands/app/deploy/index.js +17 -0
  7. package/dist/commands/app/deployments/index.d.ts +4 -0
  8. package/dist/commands/app/deployments/index.js +20 -1
  9. package/dist/commands/app/destroy/index.d.ts +2 -0
  10. package/dist/commands/app/destroy/index.js +19 -0
  11. package/dist/commands/app/env/index.d.ts +2 -0
  12. package/dist/commands/app/env/index.js +17 -0
  13. package/dist/commands/app/list/index.d.ts +4 -0
  14. package/dist/commands/app/list/index.js +20 -1
  15. package/dist/commands/app/status/index.d.ts +2 -0
  16. package/dist/commands/app/status/index.js +17 -0
  17. package/dist/commands/deploy/index.d.ts +2 -0
  18. package/dist/commands/deploy/index.js +90 -55
  19. package/dist/commands/init/index.d.ts +2 -0
  20. package/dist/commands/init/index.js +18 -1
  21. package/dist/commands/login/index.js +5 -0
  22. package/dist/commands/publish/index.d.ts +2 -0
  23. package/dist/commands/publish/index.js +17 -0
  24. package/dist/commands/run/index.d.ts +2 -0
  25. package/dist/commands/run/index.js +17 -0
  26. package/dist/commands/search/index.d.ts +2 -0
  27. package/dist/commands/search/index.js +38 -21
  28. package/dist/commands/undeploy/index.d.ts +2 -0
  29. package/dist/commands/undeploy/index.js +50 -15
  30. package/dist/commands/up/index.d.ts +2 -0
  31. package/dist/commands/up/index.js +17 -1
  32. package/dist/commands/workspace/executor/install/index.d.ts +2 -0
  33. package/dist/commands/workspace/executor/install/index.js +17 -1
  34. package/dist/commands/workspace/executor/token/index.d.ts +2 -0
  35. package/dist/commands/workspace/executor/token/index.js +17 -0
  36. package/dist/commands/workspace/executor/uninstall/index.d.ts +2 -0
  37. package/dist/commands/workspace/executor/uninstall/index.js +17 -1
  38. package/dist/lib/ephemeral-token.d.ts +38 -0
  39. package/dist/lib/ephemeral-token.js +36 -0
  40. package/oclif.manifest.json +133 -3
  41. package/package.json +1 -1
@@ -241,6 +241,14 @@
241
241
  "allowNo": false,
242
242
  "type": "boolean"
243
243
  },
244
+ "token": {
245
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
246
+ "name": "token",
247
+ "required": false,
248
+ "hasDynamicHelp": false,
249
+ "multiple": false,
250
+ "type": "option"
251
+ },
244
252
  "workspace": {
245
253
  "char": "w",
246
254
  "description": "name of the workspace to deploy the packages for",
@@ -573,6 +581,14 @@
573
581
  "multiple": false,
574
582
  "type": "option"
575
583
  },
584
+ "token": {
585
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
586
+ "name": "token",
587
+ "required": false,
588
+ "hasDynamicHelp": false,
589
+ "multiple": false,
590
+ "type": "option"
591
+ },
576
592
  "workspace": {
577
593
  "char": "w",
578
594
  "description": "workspace to set as default",
@@ -758,6 +774,14 @@
758
774
  "hasDynamicHelp": false,
759
775
  "multiple": false,
760
776
  "type": "option"
777
+ },
778
+ "token": {
779
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
780
+ "name": "token",
781
+ "required": false,
782
+ "hasDynamicHelp": false,
783
+ "multiple": false,
784
+ "type": "option"
761
785
  }
762
786
  },
763
787
  "hasDynamicHelp": false,
@@ -853,6 +877,14 @@
853
877
  "multiple": false,
854
878
  "type": "option"
855
879
  },
880
+ "token": {
881
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
882
+ "name": "token",
883
+ "required": false,
884
+ "hasDynamicHelp": false,
885
+ "multiple": false,
886
+ "type": "option"
887
+ },
856
888
  "workspace": {
857
889
  "char": "w",
858
890
  "description": "name of the workspace to run the command in",
@@ -920,6 +952,14 @@
920
952
  "hasDynamicHelp": false,
921
953
  "multiple": false,
922
954
  "type": "option"
955
+ },
956
+ "token": {
957
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
958
+ "name": "token",
959
+ "required": false,
960
+ "hasDynamicHelp": false,
961
+ "multiple": false,
962
+ "type": "option"
923
963
  }
924
964
  },
925
965
  "hasDynamicHelp": false,
@@ -1005,6 +1045,14 @@
1005
1045
  "allowNo": false,
1006
1046
  "type": "boolean"
1007
1047
  },
1048
+ "token": {
1049
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
1050
+ "name": "token",
1051
+ "required": false,
1052
+ "hasDynamicHelp": false,
1053
+ "multiple": false,
1054
+ "type": "option"
1055
+ },
1008
1056
  "workspace": {
1009
1057
  "char": "w",
1010
1058
  "description": "name of the workspace to undeploy the packages for",
@@ -1127,6 +1175,14 @@
1127
1175
  "multiple": true,
1128
1176
  "type": "option"
1129
1177
  },
1178
+ "token": {
1179
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
1180
+ "name": "token",
1181
+ "required": false,
1182
+ "hasDynamicHelp": false,
1183
+ "multiple": false,
1184
+ "type": "option"
1185
+ },
1130
1186
  "workspace": {
1131
1187
  "char": "w",
1132
1188
  "description": "name of the workspace to install the packages for",
@@ -1224,6 +1280,14 @@
1224
1280
  "multiple": true,
1225
1281
  "type": "option"
1226
1282
  },
1283
+ "token": {
1284
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
1285
+ "name": "token",
1286
+ "required": false,
1287
+ "hasDynamicHelp": false,
1288
+ "multiple": false,
1289
+ "type": "option"
1290
+ },
1227
1291
  "version": {
1228
1292
  "description": "specific app version to deploy (defaults to latest)",
1229
1293
  "name": "version",
@@ -1271,7 +1335,16 @@
1271
1335
  "examples": [
1272
1336
  "<%= config.bin %> <%= command.id %> my-org/my-app"
1273
1337
  ],
1274
- "flags": {},
1338
+ "flags": {
1339
+ "token": {
1340
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
1341
+ "name": "token",
1342
+ "required": false,
1343
+ "hasDynamicHelp": false,
1344
+ "multiple": false,
1345
+ "type": "option"
1346
+ }
1347
+ },
1275
1348
  "hasDynamicHelp": false,
1276
1349
  "hiddenAliases": [],
1277
1350
  "id": "app:deployments",
@@ -1326,6 +1399,14 @@
1326
1399
  "multiple": true,
1327
1400
  "type": "option"
1328
1401
  },
1402
+ "token": {
1403
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
1404
+ "name": "token",
1405
+ "required": false,
1406
+ "hasDynamicHelp": false,
1407
+ "multiple": false,
1408
+ "type": "option"
1409
+ },
1329
1410
  "workspace": {
1330
1411
  "char": "w",
1331
1412
  "description": "workspace where the app is currently deployed",
@@ -1373,6 +1454,14 @@
1373
1454
  "<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace DATABASE_URL"
1374
1455
  ],
1375
1456
  "flags": {
1457
+ "token": {
1458
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
1459
+ "name": "token",
1460
+ "required": false,
1461
+ "hasDynamicHelp": false,
1462
+ "multiple": false,
1463
+ "type": "option"
1464
+ },
1376
1465
  "workspace": {
1377
1466
  "char": "w",
1378
1467
  "description": "workspace to read env outputs from",
@@ -1407,7 +1496,16 @@
1407
1496
  "examples": [
1408
1497
  "<%= config.bin %> <%= command.id %>"
1409
1498
  ],
1410
- "flags": {},
1499
+ "flags": {
1500
+ "token": {
1501
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
1502
+ "name": "token",
1503
+ "required": false,
1504
+ "hasDynamicHelp": false,
1505
+ "multiple": false,
1506
+ "type": "option"
1507
+ }
1508
+ },
1411
1509
  "hasDynamicHelp": false,
1412
1510
  "hiddenAliases": [],
1413
1511
  "id": "app:list",
@@ -1489,6 +1587,14 @@
1489
1587
  "<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace"
1490
1588
  ],
1491
1589
  "flags": {
1590
+ "token": {
1591
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
1592
+ "name": "token",
1593
+ "required": false,
1594
+ "hasDynamicHelp": false,
1595
+ "multiple": false,
1596
+ "type": "option"
1597
+ },
1492
1598
  "workspace": {
1493
1599
  "char": "w",
1494
1600
  "description": "workspace to read deployment status from",
@@ -3111,6 +3217,14 @@
3111
3217
  "allowNo": false,
3112
3218
  "type": "boolean"
3113
3219
  },
3220
+ "token": {
3221
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
3222
+ "name": "token",
3223
+ "required": false,
3224
+ "hasDynamicHelp": false,
3225
+ "multiple": false,
3226
+ "type": "option"
3227
+ },
3114
3228
  "workspace": {
3115
3229
  "char": "w",
3116
3230
  "description": "name of the workspace",
@@ -3144,6 +3258,14 @@
3144
3258
  "args": {},
3145
3259
  "description": "Generate a workspace-scoped executor token for the remote executor",
3146
3260
  "flags": {
3261
+ "token": {
3262
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
3263
+ "name": "token",
3264
+ "required": false,
3265
+ "hasDynamicHelp": false,
3266
+ "multiple": false,
3267
+ "type": "option"
3268
+ },
3147
3269
  "workspace": {
3148
3270
  "char": "w",
3149
3271
  "description": "name of the workspace",
@@ -3183,6 +3305,14 @@
3183
3305
  "allowNo": false,
3184
3306
  "type": "boolean"
3185
3307
  },
3308
+ "token": {
3309
+ "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
3310
+ "name": "token",
3311
+ "required": false,
3312
+ "hasDynamicHelp": false,
3313
+ "multiple": false,
3314
+ "type": "option"
3315
+ },
3186
3316
  "workspace": {
3187
3317
  "char": "w",
3188
3318
  "description": "name of the workspace",
@@ -3212,5 +3342,5 @@
3212
3342
  ]
3213
3343
  }
3214
3344
  },
3215
- "version": "0.85.5"
3345
+ "version": "0.86.0"
3216
3346
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hereya-cli",
3
3
  "description": "Infrastructure as Package",
4
- "version": "0.85.5",
4
+ "version": "0.86.0",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.js"