hereya-cli 0.86.2 → 0.87.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 +97 -64
- package/dist/commands/git/index.d.ts +12 -0
- package/dist/commands/git/index.js +116 -0
- package/dist/lib/ephemeral-token.d.ts +9 -2
- package/dist/lib/ephemeral-token.js +56 -3
- package/oclif.manifest.json +448 -404
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -455,6 +455,50 @@
|
|
|
455
455
|
"index.js"
|
|
456
456
|
]
|
|
457
457
|
},
|
|
458
|
+
"git": {
|
|
459
|
+
"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.",
|
|
462
|
+
"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"
|
|
467
|
+
],
|
|
468
|
+
"flags": {
|
|
469
|
+
"chdir": {
|
|
470
|
+
"description": "directory to run git in (cwd of the spawned git process)",
|
|
471
|
+
"name": "chdir",
|
|
472
|
+
"required": false,
|
|
473
|
+
"hasDynamicHelp": false,
|
|
474
|
+
"multiple": false,
|
|
475
|
+
"type": "option"
|
|
476
|
+
},
|
|
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",
|
|
480
|
+
"required": false,
|
|
481
|
+
"hasDynamicHelp": false,
|
|
482
|
+
"multiple": false,
|
|
483
|
+
"type": "option"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"hasDynamicHelp": false,
|
|
487
|
+
"hiddenAliases": [],
|
|
488
|
+
"id": "git",
|
|
489
|
+
"pluginAlias": "hereya-cli",
|
|
490
|
+
"pluginName": "hereya-cli",
|
|
491
|
+
"pluginType": "core",
|
|
492
|
+
"strict": false,
|
|
493
|
+
"enableJsonFlag": false,
|
|
494
|
+
"isESM": true,
|
|
495
|
+
"relativePath": [
|
|
496
|
+
"dist",
|
|
497
|
+
"commands",
|
|
498
|
+
"git",
|
|
499
|
+
"index.js"
|
|
500
|
+
]
|
|
501
|
+
},
|
|
458
502
|
"import": {
|
|
459
503
|
"aliases": [],
|
|
460
504
|
"args": {
|
|
@@ -707,26 +751,35 @@
|
|
|
707
751
|
"index.js"
|
|
708
752
|
]
|
|
709
753
|
},
|
|
710
|
-
"
|
|
754
|
+
"provid": {
|
|
711
755
|
"aliases": [],
|
|
712
|
-
"args": {
|
|
713
|
-
|
|
756
|
+
"args": {
|
|
757
|
+
"package": {
|
|
758
|
+
"description": "Package name (e.g., hereya/postgres)",
|
|
759
|
+
"name": "package",
|
|
760
|
+
"required": true
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
"description": "Display the provisioning ID for a package",
|
|
714
764
|
"examples": [
|
|
715
|
-
"
|
|
716
|
-
"
|
|
765
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres",
|
|
766
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres -w dev",
|
|
767
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres --workspace staging"
|
|
717
768
|
],
|
|
718
769
|
"flags": {
|
|
719
770
|
"chdir": {
|
|
720
|
-
"
|
|
771
|
+
"char": "C",
|
|
772
|
+
"description": "Project root directory",
|
|
721
773
|
"name": "chdir",
|
|
722
774
|
"required": false,
|
|
723
775
|
"hasDynamicHelp": false,
|
|
724
776
|
"multiple": false,
|
|
725
777
|
"type": "option"
|
|
726
778
|
},
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
"
|
|
779
|
+
"workspace": {
|
|
780
|
+
"char": "w",
|
|
781
|
+
"description": "Name of the workspace",
|
|
782
|
+
"name": "workspace",
|
|
730
783
|
"required": false,
|
|
731
784
|
"hasDynamicHelp": false,
|
|
732
785
|
"multiple": false,
|
|
@@ -735,7 +788,7 @@
|
|
|
735
788
|
},
|
|
736
789
|
"hasDynamicHelp": false,
|
|
737
790
|
"hiddenAliases": [],
|
|
738
|
-
"id": "
|
|
791
|
+
"id": "provid",
|
|
739
792
|
"pluginAlias": "hereya-cli",
|
|
740
793
|
"pluginName": "hereya-cli",
|
|
741
794
|
"pluginType": "core",
|
|
@@ -745,39 +798,30 @@
|
|
|
745
798
|
"relativePath": [
|
|
746
799
|
"dist",
|
|
747
800
|
"commands",
|
|
748
|
-
"
|
|
801
|
+
"provid",
|
|
749
802
|
"index.js"
|
|
750
803
|
]
|
|
751
804
|
},
|
|
752
|
-
"
|
|
805
|
+
"publish": {
|
|
753
806
|
"aliases": [],
|
|
754
|
-
"args": {
|
|
755
|
-
|
|
756
|
-
"description": "Package name (e.g., hereya/postgres)",
|
|
757
|
-
"name": "package",
|
|
758
|
-
"required": true
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
"description": "Display the provisioning ID for a package",
|
|
807
|
+
"args": {},
|
|
808
|
+
"description": "Publish a package to the Hereya registry",
|
|
762
809
|
"examples": [
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
"<%= config.bin %> <%= command.id %> hereya/postgres --workspace staging"
|
|
810
|
+
"$ hereya publish",
|
|
811
|
+
"$ hereya publish --chdir=/path/to/package"
|
|
766
812
|
],
|
|
767
813
|
"flags": {
|
|
768
814
|
"chdir": {
|
|
769
|
-
"
|
|
770
|
-
"description": "Project root directory",
|
|
815
|
+
"description": "\n Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n ",
|
|
771
816
|
"name": "chdir",
|
|
772
817
|
"required": false,
|
|
773
818
|
"hasDynamicHelp": false,
|
|
774
819
|
"multiple": false,
|
|
775
820
|
"type": "option"
|
|
776
821
|
},
|
|
777
|
-
"
|
|
778
|
-
"
|
|
779
|
-
"
|
|
780
|
-
"name": "workspace",
|
|
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",
|
|
781
825
|
"required": false,
|
|
782
826
|
"hasDynamicHelp": false,
|
|
783
827
|
"multiple": false,
|
|
@@ -786,7 +830,7 @@
|
|
|
786
830
|
},
|
|
787
831
|
"hasDynamicHelp": false,
|
|
788
832
|
"hiddenAliases": [],
|
|
789
|
-
"id": "
|
|
833
|
+
"id": "publish",
|
|
790
834
|
"pluginAlias": "hereya-cli",
|
|
791
835
|
"pluginName": "hereya-cli",
|
|
792
836
|
"pluginType": "core",
|
|
@@ -796,7 +840,7 @@
|
|
|
796
840
|
"relativePath": [
|
|
797
841
|
"dist",
|
|
798
842
|
"commands",
|
|
799
|
-
"
|
|
843
|
+
"publish",
|
|
800
844
|
"index.js"
|
|
801
845
|
]
|
|
802
846
|
},
|
|
@@ -1079,43 +1123,57 @@
|
|
|
1079
1123
|
"index.js"
|
|
1080
1124
|
]
|
|
1081
1125
|
},
|
|
1082
|
-
"
|
|
1126
|
+
"up": {
|
|
1083
1127
|
"aliases": [],
|
|
1084
|
-
"args": {
|
|
1085
|
-
|
|
1086
|
-
"description": "project name",
|
|
1087
|
-
"name": "project",
|
|
1088
|
-
"required": true
|
|
1089
|
-
}
|
|
1090
|
-
},
|
|
1091
|
-
"description": "Destroy template infrastructure and uninitialize a project.",
|
|
1128
|
+
"args": {},
|
|
1129
|
+
"description": "Provision all packages in the project.",
|
|
1092
1130
|
"examples": [
|
|
1093
|
-
"<%= config.bin %> <%= command.id %>
|
|
1094
|
-
"<%= config.bin %> <%= command.id %> myProject -w dev -p prodWorkspace=prod"
|
|
1131
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1095
1132
|
],
|
|
1096
1133
|
"flags": {
|
|
1097
1134
|
"chdir": {
|
|
1098
|
-
"description": "
|
|
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 ",
|
|
1099
1136
|
"name": "chdir",
|
|
1100
1137
|
"required": false,
|
|
1101
1138
|
"hasDynamicHelp": false,
|
|
1102
1139
|
"multiple": false,
|
|
1103
1140
|
"type": "option"
|
|
1104
1141
|
},
|
|
1105
|
-
"
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1108
|
-
"
|
|
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",
|
|
1109
1159
|
"default": [],
|
|
1110
1160
|
"hasDynamicHelp": false,
|
|
1111
1161
|
"multiple": true,
|
|
1112
1162
|
"type": "option"
|
|
1113
1163
|
},
|
|
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
|
+
},
|
|
1114
1172
|
"workspace": {
|
|
1115
1173
|
"char": "w",
|
|
1116
|
-
"description": "workspace
|
|
1174
|
+
"description": "name of the workspace to install the packages for",
|
|
1117
1175
|
"name": "workspace",
|
|
1118
|
-
"required":
|
|
1176
|
+
"required": false,
|
|
1119
1177
|
"hasDynamicHelp": false,
|
|
1120
1178
|
"multiple": false,
|
|
1121
1179
|
"type": "option"
|
|
@@ -1123,7 +1181,7 @@
|
|
|
1123
1181
|
},
|
|
1124
1182
|
"hasDynamicHelp": false,
|
|
1125
1183
|
"hiddenAliases": [],
|
|
1126
|
-
"id": "
|
|
1184
|
+
"id": "up",
|
|
1127
1185
|
"pluginAlias": "hereya-cli",
|
|
1128
1186
|
"pluginName": "hereya-cli",
|
|
1129
1187
|
"pluginType": "core",
|
|
@@ -1133,61 +1191,47 @@
|
|
|
1133
1191
|
"relativePath": [
|
|
1134
1192
|
"dist",
|
|
1135
1193
|
"commands",
|
|
1136
|
-
"
|
|
1194
|
+
"up",
|
|
1137
1195
|
"index.js"
|
|
1138
1196
|
]
|
|
1139
1197
|
},
|
|
1140
|
-
"
|
|
1198
|
+
"uninit": {
|
|
1141
1199
|
"aliases": [],
|
|
1142
|
-
"args": {
|
|
1143
|
-
|
|
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.",
|
|
1144
1208
|
"examples": [
|
|
1145
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1209
|
+
"<%= config.bin %> <%= command.id %> myProject -w dev",
|
|
1210
|
+
"<%= config.bin %> <%= command.id %> myProject -w dev -p prodWorkspace=prod"
|
|
1146
1211
|
],
|
|
1147
1212
|
"flags": {
|
|
1148
1213
|
"chdir": {
|
|
1149
|
-
"description": "
|
|
1214
|
+
"description": "directory to run command in",
|
|
1150
1215
|
"name": "chdir",
|
|
1151
1216
|
"required": false,
|
|
1152
1217
|
"hasDynamicHelp": false,
|
|
1153
1218
|
"multiple": false,
|
|
1154
1219
|
"type": "option"
|
|
1155
1220
|
},
|
|
1156
|
-
"
|
|
1157
|
-
"
|
|
1158
|
-
"
|
|
1159
|
-
"
|
|
1160
|
-
"type": "boolean"
|
|
1161
|
-
},
|
|
1162
|
-
"deploy": {
|
|
1163
|
-
"description": "provision deployment companion packages",
|
|
1164
|
-
"name": "deploy",
|
|
1165
|
-
"required": false,
|
|
1166
|
-
"allowNo": false,
|
|
1167
|
-
"type": "boolean"
|
|
1168
|
-
},
|
|
1169
|
-
"select": {
|
|
1170
|
-
"char": "s",
|
|
1171
|
-
"description": "select the packages to provision",
|
|
1172
|
-
"name": "select",
|
|
1221
|
+
"parameter": {
|
|
1222
|
+
"char": "p",
|
|
1223
|
+
"description": "parameter for the template, in the form of 'key=value'. Overrides saved parameters.",
|
|
1224
|
+
"name": "parameter",
|
|
1173
1225
|
"default": [],
|
|
1174
1226
|
"hasDynamicHelp": false,
|
|
1175
1227
|
"multiple": true,
|
|
1176
1228
|
"type": "option"
|
|
1177
1229
|
},
|
|
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
|
-
},
|
|
1186
1230
|
"workspace": {
|
|
1187
1231
|
"char": "w",
|
|
1188
|
-
"description": "
|
|
1232
|
+
"description": "workspace used during init",
|
|
1189
1233
|
"name": "workspace",
|
|
1190
|
-
"required":
|
|
1234
|
+
"required": true,
|
|
1191
1235
|
"hasDynamicHelp": false,
|
|
1192
1236
|
"multiple": false,
|
|
1193
1237
|
"type": "option"
|
|
@@ -1195,7 +1239,7 @@
|
|
|
1195
1239
|
},
|
|
1196
1240
|
"hasDynamicHelp": false,
|
|
1197
1241
|
"hiddenAliases": [],
|
|
1198
|
-
"id": "
|
|
1242
|
+
"id": "uninit",
|
|
1199
1243
|
"pluginAlias": "hereya-cli",
|
|
1200
1244
|
"pluginName": "hereya-cli",
|
|
1201
1245
|
"pluginType": "core",
|
|
@@ -1205,7 +1249,7 @@
|
|
|
1205
1249
|
"relativePath": [
|
|
1206
1250
|
"dist",
|
|
1207
1251
|
"commands",
|
|
1208
|
-
"
|
|
1252
|
+
"uninit",
|
|
1209
1253
|
"index.js"
|
|
1210
1254
|
]
|
|
1211
1255
|
},
|
|
@@ -1622,31 +1666,6 @@
|
|
|
1622
1666
|
"index.js"
|
|
1623
1667
|
]
|
|
1624
1668
|
},
|
|
1625
|
-
"config:get-backend": {
|
|
1626
|
-
"aliases": [],
|
|
1627
|
-
"args": {},
|
|
1628
|
-
"description": "get the current backend type",
|
|
1629
|
-
"examples": [
|
|
1630
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1631
|
-
],
|
|
1632
|
-
"flags": {},
|
|
1633
|
-
"hasDynamicHelp": false,
|
|
1634
|
-
"hiddenAliases": [],
|
|
1635
|
-
"id": "config:get-backend",
|
|
1636
|
-
"pluginAlias": "hereya-cli",
|
|
1637
|
-
"pluginName": "hereya-cli",
|
|
1638
|
-
"pluginType": "core",
|
|
1639
|
-
"strict": true,
|
|
1640
|
-
"enableJsonFlag": false,
|
|
1641
|
-
"isESM": true,
|
|
1642
|
-
"relativePath": [
|
|
1643
|
-
"dist",
|
|
1644
|
-
"commands",
|
|
1645
|
-
"config",
|
|
1646
|
-
"get-backend",
|
|
1647
|
-
"index.js"
|
|
1648
|
-
]
|
|
1649
|
-
},
|
|
1650
1669
|
"config:export-backend": {
|
|
1651
1670
|
"aliases": [],
|
|
1652
1671
|
"args": {
|
|
@@ -1679,24 +1698,17 @@
|
|
|
1679
1698
|
"index.js"
|
|
1680
1699
|
]
|
|
1681
1700
|
},
|
|
1682
|
-
"config:
|
|
1701
|
+
"config:get-backend": {
|
|
1683
1702
|
"aliases": [],
|
|
1684
|
-
"args": {
|
|
1685
|
-
|
|
1686
|
-
"description": "type of backend to use. Possible values: s3, local",
|
|
1687
|
-
"name": "type",
|
|
1688
|
-
"required": true
|
|
1689
|
-
}
|
|
1690
|
-
},
|
|
1691
|
-
"description": "set the current backend type",
|
|
1703
|
+
"args": {},
|
|
1704
|
+
"description": "get the current backend type",
|
|
1692
1705
|
"examples": [
|
|
1693
|
-
"<%= config.bin %> <%= command.id %>
|
|
1694
|
-
"<%= config.bin %> <%= command.id %> local"
|
|
1706
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1695
1707
|
],
|
|
1696
1708
|
"flags": {},
|
|
1697
1709
|
"hasDynamicHelp": false,
|
|
1698
1710
|
"hiddenAliases": [],
|
|
1699
|
-
"id": "config:
|
|
1711
|
+
"id": "config:get-backend",
|
|
1700
1712
|
"pluginAlias": "hereya-cli",
|
|
1701
1713
|
"pluginName": "hereya-cli",
|
|
1702
1714
|
"pluginType": "core",
|
|
@@ -1707,7 +1719,7 @@
|
|
|
1707
1719
|
"dist",
|
|
1708
1720
|
"commands",
|
|
1709
1721
|
"config",
|
|
1710
|
-
"
|
|
1722
|
+
"get-backend",
|
|
1711
1723
|
"index.js"
|
|
1712
1724
|
]
|
|
1713
1725
|
},
|
|
@@ -1742,14 +1754,46 @@
|
|
|
1742
1754
|
"index.js"
|
|
1743
1755
|
]
|
|
1744
1756
|
},
|
|
1745
|
-
"
|
|
1757
|
+
"config:use-backend": {
|
|
1746
1758
|
"aliases": [],
|
|
1747
|
-
"args": {
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1759
|
+
"args": {
|
|
1760
|
+
"type": {
|
|
1761
|
+
"description": "type of backend to use. Possible values: s3, local",
|
|
1762
|
+
"name": "type",
|
|
1763
|
+
"required": true
|
|
1764
|
+
}
|
|
1765
|
+
},
|
|
1766
|
+
"description": "set the current backend type",
|
|
1767
|
+
"examples": [
|
|
1768
|
+
"<%= config.bin %> <%= command.id %> s3",
|
|
1769
|
+
"<%= config.bin %> <%= command.id %> local"
|
|
1770
|
+
],
|
|
1771
|
+
"flags": {},
|
|
1772
|
+
"hasDynamicHelp": false,
|
|
1773
|
+
"hiddenAliases": [],
|
|
1774
|
+
"id": "config:use-backend",
|
|
1775
|
+
"pluginAlias": "hereya-cli",
|
|
1776
|
+
"pluginName": "hereya-cli",
|
|
1777
|
+
"pluginType": "core",
|
|
1778
|
+
"strict": true,
|
|
1779
|
+
"enableJsonFlag": false,
|
|
1780
|
+
"isESM": true,
|
|
1781
|
+
"relativePath": [
|
|
1782
|
+
"dist",
|
|
1783
|
+
"commands",
|
|
1784
|
+
"config",
|
|
1785
|
+
"use-backend",
|
|
1786
|
+
"index.js"
|
|
1787
|
+
]
|
|
1788
|
+
},
|
|
1789
|
+
"devenv:config": {
|
|
1790
|
+
"aliases": [],
|
|
1791
|
+
"args": {},
|
|
1792
|
+
"description": "Configure SSH for a dev environment and display connection details.",
|
|
1793
|
+
"examples": [
|
|
1794
|
+
"<%= config.bin %> <%= command.id %> -w my-workspace"
|
|
1795
|
+
],
|
|
1796
|
+
"flags": {
|
|
1753
1797
|
"workspace": {
|
|
1754
1798
|
"char": "w",
|
|
1755
1799
|
"description": "name of the workspace to configure SSH for",
|
|
@@ -1981,31 +2025,42 @@
|
|
|
1981
2025
|
"index.js"
|
|
1982
2026
|
]
|
|
1983
2027
|
},
|
|
1984
|
-
"
|
|
2028
|
+
"env:set": {
|
|
1985
2029
|
"aliases": [],
|
|
1986
|
-
"args": {
|
|
1987
|
-
|
|
2030
|
+
"args": {
|
|
2031
|
+
"name": {
|
|
2032
|
+
"description": "name of the environment variable to set",
|
|
2033
|
+
"name": "name"
|
|
2034
|
+
}
|
|
2035
|
+
},
|
|
2036
|
+
"description": "Set an user-defined environment variable for the project",
|
|
1988
2037
|
"examples": [
|
|
1989
|
-
"<%= config.bin %> <%= command.id %> -
|
|
1990
|
-
"<%= config.bin %> <%= command.id %> -
|
|
1991
|
-
"HEREYA_TOKEN=<token> <%= config.bin %> <%= command.id %> -w my-workspace",
|
|
1992
|
-
"HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com <%= config.bin %> <%= command.id %> -w my-workspace"
|
|
2038
|
+
"<%= config.bin %> <%= command.id %> FOO -v bar",
|
|
2039
|
+
"<%= config.bin %> <%= command.id %> FOO -v bar -w dev"
|
|
1993
2040
|
],
|
|
1994
2041
|
"flags": {
|
|
1995
|
-
"
|
|
1996
|
-
"
|
|
1997
|
-
"
|
|
1998
|
-
"
|
|
1999
|
-
"
|
|
2042
|
+
"chdir": {
|
|
2043
|
+
"description": "project root directory",
|
|
2044
|
+
"name": "chdir",
|
|
2045
|
+
"required": false,
|
|
2046
|
+
"hasDynamicHelp": false,
|
|
2047
|
+
"multiple": false,
|
|
2048
|
+
"type": "option"
|
|
2049
|
+
},
|
|
2050
|
+
"value": {
|
|
2051
|
+
"char": "v",
|
|
2052
|
+
"description": "value of the environment variable",
|
|
2053
|
+
"name": "value",
|
|
2054
|
+
"required": true,
|
|
2000
2055
|
"hasDynamicHelp": false,
|
|
2001
2056
|
"multiple": false,
|
|
2002
2057
|
"type": "option"
|
|
2003
2058
|
},
|
|
2004
2059
|
"workspace": {
|
|
2005
2060
|
"char": "w",
|
|
2006
|
-
"description": "name of the workspace to
|
|
2061
|
+
"description": "name of the workspace to print the env vars for",
|
|
2007
2062
|
"name": "workspace",
|
|
2008
|
-
"required":
|
|
2063
|
+
"required": false,
|
|
2009
2064
|
"hasDynamicHelp": false,
|
|
2010
2065
|
"multiple": false,
|
|
2011
2066
|
"type": "option"
|
|
@@ -2013,7 +2068,7 @@
|
|
|
2013
2068
|
},
|
|
2014
2069
|
"hasDynamicHelp": false,
|
|
2015
2070
|
"hiddenAliases": [],
|
|
2016
|
-
"id": "
|
|
2071
|
+
"id": "env:set",
|
|
2017
2072
|
"pluginAlias": "hereya-cli",
|
|
2018
2073
|
"pluginName": "hereya-cli",
|
|
2019
2074
|
"pluginType": "core",
|
|
@@ -2023,47 +2078,36 @@
|
|
|
2023
2078
|
"relativePath": [
|
|
2024
2079
|
"dist",
|
|
2025
2080
|
"commands",
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
2081
|
+
"env",
|
|
2082
|
+
"set",
|
|
2028
2083
|
"index.js"
|
|
2029
2084
|
]
|
|
2030
2085
|
},
|
|
2031
|
-
"
|
|
2086
|
+
"executor:start": {
|
|
2032
2087
|
"aliases": [],
|
|
2033
|
-
"args": {
|
|
2034
|
-
|
|
2035
|
-
"description": "name of the environment variable to set",
|
|
2036
|
-
"name": "name"
|
|
2037
|
-
}
|
|
2038
|
-
},
|
|
2039
|
-
"description": "Set an user-defined environment variable for the project",
|
|
2088
|
+
"args": {},
|
|
2089
|
+
"description": "Start the remote executor process (polls for jobs from hereya cloud).\n\nJobs are executed in parallel up to the concurrency limit (default: 10). Use --concurrency to adjust.\n\nSet the HEREYA_TOKEN environment variable to authenticate without running `hereya login`.\nSet the HEREYA_CLOUD_URL environment variable to target a specific hereya cloud instance (defaults to https://cloud.hereya.dev).",
|
|
2040
2090
|
"examples": [
|
|
2041
|
-
"<%= config.bin %> <%= command.id %>
|
|
2042
|
-
"<%= config.bin %> <%= command.id %>
|
|
2091
|
+
"<%= config.bin %> <%= command.id %> -w my-workspace",
|
|
2092
|
+
"<%= config.bin %> <%= command.id %> -w my-workspace --concurrency 5",
|
|
2093
|
+
"HEREYA_TOKEN=<token> <%= config.bin %> <%= command.id %> -w my-workspace",
|
|
2094
|
+
"HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com <%= config.bin %> <%= command.id %> -w my-workspace"
|
|
2043
2095
|
],
|
|
2044
2096
|
"flags": {
|
|
2045
|
-
"
|
|
2046
|
-
"
|
|
2047
|
-
"
|
|
2048
|
-
"
|
|
2049
|
-
"
|
|
2050
|
-
"multiple": false,
|
|
2051
|
-
"type": "option"
|
|
2052
|
-
},
|
|
2053
|
-
"value": {
|
|
2054
|
-
"char": "v",
|
|
2055
|
-
"description": "value of the environment variable",
|
|
2056
|
-
"name": "value",
|
|
2057
|
-
"required": true,
|
|
2097
|
+
"concurrency": {
|
|
2098
|
+
"char": "c",
|
|
2099
|
+
"description": "maximum number of parallel jobs",
|
|
2100
|
+
"name": "concurrency",
|
|
2101
|
+
"default": 10,
|
|
2058
2102
|
"hasDynamicHelp": false,
|
|
2059
2103
|
"multiple": false,
|
|
2060
2104
|
"type": "option"
|
|
2061
2105
|
},
|
|
2062
2106
|
"workspace": {
|
|
2063
2107
|
"char": "w",
|
|
2064
|
-
"description": "name of the workspace to
|
|
2108
|
+
"description": "name of the workspace to poll jobs for",
|
|
2065
2109
|
"name": "workspace",
|
|
2066
|
-
"required":
|
|
2110
|
+
"required": true,
|
|
2067
2111
|
"hasDynamicHelp": false,
|
|
2068
2112
|
"multiple": false,
|
|
2069
2113
|
"type": "option"
|
|
@@ -2071,7 +2115,7 @@
|
|
|
2071
2115
|
},
|
|
2072
2116
|
"hasDynamicHelp": false,
|
|
2073
2117
|
"hiddenAliases": [],
|
|
2074
|
-
"id": "
|
|
2118
|
+
"id": "executor:start",
|
|
2075
2119
|
"pluginAlias": "hereya-cli",
|
|
2076
2120
|
"pluginName": "hereya-cli",
|
|
2077
2121
|
"pluginType": "core",
|
|
@@ -2081,8 +2125,8 @@
|
|
|
2081
2125
|
"relativePath": [
|
|
2082
2126
|
"dist",
|
|
2083
2127
|
"commands",
|
|
2084
|
-
"
|
|
2085
|
-
"
|
|
2128
|
+
"executor",
|
|
2129
|
+
"start",
|
|
2086
2130
|
"index.js"
|
|
2087
2131
|
]
|
|
2088
2132
|
},
|
|
@@ -2225,40 +2269,49 @@
|
|
|
2225
2269
|
"index.js"
|
|
2226
2270
|
]
|
|
2227
2271
|
},
|
|
2228
|
-
"flow:
|
|
2272
|
+
"flow:env": {
|
|
2229
2273
|
"aliases": [],
|
|
2230
2274
|
"args": {
|
|
2231
|
-
"
|
|
2232
|
-
"description": "
|
|
2233
|
-
"name": "
|
|
2234
|
-
"required":
|
|
2275
|
+
"name": {
|
|
2276
|
+
"description": "name of the env to display",
|
|
2277
|
+
"name": "name",
|
|
2278
|
+
"required": false
|
|
2235
2279
|
}
|
|
2236
2280
|
},
|
|
2237
|
-
"description": "
|
|
2281
|
+
"description": "Print project environment variables for a git branch-based workspace",
|
|
2238
2282
|
"examples": [
|
|
2239
|
-
"<%= config.bin %> <%= command.id %>
|
|
2240
|
-
"<%= config.bin %> <%= command.id %>
|
|
2241
|
-
"<%= config.bin %> <%= command.id %>
|
|
2283
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2284
|
+
"<%= config.bin %> <%= command.id %> myEnv",
|
|
2285
|
+
"<%= config.bin %> <%= command.id %> --profile staging",
|
|
2286
|
+
"<%= config.bin %> <%= command.id %> --pin",
|
|
2287
|
+
"<%= config.bin %> <%= command.id %> -l"
|
|
2242
2288
|
],
|
|
2243
2289
|
"flags": {
|
|
2244
2290
|
"chdir": {
|
|
2245
|
-
"
|
|
2246
|
-
"description": "Project root directory",
|
|
2291
|
+
"description": "project root directory",
|
|
2247
2292
|
"name": "chdir",
|
|
2248
2293
|
"required": false,
|
|
2249
2294
|
"hasDynamicHelp": false,
|
|
2250
2295
|
"multiple": false,
|
|
2251
2296
|
"type": "option"
|
|
2252
2297
|
},
|
|
2298
|
+
"list": {
|
|
2299
|
+
"char": "l",
|
|
2300
|
+
"description": "list only the env vars without values",
|
|
2301
|
+
"name": "list",
|
|
2302
|
+
"required": false,
|
|
2303
|
+
"allowNo": false,
|
|
2304
|
+
"type": "boolean"
|
|
2305
|
+
},
|
|
2253
2306
|
"pin": {
|
|
2254
|
-
"description": "
|
|
2307
|
+
"description": "append git commit SHA to workspace name for commit-specific isolation",
|
|
2255
2308
|
"name": "pin",
|
|
2256
2309
|
"required": false,
|
|
2257
2310
|
"allowNo": false,
|
|
2258
2311
|
"type": "boolean"
|
|
2259
2312
|
},
|
|
2260
2313
|
"profile": {
|
|
2261
|
-
"description": "
|
|
2314
|
+
"description": "profile to use for the workspace (will be appended to workspace name)",
|
|
2262
2315
|
"name": "profile",
|
|
2263
2316
|
"required": false,
|
|
2264
2317
|
"hasDynamicHelp": false,
|
|
@@ -2268,7 +2321,7 @@
|
|
|
2268
2321
|
},
|
|
2269
2322
|
"hasDynamicHelp": false,
|
|
2270
2323
|
"hiddenAliases": [],
|
|
2271
|
-
"id": "flow:
|
|
2324
|
+
"id": "flow:env",
|
|
2272
2325
|
"pluginAlias": "hereya-cli",
|
|
2273
2326
|
"pluginName": "hereya-cli",
|
|
2274
2327
|
"pluginType": "core",
|
|
@@ -2279,53 +2332,44 @@
|
|
|
2279
2332
|
"dist",
|
|
2280
2333
|
"commands",
|
|
2281
2334
|
"flow",
|
|
2282
|
-
"
|
|
2335
|
+
"env",
|
|
2283
2336
|
"index.js"
|
|
2284
2337
|
]
|
|
2285
2338
|
},
|
|
2286
|
-
"flow:
|
|
2339
|
+
"flow:provid": {
|
|
2287
2340
|
"aliases": [],
|
|
2288
2341
|
"args": {
|
|
2289
|
-
"
|
|
2290
|
-
"description": "name
|
|
2291
|
-
"name": "
|
|
2292
|
-
"required":
|
|
2342
|
+
"package": {
|
|
2343
|
+
"description": "Package name (e.g., hereya/postgres)",
|
|
2344
|
+
"name": "package",
|
|
2345
|
+
"required": true
|
|
2293
2346
|
}
|
|
2294
2347
|
},
|
|
2295
|
-
"description": "
|
|
2348
|
+
"description": "Display the provisioning ID for a package in a git branch-based workspace",
|
|
2296
2349
|
"examples": [
|
|
2297
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2298
|
-
"<%= config.bin %> <%= command.id %>
|
|
2299
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2300
|
-
"<%= config.bin %> <%= command.id %> --pin",
|
|
2301
|
-
"<%= config.bin %> <%= command.id %> -l"
|
|
2350
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres",
|
|
2351
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres --profile staging",
|
|
2352
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres --pin"
|
|
2302
2353
|
],
|
|
2303
2354
|
"flags": {
|
|
2304
2355
|
"chdir": {
|
|
2305
|
-
"
|
|
2356
|
+
"char": "C",
|
|
2357
|
+
"description": "Project root directory",
|
|
2306
2358
|
"name": "chdir",
|
|
2307
2359
|
"required": false,
|
|
2308
2360
|
"hasDynamicHelp": false,
|
|
2309
2361
|
"multiple": false,
|
|
2310
2362
|
"type": "option"
|
|
2311
2363
|
},
|
|
2312
|
-
"list": {
|
|
2313
|
-
"char": "l",
|
|
2314
|
-
"description": "list only the env vars without values",
|
|
2315
|
-
"name": "list",
|
|
2316
|
-
"required": false,
|
|
2317
|
-
"allowNo": false,
|
|
2318
|
-
"type": "boolean"
|
|
2319
|
-
},
|
|
2320
2364
|
"pin": {
|
|
2321
|
-
"description": "
|
|
2365
|
+
"description": "Append git commit SHA to workspace name for commit-specific isolation",
|
|
2322
2366
|
"name": "pin",
|
|
2323
2367
|
"required": false,
|
|
2324
2368
|
"allowNo": false,
|
|
2325
2369
|
"type": "boolean"
|
|
2326
2370
|
},
|
|
2327
2371
|
"profile": {
|
|
2328
|
-
"description": "
|
|
2372
|
+
"description": "Profile to use for the workspace (will be appended to workspace name)",
|
|
2329
2373
|
"name": "profile",
|
|
2330
2374
|
"required": false,
|
|
2331
2375
|
"hasDynamicHelp": false,
|
|
@@ -2335,7 +2379,7 @@
|
|
|
2335
2379
|
},
|
|
2336
2380
|
"hasDynamicHelp": false,
|
|
2337
2381
|
"hiddenAliases": [],
|
|
2338
|
-
"id": "flow:
|
|
2382
|
+
"id": "flow:provid",
|
|
2339
2383
|
"pluginAlias": "hereya-cli",
|
|
2340
2384
|
"pluginName": "hereya-cli",
|
|
2341
2385
|
"pluginType": "core",
|
|
@@ -2346,7 +2390,7 @@
|
|
|
2346
2390
|
"dist",
|
|
2347
2391
|
"commands",
|
|
2348
2392
|
"flow",
|
|
2349
|
-
"
|
|
2393
|
+
"provid",
|
|
2350
2394
|
"index.js"
|
|
2351
2395
|
]
|
|
2352
2396
|
},
|
|
@@ -2462,97 +2506,41 @@
|
|
|
2462
2506
|
"index.js"
|
|
2463
2507
|
]
|
|
2464
2508
|
},
|
|
2465
|
-
"
|
|
2509
|
+
"flow:up": {
|
|
2466
2510
|
"aliases": [],
|
|
2467
|
-
"args": {
|
|
2468
|
-
|
|
2469
|
-
"description": "name of the workspace to create",
|
|
2470
|
-
"name": "name",
|
|
2471
|
-
"required": true
|
|
2472
|
-
}
|
|
2473
|
-
},
|
|
2474
|
-
"description": "Create a new workspace if it does not exist.",
|
|
2511
|
+
"args": {},
|
|
2512
|
+
"description": "Create a git branch-based workspace and provision all packages",
|
|
2475
2513
|
"examples": [
|
|
2476
|
-
"<%= config.bin %> <%= command.id %>
|
|
2514
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2515
|
+
"<%= config.bin %> <%= command.id %> --debug",
|
|
2516
|
+
"<%= config.bin %> <%= command.id %> --profile staging",
|
|
2517
|
+
"<%= config.bin %> <%= command.id %> --pin"
|
|
2477
2518
|
],
|
|
2478
2519
|
"flags": {
|
|
2479
|
-
"
|
|
2480
|
-
"
|
|
2481
|
-
"
|
|
2482
|
-
"name": "deployment",
|
|
2520
|
+
"chdir": {
|
|
2521
|
+
"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 ",
|
|
2522
|
+
"name": "chdir",
|
|
2483
2523
|
"required": false,
|
|
2524
|
+
"hasDynamicHelp": false,
|
|
2525
|
+
"multiple": false,
|
|
2526
|
+
"type": "option"
|
|
2527
|
+
},
|
|
2528
|
+
"debug": {
|
|
2529
|
+
"description": "enable debug mode",
|
|
2530
|
+
"name": "debug",
|
|
2484
2531
|
"allowNo": false,
|
|
2485
2532
|
"type": "boolean"
|
|
2486
2533
|
},
|
|
2487
|
-
"
|
|
2488
|
-
"description": "
|
|
2489
|
-
"name": "
|
|
2534
|
+
"deploy": {
|
|
2535
|
+
"description": "provision deployment companion packages",
|
|
2536
|
+
"name": "deploy",
|
|
2490
2537
|
"required": false,
|
|
2491
|
-
"
|
|
2492
|
-
"
|
|
2493
|
-
"type": "option"
|
|
2538
|
+
"allowNo": false,
|
|
2539
|
+
"type": "boolean"
|
|
2494
2540
|
},
|
|
2495
|
-
"
|
|
2496
|
-
"description": "
|
|
2497
|
-
"name": "
|
|
2498
|
-
"required": false,
|
|
2499
|
-
"hasDynamicHelp": false,
|
|
2500
|
-
"multiple": false,
|
|
2501
|
-
"type": "option"
|
|
2502
|
-
}
|
|
2503
|
-
},
|
|
2504
|
-
"hasDynamicHelp": false,
|
|
2505
|
-
"hiddenAliases": [],
|
|
2506
|
-
"id": "workspace:create",
|
|
2507
|
-
"pluginAlias": "hereya-cli",
|
|
2508
|
-
"pluginName": "hereya-cli",
|
|
2509
|
-
"pluginType": "core",
|
|
2510
|
-
"strict": true,
|
|
2511
|
-
"enableJsonFlag": false,
|
|
2512
|
-
"isESM": true,
|
|
2513
|
-
"relativePath": [
|
|
2514
|
-
"dist",
|
|
2515
|
-
"commands",
|
|
2516
|
-
"workspace",
|
|
2517
|
-
"create",
|
|
2518
|
-
"index.js"
|
|
2519
|
-
]
|
|
2520
|
-
},
|
|
2521
|
-
"flow:up": {
|
|
2522
|
-
"aliases": [],
|
|
2523
|
-
"args": {},
|
|
2524
|
-
"description": "Create a git branch-based workspace and provision all packages",
|
|
2525
|
-
"examples": [
|
|
2526
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2527
|
-
"<%= config.bin %> <%= command.id %> --debug",
|
|
2528
|
-
"<%= config.bin %> <%= command.id %> --profile staging",
|
|
2529
|
-
"<%= config.bin %> <%= command.id %> --pin"
|
|
2530
|
-
],
|
|
2531
|
-
"flags": {
|
|
2532
|
-
"chdir": {
|
|
2533
|
-
"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 ",
|
|
2534
|
-
"name": "chdir",
|
|
2535
|
-
"required": false,
|
|
2536
|
-
"hasDynamicHelp": false,
|
|
2537
|
-
"multiple": false,
|
|
2538
|
-
"type": "option"
|
|
2539
|
-
},
|
|
2540
|
-
"debug": {
|
|
2541
|
-
"description": "enable debug mode",
|
|
2542
|
-
"name": "debug",
|
|
2543
|
-
"allowNo": false,
|
|
2544
|
-
"type": "boolean"
|
|
2545
|
-
},
|
|
2546
|
-
"deploy": {
|
|
2547
|
-
"description": "provision deployment companion packages",
|
|
2548
|
-
"name": "deploy",
|
|
2549
|
-
"required": false,
|
|
2550
|
-
"allowNo": false,
|
|
2551
|
-
"type": "boolean"
|
|
2552
|
-
},
|
|
2553
|
-
"pin": {
|
|
2554
|
-
"description": "append git commit SHA to workspace name for commit-specific isolation",
|
|
2555
|
-
"name": "pin",
|
|
2541
|
+
"pin": {
|
|
2542
|
+
"description": "append git commit SHA to workspace name for commit-specific isolation",
|
|
2543
|
+
"name": "pin",
|
|
2556
2544
|
"required": false,
|
|
2557
2545
|
"allowNo": false,
|
|
2558
2546
|
"type": "boolean"
|
|
@@ -2592,34 +2580,40 @@
|
|
|
2592
2580
|
"index.js"
|
|
2593
2581
|
]
|
|
2594
2582
|
},
|
|
2595
|
-
"workspace:
|
|
2583
|
+
"workspace:create": {
|
|
2596
2584
|
"aliases": [],
|
|
2597
2585
|
"args": {
|
|
2598
2586
|
"name": {
|
|
2599
|
-
"description": "name of the
|
|
2587
|
+
"description": "name of the workspace to create",
|
|
2600
2588
|
"name": "name",
|
|
2601
|
-
"required":
|
|
2589
|
+
"required": true
|
|
2602
2590
|
}
|
|
2603
2591
|
},
|
|
2604
|
-
"description": "
|
|
2592
|
+
"description": "Create a new workspace if it does not exist.",
|
|
2605
2593
|
"examples": [
|
|
2606
|
-
"<%= config.bin %> <%= command.id %>
|
|
2607
|
-
"<%= config.bin %> <%= command.id %> myEnv -w dev"
|
|
2594
|
+
"<%= config.bin %> <%= command.id %> dev"
|
|
2608
2595
|
],
|
|
2609
2596
|
"flags": {
|
|
2610
|
-
"
|
|
2611
|
-
"char": "
|
|
2612
|
-
"description": "
|
|
2613
|
-
"name": "
|
|
2597
|
+
"deployment": {
|
|
2598
|
+
"char": "d",
|
|
2599
|
+
"description": "mark workspace as a deployment workspace",
|
|
2600
|
+
"name": "deployment",
|
|
2614
2601
|
"required": false,
|
|
2615
2602
|
"allowNo": false,
|
|
2616
2603
|
"type": "boolean"
|
|
2617
2604
|
},
|
|
2618
|
-
"
|
|
2619
|
-
"
|
|
2620
|
-
"
|
|
2621
|
-
"
|
|
2622
|
-
"
|
|
2605
|
+
"mirror": {
|
|
2606
|
+
"description": "workspace to mirror",
|
|
2607
|
+
"name": "mirror",
|
|
2608
|
+
"required": false,
|
|
2609
|
+
"hasDynamicHelp": false,
|
|
2610
|
+
"multiple": false,
|
|
2611
|
+
"type": "option"
|
|
2612
|
+
},
|
|
2613
|
+
"profile": {
|
|
2614
|
+
"description": "workspace profile to set (cloud backend only)",
|
|
2615
|
+
"name": "profile",
|
|
2616
|
+
"required": false,
|
|
2623
2617
|
"hasDynamicHelp": false,
|
|
2624
2618
|
"multiple": false,
|
|
2625
2619
|
"type": "option"
|
|
@@ -2627,7 +2621,7 @@
|
|
|
2627
2621
|
},
|
|
2628
2622
|
"hasDynamicHelp": false,
|
|
2629
2623
|
"hiddenAliases": [],
|
|
2630
|
-
"id": "workspace:
|
|
2624
|
+
"id": "workspace:create",
|
|
2631
2625
|
"pluginAlias": "hereya-cli",
|
|
2632
2626
|
"pluginName": "hereya-cli",
|
|
2633
2627
|
"pluginType": "core",
|
|
@@ -2638,7 +2632,7 @@
|
|
|
2638
2632
|
"dist",
|
|
2639
2633
|
"commands",
|
|
2640
2634
|
"workspace",
|
|
2641
|
-
"
|
|
2635
|
+
"create",
|
|
2642
2636
|
"index.js"
|
|
2643
2637
|
]
|
|
2644
2638
|
},
|
|
@@ -2673,6 +2667,56 @@
|
|
|
2673
2667
|
"index.js"
|
|
2674
2668
|
]
|
|
2675
2669
|
},
|
|
2670
|
+
"workspace:env": {
|
|
2671
|
+
"aliases": [],
|
|
2672
|
+
"args": {
|
|
2673
|
+
"name": {
|
|
2674
|
+
"description": "name of the env to display",
|
|
2675
|
+
"name": "name",
|
|
2676
|
+
"required": false
|
|
2677
|
+
}
|
|
2678
|
+
},
|
|
2679
|
+
"description": "Print workspace env vars.",
|
|
2680
|
+
"examples": [
|
|
2681
|
+
"<%= config.bin %> <%= command.id %> -w dev",
|
|
2682
|
+
"<%= config.bin %> <%= command.id %> myEnv -w dev"
|
|
2683
|
+
],
|
|
2684
|
+
"flags": {
|
|
2685
|
+
"list": {
|
|
2686
|
+
"char": "l",
|
|
2687
|
+
"description": "list only the env vars without values",
|
|
2688
|
+
"name": "list",
|
|
2689
|
+
"required": false,
|
|
2690
|
+
"allowNo": false,
|
|
2691
|
+
"type": "boolean"
|
|
2692
|
+
},
|
|
2693
|
+
"workspace": {
|
|
2694
|
+
"char": "w",
|
|
2695
|
+
"description": "name of the workspace to print env vars for",
|
|
2696
|
+
"name": "workspace",
|
|
2697
|
+
"required": true,
|
|
2698
|
+
"hasDynamicHelp": false,
|
|
2699
|
+
"multiple": false,
|
|
2700
|
+
"type": "option"
|
|
2701
|
+
}
|
|
2702
|
+
},
|
|
2703
|
+
"hasDynamicHelp": false,
|
|
2704
|
+
"hiddenAliases": [],
|
|
2705
|
+
"id": "workspace:env",
|
|
2706
|
+
"pluginAlias": "hereya-cli",
|
|
2707
|
+
"pluginName": "hereya-cli",
|
|
2708
|
+
"pluginType": "core",
|
|
2709
|
+
"strict": true,
|
|
2710
|
+
"enableJsonFlag": false,
|
|
2711
|
+
"isESM": true,
|
|
2712
|
+
"relativePath": [
|
|
2713
|
+
"dist",
|
|
2714
|
+
"commands",
|
|
2715
|
+
"workspace",
|
|
2716
|
+
"env",
|
|
2717
|
+
"index.js"
|
|
2718
|
+
]
|
|
2719
|
+
},
|
|
2676
2720
|
"workspace:install": {
|
|
2677
2721
|
"aliases": [],
|
|
2678
2722
|
"args": {
|
|
@@ -2966,6 +3010,56 @@
|
|
|
2966
3010
|
"index.js"
|
|
2967
3011
|
]
|
|
2968
3012
|
},
|
|
3013
|
+
"devenv:project:uninit": {
|
|
3014
|
+
"aliases": [],
|
|
3015
|
+
"args": {
|
|
3016
|
+
"project": {
|
|
3017
|
+
"description": "project name",
|
|
3018
|
+
"name": "project",
|
|
3019
|
+
"required": true
|
|
3020
|
+
}
|
|
3021
|
+
},
|
|
3022
|
+
"description": "Uninitialize a project on a remote dev environment.",
|
|
3023
|
+
"examples": [
|
|
3024
|
+
"<%= config.bin %> <%= command.id %> my-app -w my-workspace",
|
|
3025
|
+
"<%= config.bin %> <%= command.id %> my-app -w my-workspace --force"
|
|
3026
|
+
],
|
|
3027
|
+
"flags": {
|
|
3028
|
+
"force": {
|
|
3029
|
+
"char": "f",
|
|
3030
|
+
"description": "also remove the project directory after uninit",
|
|
3031
|
+
"name": "force",
|
|
3032
|
+
"allowNo": false,
|
|
3033
|
+
"type": "boolean"
|
|
3034
|
+
},
|
|
3035
|
+
"workspace": {
|
|
3036
|
+
"char": "w",
|
|
3037
|
+
"description": "name of the workspace",
|
|
3038
|
+
"name": "workspace",
|
|
3039
|
+
"required": true,
|
|
3040
|
+
"hasDynamicHelp": false,
|
|
3041
|
+
"multiple": false,
|
|
3042
|
+
"type": "option"
|
|
3043
|
+
}
|
|
3044
|
+
},
|
|
3045
|
+
"hasDynamicHelp": false,
|
|
3046
|
+
"hiddenAliases": [],
|
|
3047
|
+
"id": "devenv:project:uninit",
|
|
3048
|
+
"pluginAlias": "hereya-cli",
|
|
3049
|
+
"pluginName": "hereya-cli",
|
|
3050
|
+
"pluginType": "core",
|
|
3051
|
+
"strict": true,
|
|
3052
|
+
"enableJsonFlag": false,
|
|
3053
|
+
"isESM": true,
|
|
3054
|
+
"relativePath": [
|
|
3055
|
+
"dist",
|
|
3056
|
+
"commands",
|
|
3057
|
+
"devenv",
|
|
3058
|
+
"project",
|
|
3059
|
+
"uninit",
|
|
3060
|
+
"index.js"
|
|
3061
|
+
]
|
|
3062
|
+
},
|
|
2969
3063
|
"flow:docker:run": {
|
|
2970
3064
|
"aliases": [],
|
|
2971
3065
|
"args": {
|
|
@@ -3034,56 +3128,6 @@
|
|
|
3034
3128
|
"index.js"
|
|
3035
3129
|
]
|
|
3036
3130
|
},
|
|
3037
|
-
"devenv:project:uninit": {
|
|
3038
|
-
"aliases": [],
|
|
3039
|
-
"args": {
|
|
3040
|
-
"project": {
|
|
3041
|
-
"description": "project name",
|
|
3042
|
-
"name": "project",
|
|
3043
|
-
"required": true
|
|
3044
|
-
}
|
|
3045
|
-
},
|
|
3046
|
-
"description": "Uninitialize a project on a remote dev environment.",
|
|
3047
|
-
"examples": [
|
|
3048
|
-
"<%= config.bin %> <%= command.id %> my-app -w my-workspace",
|
|
3049
|
-
"<%= config.bin %> <%= command.id %> my-app -w my-workspace --force"
|
|
3050
|
-
],
|
|
3051
|
-
"flags": {
|
|
3052
|
-
"force": {
|
|
3053
|
-
"char": "f",
|
|
3054
|
-
"description": "also remove the project directory after uninit",
|
|
3055
|
-
"name": "force",
|
|
3056
|
-
"allowNo": false,
|
|
3057
|
-
"type": "boolean"
|
|
3058
|
-
},
|
|
3059
|
-
"workspace": {
|
|
3060
|
-
"char": "w",
|
|
3061
|
-
"description": "name of the workspace",
|
|
3062
|
-
"name": "workspace",
|
|
3063
|
-
"required": true,
|
|
3064
|
-
"hasDynamicHelp": false,
|
|
3065
|
-
"multiple": false,
|
|
3066
|
-
"type": "option"
|
|
3067
|
-
}
|
|
3068
|
-
},
|
|
3069
|
-
"hasDynamicHelp": false,
|
|
3070
|
-
"hiddenAliases": [],
|
|
3071
|
-
"id": "devenv:project:uninit",
|
|
3072
|
-
"pluginAlias": "hereya-cli",
|
|
3073
|
-
"pluginName": "hereya-cli",
|
|
3074
|
-
"pluginType": "core",
|
|
3075
|
-
"strict": true,
|
|
3076
|
-
"enableJsonFlag": false,
|
|
3077
|
-
"isESM": true,
|
|
3078
|
-
"relativePath": [
|
|
3079
|
-
"dist",
|
|
3080
|
-
"commands",
|
|
3081
|
-
"devenv",
|
|
3082
|
-
"project",
|
|
3083
|
-
"uninit",
|
|
3084
|
-
"index.js"
|
|
3085
|
-
]
|
|
3086
|
-
},
|
|
3087
3131
|
"workspace:env:set": {
|
|
3088
3132
|
"aliases": [],
|
|
3089
3133
|
"args": {},
|
|
@@ -3154,26 +3198,35 @@
|
|
|
3154
3198
|
"index.js"
|
|
3155
3199
|
]
|
|
3156
3200
|
},
|
|
3157
|
-
"workspace:
|
|
3201
|
+
"workspace:executor:install": {
|
|
3158
3202
|
"aliases": [],
|
|
3159
3203
|
"args": {},
|
|
3160
|
-
"description": "
|
|
3161
|
-
"examples": [
|
|
3162
|
-
"<%= config.bin %> <%= command.id %> -w my-workspace -n myVar"
|
|
3163
|
-
],
|
|
3204
|
+
"description": "Install a remote executor into a workspace",
|
|
3164
3205
|
"flags": {
|
|
3165
|
-
"
|
|
3166
|
-
"
|
|
3167
|
-
"
|
|
3168
|
-
"
|
|
3169
|
-
"
|
|
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,
|
|
3170
3223
|
"hasDynamicHelp": false,
|
|
3171
3224
|
"multiple": false,
|
|
3172
3225
|
"type": "option"
|
|
3173
3226
|
},
|
|
3174
3227
|
"workspace": {
|
|
3175
3228
|
"char": "w",
|
|
3176
|
-
"description": "name of the workspace
|
|
3229
|
+
"description": "name of the workspace",
|
|
3177
3230
|
"name": "workspace",
|
|
3178
3231
|
"required": true,
|
|
3179
3232
|
"hasDynamicHelp": false,
|
|
@@ -3183,7 +3236,7 @@
|
|
|
3183
3236
|
},
|
|
3184
3237
|
"hasDynamicHelp": false,
|
|
3185
3238
|
"hiddenAliases": [],
|
|
3186
|
-
"id": "workspace:
|
|
3239
|
+
"id": "workspace:executor:install",
|
|
3187
3240
|
"pluginAlias": "hereya-cli",
|
|
3188
3241
|
"pluginName": "hereya-cli",
|
|
3189
3242
|
"pluginType": "core",
|
|
@@ -3194,27 +3247,31 @@
|
|
|
3194
3247
|
"dist",
|
|
3195
3248
|
"commands",
|
|
3196
3249
|
"workspace",
|
|
3197
|
-
"
|
|
3198
|
-
"
|
|
3250
|
+
"executor",
|
|
3251
|
+
"install",
|
|
3199
3252
|
"index.js"
|
|
3200
3253
|
]
|
|
3201
3254
|
},
|
|
3202
|
-
"workspace:
|
|
3255
|
+
"workspace:env:unset": {
|
|
3203
3256
|
"aliases": [],
|
|
3204
3257
|
"args": {},
|
|
3205
|
-
"description": "
|
|
3258
|
+
"description": "unset an env var for a workspace",
|
|
3259
|
+
"examples": [
|
|
3260
|
+
"<%= config.bin %> <%= command.id %> -w my-workspace -n myVar"
|
|
3261
|
+
],
|
|
3206
3262
|
"flags": {
|
|
3207
|
-
"
|
|
3208
|
-
"
|
|
3209
|
-
"
|
|
3210
|
-
"
|
|
3263
|
+
"name": {
|
|
3264
|
+
"char": "n",
|
|
3265
|
+
"description": "name of the env var to unset",
|
|
3266
|
+
"name": "name",
|
|
3267
|
+
"required": true,
|
|
3211
3268
|
"hasDynamicHelp": false,
|
|
3212
3269
|
"multiple": false,
|
|
3213
3270
|
"type": "option"
|
|
3214
3271
|
},
|
|
3215
3272
|
"workspace": {
|
|
3216
3273
|
"char": "w",
|
|
3217
|
-
"description": "name of the workspace",
|
|
3274
|
+
"description": "name of the workspace to unset an env var for",
|
|
3218
3275
|
"name": "workspace",
|
|
3219
3276
|
"required": true,
|
|
3220
3277
|
"hasDynamicHelp": false,
|
|
@@ -3224,7 +3281,7 @@
|
|
|
3224
3281
|
},
|
|
3225
3282
|
"hasDynamicHelp": false,
|
|
3226
3283
|
"hiddenAliases": [],
|
|
3227
|
-
"id": "workspace:
|
|
3284
|
+
"id": "workspace:env:unset",
|
|
3228
3285
|
"pluginAlias": "hereya-cli",
|
|
3229
3286
|
"pluginName": "hereya-cli",
|
|
3230
3287
|
"pluginType": "core",
|
|
@@ -3235,29 +3292,16 @@
|
|
|
3235
3292
|
"dist",
|
|
3236
3293
|
"commands",
|
|
3237
3294
|
"workspace",
|
|
3238
|
-
"
|
|
3239
|
-
"
|
|
3295
|
+
"env",
|
|
3296
|
+
"unset",
|
|
3240
3297
|
"index.js"
|
|
3241
3298
|
]
|
|
3242
3299
|
},
|
|
3243
|
-
"workspace:executor:
|
|
3300
|
+
"workspace:executor:token": {
|
|
3244
3301
|
"aliases": [],
|
|
3245
3302
|
"args": {},
|
|
3246
|
-
"description": "
|
|
3303
|
+
"description": "Generate a workspace-scoped executor token for the remote executor",
|
|
3247
3304
|
"flags": {
|
|
3248
|
-
"debug": {
|
|
3249
|
-
"description": "enable debug mode",
|
|
3250
|
-
"name": "debug",
|
|
3251
|
-
"allowNo": false,
|
|
3252
|
-
"type": "boolean"
|
|
3253
|
-
},
|
|
3254
|
-
"force": {
|
|
3255
|
-
"char": "f",
|
|
3256
|
-
"description": "force reinstall even if executor is already installed",
|
|
3257
|
-
"name": "force",
|
|
3258
|
-
"allowNo": false,
|
|
3259
|
-
"type": "boolean"
|
|
3260
|
-
},
|
|
3261
3305
|
"token": {
|
|
3262
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.",
|
|
3263
3307
|
"name": "token",
|
|
@@ -3278,7 +3322,7 @@
|
|
|
3278
3322
|
},
|
|
3279
3323
|
"hasDynamicHelp": false,
|
|
3280
3324
|
"hiddenAliases": [],
|
|
3281
|
-
"id": "workspace:executor:
|
|
3325
|
+
"id": "workspace:executor:token",
|
|
3282
3326
|
"pluginAlias": "hereya-cli",
|
|
3283
3327
|
"pluginName": "hereya-cli",
|
|
3284
3328
|
"pluginType": "core",
|
|
@@ -3290,7 +3334,7 @@
|
|
|
3290
3334
|
"commands",
|
|
3291
3335
|
"workspace",
|
|
3292
3336
|
"executor",
|
|
3293
|
-
"
|
|
3337
|
+
"token",
|
|
3294
3338
|
"index.js"
|
|
3295
3339
|
]
|
|
3296
3340
|
},
|
|
@@ -3342,5 +3386,5 @@
|
|
|
3342
3386
|
]
|
|
3343
3387
|
}
|
|
3344
3388
|
},
|
|
3345
|
-
"version": "0.
|
|
3389
|
+
"version": "0.87.0"
|
|
3346
3390
|
}
|