forest-cli 4.3.2 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/bin/run +4 -3
  2. package/dist/abstract-authenticated-command.d.ts +2 -2
  3. package/dist/abstract-authenticated-command.d.ts.map +1 -1
  4. package/dist/abstract-authenticated-command.js +1 -1
  5. package/dist/abstract-command.d.ts +3 -3
  6. package/dist/abstract-command.d.ts.map +1 -1
  7. package/dist/abstract-command.js +3 -3
  8. package/dist/abstract-project-create-command.d.ts +5 -8
  9. package/dist/abstract-project-create-command.d.ts.map +1 -1
  10. package/dist/abstract-project-create-command.js +9 -5
  11. package/dist/commands/branch.d.ts +21 -22
  12. package/dist/commands/branch.js +13 -13
  13. package/dist/commands/deploy.d.ts +3 -3
  14. package/dist/commands/deploy.js +6 -6
  15. package/dist/commands/environments/create.d.ts +17 -16
  16. package/dist/commands/environments/create.d.ts.map +1 -1
  17. package/dist/commands/environments/create.js +8 -8
  18. package/dist/commands/environments/delete.d.ts +4 -6
  19. package/dist/commands/environments/delete.d.ts.map +1 -1
  20. package/dist/commands/environments/delete.js +8 -8
  21. package/dist/commands/environments/get.d.ts +16 -17
  22. package/dist/commands/environments/get.js +8 -8
  23. package/dist/commands/environments/reset.d.ts +3 -4
  24. package/dist/commands/environments/reset.js +6 -6
  25. package/dist/commands/environments/update.d.ts +3 -4
  26. package/dist/commands/environments/update.js +6 -6
  27. package/dist/commands/environments.d.ts +14 -13
  28. package/dist/commands/environments.d.ts.map +1 -1
  29. package/dist/commands/environments.js +5 -5
  30. package/dist/commands/init.d.ts +1 -1
  31. package/dist/commands/init.js +4 -4
  32. package/dist/commands/login.d.ts +3 -4
  33. package/dist/commands/login.js +6 -6
  34. package/dist/commands/projects/create/nosql.d.ts +5 -7
  35. package/dist/commands/projects/create/nosql.d.ts.map +1 -1
  36. package/dist/commands/projects/create/nosql.js +1 -1
  37. package/dist/commands/projects/create/sql.d.ts +5 -7
  38. package/dist/commands/projects/create/sql.d.ts.map +1 -1
  39. package/dist/commands/projects/create/sql.js +1 -1
  40. package/dist/commands/projects/create.d.ts +5 -7
  41. package/dist/commands/projects/create.d.ts.map +1 -1
  42. package/dist/commands/projects/create.js +1 -1
  43. package/dist/commands/projects/get.d.ts +8 -8
  44. package/dist/commands/projects/get.d.ts.map +1 -1
  45. package/dist/commands/projects/get.js +9 -9
  46. package/dist/commands/projects.d.ts +13 -12
  47. package/dist/commands/projects.d.ts.map +1 -1
  48. package/dist/commands/projects.js +4 -4
  49. package/dist/commands/push.d.ts +3 -3
  50. package/dist/commands/push.js +6 -6
  51. package/dist/commands/schema/apply.d.ts +1 -2
  52. package/dist/commands/schema/apply.d.ts.map +1 -1
  53. package/dist/commands/schema/apply.js +9 -6
  54. package/dist/commands/schema/diff.d.ts +5 -6
  55. package/dist/commands/schema/diff.d.ts.map +1 -1
  56. package/dist/commands/schema/diff.js +16 -8
  57. package/dist/commands/schema/update.d.ts +3 -4
  58. package/dist/commands/schema/update.js +6 -6
  59. package/dist/commands/set-origin.d.ts +4 -6
  60. package/dist/commands/set-origin.d.ts.map +1 -1
  61. package/dist/commands/set-origin.js +8 -8
  62. package/dist/commands/switch.d.ts +4 -6
  63. package/dist/commands/switch.d.ts.map +1 -1
  64. package/dist/commands/switch.js +8 -8
  65. package/dist/commands/user.d.ts +0 -1
  66. package/dist/commands/user.d.ts.map +1 -1
  67. package/dist/context/dependencies-plan.js +2 -2
  68. package/dist/hooks/init/check-compatible-node-version.js +2 -2
  69. package/dist/index.d.ts +1 -2
  70. package/dist/index.d.ts.map +1 -1
  71. package/dist/index.js +7 -2
  72. package/dist/services/dumpers/templates/forest-express/Dockerfile.hbs +1 -1
  73. package/dist/utils/option-parser.d.ts +2 -3
  74. package/dist/utils/option-parser.d.ts.map +1 -1
  75. package/dist/utils/option-parser.js +4 -4
  76. package/oclif.manifest.json +1828 -1
  77. package/package.json +9 -12
