hereya-cli 0.100.4 → 0.100.5

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.
@@ -63,33 +63,32 @@
63
63
  "index.js"
64
64
  ]
65
65
  },
66
- "clone": {
66
+ "bootstrap": {
67
67
  "aliases": [],
68
68
  "args": {
69
- "project": {
70
- "description": "project name",
71
- "name": "project",
69
+ "infrastructureType": {
70
+ "description": "infrastructure to bootstrap. Options are local, aws",
71
+ "name": "infrastructureType",
72
72
  "required": true
73
73
  }
74
74
  },
75
- "description": "Clone an existing template-based project to the local machine.",
75
+ "description": "Install necessary resources for hereya operations in an infrastructure.",
76
76
  "examples": [
77
- "<%= config.bin %> <%= command.id %> myProject",
78
- "<%= config.bin %> <%= command.id %> myProject --chdir=./myProject"
77
+ "<%= config.bin %> <%= command.id %> aws",
78
+ "<%= config.bin %> <%= command.id %> local"
79
79
  ],
80
80
  "flags": {
81
- "chdir": {
82
- "description": "directory to clone into",
83
- "name": "chdir",
84
- "required": false,
85
- "hasDynamicHelp": false,
86
- "multiple": false,
87
- "type": "option"
81
+ "force": {
82
+ "char": "f",
83
+ "description": "redeploy hereya resources if already deployed",
84
+ "name": "force",
85
+ "allowNo": false,
86
+ "type": "boolean"
88
87
  }
89
88
  },
90
89
  "hasDynamicHelp": false,
91
90
  "hiddenAliases": [],
92
- "id": "clone",
91
+ "id": "bootstrap",
93
92
  "pluginAlias": "hereya-cli",
94
93
  "pluginName": "hereya-cli",
95
94
  "pluginType": "core",
@@ -99,36 +98,37 @@
99
98
  "relativePath": [
100
99
  "dist",
101
100
  "commands",
102
- "clone",
101
+ "bootstrap",
103
102
  "index.js"
104
103
  ]
105
104
  },
106
- "bootstrap": {
105
+ "clone": {
107
106
  "aliases": [],
108
107
  "args": {
109
- "infrastructureType": {
110
- "description": "infrastructure to bootstrap. Options are local, aws",
111
- "name": "infrastructureType",
108
+ "project": {
109
+ "description": "project name",
110
+ "name": "project",
112
111
  "required": true
113
112
  }
114
113
  },
115
- "description": "Install necessary resources for hereya operations in an infrastructure.",
114
+ "description": "Clone an existing template-based project to the local machine.",
116
115
  "examples": [
117
- "<%= config.bin %> <%= command.id %> aws",
118
- "<%= config.bin %> <%= command.id %> local"
116
+ "<%= config.bin %> <%= command.id %> myProject",
117
+ "<%= config.bin %> <%= command.id %> myProject --chdir=./myProject"
119
118
  ],
120
119
  "flags": {
121
- "force": {
122
- "char": "f",
123
- "description": "redeploy hereya resources if already deployed",
124
- "name": "force",
125
- "allowNo": false,
126
- "type": "boolean"
120
+ "chdir": {
121
+ "description": "directory to clone into",
122
+ "name": "chdir",
123
+ "required": false,
124
+ "hasDynamicHelp": false,
125
+ "multiple": false,
126
+ "type": "option"
127
127
  }
128
128
  },
129
129
  "hasDynamicHelp": false,
130
130
  "hiddenAliases": [],
131
- "id": "bootstrap",
131
+ "id": "clone",
132
132
  "pluginAlias": "hereya-cli",
133
133
  "pluginName": "hereya-cli",
134
134
  "pluginType": "core",
@@ -138,7 +138,7 @@
138
138
  "relativePath": [
139
139
  "dist",
140
140
  "commands",
141
- "bootstrap",
141
+ "clone",
142
142
  "index.js"
143
143
  ]
144
144
  },
@@ -1096,64 +1096,6 @@
1096
1096
  "index.js"
1097
1097
  ]
1098
1098
  },
1099
- "uninit": {
1100
- "aliases": [],
1101
- "args": {
1102
- "project": {
1103
- "description": "project name",
1104
- "name": "project",
1105
- "required": true
1106
- }
1107
- },
1108
- "description": "Destroy template infrastructure and uninitialize a project.",
1109
- "examples": [
1110
- "<%= config.bin %> <%= command.id %> myProject -w dev",
1111
- "<%= config.bin %> <%= command.id %> myProject -w dev -p prodWorkspace=prod"
1112
- ],
1113
- "flags": {
1114
- "chdir": {
1115
- "description": "directory to run command in",
1116
- "name": "chdir",
1117
- "required": false,
1118
- "hasDynamicHelp": false,
1119
- "multiple": false,
1120
- "type": "option"
1121
- },
1122
- "parameter": {
1123
- "char": "p",
1124
- "description": "parameter for the template, in the form of 'key=value'. Overrides saved parameters.",
1125
- "name": "parameter",
1126
- "default": [],
1127
- "hasDynamicHelp": false,
1128
- "multiple": true,
1129
- "type": "option"
1130
- },
1131
- "workspace": {
1132
- "char": "w",
1133
- "description": "workspace used during init",
1134
- "name": "workspace",
1135
- "required": true,
1136
- "hasDynamicHelp": false,
1137
- "multiple": false,
1138
- "type": "option"
1139
- }
1140
- },
1141
- "hasDynamicHelp": false,
1142
- "hiddenAliases": [],
1143
- "id": "uninit",
1144
- "pluginAlias": "hereya-cli",
1145
- "pluginName": "hereya-cli",
1146
- "pluginType": "core",
1147
- "strict": true,
1148
- "enableJsonFlag": false,
1149
- "isESM": true,
1150
- "relativePath": [
1151
- "dist",
1152
- "commands",
1153
- "uninit",
1154
- "index.js"
1155
- ]
1156
- },
1157
1099
  "up": {
1158
1100
  "aliases": [],
1159
1101
  "args": {},
@@ -1250,6 +1192,64 @@
1250
1192
  "index.js"
1251
1193
  ]
1252
1194
  },
1195
+ "uninit": {
1196
+ "aliases": [],
1197
+ "args": {
1198
+ "project": {
1199
+ "description": "project name",
1200
+ "name": "project",
1201
+ "required": true
1202
+ }
1203
+ },
1204
+ "description": "Destroy template infrastructure and uninitialize a project.",
1205
+ "examples": [
1206
+ "<%= config.bin %> <%= command.id %> myProject -w dev",
1207
+ "<%= config.bin %> <%= command.id %> myProject -w dev -p prodWorkspace=prod"
1208
+ ],
1209
+ "flags": {
1210
+ "chdir": {
1211
+ "description": "directory to run command in",
1212
+ "name": "chdir",
1213
+ "required": false,
1214
+ "hasDynamicHelp": false,
1215
+ "multiple": false,
1216
+ "type": "option"
1217
+ },
1218
+ "parameter": {
1219
+ "char": "p",
1220
+ "description": "parameter for the template, in the form of 'key=value'. Overrides saved parameters.",
1221
+ "name": "parameter",
1222
+ "default": [],
1223
+ "hasDynamicHelp": false,
1224
+ "multiple": true,
1225
+ "type": "option"
1226
+ },
1227
+ "workspace": {
1228
+ "char": "w",
1229
+ "description": "workspace used during init",
1230
+ "name": "workspace",
1231
+ "required": true,
1232
+ "hasDynamicHelp": false,
1233
+ "multiple": false,
1234
+ "type": "option"
1235
+ }
1236
+ },
1237
+ "hasDynamicHelp": false,
1238
+ "hiddenAliases": [],
1239
+ "id": "uninit",
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
+ "uninit",
1250
+ "index.js"
1251
+ ]
1252
+ },
1253
1253
  "app:deploy": {
1254
1254
  "aliases": [],
1255
1255
  "args": {
@@ -1701,19 +1701,46 @@
1701
1701
  "index.js"
1702
1702
  ]
1703
1703
  },
1704
- "devenv:config": {
1704
+ "docker:run": {
1705
1705
  "aliases": [],
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.",
1706
+ "args": {
1707
+ "image": {
1708
+ "description": "Docker image to run",
1709
+ "name": "image",
1710
+ "required": true
1711
+ }
1712
+ },
1713
+ "description": "Run a Docker container with hereya env vars injected as -e flags.",
1708
1714
  "examples": [
1709
- "<%= config.bin %> <%= command.id %> -w my-workspace"
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"
1710
1719
  ],
1711
1720
  "flags": {
1721
+ "chdir": {
1722
+ "description": "directory to run command in",
1723
+ "name": "chdir",
1724
+ "required": false,
1725
+ "hasDynamicHelp": false,
1726
+ "multiple": false,
1727
+ "type": "option"
1728
+ },
1729
+ "port": {
1730
+ "char": "p",
1731
+ "description": "port to forward and set as PORT env var (default: 8080)",
1732
+ "name": "port",
1733
+ "required": false,
1734
+ "default": 8080,
1735
+ "hasDynamicHelp": false,
1736
+ "multiple": false,
1737
+ "type": "option"
1738
+ },
1712
1739
  "workspace": {
1713
1740
  "char": "w",
1714
- "description": "name of the workspace to configure SSH for",
1741
+ "description": "name of the workspace to use",
1715
1742
  "name": "workspace",
1716
- "required": true,
1743
+ "required": false,
1717
1744
  "hasDynamicHelp": false,
1718
1745
  "multiple": false,
1719
1746
  "type": "option"
@@ -1721,223 +1748,57 @@
1721
1748
  },
1722
1749
  "hasDynamicHelp": false,
1723
1750
  "hiddenAliases": [],
1724
- "id": "devenv:config",
1751
+ "id": "docker:run",
1725
1752
  "pluginAlias": "hereya-cli",
1726
1753
  "pluginName": "hereya-cli",
1727
1754
  "pluginType": "core",
1728
- "strict": true,
1755
+ "strict": false,
1729
1756
  "enableJsonFlag": false,
1730
1757
  "isESM": true,
1731
1758
  "relativePath": [
1732
1759
  "dist",
1733
1760
  "commands",
1734
- "devenv",
1735
- "config",
1761
+ "docker",
1762
+ "run",
1736
1763
  "index.js"
1737
1764
  ]
1738
1765
  },
1739
- "devenv:install": {
1766
+ "env:set": {
1740
1767
  "aliases": [],
1741
- "args": {},
1742
- "description": "Provision a remote dev environment on a workspace.",
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",
1743
1775
  "examples": [
1744
- "<%= config.bin %> <%= command.id %> -w my-workspace -p instanceType=t3.large"
1776
+ "<%= config.bin %> <%= command.id %> FOO -v bar",
1777
+ "<%= config.bin %> <%= command.id %> FOO -v bar -w dev"
1745
1778
  ],
1746
1779
  "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",
1780
+ "chdir": {
1781
+ "description": "project root directory",
1782
+ "name": "chdir",
1756
1783
  "required": false,
1757
1784
  "hasDynamicHelp": false,
1758
1785
  "multiple": false,
1759
1786
  "type": "option"
1760
1787
  },
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": {
1788
+ "value": {
1779
1789
  "char": "v",
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",
1790
- "required": true,
1791
- "hasDynamicHelp": false,
1792
- "multiple": false,
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"
1826
- },
1827
- "workspace": {
1828
- "char": "w",
1829
- "description": "name of the workspace whose dev environment should be stopped",
1830
- "name": "workspace",
1831
- "required": true,
1832
- "hasDynamicHelp": false,
1833
- "multiple": false,
1834
- "type": "option"
1835
- }
1836
- },
1837
- "hasDynamicHelp": false,
1838
- "hiddenAliases": [],
1839
- "id": "devenv:sleep",
1840
- "pluginAlias": "hereya-cli",
1841
- "pluginName": "hereya-cli",
1842
- "pluginType": "core",
1843
- "strict": true,
1844
- "enableJsonFlag": false,
1845
- "isESM": true,
1846
- "relativePath": [
1847
- "dist",
1848
- "commands",
1849
- "devenv",
1850
- "sleep",
1851
- "index.js"
1852
- ]
1853
- },
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",
1790
+ "description": "value of the environment variable",
1791
+ "name": "value",
1898
1792
  "required": true,
1899
1793
  "hasDynamicHelp": false,
1900
1794
  "multiple": false,
1901
1795
  "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
1796
  },
1936
1797
  "workspace": {
1937
1798
  "char": "w",
1938
- "description": "name of the workspace to remove the dev environment from",
1799
+ "description": "name of the workspace to print the env vars for",
1939
1800
  "name": "workspace",
1940
- "required": true,
1801
+ "required": false,
1941
1802
  "hasDynamicHelp": false,
1942
1803
  "multiple": false,
1943
1804
  "type": "option"
@@ -1945,7 +1806,7 @@
1945
1806
  },
1946
1807
  "hasDynamicHelp": false,
1947
1808
  "hiddenAliases": [],
1948
- "id": "devenv:uninstall",
1809
+ "id": "env:set",
1949
1810
  "pluginAlias": "hereya-cli",
1950
1811
  "pluginName": "hereya-cli",
1951
1812
  "pluginType": "core",
@@ -1955,50 +1816,53 @@
1955
1816
  "relativePath": [
1956
1817
  "dist",
1957
1818
  "commands",
1958
- "devenv",
1959
- "uninstall",
1819
+ "env",
1820
+ "set",
1960
1821
  "index.js"
1961
1822
  ]
1962
1823
  },
1963
- "docker:run": {
1824
+ "flow:add": {
1964
1825
  "aliases": [],
1965
1826
  "args": {
1966
- "image": {
1967
- "description": "Docker image to run",
1968
- "name": "image",
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",
1969
1830
  "required": true
1970
1831
  }
1971
1832
  },
1972
- "description": "Run a Docker container with hereya env vars injected as -e flags.",
1833
+ "description": "Add a package to the project in a git branch-based workspace",
1973
1834
  "examples": [
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"
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"
1978
1838
  ],
1979
1839
  "flags": {
1980
1840
  "chdir": {
1981
- "description": "directory to run command in",
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 ",
1982
1842
  "name": "chdir",
1983
1843
  "required": false,
1984
1844
  "hasDynamicHelp": false,
1985
1845
  "multiple": false,
1986
1846
  "type": "option"
1987
1847
  },
1988
- "port": {
1848
+ "debug": {
1849
+ "description": "enable debug mode",
1850
+ "name": "debug",
1851
+ "allowNo": false,
1852
+ "type": "boolean"
1853
+ },
1854
+ "parameter": {
1989
1855
  "char": "p",
1990
- "description": "port to forward and set as PORT env var (default: 8080)",
1991
- "name": "port",
1992
- "required": false,
1993
- "default": 8080,
1856
+ "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
1857
+ "name": "parameter",
1858
+ "default": [],
1994
1859
  "hasDynamicHelp": false,
1995
- "multiple": false,
1860
+ "multiple": true,
1996
1861
  "type": "option"
1997
1862
  },
1998
- "workspace": {
1999
- "char": "w",
2000
- "description": "name of the workspace to use",
2001
- "name": "workspace",
1863
+ "profile": {
1864
+ "description": "profile to use for the workspace (will be appended to workspace name)",
1865
+ "name": "profile",
2002
1866
  "required": false,
2003
1867
  "hasDynamicHelp": false,
2004
1868
  "multiple": false,
@@ -2007,18 +1871,18 @@
2007
1871
  },
2008
1872
  "hasDynamicHelp": false,
2009
1873
  "hiddenAliases": [],
2010
- "id": "docker:run",
1874
+ "id": "flow:add",
2011
1875
  "pluginAlias": "hereya-cli",
2012
1876
  "pluginName": "hereya-cli",
2013
1877
  "pluginType": "core",
2014
- "strict": false,
1878
+ "strict": true,
2015
1879
  "enableJsonFlag": false,
2016
1880
  "isESM": true,
2017
1881
  "relativePath": [
2018
1882
  "dist",
2019
1883
  "commands",
2020
- "docker",
2021
- "run",
1884
+ "flow",
1885
+ "add",
2022
1886
  "index.js"
2023
1887
  ]
2024
1888
  },
@@ -2030,157 +1894,34 @@
2030
1894
  "<%= config.bin %> <%= command.id %> -w my-workspace",
2031
1895
  "<%= config.bin %> <%= command.id %> -w my-workspace --concurrency 5",
2032
1896
  "HEREYA_TOKEN=<token> <%= config.bin %> <%= command.id %> -w my-workspace",
2033
- "HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com <%= config.bin %> <%= command.id %> -w my-workspace"
2034
- ],
2035
- "flags": {
2036
- "concurrency": {
2037
- "char": "c",
2038
- "description": "maximum number of parallel jobs",
2039
- "name": "concurrency",
2040
- "default": 10,
2041
- "hasDynamicHelp": false,
2042
- "multiple": false,
2043
- "type": "option"
2044
- },
2045
- "idleTimeout": {
2046
- "aliases": [
2047
- "idle-timeout"
2048
- ],
2049
- "char": "i",
2050
- "description": "seconds idle before exit; omit to keep running indefinitely",
2051
- "name": "idleTimeout",
2052
- "hasDynamicHelp": false,
2053
- "multiple": false,
2054
- "type": "option"
2055
- },
2056
- "workspace": {
2057
- "char": "w",
2058
- "description": "name of the workspace to poll jobs for",
2059
- "name": "workspace",
2060
- "required": true,
2061
- "hasDynamicHelp": false,
2062
- "multiple": false,
2063
- "type": "option"
2064
- }
2065
- },
2066
- "hasDynamicHelp": false,
2067
- "hiddenAliases": [],
2068
- "id": "executor:start",
2069
- "pluginAlias": "hereya-cli",
2070
- "pluginName": "hereya-cli",
2071
- "pluginType": "core",
2072
- "strict": true,
2073
- "enableJsonFlag": false,
2074
- "isESM": true,
2075
- "relativePath": [
2076
- "dist",
2077
- "commands",
2078
- "executor",
2079
- "start",
2080
- "index.js"
2081
- ]
2082
- },
2083
- "env:set": {
2084
- "aliases": [],
2085
- "args": {
2086
- "name": {
2087
- "description": "name of the environment variable to set",
2088
- "name": "name"
2089
- }
2090
- },
2091
- "description": "Set an user-defined environment variable for the project",
2092
- "examples": [
2093
- "<%= config.bin %> <%= command.id %> FOO -v bar",
2094
- "<%= config.bin %> <%= command.id %> FOO -v bar -w dev"
2095
- ],
2096
- "flags": {
2097
- "chdir": {
2098
- "description": "project root directory",
2099
- "name": "chdir",
2100
- "required": false,
2101
- "hasDynamicHelp": false,
2102
- "multiple": false,
2103
- "type": "option"
2104
- },
2105
- "value": {
2106
- "char": "v",
2107
- "description": "value of the environment variable",
2108
- "name": "value",
2109
- "required": true,
2110
- "hasDynamicHelp": false,
2111
- "multiple": false,
2112
- "type": "option"
2113
- },
2114
- "workspace": {
2115
- "char": "w",
2116
- "description": "name of the workspace to print the env vars for",
2117
- "name": "workspace",
2118
- "required": false,
2119
- "hasDynamicHelp": false,
2120
- "multiple": false,
2121
- "type": "option"
2122
- }
2123
- },
2124
- "hasDynamicHelp": false,
2125
- "hiddenAliases": [],
2126
- "id": "env:set",
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
- "env",
2137
- "set",
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,
1897
+ "HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com <%= config.bin %> <%= command.id %> -w my-workspace"
1898
+ ],
1899
+ "flags": {
1900
+ "concurrency": {
1901
+ "char": "c",
1902
+ "description": "maximum number of parallel jobs",
1903
+ "name": "concurrency",
1904
+ "default": 10,
2161
1905
  "hasDynamicHelp": false,
2162
1906
  "multiple": false,
2163
1907
  "type": "option"
2164
1908
  },
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": [],
1909
+ "idleTimeout": {
1910
+ "aliases": [
1911
+ "idle-timeout"
1912
+ ],
1913
+ "char": "i",
1914
+ "description": "seconds idle before exit; omit to keep running indefinitely",
1915
+ "name": "idleTimeout",
2176
1916
  "hasDynamicHelp": false,
2177
- "multiple": true,
1917
+ "multiple": false,
2178
1918
  "type": "option"
2179
1919
  },
2180
- "profile": {
2181
- "description": "profile to use for the workspace (will be appended to workspace name)",
2182
- "name": "profile",
2183
- "required": false,
1920
+ "workspace": {
1921
+ "char": "w",
1922
+ "description": "name of the workspace to poll jobs for",
1923
+ "name": "workspace",
1924
+ "required": true,
2184
1925
  "hasDynamicHelp": false,
2185
1926
  "multiple": false,
2186
1927
  "type": "option"
@@ -2188,7 +1929,7 @@
2188
1929
  },
2189
1930
  "hasDynamicHelp": false,
2190
1931
  "hiddenAliases": [],
2191
- "id": "flow:add",
1932
+ "id": "executor:start",
2192
1933
  "pluginAlias": "hereya-cli",
2193
1934
  "pluginName": "hereya-cli",
2194
1935
  "pluginType": "core",
@@ -2198,8 +1939,8 @@
2198
1939
  "relativePath": [
2199
1940
  "dist",
2200
1941
  "commands",
2201
- "flow",
2202
- "add",
1942
+ "executor",
1943
+ "start",
2203
1944
  "index.js"
2204
1945
  ]
2205
1946
  },
@@ -2644,37 +2385,6 @@
2644
2385
  "index.js"
2645
2386
  ]
2646
2387
  },
2647
- "workspace:delete": {
2648
- "aliases": [],
2649
- "args": {
2650
- "name": {
2651
- "description": "name of the workspace to delete",
2652
- "name": "name",
2653
- "required": true
2654
- }
2655
- },
2656
- "description": "Delete a workspace if it exists.",
2657
- "examples": [
2658
- "<%= config.bin %> <%= command.id %> dev"
2659
- ],
2660
- "flags": {},
2661
- "hasDynamicHelp": false,
2662
- "hiddenAliases": [],
2663
- "id": "workspace:delete",
2664
- "pluginAlias": "hereya-cli",
2665
- "pluginName": "hereya-cli",
2666
- "pluginType": "core",
2667
- "strict": true,
2668
- "enableJsonFlag": false,
2669
- "isESM": true,
2670
- "relativePath": [
2671
- "dist",
2672
- "commands",
2673
- "workspace",
2674
- "delete",
2675
- "index.js"
2676
- ]
2677
- },
2678
2388
  "workspace:env": {
2679
2389
  "aliases": [],
2680
2390
  "args": {
@@ -2725,6 +2435,37 @@
2725
2435
  "index.js"
2726
2436
  ]
2727
2437
  },
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
+ },
2728
2469
  "workspace:install": {
2729
2470
  "aliases": [],
2730
2471
  "args": {
@@ -2939,60 +2680,199 @@
2939
2680
  "index.js"
2940
2681
  ]
2941
2682
  },
2942
- "devenv:project:init": {
2683
+ "devenv:config": {
2943
2684
  "aliases": [],
2944
- "args": {
2945
- "project": {
2946
- "description": "project name",
2947
- "name": "project",
2948
- "required": true
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"
2949
2699
  }
2950
2700
  },
2951
- "description": "Initialize a project on a remote dev environment.",
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.",
2952
2722
  "examples": [
2953
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace",
2954
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter",
2955
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter -p region=us-east-1"
2723
+ "<%= config.bin %> <%= command.id %> -w my-workspace -p instanceType=t3.large"
2956
2724
  ],
2957
2725
  "flags": {
2958
- "deploy-workspace": {
2959
- "char": "d",
2960
- "description": "workspace used for deployment (required when using a template)",
2961
- "name": "deploy-workspace",
2726
+ "debug": {
2727
+ "description": "enable debug mode",
2728
+ "name": "debug",
2729
+ "allowNo": false,
2730
+ "type": "boolean"
2731
+ },
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",
2962
2735
  "required": false,
2963
2736
  "hasDynamicHelp": false,
2964
2737
  "multiple": false,
2965
2738
  "type": "option"
2966
2739
  },
2967
- "force": {
2968
- "char": "f",
2969
- "description": "continue even if folder already exists",
2970
- "name": "force",
2971
- "allowNo": false,
2972
- "type": "boolean"
2973
- },
2974
2740
  "parameter": {
2975
2741
  "char": "p",
2976
- "description": "parameter for the template, in the form of 'key=value'. Can be specified multiple times.",
2742
+ "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
2977
2743
  "name": "parameter",
2978
- "required": false,
2979
2744
  "default": [],
2980
2745
  "hasDynamicHelp": false,
2981
2746
  "multiple": true,
2982
2747
  "type": "option"
2983
2748
  },
2984
- "template": {
2985
- "char": "t",
2986
- "description": "template package to scaffold the project from",
2987
- "name": "template",
2988
- "required": false,
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,
2989
2846
  "hasDynamicHelp": false,
2990
2847
  "multiple": false,
2991
2848
  "type": "option"
2992
- },
2849
+ }
2850
+ },
2851
+ "hasDynamicHelp": false,
2852
+ "hiddenAliases": [],
2853
+ "id": "devenv:ssh",
2854
+ "pluginAlias": "hereya-cli",
2855
+ "pluginName": "hereya-cli",
2856
+ "pluginType": "core",
2857
+ "strict": true,
2858
+ "enableJsonFlag": false,
2859
+ "isESM": true,
2860
+ "relativePath": [
2861
+ "dist",
2862
+ "commands",
2863
+ "devenv",
2864
+ "ssh",
2865
+ "index.js"
2866
+ ]
2867
+ },
2868
+ "devenv:ssh-proxy": {
2869
+ "aliases": [],
2870
+ "args": {},
2871
+ "description": "Internal: SSH ProxyCommand for on-demand devenvs (wake + connect).",
2872
+ "flags": {
2993
2873
  "workspace": {
2994
2874
  "char": "w",
2995
- "description": "name of the workspace",
2875
+ "description": "name of the workspace to proxy SSH for",
2996
2876
  "name": "workspace",
2997
2877
  "required": true,
2998
2878
  "hasDynamicHelp": false,
@@ -3001,8 +2881,9 @@
3001
2881
  }
3002
2882
  },
3003
2883
  "hasDynamicHelp": false,
2884
+ "hidden": true,
3004
2885
  "hiddenAliases": [],
3005
- "id": "devenv:project:init",
2886
+ "id": "devenv:ssh-proxy",
3006
2887
  "pluginAlias": "hereya-cli",
3007
2888
  "pluginName": "hereya-cli",
3008
2889
  "pluginType": "core",
@@ -3013,36 +2894,27 @@
3013
2894
  "dist",
3014
2895
  "commands",
3015
2896
  "devenv",
3016
- "project",
3017
- "init",
2897
+ "ssh-proxy",
3018
2898
  "index.js"
3019
2899
  ]
3020
2900
  },
3021
- "devenv:project:uninit": {
2901
+ "devenv:uninstall": {
3022
2902
  "aliases": [],
3023
- "args": {
3024
- "project": {
3025
- "description": "project name",
3026
- "name": "project",
3027
- "required": true
3028
- }
3029
- },
3030
- "description": "Uninitialize a project on a remote dev environment.",
2903
+ "args": {},
2904
+ "description": "Destroy and remove the dev environment from a workspace.",
3031
2905
  "examples": [
3032
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace",
3033
- "<%= config.bin %> <%= command.id %> my-app -w my-workspace --force"
2906
+ "<%= config.bin %> <%= command.id %> -w my-workspace"
3034
2907
  ],
3035
2908
  "flags": {
3036
- "force": {
3037
- "char": "f",
3038
- "description": "also remove the project directory after uninit",
3039
- "name": "force",
2909
+ "debug": {
2910
+ "description": "enable debug mode",
2911
+ "name": "debug",
3040
2912
  "allowNo": false,
3041
2913
  "type": "boolean"
3042
2914
  },
3043
2915
  "workspace": {
3044
2916
  "char": "w",
3045
- "description": "name of the workspace",
2917
+ "description": "name of the workspace to remove the dev environment from",
3046
2918
  "name": "workspace",
3047
2919
  "required": true,
3048
2920
  "hasDynamicHelp": false,
@@ -3052,7 +2924,7 @@
3052
2924
  },
3053
2925
  "hasDynamicHelp": false,
3054
2926
  "hiddenAliases": [],
3055
- "id": "devenv:project:uninit",
2927
+ "id": "devenv:uninstall",
3056
2928
  "pluginAlias": "hereya-cli",
3057
2929
  "pluginName": "hereya-cli",
3058
2930
  "pluginType": "core",
@@ -3063,8 +2935,7 @@
3063
2935
  "dist",
3064
2936
  "commands",
3065
2937
  "devenv",
3066
- "project",
3067
- "uninit",
2938
+ "uninstall",
3068
2939
  "index.js"
3069
2940
  ]
3070
2941
  },
@@ -3251,6 +3122,39 @@
3251
3122
  "index.js"
3252
3123
  ]
3253
3124
  },
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
+ },
3254
3158
  "workspace:executor:install": {
3255
3159
  "aliases": [],
3256
3160
  "args": {},
@@ -3324,11 +3228,29 @@
3324
3228
  "index.js"
3325
3229
  ]
