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.
Files changed (54) hide show
  1. package/README.md +111 -163
  2. package/dist/backend/cloud/cloud-backend.d.ts +2 -1
  3. package/dist/backend/cloud/cloud-backend.js +36 -0
  4. package/dist/backend/common.d.ts +17 -0
  5. package/dist/backend/index.js +0 -24
  6. package/dist/commands/app/deploy/index.d.ts +0 -2
  7. package/dist/commands/app/deploy/index.js +0 -17
  8. package/dist/commands/app/deployments/index.d.ts +0 -4
  9. package/dist/commands/app/deployments/index.js +1 -20
  10. package/dist/commands/app/destroy/index.d.ts +0 -2
  11. package/dist/commands/app/destroy/index.js +0 -17
  12. package/dist/commands/app/env/index.d.ts +0 -2
  13. package/dist/commands/app/env/index.js +0 -17
  14. package/dist/commands/app/list/index.d.ts +0 -4
  15. package/dist/commands/app/list/index.js +1 -20
  16. package/dist/commands/app/status/index.d.ts +0 -2
  17. package/dist/commands/app/status/index.js +0 -17
  18. package/dist/commands/clone/index.js +2 -2
  19. package/dist/commands/deploy/index.d.ts +0 -2
  20. package/dist/commands/deploy/index.js +56 -69
  21. package/dist/commands/import-repo/index.d.ts +15 -0
  22. package/dist/commands/import-repo/index.js +111 -0
  23. package/dist/commands/init/index.d.ts +0 -2
  24. package/dist/commands/init/index.js +10 -70
  25. package/dist/commands/login/index.js +0 -5
  26. package/dist/commands/publish/index.d.ts +0 -2
  27. package/dist/commands/publish/index.js +0 -17
  28. package/dist/commands/run/index.d.ts +0 -2
  29. package/dist/commands/run/index.js +0 -17
  30. package/dist/commands/search/index.d.ts +0 -2
  31. package/dist/commands/search/index.js +21 -38
  32. package/dist/commands/undeploy/index.d.ts +0 -2
  33. package/dist/commands/undeploy/index.js +14 -27
  34. package/dist/commands/up/index.d.ts +0 -2
  35. package/dist/commands/up/index.js +1 -17
  36. package/dist/commands/workspace/executor/install/index.d.ts +0 -2
  37. package/dist/commands/workspace/executor/install/index.js +1 -17
  38. package/dist/commands/workspace/executor/token/index.d.ts +0 -2
  39. package/dist/commands/workspace/executor/token/index.js +0 -17
  40. package/dist/commands/workspace/executor/uninstall/index.d.ts +0 -2
  41. package/dist/commands/workspace/executor/uninstall/index.js +1 -17
  42. package/dist/executor/context.js +15 -12
  43. package/dist/lib/clone-and-configure.d.ts +43 -0
  44. package/dist/lib/clone-and-configure.js +77 -0
  45. package/dist/lib/hereya-token.js +11 -10
  46. package/dist/lib/package/index.js +24 -20
  47. package/oclif.manifest.json +145 -254
  48. package/package.json +1 -1
  49. package/dist/commands/git/index.d.ts +0 -12
  50. package/dist/commands/git/index.js +0 -116
  51. package/dist/lib/active-cloud.d.ts +0 -31
  52. package/dist/lib/active-cloud.js +0 -55
  53. package/dist/lib/ephemeral-token.d.ts +0 -45
  54. package/dist/lib/ephemeral-token.js +0 -89
@@ -241,14 +241,6 @@
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
- },
252
244
  "workspace": {
253
245
  "char": "w",
254
246
  "description": "name of the workspace to deploy the packages for",
@@ -455,28 +447,58 @@
455
447
  "index.js"
456
448
  ]
457
449
  },
