hereya-cli 0.100.5 → 0.101.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.
@@ -1096,102 +1096,6 @@
1096
1096
  "index.js"
1097
1097
  ]
1098
1098
  },
1099
- "up": {
1100
- "aliases": [],
1101
- "args": {},
1102
- "description": "Provision all packages in the project.",
1103
- "examples": [
1104
- "<%= config.bin %> <%= command.id %>"
1105
- ],
1106
- "flags": {
1107
- "chdir": {
1108
- "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 ",
1109
- "name": "chdir",
1110
- "required": false,
1111
- "hasDynamicHelp": false,
1112
- "multiple": false,
1113
- "type": "option"
1114
- },
1115
- "debug": {
1116
- "description": "enable debug mode",
1117
- "name": "debug",
1118
- "allowNo": false,
1119
- "type": "boolean"
1120
- },
1121
- "deploy": {
1122
- "description": "provision deployment companion packages",
1123
- "name": "deploy",
1124
- "required": false,
1125
- "allowNo": false,
1126
- "type": "boolean"
1127
- },
1128
- "select": {
1129
- "char": "s",
1130
- "description": "select the packages to provision",
1131
- "name": "select",
1132
- "default": [],
1133
- "hasDynamicHelp": false,
1134
- "multiple": true,
1135
- "type": "option"
1136
- },
1137
- "workspace": {
1138
- "char": "w",
1139
- "description": "name of the workspace to install the packages for",
1140
- "name": "workspace",
1141
- "required": false,
1142
- "hasDynamicHelp": false,
1143
- "multiple": false,
1144
- "type": "option"
1145
- }
1146
- },
1147
- "hasDynamicHelp": false,
1148
- "hiddenAliases": [],
1149
- "id": "up",
1150
- "pluginAlias": "hereya-cli",
1151
- "pluginName": "hereya-cli",
1152
- "pluginType": "core",
1153
- "strict": true,
1154
- "enableJsonFlag": false,
1155
- "isESM": true,
1156
- "relativePath": [
1157
- "dist",
1158
- "commands",
1159
- "up",
1160
- "index.js"
1161
- ]
1162
- },
1163
- "update": {
1164
- "aliases": [],
1165
- "args": {
1166
- "version": {
1167
- "default": "latest",
1168
- "description": "version to update to",
1169
- "name": "version",
1170
- "required": false
1171
- }
1172
- },
1173
- "description": "Update hereya CLI to the latest or a specific version.",
1174
- "examples": [
1175
- "<%= config.bin %> <%= command.id %>",
1176
- "<%= config.bin %> <%= command.id %> 0.75.0"
1177
- ],
1178
- "flags": {},
1179
- "hasDynamicHelp": false,
1180
- "hiddenAliases": [],
1181
- "id": "update",
1182
- "pluginAlias": "hereya-cli",
1183
- "pluginName": "hereya-cli",
1184
- "pluginType": "core",
1185
- "strict": true,
1186
- "enableJsonFlag": false,
1187
- "isESM": true,
1188
- "relativePath": [
1189
- "dist",
1190
- "commands",
1191
- "update",
1192
- "index.js"
1193
- ]
1194
- },
1195
1099
  "uninit": {
1196
1100
  "aliases": [],
1197
1101
  "args": {
@@ -1250,57 +1154,49 @@
1250
1154
  "index.js"
1251
1155
  ]
1252
1156
  },