3326
3230
  },
3327
- "workspace:executor:token": {
3231
+ "workspace:executor:uninstall": {
3328
3232
  "aliases": [],
3329
3233
  "args": {},
3330
- "description": "Generate a workspace-scoped executor token for the remote executor",
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.",
3331
3235
  "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
+ },
3332
3254
  "workspace": {
3333
3255
  "char": "w",
3334
3256
  "description": "name of the workspace",
@@ -3341,7 +3263,7 @@
3341
3263
  },
3342
3264
  "hasDynamicHelp": false,
3343
3265
  "hiddenAliases": [],
3344
- "id": "workspace:executor:token",
3266
+ "id": "workspace:executor:uninstall",
3345
3267
  "pluginAlias": "hereya-cli",
3346
3268
  "pluginName": "hereya-cli",
3347
3269
  "pluginType": "core",
@@ -3353,31 +3275,59 @@
3353
3275
  "commands",
3354
3276
  "workspace",
3355
3277
  "executor",
3356
- "token",
3278
+ "uninstall",
3357
3279
  "index.js"
3358
3280
  ]
3359
3281
  },
3360
- "workspace:executor:uninstall": {
3282
+ "devenv:project:init": {
3361
3283
  "aliases": [],
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.",
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
+ ],
3364
3297
  "flags": {
3365
- "debug": {
3366
- "description": "enable debug mode",
3367
- "name": "debug",
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",
3368
3311
  "allowNo": false,
3369
3312
  "type": "boolean"
3370
3313
  },
3371
- "mode": {
3372
- "description": "executor mode used at install time (informational only)",
3373
- "name": "mode",
3374
- "default": "always-on",
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,
3375
3329
  "hasDynamicHelp": false,
3376
3330
  "multiple": false,
3377
- "options": [
3378
- "ephemeral",
3379
- "always-on"
3380
- ],
3381
3331
  "type": "option"
3382
3332
  },
3383
3333
  "workspace": {
@@ -3392,7 +3342,7 @@
3392
3342
  },
3393
3343
  "hasDynamicHelp": false,
3394
3344
  "hiddenAliases": [],
3395
- "id": "workspace:executor:uninstall",
3345
+ "id": "devenv:project:init",
3396
3346
  "pluginAlias": "hereya-cli",
3397
3347
  "pluginName": "hereya-cli",
3398
3348
  "pluginType": "core",
@@ -3402,12 +3352,62 @@
3402
3352
  "relativePath": [
3403
3353
  "dist",
3404
3354
  "commands",
3405
- "workspace",
3406
- "executor",
3407
- "uninstall",
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
+ },
3383
+ "workspace": {
3384
+ "char": "w",
3385
+ "description": "name of the workspace",
3386
+ "name": "workspace",
3387
+ "required": true,
3388
+ "hasDynamicHelp": false,
3389
+ "multiple": false,
3390
+ "type": "option"
3391
+ }
3392
+ },
3393
+ "hasDynamicHelp": false,
3394
+ "hiddenAliases": [],
3395
+ "id": "devenv:project:uninit",
3396
+ "pluginAlias": "hereya-cli",
3397
+ "pluginName": "hereya-cli",
3398
+ "pluginType": "core",
3399
+ "strict": true,
3400
+ "enableJsonFlag": false,
3401
+ "isESM": true,
3402
+ "relativePath": [
3403
+ "dist",
3404
+ "commands",
3405
+ "devenv",
3406
+ "project",
3407
+ "uninit",
3408
3408
  "index.js"
3409
3409
  ]
3410
3410
  }
3411
3411
  },
3412
- "version": "0.100.4"
3412
+ "version": "0.100.5"
3413
3413
  }