@@ -1 +1,1828 @@
1
- {"version":"4.3.2","commands":{"branch":{"id":"branch","description":"Create a new branch or list your existing branches.","pluginName":"forest-cli","pluginType":"core","aliases":["branches"],"flags":{"projectId":{"name":"projectId","type":"option","description":"The id of the project to create a branch in."},"delete":{"name":"delete","type":"boolean","char":"d","description":"Delete the branch.","allowNo":false},"force":{"name":"force","type":"boolean","description":"When deleting a branch, skip confirmation.","allowNo":false},"help":{"name":"help","type":"boolean","description":"Display usage information.","allowNo":false},"format":{"name":"format","type":"option","char":"format","description":"Output format.","options":["table","json"],"default":"table"},"origin":{"name":"origin","type":"option","char":"o","description":"Set the origin of the created branch."}},"args":[{"name":"BRANCH_NAME","description":"The name of the branch to create.","required":false}]},"deploy":{"id":"deploy","description":"Deploy layout changes of the current branch to the reference one.","pluginName":"forest-cli","pluginType":"core","aliases":["environments:deploy"],"flags":{"help":{"name":"help","type":"boolean","description":"Display usage information.","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Skip deploy confirmation.","allowNo":false},"projectId":{"name":"projectId","type":"option","char":"p","description":"The id of the project you want to deploy.","default":null}},"args":[]},"environments":{"id":"environments","description":"Manage environments.","pluginName":"forest-cli","pluginType":"core","aliases":["environments:list"],"flags":{"projectId":{"name":"projectId","type":"option","char":"p","description":"Forest project ID.","default":null},"format":{"name":"format","type":"option","char":"format","description":"Ouput format.","options":["table","json"],"default":"table"}},"args":[]},"init":{"id":"init","description":"Set up your development environment in your current folder.","pluginName":"forest-cli","pluginType":"core","aliases":["environments:init"],"flags":{"projectId":{"name":"projectId","type":"option","char":"p","description":"The id of the project you want to init."}},"args":[]},"login":{"id":"login","description":"Sign in with an existing account.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"email":{"name":"email","type":"option","char":"e","description":"Your Forest Admin account email."},"password":{"name":"password","type":"option","char":"P","description":"Your Forest Admin account password (ignored if token is set)."},"token":{"name":"token","type":"option","char":"t","description":"Your Forest Admin account token (replaces password)."}},"args":[]},"logout":{"id":"logout","description":"Sign out of your account.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"projects":{"id":"projects","description":"Manage projects.","pluginName":"forest-cli","pluginType":"core","aliases":["projects:list"],"flags":{"format":{"name":"format","type":"option","char":"format","description":"Ouput format.","options":["table","json"],"default":"table"}},"args":[]},"push":{"id":"push","description":"Push layout changes of your current branch to the branch origin.","pluginName":"forest-cli","pluginType":"core","aliases":["branches:push"],"flags":{"force":{"name":"force","type":"boolean","description":"Skip push changes confirmation.","allowNo":false},"help":{"name":"help","type":"boolean","description":"Display usage information.","allowNo":false},"projectId":{"name":"projectId","type":"option","char":"p","description":"The id of the project to work on.","default":null}},"args":[]},"set-origin":{"id":"set-origin","description":"Set an environment as your branch's origin. Your branch will build on top of that environment's layout.","pluginName":"forest-cli","pluginType":"core","aliases":["branches:origin"],"flags":{"help":{"name":"help","type":"boolean","description":"Display usage information.","allowNo":false}},"args":[{"name":"ENVIRONMENT_NAME","description":"The environment to set as origin.","required":false}]},"switch":{"id":"switch","description":"Switch to another branch in your local development environment.","pluginName":"forest-cli","pluginType":"core","aliases":["branch:switch"],"flags":{"help":{"name":"help","type":"boolean","description":"Display usage information.","allowNo":false}},"args":[{"name":"BRANCH_NAME","description":"The name of the local branch to set as current.","required":false}]},"user":{"id":"user","description":"Display the current logged in user.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"environments:create":{"id":"environments:create","description":"Create a new environment.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"projectId":{"name":"projectId","type":"option","char":"p","description":"Forest project ID.","default":null},"name":{"name":"name","type":"option","char":"n","description":"Environment name.","required":true},"url":{"name":"url","type":"option","char":"u","description":"Application URL.","required":true},"format":{"name":"format","type":"option","char":"format","description":"Ouput format.","options":["table","json"],"default":"table"},"disableRoles":{"name":"disableRoles","type":"boolean","description":"Disable roles on new environment.","allowNo":false}},"args":[]},"environments:delete":{"id":"environments:delete","description":"Delete an environment.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"force","description":"Force delete.","allowNo":false}},"args":[{"name":"environmentId","description":"ID of an environment.","required":true}]},"environments:get":{"id":"environments:get","description":"Get the configuration of an environment.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"format":{"name":"format","type":"option","char":"format","description":"Output format.","options":["table","json"],"default":"table"}},"args":[{"name":"environmentId","description":"ID of an environment.","required":true}]},"environments:reset":{"id":"environments:reset","description":"Reset a remote environment by removing all layout changes","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"environment":{"name":"environment","type":"option","char":"e","description":"The remote environment name to reset."},"force":{"name":"force","type":"boolean","description":"Skip reset changes confirmation.","allowNo":false},"projectId":{"name":"projectId","type":"option","char":"p","description":"The id of the project to work on.","default":null}},"args":[]},"environments:update":{"id":"environments:update","description":"Update an environment.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"environmentId":{"name":"environmentId","type":"option","char":"e","description":"The forest environment ID to update.","required":true},"name":{"name":"name","type":"option","char":"n","description":"To update the environment name.","required":false},"url":{"name":"url","type":"option","char":"u","description":"To update the application URL.","required":false}},"args":[]},"projects:create":{"id":"projects:create","description":"Create a new Forest Admin project.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"databaseConnectionURL":{"name":"databaseConnectionURL","type":"option","char":"c","description":"Enter the database credentials with a connection URL.","required":false},"databaseDialect":{"name":"databaseDialect","type":"option","char":"d","description":"Enter your database dialect.","required":false,"options":["mongodb","mssql","mysql / mariadb","postgres"]},"databaseName":{"name":"databaseName","type":"option","char":"n","description":"Enter your database name.","required":false},"databaseSchema":{"name":"databaseSchema","type":"option","char":"s","description":"Enter your database schema.","required":false},"databaseHost":{"name":"databaseHost","type":"option","char":"h","description":"Enter your database host.","required":false},"databasePort":{"name":"databasePort","type":"option","char":"p","description":"Enter your database port.","required":false},"databaseUser":{"name":"databaseUser","type":"option","char":"u","description":"Enter your database user.","required":false},"databasePassword":{"name":"databasePassword","type":"option","description":"Enter your database password.","required":false},"databaseSSL":{"name":"databaseSSL","type":"boolean","description":"Use SSL for database connection.","required":false,"allowNo":false},"mongoDBSRV":{"name":"mongoDBSRV","type":"boolean","description":"Use SRV DNS record for mongoDB connection.","required":false,"allowNo":false},"applicationHost":{"name":"applicationHost","type":"option","char":"H","description":"Hostname of your admin backend application.","required":false},"applicationPort":{"name":"applicationPort","type":"option","char":"P","description":"Port of your admin backend application.","required":false}},"args":[{"name":"applicationName","description":"Name of the project to create.","required":true}]},"projects:get":{"id":"projects:get","description":"Get the configuration of a project.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"format":{"name":"format","type":"option","char":"f","description":"Ouput format.","options":["table","json"],"default":"table"}},"args":[{"name":"projectId","description":"ID of a project.","required":true}]},"schema:apply":{"id":"schema:apply","description":"Apply the current schema of your repository to the specified environment (using your \".forestadmin-schema.json\" file).","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"secret":{"name":"secret","type":"option","char":"s","description":"Environment secret of the project (FOREST_ENV_SECRET).","required":false}},"args":[]},"schema:diff":{"id":"schema:diff","description":"Allow to compare two environment schemas","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","description":"Display usage information.","allowNo":false}},"args":[{"name":"environmentIdFrom","description":"ID of an environment to compare.","required":true},{"name":"environmentIdTo","description":"ID of an environment to compare.","required":true}]},"schema:update":{"id":"schema:update","description":"Refresh your schema by generating files that do not currently exist.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"config":{"name":"config","type":"option","char":"c","description":"Database configuration file to use.","required":false,"default":"config/databases.js"},"outputDirectory":{"name":"outputDirectory","type":"option","char":"o","description":"Output directory where to generate new files.","required":false}},"args":[]},"projects:create:nosql":{"id":"projects:create:nosql","description":"Create a new Forest Admin project.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"databaseConnectionURL":{"name":"databaseConnectionURL","type":"option","char":"c","description":"Enter the database credentials with a connection URL.","required":false},"databaseName":{"name":"databaseName","type":"option","char":"n","description":"Enter your database name.","required":false},"databaseHost":{"name":"databaseHost","type":"option","char":"h","description":"Enter your database host.","required":false},"databasePort":{"name":"databasePort","type":"option","char":"p","description":"Enter your database port.","required":false},"databaseUser":{"name":"databaseUser","type":"option","char":"u","description":"Enter your database user.","required":false},"databasePassword":{"name":"databasePassword","type":"option","description":"Enter your database password.","required":false},"databaseSslMode":{"name":"databaseSslMode","type":"option","description":"SSL mode.","required":false,"options":["preferred","verify","required","disabled"]},"databaseSSL":{"name":"databaseSSL","type":"boolean","description":"Use SSL for database connection.","required":false,"allowNo":false},"mongoDBSRV":{"name":"mongoDBSRV","type":"boolean","description":"Use SRV DNS record for mongoDB connection.","required":false,"allowNo":false},"applicationHost":{"name":"applicationHost","type":"option","char":"H","description":"Hostname of your admin backend application.","required":false},"applicationPort":{"name":"applicationPort","type":"option","char":"P","description":"Port of your admin backend application.","required":false},"language":{"name":"language","type":"option","char":"l","description":"Choose the language you want to use for your project.","required":false,"options":["javascript","typescript"]}},"args":[{"name":"applicationName","description":"Name of the project to create.","required":true}]},"projects:create:sql":{"id":"projects:create:sql","description":"Create a new Forest Admin project.","pluginName":"forest-cli","pluginType":"core","aliases":[],"flags":{"databaseConnectionURL":{"name":"databaseConnectionURL","type":"option","char":"c","description":"Enter the database credentials with a connection URL.","required":false},"databaseDialect":{"name":"databaseDialect","type":"option","char":"d","description":"Enter your database dialect.","required":false,"options":["mssql","mysql / mariadb","postgres"]},"databaseName":{"name":"databaseName","type":"option","char":"n","description":"Enter your database name.","required":false},"databaseSchema":{"name":"databaseSchema","type":"option","char":"s","description":"Enter your database schema.","required":false},"databaseHost":{"name":"databaseHost","type":"option","char":"h","description":"Enter your database host.","required":false},"databasePort":{"name":"databasePort","type":"option","char":"p","description":"Enter your database port.","required":false},"databaseUser":{"name":"databaseUser","type":"option","char":"u","description":"Enter your database user.","required":false},"databasePassword":{"name":"databasePassword","type":"option","description":"Enter your database password.","required":false},"databaseSslMode":{"name":"databaseSslMode","type":"option","description":"SSL mode.","required":false,"options":["preferred","verify","required","disabled"]},"databaseSSL":{"name":"databaseSSL","type":"boolean","description":"Use SSL for database connection.","required":false,"allowNo":false},"applicationHost":{"name":"applicationHost","type":"option","char":"H","description":"Hostname of your admin backend application.","required":false},"applicationPort":{"name":"applicationPort","type":"option","char":"P","description":"Port of your admin backend application.","required":false},"language":{"name":"language","type":"option","char":"l","description":"Choose the language you want to use for your project.","required":false,"options":["javascript","typescript"]}},"args":[{"name":"applicationName","description":"Name of the project to create.","required":true}]}}}
1
+ {
2
+ "commands": {
3
+ "branch": {
4
+ "aliases": [
5
+ "branches"
6
+ ],
7
+ "args": {
8
+ "BRANCH_NAME": {
9
+ "description": "The name of the branch to create.",
10
+ "name": "BRANCH_NAME",
11
+ "required": false
12
+ }
13
+ },
14
+ "description": "Create a new branch or list your existing branches.",
15
+ "flags": {
16
+ "projectId": {
17
+ "description": "The id of the project to create a branch in.",
18
+ "name": "projectId",
19
+ "hasDynamicHelp": false,
20
+ "multiple": false,
21
+ "type": "option"
22
+ },
23
+ "delete": {
24
+ "char": "d",
25
+ "description": "Delete the branch.",
26
+ "name": "delete",
27
+ "allowNo": false,
28
+ "type": "boolean"
29
+ },
30
+ "force": {
31
+ "description": "When deleting a branch, skip confirmation.",
32
+ "name": "force",
33
+ "allowNo": false,
34
+ "type": "boolean"
35
+ },
36
+ "help": {
37
+ "description": "Display usage information.",
38
+ "name": "help",
39
+ "allowNo": false,
40
+ "type": "boolean"
41
+ },
42
+ "format": {
43
+ "char": "format",
44
+ "description": "Output format.",
45
+ "name": "format",
46
+ "default": "table",
47
+ "hasDynamicHelp": false,
48
+ "multiple": false,
49
+ "options": [
50
+ "table",
51
+ "json"
52
+ ],
53
+ "type": "option"
54
+ },
55
+ "origin": {
56
+ "char": "o",
57
+ "description": "Set the origin of the created branch.",
58
+ "name": "origin",
59
+ "hasDynamicHelp": false,
60
+ "multiple": false,
61
+ "type": "option"
62
+ }
63
+ },
64
+ "hasDynamicHelp": false,
65
+ "hiddenAliases": [],
66
+ "id": "branch",
67
+ "pluginAlias": "forest-cli",
68
+ "pluginName": "forest-cli",
69
+ "pluginType": "core",
70
+ "strict": true,
71
+ "isESM": false,
72
+ "relativePath": [
73
+ "dist",
74
+ "commands",
75
+ "branch.js"
76
+ ]
77
+ },
78
+ "deploy": {
79
+ "aliases": [
80
+ "environments:deploy"
81
+ ],
82
+ "args": {},
83
+ "description": "Deploy layout changes of the current branch to the reference one.",
84
+ "flags": {
85
+ "help": {
86
+ "description": "Display usage information.",
87
+ "name": "help",
88
+ "allowNo": false,
89
+ "type": "boolean"
90
+ },
91
+ "force": {
92
+ "char": "f",
93
+ "description": "Skip deploy confirmation.",
94
+ "name": "force",
95
+ "allowNo": false,
96
+ "type": "boolean"
97
+ },
98
+ "projectId": {
99
+ "char": "p",
100
+ "description": "The id of the project you want to deploy.",
101
+ "name": "projectId",
102
+ "default": null,
103
+ "hasDynamicHelp": false,
104
+ "multiple": false,
105
+ "type": "option"
106
+ }
107
+ },
108
+ "hasDynamicHelp": false,
109
+ "hiddenAliases": [],
110
+ "id": "deploy",
111
+ "pluginAlias": "forest-cli",
112
+ "pluginName": "forest-cli",
113
+ "pluginType": "core",
114
+ "strict": true,
115
+ "isESM": false,
116
+ "relativePath": [
117
+ "dist",
118
+ "commands",
119
+ "deploy.js"
120
+ ]
121
+ },
122
+ "environments": {
123
+ "aliases": [
124
+ "environments:list"
125
+ ],
126
+ "args": {},
127
+ "description": "Manage environments.",
128
+ "flags": {
129
+ "projectId": {
130
+ "char": "p",
131
+ "description": "Forest project ID.",
132
+ "name": "projectId",
133
+ "default": null,
134
+ "hasDynamicHelp": false,
135
+ "multiple": false,
136
+ "type": "option"
137
+ },
138
+ "format": {
139
+ "char": "format",
140
+ "description": "Ouput format.",
141
+ "name": "format",
142
+ "default": "table",
143
+ "hasDynamicHelp": false,
144
+ "multiple": false,
145
+ "options": [
146
+ "table",
147
+ "json"
148
+ ],
149
+ "type": "option"
150
+ }
151
+ },
152
+ "hasDynamicHelp": false,
153
+ "hiddenAliases": [],
154
+ "id": "environments",
155
+ "pluginAlias": "forest-cli",
156
+ "pluginName": "forest-cli",
157
+ "pluginType": "core",
158
+ "strict": true,
159
+ "isESM": false,
160
+ "relativePath": [
161
+ "dist",
162
+ "commands",
163
+ "environments.js"
164
+ ]
165
+ },
166
+ "init": {
167
+ "aliases": [
168
+ "environments:init"
169
+ ],
170
+ "args": {},
171
+ "description": "Set up your development environment in your current folder.",
172
+ "flags": {
173
+ "projectId": {
174
+ "char": "p",
175
+ "description": "The id of the project you want to init.",
176
+ "name": "projectId",
177
+ "hasDynamicHelp": false,
178
+ "multiple": false,
179
+ "type": "option"
180
+ }
181
+ },
182
+ "hasDynamicHelp": false,
183
+ "hiddenAliases": [],
184
+ "id": "init",
185
+ "pluginAlias": "forest-cli",
186
+ "pluginName": "forest-cli",
187
+ "pluginType": "core",
188
+ "strict": true,
189
+ "isESM": false,
190
+ "relativePath": [
191
+ "dist",
192
+ "commands",
193
+ "init.js"
194
+ ]
195
+ },
196
+ "login": {
197
+ "aliases": [],
198
+ "args": {},
199
+ "description": "Sign in with an existing account.",
200
+ "flags": {
201
+ "email": {
202
+ "char": "e",
203
+ "description": "Your Forest Admin account email.",
204
+ "name": "email",
205
+ "hasDynamicHelp": false,
206
+ "multiple": false,
207
+ "type": "option"
208
+ },
209
+ "password": {
210
+ "char": "P",
211
+ "description": "Your Forest Admin account password (ignored if token is set).",
212
+ "name": "password",
213
+ "hasDynamicHelp": false,
214
+ "multiple": false,
215
+ "type": "option"
216
+ },
217
+ "token": {
218
+ "char": "t",
219
+ "description": "Your Forest Admin account token (replaces password).",
220
+ "name": "token",
221
+ "hasDynamicHelp": false,
222
+ "multiple": false,
223
+ "type": "option"
224
+ }
225
+ },
226
+ "hasDynamicHelp": false,
227
+ "hiddenAliases": [],
228
+ "id": "login",
229
+ "pluginAlias": "forest-cli",
230
+ "pluginName": "forest-cli",
231
+ "pluginType": "core",
232
+ "strict": true,
233
+ "isESM": false,
234
+ "relativePath": [
235
+ "dist",
236
+ "commands",
237
+ "login.js"
238
+ ]
239
+ },
240
+ "logout": {
241
+ "aliases": [],
242
+ "args": {},
243
+ "description": "Sign out of your account.",
244
+ "flags": {},
245
+ "hasDynamicHelp": false,
246
+ "hiddenAliases": [],
247
+ "id": "logout",
248
+ "pluginAlias": "forest-cli",
249
+ "pluginName": "forest-cli",
250
+ "pluginType": "core",
251
+ "strict": true,
252
+ "isESM": false,
253
+ "relativePath": [
254
+ "dist",
255
+ "commands",
256
+ "logout.js"
257
+ ]
258
+ },
259
+ "projects": {
260
+ "aliases": [
261
+ "projects:list"
262
+ ],
263
+ "args": {},
264
+ "description": "Manage projects.",
265
+ "flags": {
266
+ "format": {
267
+ "char": "format",
268
+ "description": "Ouput format.",
269
+ "name": "format",
270
+ "default": "table",
271
+ "hasDynamicHelp": false,
272
+ "multiple": false,
273
+ "options": [
274
+ "table",
275
+ "json"
276
+ ],
277
+ "type": "option"
278
+ }
279
+ },
280
+ "hasDynamicHelp": false,
281
+ "hiddenAliases": [],
282
+ "id": "projects",
283
+ "pluginAlias": "forest-cli",
284
+ "pluginName": "forest-cli",
285
+ "pluginType": "core",
286
+ "strict": true,
287
+ "isESM": false,
288
+ "relativePath": [
289
+ "dist",
290
+ "commands",
291
+ "projects.js"
292
+ ]
293
+ },
294
+ "push": {
295
+ "aliases": [
296
+ "branches:push"
297
+ ],
298
+ "args": {},
299
+ "description": "Push layout changes of your current branch to the branch origin.",
300
+ "flags": {
301
+ "force": {
302
+ "description": "Skip push changes confirmation.",
303
+ "name": "force",
304
+ "allowNo": false,
305
+ "type": "boolean"
306
+ },
307
+ "help": {
308
+ "description": "Display usage information.",
309
+ "name": "help",
310
+ "allowNo": false,
311
+ "type": "boolean"
312
+ },
313
+ "projectId": {
314
+ "char": "p",
315
+ "description": "The id of the project to work on.",
316
+ "name": "projectId",
317
+ "default": null,
318
+ "hasDynamicHelp": false,
319
+ "multiple": false,
320
+ "type": "option"
321
+ }
322
+ },
323
+ "hasDynamicHelp": false,
324
+ "hiddenAliases": [],
325
+ "id": "push",
326
+ "pluginAlias": "forest-cli",
327
+ "pluginName": "forest-cli",
328
+ "pluginType": "core",
329
+ "strict": true,
330
+ "isESM": false,
331
+ "relativePath": [
332
+ "dist",
333
+ "commands",
334
+ "push.js"
335
+ ]
336
+ },
337
+ "set-origin": {
338
+ "aliases": [
339
+ "branches:origin"
340
+ ],
341
+ "args": {
342
+ "ENVIRONMENT_NAME": {
343
+ "description": "The environment to set as origin.",
344
+ "name": "ENVIRONMENT_NAME",
345
+ "required": false
346
+ }
347
+ },
348
+ "description": "Set an environment as your branch's origin. Your branch will build on top of that environment's layout.",
349
+ "flags": {
350
+ "help": {
351
+ "description": "Display usage information.",
352
+ "name": "help",
353
+ "allowNo": false,
354
+ "type": "boolean"
355
+ }
356
+ },
357
+ "hasDynamicHelp": false,
358
+ "hiddenAliases": [],
359
+ "id": "set-origin",
360
+ "pluginAlias": "forest-cli",
361
+ "pluginName": "forest-cli",
362
+ "pluginType": "core",
363
+ "strict": true,
364
+ "isESM": false,
365
+ "relativePath": [
366
+ "dist",
367
+ "commands",
368
+ "set-origin.js"
369
+ ]
370
+ },
371
+ "switch": {
372
+ "aliases": [
373
+ "branch:switch"
374
+ ],
375
+ "args": {
376
+ "BRANCH_NAME": {
377
+ "description": "The name of the local branch to set as current.",
378
+ "name": "BRANCH_NAME",
379
+ "required": false
380
+ }
381
+ },
382
+ "description": "Switch to another branch in your local development environment.",
383
+ "flags": {
384
+ "help": {
385
+ "description": "Display usage information.",
386
+ "name": "help",
387
+ "allowNo": false,
388
+ "type": "boolean"
389
+ }
390
+ },
391
+ "hasDynamicHelp": false,
392
+ "hiddenAliases": [],
393
+ "id": "switch",
394
+ "pluginAlias": "forest-cli",
395
+ "pluginName": "forest-cli",
396
+ "pluginType": "core",
397
+ "strict": true,
398
+ "isESM": false,
399
+ "relativePath": [
400
+ "dist",
401
+ "commands",
402
+ "switch.js"
403
+ ]
404
+ },
405
+ "user": {
406
+ "aliases": [],
407
+ "args": {},
408
+ "description": "Display the current logged in user.",
409
+ "flags": {},
410
+ "hasDynamicHelp": false,
411
+ "hiddenAliases": [],
412
+ "id": "user",
413
+ "pluginAlias": "forest-cli",
414
+ "pluginName": "forest-cli",
415
+ "pluginType": "core",
416
+ "strict": true,
417
+ "isESM": false,
418
+ "relativePath": [
419
+ "dist",
420
+ "commands",
421
+ "user.js"
422
+ ]
423
+ },
424
+ "environments:create": {
425
+ "aliases": [],
426
+ "args": {},
427
+ "description": "Create a new environment.",
428
+ "flags": {
429
+ "projectId": {
430
+ "char": "p",
431
+ "description": "Forest project ID.",
432
+ "name": "projectId",
433
+ "default": null,
434
+ "hasDynamicHelp": false,
435
+ "multiple": false,
436
+ "type": "option"
437
+ },
438
+ "name": {
439
+ "char": "n",
440
+ "description": "Environment name.",
441
+ "name": "name",
442
+ "required": true,
443
+ "hasDynamicHelp": false,
444
+ "multiple": false,
445
+ "type": "option"
446
+ },
447
+ "url": {
448
+ "char": "u",
449
+ "description": "Application URL.",
450
+ "name": "url",
451
+ "required": true,
452
+ "hasDynamicHelp": false,
453
+ "multiple": false,
454
+ "type": "option"
455
+ },
456
+ "format": {
457
+ "char": "format",
458
+ "description": "Ouput format.",
459
+ "name": "format",
460
+ "default": "table",
461
+ "hasDynamicHelp": false,
462
+ "multiple": false,
463
+ "options": [
464
+ "table",
465
+ "json"
466
+ ],
467
+ "type": "option"
468
+ },
469
+ "disableRoles": {
470
+ "description": "Disable roles on new environment.",
471
+ "name": "disableRoles",
472
+ "allowNo": false,
473
+ "type": "boolean"
474
+ }
475
+ },
476
+ "hasDynamicHelp": false,
477
+ "hiddenAliases": [],
478
+ "id": "environments:create",
479
+ "pluginAlias": "forest-cli",
480
+ "pluginName": "forest-cli",
481
+ "pluginType": "core",
482
+ "strict": true,
483
+ "isESM": false,
484
+ "relativePath": [
485
+ "dist",
486
+ "commands",
487
+ "environments",
488
+ "create.js"
489
+ ]
490
+ },
491
+ "environments:delete": {
492
+ "aliases": [],
493
+ "args": {
494
+ "environmentId": {
495
+ "description": "ID of an environment.",
496
+ "name": "environmentId",
497
+ "required": true
498
+ }
499
+ },
500
+ "description": "Delete an environment.",
501
+ "flags": {
502
+ "force": {
503
+ "char": "force",
504
+ "description": "Force delete.",
505
+ "name": "force",
506
+ "allowNo": false,
507
+ "type": "boolean"
508
+ }
509
+ },
510
+ "hasDynamicHelp": false,
511
+ "hiddenAliases": [],
512
+ "id": "environments:delete",
513
+ "pluginAlias": "forest-cli",
514
+ "pluginName": "forest-cli",
515
+ "pluginType": "core",
516
+ "strict": true,
517
+ "isESM": false,
518
+ "relativePath": [
519
+ "dist",
520
+ "commands",
521
+ "environments",
522
+ "delete.js"
523
+ ]
524
+ },
525
+ "environments:get": {
526
+ "aliases": [],
527
+ "args": {
528
+ "environmentId": {
529
+ "description": "ID of an environment.",
530
+ "name": "environmentId",
531
+ "required": true
532
+ }
533
+ },
534
+ "description": "Get the configuration of an environment.",
535
+ "flags": {
536
+ "format": {
537
+ "char": "format",
538
+ "description": "Output format.",
539
+ "name": "format",
540
+ "default": "table",
541
+ "hasDynamicHelp": false,
542
+ "multiple": false,
543
+ "options": [
544
+ "table",
545
+ "json"
546
+ ],
547
+ "type": "option"
548
+ }
549
+ },
550
+ "hasDynamicHelp": false,
551
+ "hiddenAliases": [],
552
+ "id": "environments:get",
553
+ "pluginAlias": "forest-cli",
554
+ "pluginName": "forest-cli",
555
+ "pluginType": "core",
556
+ "strict": true,
557
+ "isESM": false,
558
+ "relativePath": [
559
+ "dist",
560
+ "commands",
561
+ "environments",
562
+ "get.js"
563
+ ]
564
+ },
565
+ "environments:reset": {
566
+ "aliases": [],
567
+ "args": {},
568
+ "description": "Reset a remote environment by removing all layout changes",
569
+ "flags": {
570
+ "environment": {
571
+ "char": "e",
572
+ "description": "The remote environment name to reset.",
573
+ "name": "environment",
574
+ "hasDynamicHelp": false,
575
+ "multiple": false,
576
+ "type": "option"
577
+ },
578
+ "force": {
579
+ "description": "Skip reset changes confirmation.",
580
+ "name": "force",
581
+ "allowNo": false,
582
+ "type": "boolean"
583
+ },
584
+ "projectId": {
585
+ "char": "p",
586
+ "description": "The id of the project to work on.",
587
+ "name": "projectId",
588
+ "default": null,
589
+ "hasDynamicHelp": false,
590
+ "multiple": false,
591
+ "type": "option"
592
+ }
593
+ },
594
+ "hasDynamicHelp": false,
595
+ "hiddenAliases": [],
596
+ "id": "environments:reset",
597
+ "pluginAlias": "forest-cli",
598
+ "pluginName": "forest-cli",
599
+ "pluginType": "core",
600
+ "strict": true,
601
+ "isESM": false,
602
+ "relativePath": [
603
+ "dist",
604
+ "commands",
605
+ "environments",
606
+ "reset.js"
607
+ ]
608
+ },
609
+ "environments:update": {
610
+ "aliases": [],
611
+ "args": {},
612
+ "description": "Update an environment.",
613
+ "flags": {
614
+ "environmentId": {
615
+ "char": "e",
616
+ "description": "The forest environment ID to update.",
617
+ "name": "environmentId",
618
+ "required": true,
619
+ "hasDynamicHelp": false,
620
+ "multiple": false,
621
+ "type": "option"
622
+ },
623
+ "name": {
624
+ "char": "n",
625
+ "description": "To update the environment name.",
626
+ "name": "name",
627
+ "required": false,
628
+ "hasDynamicHelp": false,
629
+ "multiple": false,
630
+ "type": "option"
631
+ },
632
+ "url": {
633
+ "char": "u",
634
+ "description": "To update the application URL.",
635
+ "name": "url",
636
+ "required": false,
637
+ "hasDynamicHelp": false,
638
+ "multiple": false,
639
+ "type": "option"
640
+ }
641
+ },
642
+ "hasDynamicHelp": false,
643
+ "hiddenAliases": [],
644
+ "id": "environments:update",
645
+ "pluginAlias": "forest-cli",
646
+ "pluginName": "forest-cli",
647
+ "pluginType": "core",
648
+ "strict": true,
649
+ "isESM": false,
650
+ "relativePath": [
651
+ "dist",
652
+ "commands",
653
+ "environments",
654
+ "update.js"
655
+ ]
656
+ },
657
+ "projects:create": {
658
+ "aliases": [],
659
+ "args": {
660
+ "applicationName": {
661
+ "description": "Name of the project to create.",
662
+ "name": "applicationName",
663
+ "required": true
664
+ }
665
+ },
666
+ "description": "Create a new Forest Admin project.",
667
+ "flags": {
668
+ "databaseConnectionURL": {
669
+ "char": "c",
670
+ "description": "Enter the database credentials with a connection URL.",
671
+ "name": "databaseConnectionURL",
672
+ "required": false,
673
+ "hasDynamicHelp": false,
674
+ "multiple": false,
675
+ "type": "option"
676
+ },
677
+ "databaseDialect": {
678
+ "char": "d",
679
+ "description": "Enter your database dialect.",
680
+ "exclusive": [
681
+ "databaseConnectionURL"
682
+ ],
683
+ "name": "databaseDialect",
684
+ "required": false,
685
+ "hasDynamicHelp": false,
686
+ "multiple": false,
687
+ "options": [
688
+ "mongodb",
689
+ "mssql",
690
+ "mysql / mariadb",
691
+ "postgres"
692
+ ],
693
+ "type": "option"
694
+ },
695
+ "databaseName": {
696
+ "char": "n",
697
+ "description": "Enter your database name.",
698
+ "exclusive": [
699
+ "databaseConnectionURL"
700
+ ],
701
+ "name": "databaseName",
702
+ "required": false,
703
+ "hasDynamicHelp": false,
704
+ "multiple": false,
705
+ "type": "option"
706
+ },
707
+ "databaseSchema": {
708
+ "char": "s",
709
+ "description": "Enter your database schema.",
710
+ "name": "databaseSchema",
711
+ "required": false,
712
+ "hasDynamicHelp": false,
713
+ "multiple": false,
714
+ "type": "option"
715
+ },
716
+ "databaseHost": {
717
+ "char": "h",
718
+ "description": "Enter your database host.",
719
+ "exclusive": [
720
+ "databaseConnectionURL"
721
+ ],
722
+ "name": "databaseHost",
723
+ "required": false,
724
+ "hasDynamicHelp": false,
725
+ "multiple": false,
726
+ "type": "option"
727
+ },
728
+ "databasePort": {
729
+ "char": "p",
730
+ "description": "Enter your database port.",
731
+ "exclusive": [
732
+ "databaseConnectionURL"
733
+ ],
734
+ "name": "databasePort",
735
+ "required": false,
736
+ "hasDynamicHelp": false,
737
+ "multiple": false,
738
+ "type": "option"
739
+ },
740
+ "databaseUser": {
741
+ "char": "u",
742
+ "description": "Enter your database user.",
743
+ "exclusive": [
744
+ "databaseConnectionURL"
745
+ ],
746
+ "name": "databaseUser",
747
+ "required": false,
748
+ "hasDynamicHelp": false,
749
+ "multiple": false,
750
+ "type": "option"
751
+ },
752
+ "databasePassword": {
753
+ "description": "Enter your database password.",
754
+ "exclusive": [
755
+ "databaseConnectionURL"
756
+ ],
757
+ "name": "databasePassword",
758
+ "required": false,
759
+ "hasDynamicHelp": false,
760
+ "multiple": false,
761
+ "type": "option"
762
+ },
763
+ "databaseSSL": {
764
+ "description": "Use SSL for database connection.",
765
+ "exclusive": [
766
+ "databaseSslMode"
767
+ ],
768
+ "name": "databaseSSL",
769
+ "required": false,
770
+ "allowNo": false,
771
+ "type": "boolean"
772
+ },
773
+ "mongoDBSRV": {
774
+ "description": "Use SRV DNS record for mongoDB connection.",
775
+ "exclusive": [
776
+ "databaseConnectionURL"
777
+ ],
778
+ "name": "mongoDBSRV",
779
+ "required": false,
780
+ "allowNo": false,
781
+ "type": "boolean"
782
+ },
783
+ "applicationHost": {
784
+ "char": "H",
785
+ "description": "Hostname of your admin backend application.",
786
+ "name": "applicationHost",
787
+ "required": false,
788
+ "hasDynamicHelp": false,
789
+ "multiple": false,
790
+ "type": "option"
791
+ },
792
+ "applicationPort": {
793
+ "char": "P",
794
+ "description": "Port of your admin backend application.",
795
+ "name": "applicationPort",
796
+ "required": false,
797
+ "hasDynamicHelp": false,
798
+ "multiple": false,
799
+ "type": "option"
800
+ }
801
+ },
802
+ "hasDynamicHelp": false,
803
+ "hiddenAliases": [],
804
+ "id": "projects:create",
805
+ "pluginAlias": "forest-cli",
806
+ "pluginName": "forest-cli",
807
+ "pluginType": "core",
808
+ "options": {
809
+ "databaseConnectionURL": {
810
+ "oclif": {
811
+ "char": "c",
812
+ "description": "Enter the database credentials with a connection URL."
813
+ },
814
+ "prompter": null
815
+ },
816
+ "databaseDialect": {
817
+ "choices": [
818
+ {
819
+ "name": "mongodb",
820
+ "value": "mongodb"
821
+ },
822
+ {
823
+ "name": "mssql",
824
+ "value": "mssql"
825
+ },
826
+ {
827
+ "name": "mysql / mariadb",
828
+ "value": "mysql"
829
+ },
830
+ {
831
+ "name": "postgres",
832
+ "value": "postgres"
833
+ }
834
+ ],
835
+ "exclusive": [
836
+ "databaseConnectionURL"
837
+ ],
838
+ "oclif": {
839
+ "char": "d",
840
+ "description": "Enter your database dialect."
841
+ },
842
+ "prompter": {
843
+ "question": "What's the database type?"
844
+ }
845
+ },
846
+ "databaseName": {
847
+ "exclusive": [
848
+ "databaseConnectionURL"
849
+ ],
850
+ "oclif": {
851
+ "char": "n",
852
+ "description": "Enter your database name."
853
+ },
854
+ "prompter": {
855
+ "question": "What's the database name?"
856
+ }
857
+ },
858
+ "databaseSchema": {
859
+ "oclif": {
860
+ "char": "s",
861
+ "description": "Enter your database schema."
862
+ },
863
+ "prompter": {
864
+ "question": "What's the database schema? [optional]",
865
+ "description": "Leave blank by default"
866
+ }
867
+ },
868
+ "databaseHost": {
869
+ "exclusive": [
870
+ "databaseConnectionURL"
871
+ ],
872
+ "default": "localhost",
873
+ "oclif": {
874
+ "char": "h",
875
+ "description": "Enter your database host."
876
+ },
877
+ "prompter": {
878
+ "question": "What's the database hostname?"
879
+ }
880
+ },
881
+ "databasePort": {
882
+ "exclusive": [
883
+ "databaseConnectionURL"
884
+ ],
885
+ "oclif": {
886
+ "char": "p",
887
+ "description": "Enter your database port."
888
+ },
889
+ "prompter": {
890
+ "question": "What's the database port?"
891
+ }
892
+ },
893
+ "databaseUser": {
894
+ "exclusive": [
895
+ "databaseConnectionURL"
896
+ ],
897
+ "oclif": {
898
+ "char": "u",
899
+ "description": "Enter your database user."
900
+ },
901
+ "prompter": {
902
+ "question": "What's the database user?"
903
+ }
904
+ },
905
+ "databasePassword": {
906
+ "exclusive": [
907
+ "databaseConnectionURL"
908
+ ],
909
+ "oclif": {
910
+ "description": "Enter your database password."
911
+ },
912
+ "prompter": {
913
+ "question": "What's the database password? [optional]"
914
+ }
915
+ },
916
+ "databaseSSL": {
917
+ "exclusive": [
918
+ "databaseSslMode"
919
+ ],
920
+ "type": "boolean",
921
+ "default": false,
922
+ "oclif": {
923
+ "description": "Use SSL for database connection."
924
+ },
925
+ "prompter": null
926
+ },
927
+ "mongoDBSRV": {
928
+ "type": "boolean",
929
+ "exclusive": [
930
+ "databaseConnectionURL"
931
+ ],
932
+ "default": false,
933
+ "oclif": {
934
+ "description": "Use SRV DNS record for mongoDB connection."
935
+ },
936
+ "prompter": {
937
+ "question": "Use a SRV connection string?"
938
+ }
939
+ },
940
+ "applicationHost": {
941
+ "default": "http://localhost",
942
+ "oclif": {
943
+ "char": "H",
944
+ "description": "Hostname of your admin backend application."
945
+ },
946
+ "prompter": {
947
+ "question": "What's the IP/hostname on which your application will be running?"
948
+ }
949
+ },
950
+ "applicationPort": {
951
+ "default": "3310",
952
+ "oclif": {
953
+ "char": "P",
954
+ "description": "Port of your admin backend application."
955
+ },
956
+ "prompter": {
957
+ "question": "What's the port on which your application will be running?"
958
+ }
959
+ }
960
+ },
961
+ "isESM": false,
962
+ "relativePath": [
963
+ "dist",
964
+ "commands",
965
+ "projects",
966
+ "create.js"
967
+ ]
968
+ },
969
+ "projects:get": {
970
+ "aliases": [],
971
+ "args": {
972
+ "projectId": {
973
+ "description": "ID of a project.",
974
+ "name": "projectId",
975
+ "required": true
976
+ }
977
+ },
978
+ "description": "Get the configuration of a project.",
979
+ "flags": {
980
+ "format": {
981
+ "char": "f",
982
+ "description": "Ouput format.",
983
+ "name": "format",
984
+ "default": "table",
985
+ "hasDynamicHelp": false,
986
+ "multiple": false,
987
+ "options": [
988
+ "table",
989
+ "json"
990
+ ],
991
+ "type": "option"
992
+ }
993
+ },
994
+ "hasDynamicHelp": false,
995
+ "hiddenAliases": [],
996
+ "id": "projects:get",
997
+ "pluginAlias": "forest-cli",
998
+ "pluginName": "forest-cli",
999
+ "pluginType": "core",
1000
+ "strict": true,
1001
+ "isESM": false,
1002
+ "relativePath": [
1003
+ "dist",
1004
+ "commands",
1005
+ "projects",
1006
+ "get.js"
1007
+ ]
1008
+ },
1009
+ "schema:apply": {
1010
+ "aliases": [],
1011
+ "args": {},
1012
+ "description": "Apply the current schema of your repository to the specified environment (using your \".forestadmin-schema.json\" file).",
1013
+ "flags": {
1014
+ "secret": {
1015
+ "char": "s",
1016
+ "description": "Environment secret of the project (FOREST_ENV_SECRET).",
1017
+ "name": "secret",
1018
+ "required": false,
1019
+ "hasDynamicHelp": false,
1020
+ "multiple": false,
1021
+ "type": "option"
1022
+ }
1023
+ },
1024
+ "hasDynamicHelp": false,
1025
+ "hiddenAliases": [],
1026
+ "id": "schema:apply",
1027
+ "pluginAlias": "forest-cli",
1028
+ "pluginName": "forest-cli",
1029
+ "pluginType": "core",
1030
+ "strict": true,
1031
+ "isESM": false,
1032
+ "relativePath": [
1033
+ "dist",
1034
+ "commands",
1035
+ "schema",
1036
+ "apply.js"
1037
+ ]
1038
+ },
1039
+ "schema:diff": {
1040
+ "aliases": [],
1041
+ "args": {
1042
+ "environmentIdFrom": {
1043
+ "description": "ID of an environment to compare.",
1044
+ "name": "environmentIdFrom",
1045
+ "required": true
1046
+ },
1047
+ "environmentIdTo": {
1048
+ "description": "ID of an environment to compare.",
1049
+ "name": "environmentIdTo",
1050
+ "required": true
1051
+ }
1052
+ },
1053
+ "description": "Allow to compare two environment schemas",
1054
+ "flags": {
1055
+ "help": {
1056
+ "description": "Display usage information.",
1057
+ "name": "help",
1058
+ "allowNo": false,
1059
+ "type": "boolean"
1060
+ }
1061
+ },
1062
+ "hasDynamicHelp": false,
1063
+ "hiddenAliases": [],
1064
+ "id": "schema:diff",
1065
+ "pluginAlias": "forest-cli",
1066
+ "pluginName": "forest-cli",
1067
+ "pluginType": "core",
1068
+ "strict": true,
1069
+ "isESM": false,
1070
+ "relativePath": [
1071
+ "dist",
1072
+ "commands",
1073
+ "schema",
1074
+ "diff.js"
1075
+ ]
1076
+ },
1077
+ "schema:update": {
1078
+ "aliases": [],
1079
+ "args": {},
1080
+ "description": "Refresh your schema by generating files that do not currently exist.",
1081
+ "flags": {
1082
+ "config": {
1083
+ "char": "c",
1084
+ "dependsOn": [],
1085
+ "description": "Database configuration file to use.",
1086
+ "exclusive": [],
1087
+ "name": "config",
1088
+ "required": false,
1089
+ "default": "config/databases.js",
1090
+ "hasDynamicHelp": false,
1091
+ "multiple": false,
1092
+ "type": "option"
1093
+ },
1094
+ "outputDirectory": {
1095
+ "char": "o",
1096
+ "dependsOn": [],
1097
+ "description": "Output directory where to generate new files.",
1098
+ "exclusive": [],
1099
+ "name": "outputDirectory",
1100
+ "required": false,
1101
+ "hasDynamicHelp": false,
1102
+ "multiple": false,
1103
+ "type": "option"
1104
+ }
1105
+ },
1106
+ "hasDynamicHelp": false,
1107
+ "hiddenAliases": [],
1108
+ "id": "schema:update",
1109
+ "pluginAlias": "forest-cli",
1110
+ "pluginName": "forest-cli",
1111
+ "pluginType": "core",
1112
+ "strict": true,
1113
+ "isESM": false,
1114
+ "relativePath": [
1115
+ "dist",
1116
+ "commands",
1117
+ "schema",
1118
+ "update.js"
1119
+ ]
1120
+ },
1121
+ "projects:create:nosql": {
1122
+ "aliases": [],
1123
+ "args": {
1124
+ "applicationName": {
1125
+ "description": "Name of the project to create.",
1126
+ "name": "applicationName",
1127
+ "required": true
1128
+ }
1129
+ },
1130
+ "description": "Create a new Forest Admin project.",
1131
+ "flags": {
1132
+ "databaseConnectionURL": {
1133
+ "char": "c",
1134
+ "description": "Enter the database credentials with a connection URL.",
1135
+ "name": "databaseConnectionURL",
1136
+ "required": false,
1137
+ "hasDynamicHelp": false,
1138
+ "multiple": false,
1139
+ "type": "option"
1140
+ },
1141
+ "databaseName": {
1142
+ "char": "n",
1143
+ "description": "Enter your database name.",
1144
+ "exclusive": [
1145
+ "databaseConnectionURL"
1146
+ ],
1147
+ "name": "databaseName",
1148
+ "required": false,
1149
+ "hasDynamicHelp": false,
1150
+ "multiple": false,
1151
+ "type": "option"
1152
+ },
1153
+ "databaseHost": {
1154
+ "char": "h",
1155
+ "description": "Enter your database host.",
1156
+ "exclusive": [
1157
+ "databaseConnectionURL"
1158
+ ],
1159
+ "name": "databaseHost",
1160
+ "required": false,
1161
+ "hasDynamicHelp": false,
1162
+ "multiple": false,
1163
+ "type": "option"
1164
+ },
1165
+ "databasePort": {
1166
+ "char": "p",
1167
+ "description": "Enter your database port.",
1168
+ "exclusive": [
1169
+ "databaseConnectionURL"
1170
+ ],
1171
+ "name": "databasePort",
1172
+ "required": false,
1173
+ "hasDynamicHelp": false,
1174
+ "multiple": false,
1175
+ "type": "option"
1176
+ },
1177
+ "databaseUser": {
1178
+ "char": "u",
1179
+ "description": "Enter your database user.",
1180
+ "exclusive": [
1181
+ "databaseConnectionURL"
1182
+ ],
1183
+ "name": "databaseUser",
1184
+ "required": false,
1185
+ "hasDynamicHelp": false,
1186
+ "multiple": false,
1187
+ "type": "option"
1188
+ },
1189
+ "databasePassword": {
1190
+ "description": "Enter your database password.",
1191
+ "exclusive": [
1192
+ "databaseConnectionURL"
1193
+ ],
1194
+ "name": "databasePassword",
1195
+ "required": false,
1196
+ "hasDynamicHelp": false,
1197
+ "multiple": false,
1198
+ "type": "option"
1199
+ },
1200
+ "databaseSslMode": {
1201
+ "description": "SSL mode.",
1202
+ "exclusive": [
1203
+ "databaseSSL"
1204
+ ],
1205
+ "name": "databaseSslMode",
1206
+ "required": false,
1207
+ "hasDynamicHelp": false,
1208
+ "multiple": false,
1209
+ "options": [
1210
+ "preferred",
1211
+ "verify",
1212
+ "required",
1213
+ "disabled"
1214
+ ],
1215
+ "type": "option"
1216
+ },
1217
+ "databaseSSL": {
1218
+ "description": "Use SSL for database connection.",
1219
+ "exclusive": [
1220
+ "databaseSslMode"
1221
+ ],
1222
+ "name": "databaseSSL",
1223
+ "required": false,
1224
+ "allowNo": false,
1225
+ "type": "boolean"
1226
+ },
1227
+ "mongoDBSRV": {
1228
+ "description": "Use SRV DNS record for mongoDB connection.",
1229
+ "exclusive": [
1230
+ "databaseConnectionURL"
1231
+ ],
1232
+ "name": "mongoDBSRV",
1233
+ "required": false,
1234
+ "allowNo": false,
1235
+ "type": "boolean"
1236
+ },
1237
+ "applicationHost": {
1238
+ "char": "H",
1239
+ "description": "Hostname of your admin backend application.",
1240
+ "name": "applicationHost",
1241
+ "required": false,
1242
+ "hasDynamicHelp": false,
1243
+ "multiple": false,
1244
+ "type": "option"
1245
+ },
1246
+ "applicationPort": {
1247
+ "char": "P",
1248
+ "description": "Port of your admin backend application.",
1249
+ "name": "applicationPort",
1250
+ "required": false,
1251
+ "hasDynamicHelp": false,
1252
+ "multiple": false,
1253
+ "type": "option"
1254
+ },
1255
+ "language": {
1256
+ "char": "l",
1257
+ "description": "Choose the language you want to use for your project.",
1258
+ "name": "language",
1259
+ "required": false,
1260
+ "hasDynamicHelp": false,
1261
+ "multiple": false,
1262
+ "options": [
1263
+ "javascript",
1264
+ "typescript"
1265
+ ],
1266
+ "type": "option"
1267
+ }
1268
+ },
1269
+ "hasDynamicHelp": false,
1270
+ "hiddenAliases": [],
1271
+ "id": "projects:create:nosql",
1272
+ "pluginAlias": "forest-cli",
1273
+ "pluginName": "forest-cli",
1274
+ "pluginType": "core",
1275
+ "options": {
1276
+ "databaseConnectionURL": {
1277
+ "oclif": {
1278
+ "char": "c",
1279
+ "description": "Enter the database credentials with a connection URL."
1280
+ },
1281
+ "prompter": null
1282
+ },
1283
+ "databaseName": {
1284
+ "exclusive": [
1285
+ "databaseConnectionURL"
1286
+ ],
1287
+ "oclif": {
1288
+ "char": "n",
1289
+ "description": "Enter your database name."
1290
+ },
1291
+ "prompter": {
1292
+ "question": "What's the database name?"
1293
+ }
1294
+ },
1295
+ "databaseHost": {
1296
+ "exclusive": [
1297
+ "databaseConnectionURL"
1298
+ ],
1299
+ "default": "localhost",
1300
+ "oclif": {
1301
+ "char": "h",
1302
+ "description": "Enter your database host."
1303
+ },
1304
+ "prompter": {
1305
+ "question": "What's the database hostname?"
1306
+ }
1307
+ },
1308
+ "databasePort": {
1309
+ "exclusive": [
1310
+ "databaseConnectionURL"
1311
+ ],
1312
+ "oclif": {
1313
+ "char": "p",
1314
+ "description": "Enter your database port."
1315
+ },
1316
+ "prompter": {
1317
+ "question": "What's the database port?"
1318
+ }
1319
+ },
1320
+ "databaseUser": {
1321
+ "exclusive": [
1322
+ "databaseConnectionURL"
1323
+ ],
1324
+ "oclif": {
1325
+ "char": "u",
1326
+ "description": "Enter your database user."
1327
+ },
1328
+ "prompter": {
1329
+ "question": "What's the database user?"
1330
+ }
1331
+ },
1332
+ "databasePassword": {
1333
+ "exclusive": [
1334
+ "databaseConnectionURL"
1335
+ ],
1336
+ "oclif": {
1337
+ "description": "Enter your database password."
1338
+ },
1339
+ "prompter": {
1340
+ "question": "What's the database password? [optional]"
1341
+ }
1342
+ },
1343
+ "databaseSslMode": {
1344
+ "exclusive": [
1345
+ "databaseSSL"
1346
+ ],
1347
+ "choices": [
1348
+ {
1349
+ "name": "preferred",
1350
+ "value": "preferred"
1351
+ },
1352
+ {
1353
+ "name": "verify",
1354
+ "value": "verify"
1355
+ },
1356
+ {
1357
+ "name": "required",
1358
+ "value": "required"
1359
+ },
1360
+ {
1361
+ "name": "disabled",
1362
+ "value": "disabled"
1363
+ }
1364
+ ],
1365
+ "default": "preferred",
1366
+ "oclif": {
1367
+ "description": "SSL mode."
1368
+ },
1369
+ "prompter": null
1370
+ },
1371
+ "databaseSSL": {
1372
+ "exclusive": [
1373
+ "databaseSslMode"
1374
+ ],
1375
+ "type": "boolean",
1376
+ "default": false,
1377
+ "oclif": {
1378
+ "description": "Use SSL for database connection."
1379
+ },
1380
+ "prompter": null
1381
+ },
1382
+ "mongoDBSRV": {
1383
+ "type": "boolean",
1384
+ "exclusive": [
1385
+ "databaseConnectionURL"
1386
+ ],
1387
+ "default": false,
1388
+ "oclif": {
1389
+ "description": "Use SRV DNS record for mongoDB connection."
1390
+ },
1391
+ "prompter": {
1392
+ "question": "Use a SRV connection string?"
1393
+ }
1394
+ },
1395
+ "applicationHost": {
1396
+ "default": "http://localhost",
1397
+ "oclif": {
1398
+ "char": "H",
1399
+ "description": "Hostname of your admin backend application."
1400
+ },
1401
+ "prompter": {
1402
+ "question": "What's the IP/hostname on which your application will be running?"
1403
+ }
1404
+ },
1405
+ "applicationPort": {
1406
+ "default": "3310",
1407
+ "oclif": {
1408
+ "char": "P",
1409
+ "description": "Port of your admin backend application."
1410
+ },
1411
+ "prompter": {
1412
+ "question": "What's the port on which your application will be running?"
1413
+ }
1414
+ },
1415
+ "language": {
1416
+ "choices": [
1417
+ {
1418
+ "name": "javascript",
1419
+ "value": {
1420
+ "name": "javascript",
1421
+ "fileExtension": "js"
1422
+ }
1423
+ },
1424
+ {
1425
+ "name": "typescript",
1426
+ "value": {
1427
+ "name": "typescript",
1428
+ "fileExtension": "ts"
1429
+ }
1430
+ }
1431
+ ],
1432
+ "default": {
1433
+ "name": "javascript",
1434
+ "fileExtension": "js"
1435
+ },
1436
+ "oclif": {
1437
+ "char": "l",
1438
+ "description": "Choose the language you want to use for your project."
1439
+ },
1440
+ "prompter": {
1441
+ "question": "In which language would you like to generate your sources?"
1442
+ }
1443
+ }
1444
+ },
1445
+ "isESM": false,
1446
+ "relativePath": [
1447
+ "dist",
1448
+ "commands",
1449
+ "projects",
1450
+ "create",
1451
+ "nosql.js"
1452
+ ]
1453
+ },
1454
+ "projects:create:sql": {
1455
+ "aliases": [],
1456
+ "args": {
1457
+ "applicationName": {
1458
+ "description": "Name of the project to create.",
1459
+ "name": "applicationName",
1460
+ "required": true
1461
+ }
1462
+ },
1463
+ "description": "Create a new Forest Admin project.",
1464
+ "flags": {
1465
+ "databaseConnectionURL": {
1466
+ "char": "c",
1467
+ "description": "Enter the database credentials with a connection URL.",
1468
+ "name": "databaseConnectionURL",
1469
+ "required": false,
1470
+ "hasDynamicHelp": false,
1471
+ "multiple": false,
1472
+ "type": "option"
1473
+ },
1474
+ "databaseDialect": {
1475
+ "char": "d",
1476
+ "description": "Enter your database dialect.",
1477
+ "exclusive": [
1478
+ "databaseConnectionURL"
1479
+ ],
1480
+ "name": "databaseDialect",
1481
+ "required": false,
1482
+ "hasDynamicHelp": false,
1483
+ "multiple": false,
1484
+ "options": [
1485
+ "mssql",
1486
+ "mysql / mariadb",
1487
+ "postgres"
1488
+ ],
1489
+ "type": "option"
1490
+ },
1491
+ "databaseName": {
1492
+ "char": "n",
1493
+ "description": "Enter your database name.",
1494
+ "exclusive": [
1495
+ "databaseConnectionURL"
1496
+ ],
1497
+ "name": "databaseName",
1498
+ "required": false,
1499
+ "hasDynamicHelp": false,
1500
+ "multiple": false,
1501
+ "type": "option"
1502
+ },
1503
+ "databaseSchema": {
1504
+ "char": "s",
1505
+ "description": "Enter your database schema.",
1506
+ "name": "databaseSchema",
1507
+ "required": false,
1508
+ "hasDynamicHelp": false,
1509
+ "multiple": false,
1510
+ "type": "option"
1511
+ },
1512
+ "databaseHost": {
1513
+ "char": "h",
1514
+ "description": "Enter your database host.",
1515
+ "exclusive": [
1516
+ "databaseConnectionURL"
1517
+ ],
1518
+ "name": "databaseHost",
1519
+ "required": false,
1520
+ "hasDynamicHelp": false,
1521
+ "multiple": false,
1522
+ "type": "option"
1523
+ },
1524
+ "databasePort": {
1525
+ "char": "p",
1526
+ "description": "Enter your database port.",
1527
+ "exclusive": [
1528
+ "databaseConnectionURL"
1529
+ ],
1530
+ "name": "databasePort",
1531
+ "required": false,
1532
+ "hasDynamicHelp": false,
1533
+ "multiple": false,
1534
+ "type": "option"
1535
+ },
1536
+ "databaseUser": {
1537
+ "char": "u",
1538
+ "description": "Enter your database user.",
1539
+ "exclusive": [
1540
+ "databaseConnectionURL"
1541
+ ],
1542
+ "name": "databaseUser",
1543
+ "required": false,
1544
+ "hasDynamicHelp": false,
1545
+ "multiple": false,
1546
+ "type": "option"
1547
+ },
1548
+ "databasePassword": {
1549
+ "description": "Enter your database password.",
1550
+ "exclusive": [
1551
+ "databaseConnectionURL"
1552
+ ],
1553
+ "name": "databasePassword",
1554
+ "required": false,
1555
+ "hasDynamicHelp": false,
1556
+ "multiple": false,
1557
+ "type": "option"
1558
+ },
1559
+ "databaseSslMode": {
1560
+ "description": "SSL mode.",
1561
+ "exclusive": [
1562
+ "databaseSSL"
1563
+ ],
1564
+ "name": "databaseSslMode",
1565
+ "required": false,
1566
+ "hasDynamicHelp": false,
1567
+ "multiple": false,
1568
+ "options": [
1569
+ "preferred",
1570
+ "verify",
1571
+ "required",
1572
+ "disabled"
1573
+ ],
1574
+ "type": "option"
1575
+ },
1576
+ "databaseSSL": {
1577
+ "description": "Use SSL for database connection.",
1578
+ "exclusive": [
1579
+ "databaseSslMode"
1580
+ ],
1581
+ "name": "databaseSSL",
1582
+ "required": false,
1583
+ "allowNo": false,
1584
+ "type": "boolean"
1585
+ },
1586
+ "applicationHost": {
1587
+ "char": "H",
1588
+ "description": "Hostname of your admin backend application.",
1589
+ "name": "applicationHost",
1590
+ "required": false,
1591
+ "hasDynamicHelp": false,
1592
+ "multiple": false,
1593
+ "type": "option"
1594
+ },
1595
+ "applicationPort": {
1596
+ "char": "P",
1597
+ "description": "Port of your admin backend application.",
1598
+ "name": "applicationPort",
1599
+ "required": false,
1600
+ "hasDynamicHelp": false,
1601
+ "multiple": false,
1602
+ "type": "option"
1603
+ },
1604
+ "language": {
1605
+ "char": "l",
1606
+ "description": "Choose the language you want to use for your project.",
1607
+ "name": "language",
1608
+ "required": false,
1609
+ "hasDynamicHelp": false,
1610
+ "multiple": false,
1611
+ "options": [
1612
+ "javascript",
1613
+ "typescript"
1614
+ ],
1615
+ "type": "option"
1616
+ }
1617
+ },
1618
+ "hasDynamicHelp": false,
1619
+ "hiddenAliases": [],
1620
+ "id": "projects:create:sql",
1621
+ "pluginAlias": "forest-cli",
1622
+ "pluginName": "forest-cli",
1623
+ "pluginType": "core",
1624
+ "options": {
1625
+ "databaseConnectionURL": {
1626
+ "oclif": {
1627
+ "char": "c",
1628
+ "description": "Enter the database credentials with a connection URL."
1629
+ },
1630
+ "prompter": null
1631
+ },
1632
+ "databaseDialect": {
1633
+ "choices": [
1634
+ {
1635
+ "name": "mssql",
1636
+ "value": "mssql"
1637
+ },
1638
+ {
1639
+ "name": "mysql / mariadb",
1640
+ "value": "mysql"
1641
+ },
1642
+ {
1643
+ "name": "postgres",
1644
+ "value": "postgres"
1645
+ }
1646
+ ],
1647
+ "exclusive": [
1648
+ "databaseConnectionURL"
1649
+ ],
1650
+ "oclif": {
1651
+ "char": "d",
1652
+ "description": "Enter your database dialect."
1653
+ },
1654
+ "prompter": {
1655
+ "question": "What's the database type?"
1656
+ }
1657
+ },
1658
+ "databaseName": {
1659
+ "exclusive": [
1660
+ "databaseConnectionURL"
1661
+ ],
1662
+ "oclif": {
1663
+ "char": "n",
1664
+ "description": "Enter your database name."
1665
+ },
1666
+ "prompter": {
1667
+ "question": "What's the database name?"
1668
+ }
1669
+ },
1670
+ "databaseSchema": {
1671
+ "oclif": {
1672
+ "char": "s",
1673
+ "description": "Enter your database schema."
1674
+ },
1675
+ "prompter": {
1676
+ "question": "What's the database schema? [optional]",
1677
+ "description": "Leave blank by default"
1678
+ }
1679
+ },
1680
+ "databaseHost": {
1681
+ "exclusive": [
1682
+ "databaseConnectionURL"
1683
+ ],
1684
+ "default": "localhost",
1685
+ "oclif": {
1686
+ "char": "h",
1687
+ "description": "Enter your database host."
1688
+ },
1689
+ "prompter": {
1690
+ "question": "What's the database hostname?"
1691
+ }
1692
+ },
1693
+ "databasePort": {
1694
+ "exclusive": [
1695
+ "databaseConnectionURL"
1696
+ ],
1697
+ "oclif": {
1698
+ "char": "p",
1699
+ "description": "Enter your database port."
1700
+ },
1701
+ "prompter": {
1702
+ "question": "What's the database port?"
1703
+ }
1704
+ },
1705
+ "databaseUser": {
1706
+ "exclusive": [
1707
+ "databaseConnectionURL"
1708
+ ],
1709
+ "oclif": {
1710
+ "char": "u",
1711
+ "description": "Enter your database user."
1712
+ },
1713
+ "prompter": {
1714
+ "question": "What's the database user?"
1715
+ }
1716
+ },
1717
+ "databasePassword": {
1718
+ "exclusive": [
1719
+ "databaseConnectionURL"
1720
+ ],
1721
+ "oclif": {
1722
+ "description": "Enter your database password."
1723
+ },
1724
+ "prompter": {
1725
+ "question": "What's the database password? [optional]"
1726
+ }
1727
+ },
1728
+ "databaseSslMode": {
1729
+ "exclusive": [
1730
+ "databaseSSL"
1731
+ ],
1732
+ "choices": [
1733
+ {
1734
+ "name": "preferred",
1735
+ "value": "preferred"
1736
+ },
1737
+ {
1738
+ "name": "verify",
1739
+ "value": "verify"
1740
+ },
1741
+ {
1742
+ "name": "required",
1743
+ "value": "required"
1744
+ },
1745
+ {
1746
+ "name": "disabled",
1747
+ "value": "disabled"
1748
+ }
1749
+ ],
1750
+ "default": "preferred",
1751
+ "oclif": {
1752
+ "description": "SSL mode."
1753
+ },
1754
+ "prompter": null
1755
+ },
1756
+ "databaseSSL": {
1757
+ "exclusive": [
1758
+ "databaseSslMode"
1759
+ ],
1760
+ "type": "boolean",
1761
+ "default": false,
1762
+ "oclif": {
1763
+ "description": "Use SSL for database connection."
1764
+ },
1765
+ "prompter": null
1766
+ },
1767
+ "applicationHost": {
1768
+ "default": "http://localhost",
1769
+ "oclif": {
1770
+ "char": "H",
1771
+ "description": "Hostname of your admin backend application."
1772
+ },
1773
+ "prompter": {
1774
+ "question": "What's the IP/hostname on which your application will be running?"
1775
+ }
1776
+ },
1777
+ "applicationPort": {
1778
+ "default": "3310",
1779
+ "oclif": {
1780
+ "char": "P",
1781
+ "description": "Port of your admin backend application."
1782
+ },
1783
+ "prompter": {
1784
+ "question": "What's the port on which your application will be running?"
1785
+ }
1786
+ },
1787
+ "language": {
1788
+ "choices": [
1789
+ {
1790
+ "name": "javascript",
1791
+ "value": {
1792
+ "name": "javascript",
1793
+ "fileExtension": "js"
1794
+ }
1795
+ },
1796
+ {
1797
+ "name": "typescript",
1798
+ "value": {
1799
+ "name": "typescript",
1800
+ "fileExtension": "ts"
1801
+ }
1802
+ }
1803
+ ],
1804
+ "default": {
1805
+ "name": "javascript",
1806
+ "fileExtension": "js"
1807
+ },
1808
+ "oclif": {
1809
+ "char": "l",
1810
+ "description": "Choose the language you want to use for your project."
1811
+ },
1812
+ "prompter": {
1813
+ "question": "In which language would you like to generate your sources?"
1814
+ }
1815
+ }
1816
+ },
1817
+ "isESM": false,
1818
+ "relativePath": [
1819
+ "dist",
1820
+ "commands",
1821
+ "projects",
1822
+ "create",
1823
+ "sql.js"
1824
+ ]
1825
+ }
1826
+ },
1827
+ "version": "5.0.1"
1828
+ }