1253
- "app:deploy": {
1157
+ "up": {
1254
1158
  "aliases": [],
1255
- "args": {
1256
- "name": {
1257
- "description": "app name in org/name format",
1258
- "name": "name",
1259
- "required": true
1260
- }
1261
- },
1262
- "description": "Deploy a hereya-app to a workspace.",
1159
+ "args": {},
1160
+ "description": "Provision all packages in the project.",
1263
1161
  "examples": [
1264
- "<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace",
1265
- "<%= config.bin %> <%= command.id %> my-org/my-app -w prod --version 1.2.0",
1266
- "<%= config.bin %> <%= command.id %> my-org/my-app -w prod -p organizationId=org-123"
1162
+ "<%= config.bin %> <%= command.id %>"
1267
1163
  ],
1268
1164
  "flags": {
1269
1165
  "chdir": {
1270
- "description": "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.",
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 ",
1271
1167
  "name": "chdir",
1272
1168
  "required": false,
1273
1169
  "hasDynamicHelp": false,
1274
1170
  "multiple": false,
1275
1171
  "type": "option"
1276
1172
  },
1277
- "local": {
1278
- "description": "force local execution (skip remote executor)",
1279
- "name": "local",
1173
+ "debug": {
1174
+ "description": "enable debug mode",
1175
+ "name": "debug",
1280
1176
  "allowNo": false,
1281
1177
  "type": "boolean"
1282
1178
  },
1283
- "parameter": {
1284
- "char": "p",
1285
- "description": "parameter for the app deployment, in the form of key=value (repeatable)",
1286
- "name": "parameter",
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",
1287
1190
  "default": [],
1288
1191
  "hasDynamicHelp": false,
1289
1192
  "multiple": true,
1290
1193
  "type": "option"
1291
1194
  },
1292
- "version": {
1293
- "description": "specific app version to deploy (defaults to latest)",
1294
- "name": "version",
1295
- "hasDynamicHelp": false,
1296
- "multiple": false,
1297
- "type": "option"
1298
- },
1299
1195
  "workspace": {
1300
1196
  "char": "w",
1301
- "description": "name of the workspace to deploy the app to",
1197
+ "description": "name of the workspace to install the packages for",
1302
1198
  "name": "workspace",
1303
- "required": true,
1199
+ "required": false,
1304
1200
  "hasDynamicHelp": false,
1305
1201
  "multiple": false,
1306
1202
  "type": "option"
@@ -1308,7 +1204,7 @@
1308
1204
  },
1309
1205
  "hasDynamicHelp": false,
1310
1206
  "hiddenAliases": [],
1311
- "id": "app:deploy",
1207
+ "id": "up",
1312
1208
  "pluginAlias": "hereya-cli",
1313
1209
  "pluginName": "hereya-cli",
1314
1210
  "pluginType": "core",
@@ -1318,8 +1214,39 @@
1318
1214
  "relativePath": [
1319
1215
  "dist",
1320
1216
  "commands",
1321
- "app",
1322
- "deploy",
1217
+ "up",
1218
+ "index.js"
1219
+ ]
1220
+ },
1221
+ "update": {
1222
+ "aliases": [],
1223
+ "args": {
1224
+ "version": {
1225
+ "default": "latest",
1226
+ "description": "version to update to",
1227
+ "name": "version",
1228
+ "required": false
1229
+ }
1230
+ },
1231
+ "description": "Update hereya CLI to the latest or a specific version.",
1232
+ "examples": [
1233
+ "<%= config.bin %> <%= command.id %>",
1234
+ "<%= config.bin %> <%= command.id %> 0.75.0"
1235
+ ],
1236
+ "flags": {},
1237
+ "hasDynamicHelp": false,
1238
+ "hiddenAliases": [],
1239
+ "id": "update",
1240
+ "pluginAlias": "hereya-cli",
1241
+ "pluginName": "hereya-cli",
1242
+ "pluginType": "core",
1243
+ "strict": true,
1244
+ "enableJsonFlag": false,
1245
+ "isESM": true,
1246
+ "relativePath": [
1247
+ "dist",
1248
+ "commands",
1249
+ "update",
1323
1250
  "index.js"
1324
1251
  ]
1325
1252
  },
@@ -1701,46 +1628,57 @@
1701
1628
  "index.js"
1702
1629
  ]
1703
1630
  },
1704
- "docker:run": {
1631
+ "app:deploy": {
1705
1632
  "aliases": [],
1706
1633
  "args": {
1707
- "image": {
1708
- "description": "Docker image to run",
1709
- "name": "image",
1634
+ "name": {
1635
+ "description": "app name in org/name format",
1636
+ "name": "name",
1710
1637
  "required": true
1711
1638
  }
1712
1639
  },
1713
- "description": "Run a Docker container with hereya env vars injected as -e flags.",
1640
+ "description": "Deploy a hereya-app to a workspace.",
1714
1641
  "examples": [
1715
- "<%= config.bin %> <%= command.id %> myapp:latest",
1716
- "<%= config.bin %> <%= command.id %> -w staging myapp:latest",
1717
- "<%= config.bin %> <%= command.id %> -p 3000 myapp:latest",
1718
- "<%= config.bin %> <%= command.id %> myapp:latest -- --rm -v ./data:/data"
1642
+ "<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace",
1643
+ "<%= config.bin %> <%= command.id %> my-org/my-app -w prod --version 1.2.0",
1644
+ "<%= config.bin %> <%= command.id %> my-org/my-app -w prod -p organizationId=org-123"
1719
1645
  ],
1720
1646
  "flags": {
1721
1647
  "chdir": {
1722
- "description": "directory to run command in",
1648
+ "description": "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.",
1723
1649
  "name": "chdir",
1724
1650
  "required": false,
1725
1651
  "hasDynamicHelp": false,
1726
1652
  "multiple": false,
1727
1653
  "type": "option"
1728
1654
  },
1729
- "port": {
1655
+ "local": {
1656
+ "description": "force local execution (skip remote executor)",
1657
+ "name": "local",
1658
+ "allowNo": false,
1659
+ "type": "boolean"
1660
+ },
1661
+ "parameter": {
1730
1662
  "char": "p",
1731
- "description": "port to forward and set as PORT env var (default: 8080)",
1732
- "name": "port",
1733
- "required": false,
1734
- "default": 8080,
1663
+ "description": "parameter for the app deployment, in the form of key=value (repeatable)",
1664
+ "name": "parameter",
1665
+ "default": [],
1666
+ "hasDynamicHelp": false,
1667
+ "multiple": true,
1668
+ "type": "option"
1669
+ },
1670
+ "version": {
1671
+ "description": "specific app version to deploy (defaults to latest)",
1672
+ "name": "version",
1735
1673
  "hasDynamicHelp": false,
1736
1674
  "multiple": false,
1737
1675
  "type": "option"
1738
1676
  },
1739
1677
  "workspace": {
1740
1678
  "char": "w",
1741
- "description": "name of the workspace to use",
1679
+ "description": "name of the workspace to deploy the app to",
1742
1680
  "name": "workspace",
1743
- "required": false,
1681
+ "required": true,
1744
1682
  "hasDynamicHelp": false,
1745
1683
  "multiple": false,
1746
1684
  "type": "option"
@@ -1748,57 +1686,149 @@
1748
1686
  },
1749
1687
  "hasDynamicHelp": false,
1750
1688
  "hiddenAliases": [],
1751
- "id": "docker:run",
1689
+ "id": "app:deploy",
1752
1690
  "pluginAlias": "hereya-cli",
1753
1691
  "pluginName": "hereya-cli",
1754
1692
  "pluginType": "core",
1755
- "strict": false,
1693
+ "strict": true,
1756
1694
  "enableJsonFlag": false,
1757
1695
  "isESM": true,
1758
1696
  "relativePath": [
1759
1697
  "dist",
1760
1698
  "commands",
1761
- "docker",
1762
- "run",
1699
+ "app",
1700
+ "deploy",
1763
1701
  "index.js"
1764
1702
  ]
1765
1703
  },
1766
- "env:set": {
1704
+ "devenv:config": {
1767
1705
  "aliases": [],
1768
- "args": {
1769
- "name": {
1770
- "description": "name of the environment variable to set",
1771
- "name": "name"
1772
- }
1773
- },
1774
- "description": "Set an user-defined environment variable for the project",
1706
+ "args": {},
1707
+ "description": "Configure SSH for a dev environment and display connection details. On-demand devenvs use a ProxyCommand that wakes the instance on first connection.",
1775
1708
  "examples": [
1776
- "<%= config.bin %> <%= command.id %> FOO -v bar",
1777
- "<%= config.bin %> <%= command.id %> FOO -v bar -w dev"
1709
+ "<%= config.bin %> <%= command.id %> -w my-workspace"
1778
1710
  ],
1779
1711
  "flags": {
1780
- "chdir": {
1781
- "description": "project root directory",
1782
- "name": "chdir",
1783
- "required": false,
1784
- "hasDynamicHelp": false,
1785
- "multiple": false,
1712
+ "workspace": {
1713
+ "char": "w",
1714
+ "description": "name of the workspace to configure SSH for",
1715
+ "name": "workspace",
1716
+ "required": true,
1717
+ "hasDynamicHelp": false,
1718
+ "multiple": false,
1719
+ "type": "option"
1720
+ }
1721
+ },
1722
+ "hasDynamicHelp": false,
1723
+ "hiddenAliases": [],
1724
+ "id": "devenv:config",
1725
+ "pluginAlias": "hereya-cli",
1726
+ "pluginName": "hereya-cli",
1727
+ "pluginType": "core",
1728
+ "strict": true,
1729
+ "enableJsonFlag": false,
1730
+ "isESM": true,
1731
+ "relativePath": [
1732
+ "dist",
1733
+ "commands",
1734
+ "devenv",
1735
+ "config",
1736
+ "index.js"
1737
+ ]
1738
+ },
1739
+ "devenv:install": {
1740
+ "aliases": [],
1741
+ "args": {},
1742
+ "description": "Provision a remote dev environment on a workspace.",
1743
+ "examples": [
1744
+ "<%= config.bin %> <%= command.id %> -w my-workspace -p instanceType=t3.large"
1745
+ ],
1746
+ "flags": {
1747
+ "debug": {
1748
+ "description": "enable debug mode",
1749
+ "name": "debug",
1750
+ "allowNo": false,
1751
+ "type": "boolean"
1752
+ },
1753
+ "on-behalf-of": {
1754
+ "description": "email of an org member to install the devenv for; the baked Hereya token will carry their identity (requires OWNER or ADMIN role)",
1755
+ "name": "on-behalf-of",
1756
+ "required": false,
1757
+ "hasDynamicHelp": false,
1758
+ "multiple": false,
1786
1759
  "type": "option"
1787
1760
  },
1788
- "value": {
1761
+ "parameter": {
1762
+ "char": "p",
1763
+ "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
1764
+ "name": "parameter",
1765
+ "default": [],
1766
+ "hasDynamicHelp": false,
1767
+ "multiple": true,
1768
+ "type": "option"
1769
+ },
1770
+ "parameter-file": {
1771
+ "char": "f",
1772
+ "description": "path to a file containing parameters for the package",
1773
+ "name": "parameter-file",
1774
+ "hasDynamicHelp": false,
1775
+ "multiple": false,
1776
+ "type": "option"
1777
+ },
1778
+ "version": {
1789
1779
  "char": "v",
1790
- "description": "value of the environment variable",
1791
- "name": "value",
1780
+ "description": "version of the dev environment package",
1781
+ "name": "version",
1782
+ "hasDynamicHelp": false,
1783
+ "multiple": false,
1784
+ "type": "option"
1785
+ },
1786
+ "workspace": {
1787
+ "char": "w",
1788
+ "description": "name of the workspace to provision the dev environment on",
1789
+ "name": "workspace",
1792
1790
  "required": true,
1793
1791
  "hasDynamicHelp": false,
1794
1792
  "multiple": false,
1795
1793
  "type": "option"
1794
+ }
1795
+ },
1796
+ "hasDynamicHelp": false,
1797
+ "hiddenAliases": [],
1798
+ "id": "devenv:install",
1799
+ "pluginAlias": "hereya-cli",
1800
+ "pluginName": "hereya-cli",
1801
+ "pluginType": "core",
1802
+ "strict": true,
1803
+ "enableJsonFlag": false,
1804
+ "isESM": true,
1805
+ "relativePath": [
1806
+ "dist",
1807
+ "commands",
1808
+ "devenv",
1809
+ "install",
1810
+ "index.js"
1811
+ ]
1812
+ },
1813
+ "devenv:sleep": {
1814
+ "aliases": [],
1815
+ "args": {},
1816
+ "description": "Stop the dev environment instance for a workspace (lifecycle=on-demand only).",
1817
+ "examples": [
1818
+ "<%= config.bin %> <%= command.id %> -w my-workspace"
1819
+ ],
1820
+ "flags": {
1821
+ "debug": {
1822
+ "description": "enable debug mode",
1823
+ "name": "debug",
1824
+ "allowNo": false,
1825
+ "type": "boolean"
1796
1826
  },
1797
1827
  "workspace": {
1798
1828
  "char": "w",
1799
- "description": "name of the workspace to print the env vars for",
1829
+ "description": "name of the workspace whose dev environment should be stopped",
1800
1830
  "name": "workspace",
1801
- "required": false,
1831
+ "required": true,
1802
1832
  "hasDynamicHelp": false,
1803
1833
  "multiple": false,
1804
1834
  "type": "option"
@@ -1806,7 +1836,7 @@
1806
1836
  },
1807
1837
  "hasDynamicHelp": false,
1808
1838
  "hiddenAliases": [],
1809
- "id": "env:set",
1839
+ "id": "devenv:sleep",
1810
1840
  "pluginAlias": "hereya-cli",
1811
1841
  "pluginName": "hereya-cli",
1812
1842
  "pluginType": "core",
@@ -1816,53 +1846,159 @@
1816
1846
  "relativePath": [
1817
1847
  "dist",
1818
1848
  "commands",
1819
- "env",
1820
- "set",
1849
+ "devenv",
1850
+ "sleep",
1821
1851
  "index.js"
1822
1852
  ]
1823
1853
  },
1824
- "flow:add": {
1854
+ "devenv:ssh": {
1855
+ "aliases": [],
1856
+ "args": {},
1857
+ "description": "SSH into a dev environment instance.",
1858
+ "examples": [
1859
+ "<%= config.bin %> <%= command.id %> -w my-workspace"
1860
+ ],
1861
+ "flags": {
1862
+ "workspace": {
1863
+ "char": "w",
1864
+ "description": "name of the workspace to SSH into",
1865
+ "name": "workspace",
1866
+ "required": true,
1867
+ "hasDynamicHelp": false,
1868
+ "multiple": false,
1869
+ "type": "option"
1870
+ }
1871
+ },
1872
+ "hasDynamicHelp": false,
1873
+ "hiddenAliases": [],
1874
+ "id": "devenv:ssh",
1875
+ "pluginAlias": "hereya-cli",
1876
+ "pluginName": "hereya-cli",
1877
+ "pluginType": "core",
1878
+ "strict": true,
1879
+ "enableJsonFlag": false,
1880
+ "isESM": true,
1881
+ "relativePath": [
1882
+ "dist",
1883
+ "commands",
1884
+ "devenv",
1885
+ "ssh",
1886
+ "index.js"
1887
+ ]
1888
+ },
1889
+ "devenv:ssh-proxy": {
1890
+ "aliases": [],
1891
+ "args": {},
1892
+ "description": "Internal: SSH ProxyCommand for on-demand devenvs (wake + connect).",
1893
+ "flags": {
1894
+ "workspace": {
1895
+ "char": "w",
1896
+ "description": "name of the workspace to proxy SSH for",
1897
+ "name": "workspace",
1898
+ "required": true,
1899
+ "hasDynamicHelp": false,
1900
+ "multiple": false,
1901
+ "type": "option"
1902
+ }
1903
+ },
1904
+ "hasDynamicHelp": false,
1905
+ "hidden": true,
1906
+ "hiddenAliases": [],
1907
+ "id": "devenv:ssh-proxy",
1908
+ "pluginAlias": "hereya-cli",
1909
+ "pluginName": "hereya-cli",
1910
+ "pluginType": "core",
1911
+ "strict": true,
1912
+ "enableJsonFlag": false,
1913
+ "isESM": true,
1914
+ "relativePath": [
1915
+ "dist",
1916
+ "commands",
1917
+ "devenv",
1918
+ "ssh-proxy",
1919
+ "index.js"
1920
+ ]
1921
+ },
1922
+ "devenv:uninstall": {
1923
+ "aliases": [],
1924
+ "args": {},
1925
+ "description": "Destroy and remove the dev environment from a workspace.",
1926
+ "examples": [
1927
+ "<%= config.bin %> <%= command.id %> -w my-workspace"
1928
+ ],
1929
+ "flags": {
1930
+ "debug": {
1931
+ "description": "enable debug mode",
1932
+ "name": "debug",
1933
+ "allowNo": false,
1934
+ "type": "boolean"
1935
+ },
1936
+ "workspace": {
1937
+ "char": "w",
1938
+ "description": "name of the workspace to remove the dev environment from",
1939
+ "name": "workspace",
1940
+ "required": true,
1941
+ "hasDynamicHelp": false,
1942
+ "multiple": false,
1943
+ "type": "option"
1944
+ }
1945
+ },
1946
+ "hasDynamicHelp": false,
1947
+ "hiddenAliases": [],
1948
+ "id": "devenv:uninstall",
1949
+ "pluginAlias": "hereya-cli",
1950
+ "pluginName": "hereya-cli",
1951
+ "pluginType": "core",
1952
+ "strict": true,
1953
+ "enableJsonFlag": false,
1954
+ "isESM": true,
1955
+ "relativePath": [
1956
+ "dist",
1957
+ "commands",
1958
+ "devenv",
1959
+ "uninstall",
1960
+ "index.js"
1961
+ ]
1962
+ },
1963
+ "docker:run": {
1825
1964
  "aliases": [],
1826
1965
  "args": {
1827
- "package": {
1828
- "description": "\n The package to add, 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 ",
1829
- "name": "package",
1966
+ "image": {
1967
+ "description": "Docker image to run",
1968
+ "name": "image",
1830
1969
  "required": true
1831
1970
  }
1832
1971
  },
1833
- "description": "Add a package to the project in a git branch-based workspace",
1972
+ "description": "Run a Docker container with hereya env vars injected as -e flags.",
1834
1973
  "examples": [
1835
- "<%= config.bin %> <%= command.id %> cloudy/docker_postgres",
1836
- "<%= config.bin %> <%= command.id %> cloudy/docker_postgres --profile staging",
1837
- "<%= config.bin %> <%= command.id %> cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin"
1974
+ "<%= config.bin %> <%= command.id %> myapp:latest",
1975
+ "<%= config.bin %> <%= command.id %> -w staging myapp:latest",
1976
+ "<%= config.bin %> <%= command.id %> -p 3000 myapp:latest",
1977
+ "<%= config.bin %> <%= command.id %> myapp:latest -- --rm -v ./data:/data"
1838
1978
  ],
1839
1979
  "flags": {
1840
1980
  "chdir": {
1841
- "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 ",
1981
+ "description": "directory to run command in",
1842
1982
  "name": "chdir",
1843
1983
  "required": false,
1844
1984
  "hasDynamicHelp": false,
1845
1985
  "multiple": false,
1846
1986
  "type": "option"
1847
1987
  },
1848
- "debug": {
1849
- "description": "enable debug mode",
1850
- "name": "debug",
1851
- "allowNo": false,
1852
- "type": "boolean"
1853
- },
1854
- "parameter": {
1988
+ "port": {
1855
1989
  "char": "p",
1856
- "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
1857
- "name": "parameter",
1858
- "default": [],
1990
+ "description": "port to forward and set as PORT env var (default: 8080)",
1991
+ "name": "port",
1992
+ "required": false,
1993
+ "default": 8080,
1859
1994
  "hasDynamicHelp": false,
1860
- "multiple": true,
1995
+ "multiple": false,
1861
1996
  "type": "option"
1862
1997
  },
1863
- "profile": {
1864
- "description": "profile to use for the workspace (will be appended to workspace name)",
1865
- "name": "profile",
1998
+ "workspace": {
1999
+ "char": "w",
2000
+ "description": "name of the workspace to use",
2001
+ "name": "workspace",
1866
2002
  "required": false,
1867
2003
  "hasDynamicHelp": false,
1868
2004
  "multiple": false,
@@ -1871,7 +2007,65 @@
1871
2007
  },
1872
2008
  "hasDynamicHelp": false,
1873
2009
  "hiddenAliases": [],
1874
- "id": "flow:add",
2010
+ "id": "docker:run",
2011
+ "pluginAlias": "hereya-cli",
2012
+ "pluginName": "hereya-cli",
2013
+ "pluginType": "core",
2014
+ "strict": false,
2015
+ "enableJsonFlag": false,
2016
+ "isESM": true,
2017
+ "relativePath": [
2018
+ "dist",
2019
+ "commands",
2020
+ "docker",
2021
+ "run",
2022
+ "index.js"
2023
+ ]
2024
+ },
2025
+ "env:set": {
2026
+ "aliases": [],
2027
+ "args": {
2028
+ "name": {
2029
+ "description": "name of the environment variable to set",
2030
+ "name": "name"
2031
+ }
2032
+ },
2033
+ "description": "Set an user-defined environment variable for the project",
2034
+ "examples": [
2035
+ "<%= config.bin %> <%= command.id %> FOO -v bar",
2036
+ "<%= config.bin %> <%= command.id %> FOO -v bar -w dev"
2037
+ ],
2038
+ "flags": {
2039
+ "chdir": {
2040
+ "description": "project root directory",
2041
+ "name": "chdir",
2042
+ "required": false,
2043
+ "hasDynamicHelp": false,
2044
+ "multiple": false,
2045
+ "type": "option"
2046
+ },
2047
+ "value": {
2048
+ "char": "v",
2049
+ "description": "value of the environment variable",
2050
+ "name": "value",
2051
+ "required": true,
2052
+ "hasDynamicHelp": false,
2053
+ "multiple": false,
2054
+ "type": "option"
2055
+ },
2056
+ "workspace": {
2057
+ "char": "w",
2058
+ "description": "name of the workspace to print the env vars for",
2059
+ "name": "workspace",
2060
+ "required": false,
2061
+ "hasDynamicHelp": false,
2062
+ "multiple": false,
2063
+ "type": "option"
2064
+ }
2065
+ },
2066
+ "hasDynamicHelp": false,
2067
+ "hiddenAliases": [],
2068
+ "id": "env:set",
1875
2069
  "pluginAlias": "hereya-cli",
1876
2070
  "pluginName": "hereya-cli",
1877
2071
  "pluginType": "core",
@@ -1881,8 +2075,8 @@
1881
2075
  "relativePath": [
1882
2076
  "dist",
1883
2077
  "commands",
1884
- "flow",
1885
- "add",
2078
+ "env",
2079
+ "set",
1886
2080
  "index.js"
1887
2081
  ]
1888
2082
  },
@@ -1929,7 +2123,72 @@
1929
2123
  },
1930
2124
  "hasDynamicHelp": false,
1931
2125
  "hiddenAliases": [],
1932
- "id": "executor:start",
2126
+ "id": "executor:start",
2127
+ "pluginAlias": "hereya-cli",
2128
+ "pluginName": "hereya-cli",
2129
+ "pluginType": "core",
2130
+ "strict": true,
2131
+ "enableJsonFlag": false,
2132
+ "isESM": true,
2133
+ "relativePath": [
2134
+ "dist",
2135
+ "commands",
2136
+ "executor",
2137
+ "start",
2138
+ "index.js"
2139
+ ]
2140
+ },
2141
+ "flow:add": {
2142
+ "aliases": [],
2143
+ "args": {
2144
+ "package": {
2145
+ "description": "\n The package to add, 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 ",
2146
+ "name": "package",
2147
+ "required": true
2148
+ }
2149
+ },
2150
+ "description": "Add a package to the project in a git branch-based workspace",
2151
+ "examples": [
2152
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres",
2153
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres --profile staging",
2154
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin"
2155
+ ],
2156
+ "flags": {
2157
+ "chdir": {
2158
+ "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 ",
2159
+ "name": "chdir",
2160
+ "required": false,
2161
+ "hasDynamicHelp": false,
2162
+ "multiple": false,
2163
+ "type": "option"
2164
+ },
2165
+ "debug": {
2166
+ "description": "enable debug mode",
2167
+ "name": "debug",
2168
+ "allowNo": false,
2169
+ "type": "boolean"
2170
+ },
2171
+ "parameter": {
2172
+ "char": "p",
2173
+ "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
2174
+ "name": "parameter",
2175
+ "default": [],
2176
+ "hasDynamicHelp": false,
2177
+ "multiple": true,
2178
+ "type": "option"
2179
+ },
2180
+ "profile": {
2181
+ "description": "profile to use for the workspace (will be appended to workspace name)",
2182
+ "name": "profile",
2183
+ "required": false,
2184
+ "hasDynamicHelp": false,
2185
+ "multiple": false,
2186
+ "type": "option"
2187
+ }
2188
+ },
2189
+ "hasDynamicHelp": false,
2190
+ "hiddenAliases": [],
2191
+ "id": "flow:add",
1933
2192
  "pluginAlias": "hereya-cli",
1934
2193
  "pluginName": "hereya-cli",
1935
2194
  "pluginType": "core",
@@ -1939,8 +2198,8 @@
1939
2198
  "relativePath": [
1940
2199
  "dist",
1941
2200
  "commands",
1942
- "executor",
1943
- "start",
2201
+ "flow",
2202
+ "add",
1944
2203
  "index.js"
1945
2204
  ]
1946
2205
  },
@@ -2329,48 +2588,23 @@
2329
2588
  "index.js"
2330
2589
  ]
2331
2590
  },
2332
- "workspace:create": {
2591
+ "workspace:delete": {
2333
2592
  "aliases": [],
2334
2593
  "args": {
2335
2594
  "name": {
2336
- "description": "name of the workspace to create",
2595
+ "description": "name of the workspace to delete",
2337
2596
  "name": "name",
2338
2597
  "required": true
2339
2598
  }
2340
2599
  },
2341
- "description": "Create a new workspace if it does not exist.",
2600
+ "description": "Delete a workspace if it exists.",
2342
2601
  "examples": [
2343
2602
  "<%= config.bin %> <%= command.id %> dev"
2344
2603
  ],
2345
- "flags": {
2346
- "deployment": {
2347
- "char": "d",
2348
- "description": "mark workspace as a deployment workspace",
2349
- "name": "deployment",
2350
- "required": false,
2351
- "allowNo": false,
2352
- "type": "boolean"
2353
- },
2354
- "mirror": {
2355
- "description": "workspace to mirror",
2356
- "name": "mirror",
2357
- "required": false,
2358
- "hasDynamicHelp": false,
2359
- "multiple": false,
2360
- "type": "option"
2361
- },
2362
- "profile": {
2363
- "description": "workspace profile to set (cloud backend only)",
2364
- "name": "profile",
2365
- "required": false,
2366
- "hasDynamicHelp": false,
2367
- "multiple": false,
2368
- "type": "option"
2369
- }
2370
- },
2604
+ "flags": {},
2371
2605
  "hasDynamicHelp": false,
2372
2606
  "hiddenAliases": [],
2373
- "id": "workspace:create",
2607
+ "id": "workspace:delete",
2374
2608
  "pluginAlias": "hereya-cli",
2375
2609
  "pluginName": "hereya-cli",
2376
2610
  "pluginType": "core",
@@ -2381,7 +2615,7 @@
2381
2615
  "dist",
2382
2616
  "commands",
2383
2617
  "workspace",
2384
- "create",
2618
+ "delete",
2385
2619
  "index.js"
2386
2620
  ]
2387
2621
  },
@@ -2435,37 +2669,6 @@
2435
2669
  "index.js"
2436
2670
  ]
2437
2671
  },
2438
- "workspace:delete": {
2439
- "aliases": [],
2440
- "args": {
2441
- "name": {
2442
- "description": "name of the workspace to delete",
2443
- "name": "name",
2444
- "required": true
2445
- }
2446
- },
2447
- "description": "Delete a workspace if it exists.",
2448
- "examples": [
2449
- "<%= config.bin %> <%= command.id %> dev"
2450
- ],
2451
- "flags": {},
2452
- "hasDynamicHelp": false,
2453
- "hiddenAliases": [],
2454
- "id": "workspace:delete",
2455
- "pluginAlias": "hereya-cli",
2456
- "pluginName": "hereya-cli",
2457
- "pluginType": "core",
2458
- "strict": true,
2459
- "enableJsonFlag": false,
2460
- "isESM": true,
2461
- "relativePath": [
2462
- "dist",
2463
- "commands",
2464
- "workspace",
2465
- "delete",
2466
- "index.js"
2467
- ]
2468
- },
2469
2672
  "workspace:install": {
2470
2673
  "aliases": [],
2471
2674
  "args": {
@@ -2680,169 +2883,40 @@
2680
2883
  "index.js"
2681
2884
  ]
2682
2885
  },
2683
- "devenv:config": {
2886
+ "workspace:create": {
2684
2887
  "aliases": [],
2685
- "args": {},
2686
- "description": "Configure SSH for a dev environment and display connection details. On-demand devenvs use a ProxyCommand that wakes the instance on first connection.",
2687
- "examples": [
2688
- "<%= config.bin %> <%= command.id %> -w my-workspace"
2689
- ],
2690
- "flags": {
2691
- "workspace": {
2692
- "char": "w",
2693
- "description": "name of the workspace to configure SSH for",
2694
- "name": "workspace",
2695
- "required": true,
2696
- "hasDynamicHelp": false,
2697
- "multiple": false,
2698
- "type": "option"
2888
+ "args": {
2889
+ "name": {
2890
+ "description": "name of the workspace to create",
2891
+ "name": "name",
2892
+ "required": true
2699
2893
  }
2700
2894
  },
2701
- "hasDynamicHelp": false,
2702
- "hiddenAliases": [],
2703
- "id": "devenv:config",
2704
- "pluginAlias": "hereya-cli",
2705
- "pluginName": "hereya-cli",
2706
- "pluginType": "core",
2707
- "strict": true,
2708
- "enableJsonFlag": false,
2709
- "isESM": true,
2710
- "relativePath": [
2711
- "dist",
2712
- "commands",
2713
- "devenv",
2714
- "config",
2715
- "index.js"
2716
- ]
2717
- },
2718
- "devenv:install": {
2719
- "aliases": [],
2720
- "args": {},
2721
- "description": "Provision a remote dev environment on a workspace.",
2895
+ "description": "Create a new workspace if it does not exist.",
2722
2896
  "examples": [
2723
- "<%= config.bin %> <%= command.id %> -w my-workspace -p instanceType=t3.large"
2897
+ "<%= config.bin %> <%= command.id %> dev"
2724
2898
  ],
2725
2899
  "flags": {
2726
- "debug": {
2727
- "description": "enable debug mode",
2728
- "name": "debug",
2900
+ "deployment": {
2901
+ "char": "d",
2902
+ "description": "mark workspace as a deployment workspace",
2903
+ "name": "deployment",
2904
+ "required": false,
2729
2905
  "allowNo": false,
2730
2906
  "type": "boolean"
2731
2907
  },
2732
- "on-behalf-of": {
2733
- "description": "email of an org member to install the devenv for; the baked Hereya token will carry their identity (requires OWNER or ADMIN role)",
2734
- "name": "on-behalf-of",
2908
+ "mirror": {
2909
+ "description": "workspace to mirror",
2910
+ "name": "mirror",
2735
2911
  "required": false,
2736
2912
  "hasDynamicHelp": false,
2737
2913
  "multiple": false,
2738
2914
  "type": "option"
2739
2915
  },
2740
- "parameter": {
2741
- "char": "p",
2742
- "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
2743
- "name": "parameter",
2744
- "default": [],
2745
- "hasDynamicHelp": false,
2746
- "multiple": true,
2747
- "type": "option"
2748
- },
2749
- "parameter-file": {
2750
- "char": "f",
2751
- "description": "path to a file containing parameters for the package",
2752
- "name": "parameter-file",
2753
- "hasDynamicHelp": false,
2754
- "multiple": false,
2755
- "type": "option"
2756
- },
2757
- "version": {
2758
- "char": "v",
2759
- "description": "version of the dev environment package",
2760
- "name": "version",
2761
- "hasDynamicHelp": false,
2762
- "multiple": false,
2763
- "type": "option"
2764
- },
2765
- "workspace": {
2766
- "char": "w",
2767
- "description": "name of the workspace to provision the dev environment on",
2768
- "name": "workspace",
2769
- "required": true,
2770
- "hasDynamicHelp": false,
2771
- "multiple": false,
2772
- "type": "option"
2773
- }
2774
- },
2775
- "hasDynamicHelp": false,
2776
- "hiddenAliases": [],
2777
- "id": "devenv:install",
2778
- "pluginAlias": "hereya-cli",
2779
- "pluginName": "hereya-cli",
2780
- "pluginType": "core",
2781
- "strict": true,
2782
- "enableJsonFlag": false,
2783
- "isESM": true,
2784
- "relativePath": [
2785
- "dist",
2786
- "commands",
2787
- "devenv",
2788
- "install",
2789
- "index.js"
2790
- ]
2791
- },
2792
- "devenv:sleep": {
2793
- "aliases": [],
2794
- "args": {},
2795
- "description": "Stop the dev environment instance for a workspace (lifecycle=on-demand only).",
2796
- "examples": [
2797
- "<%= config.bin %> <%= command.id %> -w my-workspace"
2798
- ],
2799
- "flags": {
2800
- "debug": {
2801
- "description": "enable debug mode",
2802
- "name": "debug",
2803
- "allowNo": false,
2804
- "type": "boolean"
2805
- },
2806
- "workspace": {
2807
- "char": "w",
2808
- "description": "name of the workspace whose dev environment should be stopped",
2809
- "name": "workspace",
2810
- "required": true,
2811
- "hasDynamicHelp": false,
2812
- "multiple": false,
2813
- "type": "option"
2814
- }
2815
- },
2816
- "hasDynamicHelp": false,
2817
- "hiddenAliases": [],
2818
- "id": "devenv:sleep",
2819
- "pluginAlias": "hereya-cli",
2820
- "pluginName": "hereya-cli",
2821
- "pluginType": "core",
2822
- "strict": true,
2823
- "enableJsonFlag": false,
2824
- "isESM": true,
2825
- "relativePath": [
2826
- "dist",
2827
- "commands",
2828
- "devenv",
2829
- "sleep",
2830
- "index.js"
2831
- ]
2832
- },
2833
- "devenv:ssh": {
2834
- "aliases": [],
2835
- "args": {},
2836
- "description": "SSH into a dev environment instance.",
2837
- "examples": [
2838
- "<%= config.bin %> <%= command.id %> -w my-workspace"
2839
- ],
2840
- "flags": {
2841
- "workspace": {
2842
- "char": "w",
2843
- "description": "name of the workspace to SSH into",
2844
- "name": "workspace",
2845
- "required": true,
2916
+ "profile": {
2917
+ "description": "workspace profile to set (cloud backend only)",
2918
+ "name": "profile",
2919
+ "required": false,
2846
2920
  "hasDynamicHelp": false,
2847
2921
  "multiple": false,
2848
2922
  "type": "option"
@@ -2850,7 +2924,7 @@
2850
2924
  },
2851
2925
  "hasDynamicHelp": false,
2852
2926
  "hiddenAliases": [],
2853
- "id": "devenv:ssh",
2927
+ "id": "workspace:create",
2854
2928
  "pluginAlias": "hereya-cli",
2855
2929
  "pluginName": "hereya-cli",
2856
2930
  "pluginType": "core",
@@ -2860,19 +2934,36 @@
2860
2934
  "relativePath": [
2861
2935
  "dist",
2862
2936
  "commands",
2863
- "devenv",
2864
- "ssh",
2937
+ "workspace",
2938
+ "create",
2865
2939
  "index.js"
2866
2940
  ]
2867
2941
  },
2868
- "devenv:ssh-proxy": {
2942
+ "devenv:project:uninit": {
2869
2943
  "aliases": [],
2870
- "args": {},
2871
- "description": "Internal: SSH ProxyCommand for on-demand devenvs (wake + connect).",
2944
+ "args": {
2945
+ "project": {
2946
+ "description": "project name",
2947
+ "name": "project",
2948
+ "required": true
2949
+ }
2950
+ },
2951
+ "description": "Uninitialize a project on a remote dev environment.",
2952
+ "examples": [
2953
+ "<%= config.bin %> <%= command.id %> my-app -w my-workspace",
2954
+ "<%= config.bin %> <%= command.id %> my-app -w my-workspace --force"
2955
+ ],
2872
2956
  "flags": {
2957
+ "force": {
2958
+ "char": "f",
2959
+ "description": "also remove the project directory after uninit",
2960
+ "name": "force",
2961
+ "allowNo": false,
2962
+ "type": "boolean"
2963
+ },
2873
2964
  "workspace": {
2874
2965
  "char": "w",
2875
- "description": "name of the workspace to proxy SSH for",
2966
+ "description": "name of the workspace",
2876
2967
  "name": "workspace",
2877
2968
  "required": true,
2878
2969
  "hasDynamicHelp": false,
@@ -2881,9 +2972,8 @@
2881
2972
  }
2882
2973
  },
2883
2974
  "hasDynamicHelp": false,
2884
- "hidden": true,
2885
2975
  "hiddenAliases": [],
2886
- "id": "devenv:ssh-proxy",
2976
+ "id": "devenv:project:uninit",
2887
2977
  "pluginAlias": "hereya-cli",
2888
2978
  "pluginName": "hereya-cli",
2889
2979
  "pluginType": "core",
@@ -2894,27 +2984,65 @@
2894
2984
  "dist",
2895
2985
  "commands",
2896
2986
  "devenv",
2897
- "ssh-proxy",
2987
+ "project",
2988
+ "uninit",
2898
2989
  "index.js"
2899
2990
  ]
2900
2991
  },
2901
- "devenv:uninstall": {
2992
+ "devenv:project:init": {
2902
2993
  "aliases": [],
2903
- "args": {},
2904
- "description": "Destroy and remove the dev environment from a workspace.",
2994
+ "args": {
2995
+ "project": {
2996
+ "description": "project name",
2997
+ "name": "project",
2998
+ "required": true
2999
+ }
3000
+ },
3001
+ "description": "Initialize a project on a remote dev environment.",
2905
3002
  "examples": [
2906
- "<%= config.bin %> <%= command.id %> -w my-workspace"
3003
+ "<%= config.bin %> <%= command.id %> my-app -w my-workspace",
3004
+ "<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter",
3005
+ "<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter -p region=us-east-1"
2907
3006
  ],
2908
3007
  "flags": {
2909
- "debug": {
2910
- "description": "enable debug mode",
2911
- "name": "debug",
3008
+ "deploy-workspace": {
3009
+ "char": "d",
3010
+ "description": "workspace used for deployment (required when using a template)",
3011
+ "name": "deploy-workspace",
3012
+ "required": false,
3013
+ "hasDynamicHelp": false,
3014
+ "multiple": false,
3015
+ "type": "option"
3016
+ },
3017
+ "force": {
3018
+ "char": "f",
3019
+ "description": "continue even if folder already exists",
3020
+ "name": "force",
2912
3021
  "allowNo": false,
2913
3022
  "type": "boolean"
2914
3023
  },
3024
+ "parameter": {
3025
+ "char": "p",
3026
+ "description": "parameter for the template, in the form of 'key=value'. Can be specified multiple times.",
3027
+ "name": "parameter",
3028
+ "required": false,
3029
+ "default": [],
3030
+ "hasDynamicHelp": false,
3031
+ "multiple": true,
3032
+ "type": "option"
3033
+ },
3034
+ "template": {
3035
+ "char": "t",
3036
+ "description": "template package to scaffold the project from",
3037
+ "name": "template",
3038
+ "required": false,
3039
+ "hasDynamicHelp": false,
3040
+ "multiple": false,
3041
+ "type": "option"
3042
+ },
2915
3043
  "workspace": {
2916
3044
  "char": "w",
2917
- "description": "name of the workspace to remove the dev environment from",
3045
+ "description": "name of the workspace",
2918
3046
  "name": "workspace",
2919
3047
  "required": true,
2920
3048
  "hasDynamicHelp": false,
@@ -2924,7 +3052,7 @@
2924
3052
  },
2925
3053
  "hasDynamicHelp": false,
2926
3054
  "hiddenAliases": [],
2927
- "id": "devenv:uninstall",
3055
+ "id": "devenv:project:init",
2928
3056
  "pluginAlias": "hereya-cli",
2929
3057
  "pluginName": "hereya-cli",
2930
3058
  "pluginType": "core",
@@ -2935,7 +3063,8 @@
2935
3063
  "dist",
2936
3064
  "commands",
2937
3065
  "devenv",
2938
- "uninstall",
3066
+ "project",
3067
+ "init",
2939
3068
  "index.js"
2940
3069
  ]
2941
3070
  },
@@ -3122,39 +3251,6 @@
3122
3251
  "index.js"
3123
3252
  ]
3124
3253
  },
3125
- "workspace:executor:token": {
3126
- "aliases": [],
3127
- "args": {},
3128
- "description": "Generate a workspace-scoped executor token for the remote executor",
3129
- "flags": {
3130
- "workspace": {
3131
- "char": "w",
3132
- "description": "name of the workspace",
3133
- "name": "workspace",
3134
- "required": true,
3135
- "hasDynamicHelp": false,
3136
- "multiple": false,
3137
- "type": "option"
3138
- }
3139
- },
3140
- "hasDynamicHelp": false,
3141
- "hiddenAliases": [],
3142
- "id": "workspace:executor:token",
3143
- "pluginAlias": "hereya-cli",
3144
- "pluginName": "hereya-cli",
3145
- "pluginType": "core",
3146
- "strict": true,
3147
- "enableJsonFlag": false,
3148
- "isESM": true,
3149
- "relativePath": [
3150
- "dist",
3151
- "commands",
3152
- "workspace",
3153
- "executor",
3154
- "token",
3155
- "index.js"
3156
- ]
3157
- },
3158
3254
  "workspace:executor:install": {
3159
3255
  "aliases": [],
3160
3256
  "args": {},
@@ -3228,29 +3324,11 @@
3228
3324
  "index.js"
3229
3325
  ]
3230
3326
  },
3231
- "workspace:executor:uninstall": {
3327
+ "workspace:executor:token": {
3232
3328
  "aliases": [],
3233
3329
  "args": {},
3234
- "description": "Uninstall the remote executor from a workspace.\n\nBoth modes (always-on and ephemeral) are backed by the same package\n(hereya/remote-executor-aws). The --mode flag is informational only and\ncontrols log output.",
3330
+ "description": "Generate a workspace-scoped executor token for the remote executor",
3235
3331
  "flags": {
3236
- "debug": {
3237
- "description": "enable debug mode",
3238
- "name": "debug",
3239
- "allowNo": false,
3240
- "type": "boolean"
3241
- },
3242
- "mode": {
3243
- "description": "executor mode used at install time (informational only)",
3244
- "name": "mode",
3245
- "default": "always-on",
3246
- "hasDynamicHelp": false,
3247
- "multiple": false,
3248
- "options": [
3249
- "ephemeral",
3250
- "always-on"
3251
- ],
3252
- "type": "option"
3253
- },
3254
3332
  "workspace": {
3255
3333
  "char": "w",
3256
3334
  "description": "name of the workspace",
@@ -3263,7 +3341,7 @@
3263
3341
  },
3264
3342
  "hasDynamicHelp": false,
3265
3343
  "hiddenAliases": [],
3266
- "id": "workspace:executor:uninstall",
3344
+ "id": "workspace:executor:token",
3267
3345
  "pluginAlias": "hereya-cli",
3268
3346
  "pluginName": "hereya-cli",
3269
3347
  "pluginType": "core",
@@ -3275,110 +3353,32 @@
3275
3353
  "commands",
3276
3354
  "workspace",
3277
3355
  "executor",
3278
- "uninstall",
3356
+ "token",
3279
3357
  "index.js"
3280
3358
  ]
3281
3359
  },
3282
- "devenv:project:init": {
3360
+ "workspace:executor:uninstall": {
3283
3361
  "aliases": [],
3284
- "args": {
3285
- "project": {
3286
- "description": "project name",
3287
- "name": "project",
3288
- "required": true
3289
- }
3290
- },
3291
- "description": "Initialize a project on a remote dev environment.",
3292
- "examples": [
3293
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace",
3294
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter",
3295
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter -p region=us-east-1"
3296
- ],
3362
+ "args": {},
3363
+ "description": "Uninstall the remote executor from a workspace.\n\nBoth modes (always-on and ephemeral) are backed by the same package\n(hereya/remote-executor-aws). The --mode flag is informational only and\ncontrols log output.",
3297
3364
  "flags": {
3298
- "deploy-workspace": {
3299
- "char": "d",
3300
- "description": "workspace used for deployment (required when using a template)",
3301
- "name": "deploy-workspace",
3302
- "required": false,
3303
- "hasDynamicHelp": false,
3304
- "multiple": false,
3305
- "type": "option"
3306
- },
3307
- "force": {
3308
- "char": "f",
3309
- "description": "continue even if folder already exists",
3310
- "name": "force",
3365
+ "debug": {
3366
+ "description": "enable debug mode",
3367
+ "name": "debug",
3311
3368
  "allowNo": false,
3312
3369
  "type": "boolean"
3313
3370
  },
3314
- "parameter": {
3315
- "char": "p",
3316
- "description": "parameter for the template, in the form of 'key=value'. Can be specified multiple times.",
3317
- "name": "parameter",
3318
- "required": false,
3319
- "default": [],
3320
- "hasDynamicHelp": false,
3321
- "multiple": true,
3322
- "type": "option"
3323
- },
3324
- "template": {
3325
- "char": "t",
3326
- "description": "template package to scaffold the project from",
3327
- "name": "template",
3328
- "required": false,
3329
- "hasDynamicHelp": false,
3330
- "multiple": false,
3331
- "type": "option"
3332
- },
3333
- "workspace": {
3334
- "char": "w",
3335
- "description": "name of the workspace",
3336
- "name": "workspace",
3337
- "required": true,
3371
+ "mode": {
3372
+ "description": "executor mode used at install time (informational only)",
3373
+ "name": "mode",
3374
+ "default": "always-on",
3338
3375
  "hasDynamicHelp": false,
3339
3376
  "multiple": false,
3377
+ "options": [
3378
+ "ephemeral",
3379
+ "always-on"
3380
+ ],
3340
3381
  "type": "option"
3341
- }
3342
- },
3343
- "hasDynamicHelp": false,
3344
- "hiddenAliases": [],
3345
- "id": "devenv:project:init",
3346
- "pluginAlias": "hereya-cli",
3347
- "pluginName": "hereya-cli",
3348
- "pluginType": "core",
3349
- "strict": true,
3350
- "enableJsonFlag": false,
3351
- "isESM": true,
3352
- "relativePath": [
3353
- "dist",
3354
- "commands",
3355
- "devenv",
3356
- "project",
3357
- "init",
3358
- "index.js"
3359
- ]
3360
- },
3361
- "devenv:project:uninit": {
3362
- "aliases": [],
3363
- "args": {
3364
- "project": {
3365
- "description": "project name",
3366
- "name": "project",
3367
- "required": true
3368
- }
3369
- },
3370
- "description": "Uninitialize a project on a remote dev environment.",
3371
- "examples": [
3372
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace",
3373
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace --force"
3374
- ],
3375
- "flags": {
3376
- "force": {
3377
- "char": "f",
3378
- "description": "also remove the project directory after uninit",
3379
- "name": "force",
3380
- "allowNo": false,
3381
- "type": "boolean"
3382
3382
  },
3383
3383
  "workspace": {
3384
3384
  "char": "w",
@@ -3392,7 +3392,7 @@
3392
3392
  },
3393
3393
  "hasDynamicHelp": false,
3394
3394
  "hiddenAliases": [],
3395
- "id": "devenv:project:uninit",
3395
+ "id": "workspace:executor:uninstall",
3396
3396
  "pluginAlias": "hereya-cli",
3397
3397
  "pluginName": "hereya-cli",
3398
3398
  "pluginType": "core",
@@ -3402,12 +3402,12 @@
3402
3402
  "relativePath": [
3403
3403
  "dist",
3404
3404
  "commands",
3405
- "devenv",
3406
- "project",
3407
- "uninit",
3405
+ "workspace",
3406
+ "executor",
3407
+ "uninstall",
3408
3408
  "index.js"
3409
3409
  ]
3410
3410
  }
3411
3411
  },
3412
- "version": "0.100.5"
3412
+ "version": "0.101.0"
3413
3413
  }