458
- "git": {
450
+ "import": {
459
451
  "aliases": [],
460
- "args": {},
461
- "description": "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.",
452
+ "args": {
453
+ "package": {
454
+ "description": "\n The package to import, specified as a GitHub repository in the format owner/repository.\n To change the registry URL, set the HEREYA_REGISTRY_URL environment variable, so that it points to $HEREYA_REGISTRY_URL/owner/repository.\n For local packages, use the format local/path/to/package where path/to/package is the path to the package on your local machine.\n ",
455
+ "name": "package",
456
+ "required": true
457
+ }
458
+ },
459
+ "description": "Import a package resource into your project",
462
460
  "examples": [
463
- "<%= config.bin %> <%= command.id %> --token <token> -- push",
464
- "<%= config.bin %> <%= command.id %> --token <token> -- pull --rebase",
465
- "<%= config.bin %> <%= command.id %> --token <token> -- clone https://github.com/owner/repo my-dir",
466
- "<%= config.bin %> <%= command.id %> -- log --oneline -10"
461
+ "<%= config.bin %> <%= command.id %> hereya/my-package -f state.tfstate",
462
+ "<%= config.bin %> <%= command.id %> org/my-package -f state.tfstate -w my-workspace"
467
463
  ],
468
464
  "flags": {
469
465
  "chdir": {
470
- "description": "directory to run git in (cwd of the spawned git process)",
466
+ "description": "\n Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR environment variable.\n ",
471
467
  "name": "chdir",
472
468
  "required": false,
473
469
  "hasDynamicHelp": false,
474
470
  "multiple": false,
475
471
  "type": "option"
476
472
  },
477
- "token": {
478
- "description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Propagated to the git credential-helper grandchild via the HEREYA_EPHEMERAL_TOKEN env var. Takes precedence over the HEREYA_TOKEN environment variable.",
479
- "name": "token",
473
+ "debug": {
474
+ "description": "enable debug mode",
475
+ "name": "debug",
476
+ "allowNo": false,
477
+ "type": "boolean"
478
+ },
479
+ "parameter": {
480
+ "char": "p",
481
+ "description": "parameters for the package, in the form of 'key=value'. Can be specified multiple times.",
482
+ "name": "parameter",
483
+ "required": false,
484
+ "default": [],
485
+ "hasDynamicHelp": false,
486
+ "multiple": true,
487
+ "type": "option"
488
+ },
489
+ "stateFile": {
490
+ "char": "f",
491
+ "description": "state file to use",
492
+ "name": "stateFile",
493
+ "required": true,
494
+ "hasDynamicHelp": false,
495
+ "multiple": false,
496
+ "type": "option"
497
+ },
498
+ "workspace": {
499
+ "char": "w",
500
+ "description": "workspace to import into",
501
+ "name": "workspace",
480
502
  "required": false,
481
503
  "hasDynamicHelp": false,
482
504
  "multiple": false,
@@ -485,63 +507,54 @@
485
507
  },
486
508
  "hasDynamicHelp": false,
487
509
  "hiddenAliases": [],
488
- "id": "git",
510
+ "id": "import",
489
511
  "pluginAlias": "hereya-cli",
490
512
  "pluginName": "hereya-cli",
491
513
  "pluginType": "core",
492
- "strict": false,
514
+ "strict": true,
493
515
  "enableJsonFlag": false,
494
516
  "isESM": true,
495
517
  "relativePath": [
496
518
  "dist",
497
519
  "commands",
498
- "git",
520
+ "import",
499
521
  "index.js"
500
522
  ]
501
523
  },
502
- "import": {
524
+ "import-repo": {
503
525
  "aliases": [],
504
526
  "args": {
505
- "package": {
506
- "description": "\n The package to import, specified as a GitHub repository in the format owner/repository.\n To change the registry URL, set the HEREYA_REGISTRY_URL environment variable, so that it points to $HEREYA_REGISTRY_URL/owner/repository.\n For local packages, use the format local/path/to/package where path/to/package is the path to the package on your local machine.\n ",
507
- "name": "package",
527
+ "project": {
528
+ "description": "project name",
529
+ "name": "project",
508
530
  "required": true
509
531
  }
510
532
  },
511
- "description": "Import a package resource into your project",
533
+ "description": "Register an existing GitHub repository as a hereya project so it can be deployed via the remote executor.",
512
534
  "examples": [
513
- "<%= config.bin %> <%= command.id %> hereya/my-package -f state.tfstate",
514
- "<%= config.bin %> <%= command.id %> org/my-package -f state.tfstate -w my-workspace"
535
+ "<%= config.bin %> <%= command.id %> myProject -w=dev -r=https://github.com/acme/api.git",
536
+ "<%= config.bin %> <%= command.id %> myProject -w=dev -r=https://github.com/acme/api --clone",
537
+ "<%= config.bin %> <%= command.id %> myProject -w=dev -r=https://github.com/acme/api --clone --chdir=./api"
515
538
  ],
516
539
  "flags": {
517
540
  "chdir": {
518
- "description": "\n Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR environment variable.\n ",
541
+ "description": "directory to clone into (only meaningful with --clone)",
519
542
  "name": "chdir",
520
543
  "required": false,
521
544
  "hasDynamicHelp": false,
522
545
  "multiple": false,
523
546
  "type": "option"
524
547
  },
525
- "debug": {
526
- "description": "enable debug mode",
527
- "name": "debug",
548
+ "clone": {
549
+ "description": "also clone the repository locally and write hereya.yaml after the import",
550
+ "name": "clone",
528
551
  "allowNo": false,
529
552
  "type": "boolean"
530
553
  },
531
- "parameter": {
532
- "char": "p",
533
- "description": "parameters for the package, in the form of 'key=value'. Can be specified multiple times.",
534
- "name": "parameter",
535
- "required": false,
536
- "default": [],
537
- "hasDynamicHelp": false,
538
- "multiple": true,
539
- "type": "option"
540
- },
541
- "stateFile": {
542
- "char": "f",
543
- "description": "state file to use",
544
- "name": "stateFile",
554
+ "repo-url": {
555
+ "char": "r",
556
+ "description": "GitHub HTTPS clone URL (e.g. https://github.com/owner/repo.git)",
557
+ "name": "repo-url",
545
558
  "required": true,
546
559
  "hasDynamicHelp": false,
547
560
  "multiple": false,
@@ -549,9 +562,9 @@
549
562
  },
550
563
  "workspace": {
551
564
  "char": "w",
552
- "description": "workspace to import into",
565
+ "description": "workspace to set as default",
553
566
  "name": "workspace",
554
- "required": false,
567
+ "required": true,
555
568
  "hasDynamicHelp": false,
556
569
  "multiple": false,
557
570
  "type": "option"
@@ -559,7 +572,7 @@
559
572
  },
560
573
  "hasDynamicHelp": false,
561
574
  "hiddenAliases": [],
562
- "id": "import",
575
+ "id": "import-repo",
563
576
  "pluginAlias": "hereya-cli",
564
577
  "pluginName": "hereya-cli",
565
578
  "pluginType": "core",
@@ -569,7 +582,7 @@
569
582
  "relativePath": [
570
583
  "dist",
571
584
  "commands",
572
- "import",
585
+ "import-repo",
573
586
  "index.js"
574
587
  ]
575
588
  },
@@ -625,14 +638,6 @@
625
638
  "multiple": false,
626
639
  "type": "option"
627
640
  },
628
- "token": {
629
- "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.",
630
- "name": "token",
631
- "required": false,
632
- "hasDynamicHelp": false,
633
- "multiple": false,
634
- "type": "option"
635
- },
636
641
  "workspace": {
637
642
  "char": "w",
638
643
  "description": "workspace to set as default",
@@ -818,14 +823,6 @@
818
823
  "hasDynamicHelp": false,
819
824
  "multiple": false,
820
825
  "type": "option"
821
- },
822
- "token": {
823
- "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.",
824
- "name": "token",
825
- "required": false,
826
- "hasDynamicHelp": false,
827
- "multiple": false,
828
- "type": "option"
829
826
  }
830
827
  },
831
828
  "hasDynamicHelp": false,
@@ -921,14 +918,6 @@
921
918
  "multiple": false,
922
919
  "type": "option"
923
920
  },
924
- "token": {
925
- "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.",
926
- "name": "token",
927
- "required": false,
928
- "hasDynamicHelp": false,
929
- "multiple": false,
930
- "type": "option"
931
- },
932
921
  "workspace": {
933
922
  "char": "w",
934
923
  "description": "name of the workspace to run the command in",
@@ -996,14 +985,6 @@
996
985
  "hasDynamicHelp": false,
997
986
  "multiple": false,
998
987
  "type": "option"
999
- },
1000
- "token": {
1001
- "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.",
1002
- "name": "token",
1003
- "required": false,
1004
- "hasDynamicHelp": false,
1005
- "multiple": false,
1006
- "type": "option"
1007
988
  }
1008
989
  },
1009
990
  "hasDynamicHelp": false,
@@ -1089,14 +1070,6 @@
1089
1070
  "allowNo": false,
1090
1071
  "type": "boolean"
1091
1072
  },
1092
- "token": {
1093
- "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.",
1094
- "name": "token",
1095
- "required": false,
1096
- "hasDynamicHelp": false,
1097
- "multiple": false,
1098
- "type": "option"
1099
- },
1100
1073
  "workspace": {
1101
1074
  "char": "w",
1102
1075
  "description": "name of the workspace to undeploy the packages for",
@@ -1123,57 +1096,43 @@
1123
1096
  "index.js"
1124
1097
  ]
1125
1098
  },
1126
- "up": {
1099
+ "uninit": {
1127
1100
  "aliases": [],
1128
- "args": {},
1129
- "description": "Provision all packages in the project.",
1101
+ "args": {
1102
+ "project": {
1103
+ "description": "project name",
1104
+ "name": "project",
1105
+ "required": true
1106
+ }
1107
+ },
1108
+ "description": "Destroy template infrastructure and uninitialize a project.",
1130
1109
  "examples": [
1131
- "<%= config.bin %> <%= command.id %>"
1110
+ "<%= config.bin %> <%= command.id %> myProject -w dev",
1111
+ "<%= config.bin %> <%= command.id %> myProject -w dev -p prodWorkspace=prod"
1132
1112
  ],
1133
1113
  "flags": {
1134
1114
  "chdir": {
1135
- "description": "\n Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR environment variable.\n ",
1115
+ "description": "directory to run command in",
1136
1116
  "name": "chdir",
1137
1117
  "required": false,
1138
1118
  "hasDynamicHelp": false,
1139
1119
  "multiple": false,
1140
1120
  "type": "option"
1141
1121
  },
1142
- "debug": {
1143
- "description": "enable debug mode",
1144
- "name": "debug",
1145
- "allowNo": false,
1146
- "type": "boolean"
1147
- },
1148
- "deploy": {
1149
- "description": "provision deployment companion packages",
1150
- "name": "deploy",
1151
- "required": false,
1152
- "allowNo": false,
1153
- "type": "boolean"
1154
- },
1155
- "select": {
1156
- "char": "s",
1157
- "description": "select the packages to provision",
1158
- "name": "select",
1122
+ "parameter": {
1123
+ "char": "p",
1124
+ "description": "parameter for the template, in the form of 'key=value'. Overrides saved parameters.",
1125
+ "name": "parameter",
1159
1126
  "default": [],
1160
1127
  "hasDynamicHelp": false,
1161
1128
  "multiple": true,
1162
1129
  "type": "option"
1163
1130
  },
1164
- "token": {
1165
- "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.",
1166
- "name": "token",
1167
- "required": false,
1168
- "hasDynamicHelp": false,
1169
- "multiple": false,
1170
- "type": "option"
1171
- },
1172
1131
  "workspace": {
1173
1132
  "char": "w",
1174
- "description": "name of the workspace to install the packages for",
1133
+ "description": "workspace used during init",
1175
1134
  "name": "workspace",
1176
- "required": false,
1135
+ "required": true,
1177
1136
  "hasDynamicHelp": false,
1178
1137
  "multiple": false,
1179
1138
  "type": "option"
@@ -1181,7 +1140,7 @@
1181
1140
  },
1182
1141
  "hasDynamicHelp": false,
1183
1142
  "hiddenAliases": [],
1184
- "id": "up",
1143
+ "id": "uninit",
1185
1144
  "pluginAlias": "hereya-cli",
1186
1145
  "pluginName": "hereya-cli",
1187
1146
  "pluginType": "core",
@@ -1191,37 +1150,43 @@
1191
1150
  "relativePath": [
1192
1151
  "dist",
1193
1152
  "commands",
1194
- "up",
1153
+ "uninit",
1195
1154
  "index.js"
1196
1155
  ]
1197
1156
  },
1198
- "uninit": {
1157
+ "up": {
1199
1158
  "aliases": [],
1200
- "args": {
1201
- "project": {
1202
- "description": "project name",
1203
- "name": "project",
1204
- "required": true
1205
- }
1206
- },
1207
- "description": "Destroy template infrastructure and uninitialize a project.",
1159
+ "args": {},
1160
+ "description": "Provision all packages in the project.",
1208
1161
  "examples": [
1209
- "<%= config.bin %> <%= command.id %> myProject -w dev",
1210
- "<%= config.bin %> <%= command.id %> myProject -w dev -p prodWorkspace=prod"
1162
+ "<%= config.bin %> <%= command.id %>"
1211
1163
  ],
1212
1164
  "flags": {
1213
1165
  "chdir": {
1214
- "description": "directory to run command in",
1166
+ "description": "\n Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR environment variable.\n ",
1215
1167
  "name": "chdir",
1216
1168
  "required": false,
1217
1169
  "hasDynamicHelp": false,
1218
1170
  "multiple": false,
1219
1171
  "type": "option"
1220
1172
  },
1221
- "parameter": {
1222
- "char": "p",
1223
- "description": "parameter for the template, in the form of 'key=value'. Overrides saved parameters.",
1224
- "name": "parameter",
1173
+ "debug": {
1174
+ "description": "enable debug mode",
1175
+ "name": "debug",
1176
+ "allowNo": false,
1177
+ "type": "boolean"
1178
+ },
1179
+ "deploy": {
1180
+ "description": "provision deployment companion packages",
1181
+ "name": "deploy",
1182
+ "required": false,
1183
+ "allowNo": false,
1184
+ "type": "boolean"
1185
+ },
1186
+ "select": {
1187
+ "char": "s",
1188
+ "description": "select the packages to provision",
1189
+ "name": "select",
1225
1190
  "default": [],
1226
1191
  "hasDynamicHelp": false,
1227
1192
  "multiple": true,
@@ -1229,9 +1194,9 @@
1229
1194
  },
1230
1195
  "workspace": {
1231
1196
  "char": "w",
1232
- "description": "workspace used during init",
1197
+ "description": "name of the workspace to install the packages for",
1233
1198
  "name": "workspace",
1234
- "required": true,
1199
+ "required": false,
1235
1200
  "hasDynamicHelp": false,
1236
1201
  "multiple": false,
1237
1202
  "type": "option"
@@ -1239,7 +1204,7 @@
1239
1204
  },
1240
1205
  "hasDynamicHelp": false,
1241
1206
  "hiddenAliases": [],
1242
- "id": "uninit",
1207
+ "id": "up",
1243
1208
  "pluginAlias": "hereya-cli",
1244
1209
  "pluginName": "hereya-cli",
1245
1210
  "pluginType": "core",
@@ -1249,7 +1214,7 @@
1249
1214
  "relativePath": [
1250
1215
  "dist",
1251
1216
  "commands",
1252
- "uninit",
1217
+ "up",
1253
1218
  "index.js"
1254
1219
  ]
1255
1220
  },
@@ -1324,14 +1289,6 @@
1324
1289
  "multiple": true,
1325
1290
  "type": "option"
1326
1291
  },
1327
- "token": {
1328
- "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.",
1329
- "name": "token",
1330
- "required": false,
1331
- "hasDynamicHelp": false,
1332
- "multiple": false,
1333
- "type": "option"
1334
- },
1335
1292
  "version": {
1336
1293
  "description": "specific app version to deploy (defaults to latest)",
1337
1294
  "name": "version",
@@ -1379,16 +1336,7 @@
1379
1336
  "examples": [
1380
1337
  "<%= config.bin %> <%= command.id %> my-org/my-app"
1381
1338
  ],
1382
- "flags": {
1383
- "token": {
1384
- "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.",
1385
- "name": "token",
1386
- "required": false,
1387
- "hasDynamicHelp": false,
1388
- "multiple": false,
1389
- "type": "option"
1390
- }
1391
- },
1339
+ "flags": {},
1392
1340
  "hasDynamicHelp": false,
1393
1341
  "hiddenAliases": [],
1394
1342
  "id": "app:deployments",
@@ -1443,14 +1391,6 @@
1443
1391
  "multiple": true,
1444
1392
  "type": "option"
1445
1393
  },
1446
- "token": {
1447
- "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.",
1448
- "name": "token",
1449
- "required": false,
1450
- "hasDynamicHelp": false,
1451
- "multiple": false,
1452
- "type": "option"
1453
- },
1454
1394
  "workspace": {
1455
1395
  "char": "w",
1456
1396
  "description": "workspace where the app is currently deployed",
@@ -1498,14 +1438,6 @@
1498
1438
  "<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace DATABASE_URL"
1499
1439
  ],
1500
1440
  "flags": {
1501
- "token": {
1502
- "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.",
1503
- "name": "token",
1504
- "required": false,
1505
- "hasDynamicHelp": false,
1506
- "multiple": false,
1507
- "type": "option"
1508
- },
1509
1441
  "workspace": {
1510
1442
  "char": "w",
1511
1443
  "description": "workspace to read env outputs from",
@@ -1540,16 +1472,7 @@
1540
1472
  "examples": [
1541
1473
  "<%= config.bin %> <%= command.id %>"
1542
1474
  ],
1543
- "flags": {
1544
- "token": {
1545
- "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.",
1546
- "name": "token",
1547
- "required": false,
1548
- "hasDynamicHelp": false,
1549
- "multiple": false,
1550
- "type": "option"
1551
- }
1552
- },
1475
+ "flags": {},
1553
1476
  "hasDynamicHelp": false,
1554
1477
  "hiddenAliases": [],
1555
1478
  "id": "app:list",
@@ -1631,14 +1554,6 @@
1631
1554
  "<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace"
1632
1555
  ],
1633
1556
  "flags": {
1634
- "token": {
1635
- "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.",
1636
- "name": "token",
1637
- "required": false,
1638
- "hasDynamicHelp": false,
1639
- "multiple": false,
1640
- "type": "option"
1641
- },
1642
1557
  "workspace": {
1643
1558
  "char": "w",
1644
1559
  "description": "workspace to read deployment status from",
@@ -3198,35 +3113,26 @@
3198
3113
  "index.js"
3199
3114
  ]
3200
3115
  },
3201
- "workspace:executor:install": {
3116
+ "workspace:env:unset": {
3202
3117
  "aliases": [],
3203
3118
  "args": {},
3204
- "description": "Install a remote executor into a workspace",
3119
+ "description": "unset an env var for a workspace",
3120
+ "examples": [
3121
+ "<%= config.bin %> <%= command.id %> -w my-workspace -n myVar"
3122
+ ],
3205
3123
  "flags": {
3206
- "debug": {
3207
- "description": "enable debug mode",
3208
- "name": "debug",
3209
- "allowNo": false,
3210
- "type": "boolean"
3211
- },
3212
- "force": {
3213
- "char": "f",
3214
- "description": "force reinstall even if executor is already installed",
3215
- "name": "force",
3216
- "allowNo": false,
3217
- "type": "boolean"
3218
- },
3219
- "token": {
3220
- "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.",
3221
- "name": "token",
3222
- "required": false,
3124
+ "name": {
3125
+ "char": "n",
3126
+ "description": "name of the env var to unset",
3127
+ "name": "name",
3128
+ "required": true,
3223
3129
  "hasDynamicHelp": false,
3224
3130
  "multiple": false,
3225
3131
  "type": "option"
3226
3132
  },
3227
3133
  "workspace": {
3228
3134
  "char": "w",
3229
- "description": "name of the workspace",
3135
+ "description": "name of the workspace to unset an env var for",
3230
3136
  "name": "workspace",
3231
3137
  "required": true,
3232
3138
  "hasDynamicHelp": false,
@@ -3236,7 +3142,7 @@
3236
3142
  },
3237
3143
  "hasDynamicHelp": false,
3238
3144
  "hiddenAliases": [],
3239
- "id": "workspace:executor:install",
3145
+ "id": "workspace:env:unset",
3240
3146
  "pluginAlias": "hereya-cli",
3241
3147
  "pluginName": "hereya-cli",
3242
3148
  "pluginType": "core",
@@ -3247,31 +3153,32 @@
3247
3153
  "dist",
3248
3154
  "commands",
3249
3155
  "workspace",
3250
- "executor",
3251
- "install",
3156
+ "env",
3157
+ "unset",
3252
3158
  "index.js"
3253
3159
  ]
3254
3160
  },
3255
- "workspace:env:unset": {
3161
+ "workspace:executor:install": {
3256
3162
  "aliases": [],
3257
3163
  "args": {},
3258
- "description": "unset an env var for a workspace",
3259
- "examples": [
3260
- "<%= config.bin %> <%= command.id %> -w my-workspace -n myVar"
3261
- ],
3164
+ "description": "Install a remote executor into a workspace",
3262
3165
  "flags": {
3263
- "name": {
3264
- "char": "n",
3265
- "description": "name of the env var to unset",
3266
- "name": "name",
3267
- "required": true,
3268
- "hasDynamicHelp": false,
3269
- "multiple": false,
3270
- "type": "option"
3166
+ "debug": {
3167
+ "description": "enable debug mode",
3168
+ "name": "debug",
3169
+ "allowNo": false,
3170
+ "type": "boolean"
3171
+ },
3172
+ "force": {
3173
+ "char": "f",
3174
+ "description": "force reinstall even if executor is already installed",
3175
+ "name": "force",
3176
+ "allowNo": false,
3177
+ "type": "boolean"
3271
3178
  },
3272
3179
  "workspace": {
3273
3180
  "char": "w",
3274
- "description": "name of the workspace to unset an env var for",
3181
+ "description": "name of the workspace",
3275
3182
  "name": "workspace",
3276
3183
  "required": true,
3277
3184
  "hasDynamicHelp": false,
@@ -3281,7 +3188,7 @@
3281
3188
  },
3282
3189
  "hasDynamicHelp": false,
3283
3190
  "hiddenAliases": [],
3284
- "id": "workspace:env:unset",
3191
+ "id": "workspace:executor:install",
3285
3192
  "pluginAlias": "hereya-cli",
3286
3193
  "pluginName": "hereya-cli",
3287
3194
  "pluginType": "core",
@@ -3292,8 +3199,8 @@
3292
3199
  "dist",
3293
3200
  "commands",
3294
3201
  "workspace",
3295
- "env",
3296
- "unset",
3202
+ "executor",
3203
+ "install",
3297
3204
  "index.js"
3298
3205
  ]
3299
3206
  },
@@ -3302,14 +3209,6 @@
3302
3209
  "args": {},
3303
3210
  "description": "Generate a workspace-scoped executor token for the remote executor",
3304
3211
  "flags": {
3305
- "token": {
3306
- "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.",
3307
- "name": "token",
3308
- "required": false,
3309
- "hasDynamicHelp": false,
3310
- "multiple": false,
3311
- "type": "option"
3312
- },
3313
3212
  "workspace": {
3314
3213
  "char": "w",
3315
3214
  "description": "name of the workspace",
@@ -3349,14 +3248,6 @@
3349
3248
  "allowNo": false,
3350
3249
  "type": "boolean"
3351
3250
  },
3352
- "token": {
3353
- "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.",
3354
- "name": "token",
3355
- "required": false,
3356
- "hasDynamicHelp": false,
3357
- "multiple": false,
3358
- "type": "option"
3359
- },
3360
3251
  "workspace": {
3361
3252
  "char": "w",
3362
3253
  "description": "name of the workspace",
@@ -3386,5 +3277,5 @@
3386
3277
  ]
3387
3278
  }
3388
3279
  },
3389
- "version": "0.87.0"
3280
+ "version": "0.89.0"
3390
3281
  }