@saltcorn/cli 1.1.1 → 1.1.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,853 +1,1066 @@
1
1
  {
2
- "version": "1.1.1",
3
2
  "commands": {
4
3
  "add-schema": {
5
- "id": "add-schema",
6
- "description": "Add Saltcorn schema to existing database",
7
- "strict": true,
8
- "pluginName": "@saltcorn/cli",
9
- "pluginAlias": "@saltcorn/cli",
10
- "pluginType": "core",
11
4
  "aliases": [],
12
- "hiddenAliases": [],
5
+ "args": {},
6
+ "description": "Add Saltcorn schema to existing database",
13
7
  "flags": {
14
8
  "force": {
15
- "name": "force",
16
- "type": "boolean",
17
9
  "char": "f",
18
10
  "description": "force command execution",
19
- "allowNo": false
11
+ "name": "force",
12
+ "allowNo": false,
13
+ "type": "boolean"
20
14
  }
21
15
  },
22
- "args": {},
23
- "help": "Add Saltcorn schema to existing database"
24
- },
25
- "backup": {
26
- "id": "backup",
27
- "description": "Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip",
28
- "strict": true,
29
- "pluginName": "@saltcorn/cli",
16
+ "hasDynamicHelp": false,
17
+ "hiddenAliases": [],
18
+ "id": "add-schema",
30
19
  "pluginAlias": "@saltcorn/cli",
20
+ "pluginName": "@saltcorn/cli",
31
21
  "pluginType": "core",
22
+ "strict": true,
23
+ "enableJsonFlag": false,
24
+ "help": "Add Saltcorn schema to existing database",
25
+ "isESM": false,
26
+ "relativePath": [
27
+ "src",
28
+ "commands",
29
+ "add-schema.js"
30
+ ]
31
+ },
32
+ "backup": {
32
33
  "aliases": [],
33
- "hiddenAliases": [],
34
+ "args": {},
35
+ "description": "Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip",
34
36
  "flags": {
35
37
  "verbose": {
36
- "name": "verbose",
37
- "type": "boolean",
38
38
  "char": "v",
39
39
  "description": "Verbose",
40
- "allowNo": false
40
+ "name": "verbose",
41
+ "allowNo": false,
42
+ "type": "boolean"
41
43
  },
42
44
  "output": {
43
- "name": "output",
44
- "type": "option",
45
45
  "char": "o",
46
46
  "description": "output filename",
47
- "multiple": false
47
+ "name": "output",
48
+ "hasDynamicHelp": false,
49
+ "multiple": false,
50
+ "type": "option"
48
51
  },
49
52
  "tenant": {
50
- "name": "tenant",
51
- "type": "option",
52
53
  "char": "t",
53
54
  "description": "Backup tenant in saltcorn zip format",
54
- "multiple": false
55
+ "name": "tenant",
56
+ "hasDynamicHelp": false,
57
+ "multiple": false,
58
+ "type": "option"
55
59
  },
56
60
  "all_tenants": {
57
- "name": "all_tenants",
58
- "type": "boolean",
59
61
  "char": "a",
60
62
  "description": "Backup all tenants in saltcorn zip format",
61
- "allowNo": false
63
+ "name": "all_tenants",
64
+ "allowNo": false,
65
+ "type": "boolean"
62
66
  },
63
67
  "zip": {
64
- "name": "zip",
65
- "type": "boolean",
66
68
  "char": "z",
67
69
  "description": "Backup public in saltcorn zip format",
68
- "allowNo": false
70
+ "name": "zip",
71
+ "allowNo": false,
72
+ "type": "boolean"
69
73
  }
70
74
  },
71
- "args": {},
72
- "help": "Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip"
73
- },
74
- "build-app": {
75
- "id": "build-app",
76
- "description": "Build mobile app",
77
- "strict": true,
78
- "pluginName": "@saltcorn/cli",
75
+ "hasDynamicHelp": false,
76
+ "hiddenAliases": [],
77
+ "id": "backup",
79
78
  "pluginAlias": "@saltcorn/cli",
79
+ "pluginName": "@saltcorn/cli",
80
80
  "pluginType": "core",
81
+ "strict": true,
82
+ "enableJsonFlag": false,
83
+ "help": "Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip",
84
+ "isESM": false,
85
+ "relativePath": [
86
+ "src",
87
+ "commands",
88
+ "backup.js"
89
+ ]
90
+ },
91
+ "build-app": {
81
92
  "aliases": [],
82
- "hiddenAliases": [],
93
+ "args": {},
94
+ "description": "Build mobile app",
83
95
  "flags": {
84
96
  "mode": {
85
- "name": "mode",
86
- "type": "option",
87
97
  "char": "m",
88
98
  "description": "Build the app completely (full), prepare the ios build directory (prepare) or finish the ios build in the prepared ios folder (finish)",
99
+ "name": "mode",
100
+ "default": "full",
101
+ "hasDynamicHelp": false,
89
102
  "multiple": false,
90
103
  "options": [
91
104
  "full",
92
105
  "prepare",
93
106
  "finish"
94
107
  ],
95
- "default": "full"
108
+ "type": "option"
96
109
  },
97
110
  "allowShareTo": {
98
- "name": "allowShareTo",
99
- "type": "boolean",
100
111
  "description": "Allow sharing from other apps to this app",
101
- "allowNo": false
112
+ "name": "allowShareTo",
113
+ "allowNo": false,
114
+ "type": "boolean"
102
115
  },
103
116
  "tenantAppName": {
104
- "name": "tenantAppName",
105
- "type": "option",
106
117
  "description": "Optional name of a tenant application, if set, the app will be build for this tenant",
107
- "multiple": false
118
+ "name": "tenantAppName",
119
+ "hasDynamicHelp": false,
120
+ "multiple": false,
121
+ "type": "option"
108
122
  },
109
123
  "platforms": {
110
- "name": "platforms",
111
- "type": "option",
112
124
  "char": "p",
113
125
  "description": "Platforms to build for, space separated list",
114
- "multiple": true
126
+ "name": "platforms",
127
+ "hasDynamicHelp": false,
128
+ "multiple": true,
129
+ "type": "option"
115
130
  },
116
131
  "entryPoint": {
117
- "name": "entryPoint",
118
- "type": "option",
119
132
  "char": "e",
120
133
  "description": "This is the first view or page (see -t) after the login.",
121
- "multiple": false
134
+ "name": "entryPoint",
135
+ "hasDynamicHelp": false,
136
+ "multiple": false,
137
+ "type": "option"
122
138
  },
123
139
  "entryPointType": {
124
- "name": "entryPointType",
125
- "type": "option",
126
140
  "char": "t",
127
141
  "description": "Type of the entry point ('view' or 'page'). The default is 'view'.",
128
- "multiple": false
142
+ "name": "entryPointType",
143
+ "hasDynamicHelp": false,
144
+ "multiple": false,
145
+ "type": "option"
129
146
  },
130
147
  "localUserTables": {
131
- "name": "localUserTables",
132
- "type": "option",
133
148
  "char": "l",
134
149
  "description": "user defined tables that should be replicated into the app",
135
- "multiple": true
150
+ "name": "localUserTables",
151
+ "hasDynamicHelp": false,
152
+ "multiple": true,
153
+ "type": "option"
136
154
  },
137
155
  "synchedTables": {
138
- "name": "synchedTables",
139
- "type": "option",
140
156
  "description": "Table names for which the offline should be synchronized with the saltcorn server",
141
- "multiple": true
157
+ "name": "synchedTables",
158
+ "hasDynamicHelp": false,
159
+ "multiple": true,
160
+ "type": "option"
142
161
  },
143
162
  "includedPlugins": {
144
- "name": "includedPlugins",
145
- "type": "option",
146
163
  "description": "Names of plugins that should be bundled into the app.If empty, no modules are used.",
147
- "multiple": true
164
+ "name": "includedPlugins",
165
+ "hasDynamicHelp": false,
166
+ "multiple": true,
167
+ "type": "option"
148
168
  },
149
169
  "useDocker": {
150
- "name": "useDocker",
151
- "type": "boolean",
152
170
  "char": "d",
153
171
  "description": "Use a docker container to build the app.",
154
- "allowNo": false
172
+ "name": "useDocker",
173
+ "allowNo": false,
174
+ "type": "boolean"
155
175
  },
156
176
  "buildDirectory": {
157
- "name": "buildDirectory",
158
- "type": "option",
159
177
  "char": "b",
160
178
  "description": "A directory where the app should be build",
161
- "multiple": false
179
+ "name": "buildDirectory",
180
+ "hasDynamicHelp": false,
181
+ "multiple": false,
182
+ "type": "option"
162
183
  },
163
184
  "copyAppDirectory": {
164
- "name": "copyAppDirectory",
165
- "type": "option",
166
185
  "char": "c",
167
186
  "description": "If set, the app file will be copied here, please set 'user email', too",
168
- "multiple": false
187
+ "name": "copyAppDirectory",
188
+ "hasDynamicHelp": false,
189
+ "multiple": false,
190
+ "type": "option"
169
191
  },
170
192
  "userEmail": {
171
- "name": "userEmail",
172
- "type": "option",
173
193
  "char": "u",
174
194
  "description": "Email of the user building the app",
175
- "multiple": false
195
+ "name": "userEmail",
196
+ "hasDynamicHelp": false,
197
+ "multiple": false,
198
+ "type": "option"
176
199
  },
177
200
  "appName": {
178
- "name": "appName",
179
- "type": "option",
180
201
  "description": "Name of the mobile app (default SaltcornMobileApp)",
181
- "multiple": false
202
+ "name": "appName",
203
+ "hasDynamicHelp": false,
204
+ "multiple": false,
205
+ "type": "option"
182
206
  },
183
207
  "appId": {
184
- "name": "appId",
185
- "type": "option",
186
208
  "description": "Id of the mobile app (default com.saltcorn.mobileapp)",
187
- "multiple": false
209
+ "name": "appId",
210
+ "hasDynamicHelp": false,
211
+ "multiple": false,
212
+ "type": "option"
188
213
  },
189
214
  "appVersion": {
190
- "name": "appVersion",
191
- "type": "option",
192
215
  "description": "Version of the mobile app (default 0.0.1)",
193
- "multiple": false
216
+ "name": "appVersion",
217
+ "hasDynamicHelp": false,
218
+ "multiple": false,
219
+ "type": "option"
194
220
  },
195
221
  "appIcon": {
196
- "name": "appIcon",
197
- "type": "option",
198
222
  "description": "A png that will be used as launcher icon. The default is a png of a saltcorn symbol.",
199
- "multiple": false
223
+ "name": "appIcon",
224
+ "hasDynamicHelp": false,
225
+ "multiple": false,
226
+ "type": "option"
200
227
  },
201
228
  "serverURL": {
202
- "name": "serverURL",
203
- "type": "option",
204
229
  "char": "s",
205
230
  "description": "URL to a saltcorn server",
206
- "multiple": false
231
+ "name": "serverURL",
232
+ "hasDynamicHelp": false,
233
+ "multiple": false,
234
+ "type": "option"
207
235
  },
208
236
  "splashPage": {
209
- "name": "splashPage",
210
- "type": "option",
211
237
  "description": "Name of a page that should be shown while the app is loading.",
212
- "multiple": false
238
+ "name": "splashPage",
239
+ "hasDynamicHelp": false,
240
+ "multiple": false,
241
+ "type": "option"
213
242
  },
214
243
  "autoPublicLogin": {
215
- "name": "autoPublicLogin",
216
- "type": "boolean",
217
244
  "description": "Show public entry points before the login as a public user.",
218
- "allowNo": false
245
+ "name": "autoPublicLogin",
246
+ "allowNo": false,
247
+ "type": "boolean"
219
248
  },
220
249
  "allowOfflineMode": {
221
- "name": "allowOfflineMode",
222
- "type": "boolean",
223
250
  "description": "Switch to offline mode when there is no internet, sync the data when a connection is available again.",
224
- "allowNo": false
251
+ "name": "allowOfflineMode",
252
+ "allowNo": false,
253
+ "type": "boolean"
225
254
  },
226
255
  "provisioningProfile": {
227
- "name": "provisioningProfile",
228
- "type": "option",
229
256
  "description": "This profile will be used to sign your app",
230
- "multiple": false
257
+ "name": "provisioningProfile",
258
+ "hasDynamicHelp": false,
259
+ "multiple": false,
260
+ "type": "option"
231
261
  },
232
262
  "shareExtensionProvisioningProfile": {
233
- "name": "shareExtensionProvisioningProfile",
234
- "type": "option",
235
263
  "description": "This profile will be used to sign your share extension on iOS",
236
- "multiple": false
264
+ "name": "shareExtensionProvisioningProfile",
265
+ "hasDynamicHelp": false,
266
+ "multiple": false,
267
+ "type": "option"
237
268
  },
238
269
  "buildType": {
239
- "name": "buildType",
240
- "type": "option",
241
270
  "description": "debug or release build",
242
- "multiple": false
271
+ "name": "buildType",
272
+ "hasDynamicHelp": false,
273
+ "multiple": false,
274
+ "type": "option"
243
275
  },
244
276
  "androidKeystore": {
245
- "name": "androidKeystore",
246
- "type": "option",
247
277
  "description": "A self-signed certificate that includes the private key used to sign your app.",
248
- "multiple": false
278
+ "name": "androidKeystore",
279
+ "hasDynamicHelp": false,
280
+ "multiple": false,
281
+ "type": "option"
249
282
  },
250
283
  "androidKeyStoreAlias": {
251
- "name": "androidKeyStoreAlias",
252
- "type": "option",
253
284
  "description": "A unique name to identify the key within the keystore file.",
254
- "multiple": false
285
+ "name": "androidKeyStoreAlias",
286
+ "hasDynamicHelp": false,
287
+ "multiple": false,
288
+ "type": "option"
255
289
  },
256
290
  "androidKeystorePassword": {
257
- "name": "androidKeystorePassword",
258
- "type": "option",
259
291
  "description": "he password to access the keystore file.",
260
- "multiple": false
292
+ "name": "androidKeystorePassword",
293
+ "hasDynamicHelp": false,
294
+ "multiple": false,
295
+ "type": "option"
261
296
  }
262
297
  },
263
- "args": {}
264
- },
265
- "build-capacitor-builder": {
266
- "id": "build-capacitor-builder",
267
- "description": "Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.",
268
- "strict": true,
269
- "pluginName": "@saltcorn/cli",
298
+ "hasDynamicHelp": false,
299
+ "hiddenAliases": [],
300
+ "id": "build-app",
270
301
  "pluginAlias": "@saltcorn/cli",
302
+ "pluginName": "@saltcorn/cli",
271
303
  "pluginType": "core",
304
+ "strict": true,
305
+ "enableJsonFlag": false,
306
+ "isESM": false,
307
+ "relativePath": [
308
+ "src",
309
+ "commands",
310
+ "build-app.js"
311
+ ]
312
+ },
313
+ "build-capacitor-builder": {
272
314
  "aliases": [],
273
- "hiddenAliases": [],
315
+ "args": {},
316
+ "description": "Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.",
274
317
  "flags": {
275
318
  "buildClean": {
276
- "name": "buildClean",
277
- "type": "boolean",
278
319
  "description": "run a clean build with --no-cache",
279
- "allowNo": false
320
+ "name": "buildClean",
321
+ "allowNo": false,
322
+ "type": "boolean"
280
323
  },
281
324
  "pullFromHub": {
282
- "name": "pullFromHub",
283
- "type": "boolean",
284
325
  "description": "pull the image from docker hub",
285
- "allowNo": false
326
+ "name": "pullFromHub",
327
+ "allowNo": false,
328
+ "type": "boolean"
286
329
  }
287
330
  },
288
- "args": {},
289
- "help": "Build or pull the 'saltcorn/capacitor-builder' docker image. This image is used in the 'build-app' command to run the capacitor commands. Please make sure docker is callable without using root (see rootless mode, or add the user to the docker group)."
290
- },
291
- "configuration-check-backups": {
292
- "id": "configuration-check-backups",
293
- "description": "Check configuration",
294
- "strict": false,
295
- "pluginName": "@saltcorn/cli",
331
+ "hasDynamicHelp": false,
332
+ "hiddenAliases": [],
333
+ "id": "build-capacitor-builder",
296
334
  "pluginAlias": "@saltcorn/cli",
335
+ "pluginName": "@saltcorn/cli",
297
336
  "pluginType": "core",
337
+ "strict": true,
338
+ "enableJsonFlag": false,
339
+ "help": "Build or pull the 'saltcorn/capacitor-builder' docker image. This image is used in the 'build-app' command to run the capacitor commands. Please make sure docker is callable without using root (see rootless mode, or add the user to the docker group).",
340
+ "isESM": false,
341
+ "relativePath": [
342
+ "src",
343
+ "commands",
344
+ "build-capacitor-builder.js"
345
+ ]
346
+ },
347
+ "configuration-check-backups": {
298
348
  "aliases": [],
299
- "hiddenAliases": [],
300
- "flags": {
301
- "destructive": {
302
- "name": "destructive",
303
- "type": "boolean",
304
- "char": "d",
305
- "description": "destructive",
306
- "allowNo": false
307
- }
308
- },
309
349
  "args": {
310
350
  "files": {
311
- "name": "files",
312
351
  "description": "backup file to check. can be repeated, e.g. with *",
352
+ "name": "files",
313
353
  "required": true
314
354
  }
315
- }
316
- },
317
- "configuration-check": {
318
- "id": "configuration-check",
355
+ },
319
356
  "description": "Check configuration",
320
- "strict": true,
321
- "pluginName": "@saltcorn/cli",
357
+ "flags": {
358
+ "destructive": {
359
+ "char": "d",
360
+ "description": "destructive",
361
+ "name": "destructive",
362
+ "allowNo": false,
363
+ "type": "boolean"
364
+ }
365
+ },
366
+ "hasDynamicHelp": false,
367
+ "hiddenAliases": [],
368
+ "id": "configuration-check-backups",
322
369
  "pluginAlias": "@saltcorn/cli",
370
+ "pluginName": "@saltcorn/cli",
323
371
  "pluginType": "core",
372
+ "strict": false,
373
+ "enableJsonFlag": false,
374
+ "isESM": false,
375
+ "relativePath": [
376
+ "src",
377
+ "commands",
378
+ "configuration-check-backups.js"
379
+ ]
380
+ },
381
+ "configuration-check": {
324
382
  "aliases": [],
325
- "hiddenAliases": [],
383
+ "args": {},
384
+ "description": "Check configuration",
326
385
  "flags": {
327
386
  "tenant": {
328
- "name": "tenant",
329
- "type": "option",
330
387
  "char": "t",
331
388
  "description": "tenant",
332
- "multiple": false
389
+ "name": "tenant",
390
+ "hasDynamicHelp": false,
391
+ "multiple": false,
392
+ "type": "option"
333
393
  }
334
394
  },
335
- "args": {}
336
- },
337
- "create-tenant": {
338
- "id": "create-tenant",
339
- "description": "Create a tenant",
340
- "strict": true,
341
- "pluginName": "@saltcorn/cli",
395
+ "hasDynamicHelp": false,
396
+ "hiddenAliases": [],
397
+ "id": "configuration-check",
342
398
  "pluginAlias": "@saltcorn/cli",
399
+ "pluginName": "@saltcorn/cli",
343
400
  "pluginType": "core",
401
+ "strict": true,
402
+ "enableJsonFlag": false,
403
+ "isESM": false,
404
+ "relativePath": [
405
+ "src",
406
+ "commands",
407
+ "configuration-check.js"
408
+ ]
409
+ },
410
+ "create-tenant": {
344
411
  "aliases": [],
345
- "hiddenAliases": [],
412
+ "args": {
413
+ "tenant": {
414
+ "description": "Tenant subdomain to create",
415
+ "name": "tenant",
416
+ "required": true
417
+ }
418
+ },
419
+ "description": "Create a tenant",
346
420
  "flags": {
347
421
  "url": {
348
- "name": "url",
349
- "type": "option",
350
422
  "description": "Url of tenant",
351
- "multiple": false
423
+ "name": "url",
424
+ "hasDynamicHelp": false,
425
+ "multiple": false,
426
+ "type": "option"
352
427
  },
353
428
  "email": {
354
- "name": "email",
355
- "type": "option",
356
429
  "char": "e",
357
430
  "description": "Email of owner of tenant",
358
- "multiple": false
431
+ "name": "email",
432
+ "hasDynamicHelp": false,
433
+ "multiple": false,
434
+ "type": "option"
359
435
  },
360
436
  "description": {
361
- "name": "description",
362
- "type": "option",
363
437
  "char": "d",
364
438
  "description": "Description of tenant",
365
- "multiple": false
439
+ "name": "description",
440
+ "hasDynamicHelp": false,
441
+ "multiple": false,
442
+ "type": "option"
366
443
  }
367
444
  },
368
- "args": {
369
- "tenant": {
370
- "name": "tenant",
371
- "description": "Tenant subdomain to create",
372
- "required": true
373
- }
374
- }
375
- },
376
- "create-user": {
377
- "id": "create-user",
378
- "description": "Create a new user",
379
- "strict": true,
380
- "pluginName": "@saltcorn/cli",
445
+ "hasDynamicHelp": false,
446
+ "hiddenAliases": [],
447
+ "id": "create-tenant",
381
448
  "pluginAlias": "@saltcorn/cli",
449
+ "pluginName": "@saltcorn/cli",
382
450
  "pluginType": "core",
451
+ "strict": true,
452
+ "enableJsonFlag": false,
453
+ "isESM": false,
454
+ "relativePath": [
455
+ "src",
456
+ "commands",
457
+ "create-tenant.js"
458
+ ]
459
+ },
460
+ "create-user": {
383
461
  "aliases": [],
384
- "hiddenAliases": [],
462
+ "args": {},
463
+ "description": "Create a new user",
385
464
  "flags": {
386
465
  "admin": {
387
- "name": "admin",
388
- "type": "boolean",
389
466
  "char": "a",
390
467
  "description": "Admin user",
391
- "allowNo": false
468
+ "name": "admin",
469
+ "allowNo": false,
470
+ "type": "boolean"
392
471
  },
393
472
  "tenant": {
394
- "name": "tenant",
395
- "type": "option",
396
473
  "char": "t",
397
474
  "description": "tenant",
398
- "multiple": false
475
+ "name": "tenant",
476
+ "hasDynamicHelp": false,
477
+ "multiple": false,
478
+ "type": "option"
399
479
  },
400
480
  "email": {
401
- "name": "email",
402
- "type": "option",
403
481
  "char": "e",
404
482
  "description": "email",
405
- "multiple": false
483
+ "name": "email",
484
+ "hasDynamicHelp": false,
485
+ "multiple": false,
486
+ "type": "option"
406
487
  },
407
488
  "role": {
408
- "name": "role",
409
- "type": "option",
410
489
  "char": "r",
411
490
  "description": "role",
412
- "multiple": false
491
+ "name": "role",
492
+ "hasDynamicHelp": false,
493
+ "multiple": false,
494
+ "type": "option"
413
495
  },
414
496
  "password": {
415
- "name": "password",
416
- "type": "option",
417
497
  "char": "p",
418
498
  "description": "password",
419
- "multiple": false
499
+ "name": "password",
500
+ "hasDynamicHelp": false,
501
+ "multiple": false,
502
+ "type": "option"
420
503
  }
421
504
  },
422
- "args": {}
505
+ "hasDynamicHelp": false,
506
+ "hiddenAliases": [],
507
+ "id": "create-user",
508
+ "pluginAlias": "@saltcorn/cli",
509
+ "pluginName": "@saltcorn/cli",
510
+ "pluginType": "core",
511
+ "strict": true,
512
+ "enableJsonFlag": false,
513
+ "isESM": false,
514
+ "relativePath": [
515
+ "src",
516
+ "commands",
517
+ "create-user.js"
518
+ ]
423
519
  },
424
520
  "delete-tenants": {
425
- "id": "delete-tenants",
521
+ "aliases": [],
522
+ "args": {},
426
523
  "description": "Delete inactive tenants",
427
- "strict": true,
428
- "pluginName": "@saltcorn/cli",
524
+ "flags": {},
525
+ "hasDynamicHelp": false,
526
+ "hiddenAliases": [],
527
+ "id": "delete-tenants",
429
528
  "pluginAlias": "@saltcorn/cli",
529
+ "pluginName": "@saltcorn/cli",
430
530
  "pluginType": "core",
431
- "aliases": [],
432
- "hiddenAliases": [],
433
- "flags": {},
434
- "args": {}
531
+ "strict": true,
532
+ "enableJsonFlag": false,
533
+ "isESM": false,
534
+ "relativePath": [
535
+ "src",
536
+ "commands",
537
+ "delete-tenants.js"
538
+ ]
435
539
  },
436
540
  "delete-user": {
437
- "id": "delete-user",
438
- "description": "Delete user.\n\nCommand deletes the user specified by USER_EMAIL.\n\n",
439
- "strict": true,
440
- "pluginName": "@saltcorn/cli",
441
- "pluginAlias": "@saltcorn/cli",
442
- "pluginType": "core",
443
541
  "aliases": [],
444
- "hiddenAliases": [],
542
+ "args": {
543
+ "user_email": {
544
+ "description": "User to delete",
545
+ "name": "user_email",
546
+ "required": true
547
+ }
548
+ },
549
+ "description": "Delete user.\n\nCommand deletes the user specified by USER_EMAIL.\n\n",
445
550
  "flags": {
446
551
  "force": {
447
- "name": "force",
448
- "type": "boolean",
449
552
  "char": "f",
450
553
  "description": "force command execution",
451
- "allowNo": false
554
+ "name": "force",
555
+ "allowNo": false,
556
+ "type": "boolean"
452
557
  },
453
558
  "tenant": {
454
- "name": "tenant",
455
- "type": "option",
456
559
  "char": "t",
457
560
  "description": "tenant",
458
- "multiple": false
459
- }
460
- },
461
- "args": {
462
- "user_email": {
463
- "name": "user_email",
464
- "description": "User to delete",
465
- "required": true
561
+ "name": "tenant",
562
+ "hasDynamicHelp": false,
563
+ "multiple": false,
564
+ "type": "option"
466
565
  }
467
566
  },
468
- "help": "Delete user.\n\nCommand deletes the user specified by USER_EMAIL.\n\n"
469
- },
470
- "fixtures": {
471
- "id": "fixtures",
472
- "description": "Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n",
473
- "strict": true,
474
- "pluginName": "@saltcorn/cli",
567
+ "hasDynamicHelp": false,
568
+ "hiddenAliases": [],
569
+ "id": "delete-user",
475
570
  "pluginAlias": "@saltcorn/cli",
571
+ "pluginName": "@saltcorn/cli",
476
572
  "pluginType": "core",
573
+ "strict": true,
574
+ "enableJsonFlag": false,
575
+ "help": "Delete user.\n\nCommand deletes the user specified by USER_EMAIL.\n\n",
576
+ "isESM": false,
577
+ "relativePath": [
578
+ "src",
579
+ "commands",
580
+ "delete-user.js"
581
+ ]
582
+ },
583
+ "fixtures": {
477
584
  "aliases": [],
478
- "hiddenAliases": [],
585
+ "args": {},
586
+ "description": "Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n",
479
587
  "flags": {
480
588
  "reset": {
481
- "name": "reset",
482
- "type": "boolean",
483
589
  "char": "r",
484
590
  "description": "Also reset schema",
485
- "allowNo": false
591
+ "name": "reset",
592
+ "allowNo": false,
593
+ "type": "boolean"
486
594
  },
487
595
  "tenant": {
488
- "name": "tenant",
489
- "type": "option",
490
596
  "char": "t",
491
597
  "description": "tenant",
492
- "multiple": false
598
+ "name": "tenant",
599
+ "hasDynamicHelp": false,
600
+ "multiple": false,
601
+ "type": "option"
493
602
  }
494
603
  },
495
- "args": {}
496
- },
497
- "get-cfg": {
498
- "id": "get-cfg",
499
- "description": "Get a configuration value. The value is printed to stdout as a JSON value",
500
- "strict": true,
501
- "pluginName": "@saltcorn/cli",
604
+ "hasDynamicHelp": false,
605
+ "hiddenAliases": [],
606
+ "id": "fixtures",
502
607
  "pluginAlias": "@saltcorn/cli",
608
+ "pluginName": "@saltcorn/cli",
503
609
  "pluginType": "core",
610
+ "strict": true,
611
+ "enableJsonFlag": false,
612
+ "isESM": false,
613
+ "relativePath": [
614
+ "src",
615
+ "commands",
616
+ "fixtures.js"
617
+ ]
618
+ },
619
+ "get-cfg": {
504
620
  "aliases": [],
505
- "hiddenAliases": [],
621
+ "args": {
622
+ "key": {
623
+ "description": "Configuration key",
624
+ "name": "key",
625
+ "required": false
626
+ }
627
+ },
628
+ "description": "Get a configuration value. The value is printed to stdout as a JSON value",
506
629
  "flags": {
507
630
  "tenant": {
508
- "name": "tenant",
509
- "type": "option",
510
631
  "char": "t",
511
632
  "description": "tenant",
512
- "multiple": false
633
+ "name": "tenant",
634
+ "hasDynamicHelp": false,
635
+ "multiple": false,
636
+ "type": "option"
513
637
  },
514
638
  "plugin": {
515
- "name": "plugin",
516
- "type": "option",
517
639
  "char": "p",
518
640
  "description": "plugin",
519
- "multiple": false
641
+ "name": "plugin",
642
+ "hasDynamicHelp": false,
643
+ "multiple": false,
644
+ "type": "option"
520
645
  }
521
646
  },
522
- "args": {
523
- "key": {
524
- "name": "key",
525
- "description": "Configuration key",
526
- "required": false
527
- }
528
- }
529
- },
530
- "info": {
531
- "id": "info",
532
- "description": "Show paths\n...\nShow configuration and file store paths\n",
533
- "strict": true,
534
- "pluginName": "@saltcorn/cli",
647
+ "hasDynamicHelp": false,
648
+ "hiddenAliases": [],
649
+ "id": "get-cfg",
535
650
  "pluginAlias": "@saltcorn/cli",
651
+ "pluginName": "@saltcorn/cli",
536
652
  "pluginType": "core",
653
+ "strict": true,
654
+ "enableJsonFlag": false,
655
+ "isESM": false,
656
+ "relativePath": [
657
+ "src",
658
+ "commands",
659
+ "get-cfg.js"
660
+ ]
661
+ },
662
+ "info": {
537
663
  "aliases": [
538
664
  "paths"
539
665
  ],
540
- "hiddenAliases": [],
666
+ "args": {},
667
+ "description": "Show paths\n...\nShow configuration and file store paths\n",
541
668
  "flags": {
542
669
  "json": {
543
- "name": "json",
544
- "type": "boolean",
545
670
  "char": "j",
546
671
  "description": "json format",
547
- "allowNo": false
672
+ "name": "json",
673
+ "allowNo": false,
674
+ "type": "boolean"
548
675
  }
549
676
  },
550
- "args": {}
551
- },
552
- "inspect": {
553
- "id": "inspect",
554
- "description": "Inspect an entity's JSON representation, or list entities",
555
- "strict": true,
556
- "pluginName": "@saltcorn/cli",
677
+ "hasDynamicHelp": false,
678
+ "hiddenAliases": [],
679
+ "id": "info",
557
680
  "pluginAlias": "@saltcorn/cli",
681
+ "pluginName": "@saltcorn/cli",
558
682
  "pluginType": "core",
683
+ "strict": true,
684
+ "enableJsonFlag": false,
685
+ "isESM": false,
686
+ "relativePath": [
687
+ "src",
688
+ "commands",
689
+ "info.js"
690
+ ]
691
+ },
692
+ "inspect": {
559
693
  "aliases": [],
560
- "hiddenAliases": [],
561
- "flags": {
562
- "tenant": {
563
- "name": "tenant",
564
- "type": "option",
565
- "char": "t",
566
- "description": "tenant",
567
- "multiple": false
568
- }
569
- },
570
694
  "args": {
571
695
  "type": {
572
- "name": "type",
573
696
  "description": "Entity type",
574
- "required": true,
697
+ "name": "type",
575
698
  "options": [
576
699
  "view",
577
700
  "page",
578
701
  "trigger",
579
702
  "table"
580
- ]
703
+ ],
704
+ "required": true
581
705
  },
582
706
  "name": {
583
- "name": "name",
584
- "description": "Entity name. If not supplied, list all names"
707
+ "description": "Entity name. If not supplied, list all names",
708
+ "name": "name"
585
709
  }
586
- }
587
- },
588
- "install-pack": {
589
- "id": "install-pack",
590
- "description": "Install a pack or restore a snapshot",
591
- "strict": true,
592
- "pluginName": "@saltcorn/cli",
710
+ },
711
+ "description": "Inspect an entity's JSON representation, or list entities",
712
+ "flags": {
713
+ "tenant": {
714
+ "char": "t",
715
+ "description": "tenant",
716
+ "name": "tenant",
717
+ "hasDynamicHelp": false,
718
+ "multiple": false,
719
+ "type": "option"
720
+ }
721
+ },
722
+ "hasDynamicHelp": false,
723
+ "hiddenAliases": [],
724
+ "id": "inspect",
593
725
  "pluginAlias": "@saltcorn/cli",
726
+ "pluginName": "@saltcorn/cli",
594
727
  "pluginType": "core",
728
+ "strict": true,
729
+ "enableJsonFlag": false,
730
+ "isESM": false,
731
+ "relativePath": [
732
+ "src",
733
+ "commands",
734
+ "inspect.js"
735
+ ]
736
+ },
737
+ "install-pack": {
595
738
  "aliases": [],
596
- "hiddenAliases": [],
739
+ "args": {},
740
+ "description": "Install a pack or restore a snapshot",
597
741
  "flags": {
598
742
  "tenant": {
599
- "name": "tenant",
600
- "type": "option",
601
743
  "char": "t",
602
744
  "description": "tenant",
603
- "multiple": false
745
+ "name": "tenant",
746
+ "hasDynamicHelp": false,
747
+ "multiple": false,
748
+ "type": "option"
604
749
  },
605
750
  "name": {
606
- "name": "name",
607
- "type": "option",
608
751
  "char": "n",
609
752
  "description": "Pack name in store",
610
- "multiple": false
753
+ "name": "name",
754
+ "hasDynamicHelp": false,
755
+ "multiple": false,
756
+ "type": "option"
611
757
  },
612
758
  "file": {
613
- "name": "file",
614
- "type": "option",
615
759
  "char": "f",
616
760
  "description": "File with pack JSON",
617
- "multiple": false
761
+ "name": "file",
762
+ "hasDynamicHelp": false,
763
+ "multiple": false,
764
+ "type": "option"
618
765
  }
619
766
  },
620
- "args": {}
621
- },
622
- "install-plugin": {
623
- "id": "install-plugin",
624
- "description": "Install a plugin",
625
- "strict": true,
626
- "pluginName": "@saltcorn/cli",
767
+ "hasDynamicHelp": false,
768
+ "hiddenAliases": [],
769
+ "id": "install-pack",
627
770
  "pluginAlias": "@saltcorn/cli",
771
+ "pluginName": "@saltcorn/cli",
628
772
  "pluginType": "core",
773
+ "strict": true,
774
+ "enableJsonFlag": false,
775
+ "isESM": false,
776
+ "relativePath": [
777
+ "src",
778
+ "commands",
779
+ "install-pack.js"
780
+ ]
781
+ },
782
+ "install-plugin": {
629
783
  "aliases": [],
630
- "hiddenAliases": [],
784
+ "args": {},
785
+ "description": "Install a plugin",
631
786
  "flags": {
632
787
  "tenant": {
633
- "name": "tenant",
634
- "type": "option",
635
788
  "char": "t",
636
789
  "description": "tenant",
637
- "multiple": false
790
+ "name": "tenant",
791
+ "hasDynamicHelp": false,
792
+ "multiple": false,
793
+ "type": "option"
638
794
  },
639
795
  "name": {
640
- "name": "name",
641
- "type": "option",
642
796
  "char": "n",
643
797
  "description": "Plugin name in store",
644
- "multiple": false
798
+ "name": "name",
799
+ "hasDynamicHelp": false,
800
+ "multiple": false,
801
+ "type": "option"
645
802
  },
646
803
  "directory": {
647
- "name": "directory",
648
- "type": "option",
649
804
  "char": "d",
650
805
  "description": "Directory with local plugin",
651
- "multiple": false
806
+ "name": "directory",
807
+ "hasDynamicHelp": false,
808
+ "multiple": false,
809
+ "type": "option"
652
810
  },
653
811
  "unsafe": {
654
- "name": "unsafe",
655
- "type": "boolean",
656
812
  "char": "u",
657
813
  "description": "Allow unsafe plugins on tenants",
658
- "allowNo": false
814
+ "name": "unsafe",
815
+ "allowNo": false,
816
+ "type": "boolean"
659
817
  }
660
818
  },
661
- "args": {}
662
- },
663
- "list-tenants": {
664
- "id": "list-tenants",
665
- "description": "List tenants in CSV format",
666
- "strict": true,
667
- "pluginName": "@saltcorn/cli",
819
+ "hasDynamicHelp": false,
820
+ "hiddenAliases": [],
821
+ "id": "install-plugin",
668
822
  "pluginAlias": "@saltcorn/cli",
823
+ "pluginName": "@saltcorn/cli",
669
824
  "pluginType": "core",
825
+ "strict": true,
826
+ "enableJsonFlag": false,
827
+ "isESM": false,
828
+ "relativePath": [
829
+ "src",
830
+ "commands",
831
+ "install-plugin.js"
832
+ ]
833
+ },
834
+ "list-tenants": {
670
835
  "aliases": [],
671
- "hiddenAliases": [],
836
+ "args": {},
837
+ "description": "List tenants in CSV format",
672
838
  "flags": {
673
839
  "tenant": {
674
- "name": "tenant",
675
- "type": "option",
676
840
  "char": "t",
677
841
  "description": "tenant",
842
+ "name": "tenant",
678
843
  "required": false,
679
- "multiple": false
844
+ "hasDynamicHelp": false,
845
+ "multiple": false,
846
+ "type": "option"
680
847
  },
681
848
  "verbose": {
682
- "name": "verbose",
683
- "type": "boolean",
684
849
  "char": "v",
685
850
  "description": "verbose output",
851
+ "name": "verbose",
686
852
  "required": false,
687
- "allowNo": false
853
+ "allowNo": false,
854
+ "type": "boolean"
688
855
  },
689
856
  "json": {
690
- "name": "json",
691
- "type": "boolean",
692
857
  "char": "j",
693
858
  "description": "json format",
694
- "allowNo": false
859
+ "name": "json",
860
+ "allowNo": false,
861
+ "type": "boolean"
695
862
  }
696
863
  },
697
- "args": {},
698
- "help": "Extra help here"
699
- },
700
- "list-triggers": {
701
- "id": "list-triggers",
702
- "description": "List triggers",
703
- "strict": true,
704
- "pluginName": "@saltcorn/cli",
864
+ "hasDynamicHelp": false,
865
+ "hiddenAliases": [],
866
+ "id": "list-tenants",
705
867
  "pluginAlias": "@saltcorn/cli",
868
+ "pluginName": "@saltcorn/cli",
706
869
  "pluginType": "core",
870
+ "strict": true,
871
+ "enableJsonFlag": false,
872
+ "help": "Extra help here",
873
+ "isESM": false,
874
+ "relativePath": [
875
+ "src",
876
+ "commands",
877
+ "list-tenants.js"
878
+ ]
879
+ },
880
+ "list-triggers": {
707
881
  "aliases": [],
708
- "hiddenAliases": [],
882
+ "args": {},
883
+ "description": "List triggers",
709
884
  "flags": {
710
885
  "tenant": {
711
- "name": "tenant",
712
- "type": "option",
713
886
  "char": "t",
714
887
  "description": "tenant",
888
+ "name": "tenant",
715
889
  "required": false,
716
- "multiple": false
890
+ "hasDynamicHelp": false,
891
+ "multiple": false,
892
+ "type": "option"
717
893
  },
718
894
  "verbose": {
719
- "name": "verbose",
720
- "type": "boolean",
721
895
  "char": "v",
722
896
  "description": "verbose output",
897
+ "name": "verbose",
723
898
  "required": false,
724
- "allowNo": false
899
+ "allowNo": false,
900
+ "type": "boolean"
725
901
  },
726
902
  "json": {
727
- "name": "json",
728
- "type": "boolean",
729
903
  "char": "j",
730
904
  "description": "json format",
731
- "allowNo": false
905
+ "name": "json",
906
+ "allowNo": false,
907
+ "type": "boolean"
732
908
  }
733
909
  },
734
- "args": {}
735
- },
736
- "list-users": {
737
- "id": "list-users",
738
- "description": "List users",
739
- "strict": true,
740
- "pluginName": "@saltcorn/cli",
910
+ "hasDynamicHelp": false,
911
+ "hiddenAliases": [],
912
+ "id": "list-triggers",
741
913
  "pluginAlias": "@saltcorn/cli",
914
+ "pluginName": "@saltcorn/cli",
742
915
  "pluginType": "core",
916
+ "strict": true,
917
+ "enableJsonFlag": false,
918
+ "isESM": false,
919
+ "relativePath": [
920
+ "src",
921
+ "commands",
922
+ "list-triggers.js"
923
+ ]
924
+ },
925
+ "list-users": {
743
926
  "aliases": [],
744
- "hiddenAliases": [],
927
+ "args": {},
928
+ "description": "List users",
745
929
  "flags": {
746
930
  "tenant": {
747
- "name": "tenant",
748
- "type": "option",
749
931
  "char": "t",
750
932
  "description": "tenant",
933
+ "name": "tenant",
751
934
  "required": false,
752
- "multiple": false
935
+ "hasDynamicHelp": false,
936
+ "multiple": false,
937
+ "type": "option"
753
938
  },
754
939
  "verbose": {
755
- "name": "verbose",
756
- "type": "boolean",
757
940
  "char": "v",
758
941
  "description": "verbose output",
942
+ "name": "verbose",
759
943
  "required": false,
760
- "allowNo": false
944
+ "allowNo": false,
945
+ "type": "boolean"
761
946
  }
762
947
  },
763
- "args": {},
764
- "help": "List users"
948
+ "hasDynamicHelp": false,
949
+ "hiddenAliases": [],
950
+ "id": "list-users",
951
+ "pluginAlias": "@saltcorn/cli",
952
+ "pluginName": "@saltcorn/cli",
953
+ "pluginType": "core",
954
+ "strict": true,
955
+ "enableJsonFlag": false,
956
+ "help": "List users",
957
+ "isESM": false,
958
+ "relativePath": [
959
+ "src",
960
+ "commands",
961
+ "list-users.js"
962
+ ]
765
963
  },
766
964
  "migrate": {
767
- "id": "migrate",
965
+ "aliases": [],
966
+ "args": {},
768
967
  "description": "Run Database structure migrations\n...\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n\nThis is not normally required as migrations will be run when the server starts.\nHowever, this command may be useful if you are running multiple application\nservers and need to control when the migrations are run.\n",
769
- "strict": true,
770
- "usage": "saltcorn migrate",
771
- "pluginName": "@saltcorn/cli",
968
+ "flags": {},
969
+ "hasDynamicHelp": false,
970
+ "hiddenAliases": [],
971
+ "id": "migrate",
772
972
  "pluginAlias": "@saltcorn/cli",
973
+ "pluginName": "@saltcorn/cli",
773
974
  "pluginType": "core",
774
- "aliases": [],
775
- "hiddenAliases": [],
776
- "flags": {},
777
- "args": {},
778
- "help": "Run Database structure migrations.\nCommand goes in circle via all tenants and applies all unapplyed database structure migrations.\n\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n"
975
+ "strict": true,
976
+ "usage": "saltcorn migrate",
977
+ "enableJsonFlag": false,
978
+ "help": "Run Database structure migrations.\nCommand goes in circle via all tenants and applies all unapplyed database structure migrations.\n\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n",
979
+ "isESM": false,
980
+ "relativePath": [
981
+ "src",
982
+ "commands",
983
+ "migrate.js"
984
+ ]
779
985
  },
780
986
  "modify-user": {
781
- "id": "modify-user",
782
- "description": "Modify (update) user.\n\nCommand changes the user specified by USER_EMAIL.\n\nYou can change the user group, password and email.\n\nNOTE that -a and -r role (--role=role) can give conflict.\n",
783
- "strict": true,
784
- "pluginName": "@saltcorn/cli",
785
- "pluginAlias": "@saltcorn/cli",
786
- "pluginType": "core",
787
987
  "aliases": [],
788
- "hiddenAliases": [],
988
+ "args": {
989
+ "user_email": {
990
+ "description": "User to modify",
991
+ "name": "user_email",
992
+ "required": true
993
+ }
994
+ },
995
+ "description": "Modify (update) user.\n\nCommand changes the user specified by USER_EMAIL.\n\nYou can change the user group, password and email.\n\nNOTE that -a and -r role (--role=role) can give conflict.\n",
789
996
  "flags": {
790
997
  "admin": {
791
- "name": "admin",
792
- "type": "boolean",
793
998
  "char": "a",
794
999
  "description": "make user be Admin",
795
- "allowNo": false
1000
+ "name": "admin",
1001
+ "allowNo": false,
1002
+ "type": "boolean"
796
1003
  },
797
1004
  "tenant": {
798
- "name": "tenant",
799
- "type": "option",
800
1005
  "char": "t",
801
1006
  "description": "tenant",
802
- "multiple": false
1007
+ "name": "tenant",
1008
+ "hasDynamicHelp": false,
1009
+ "multiple": false,
1010
+ "type": "option"
803
1011
  },
804
1012
  "email": {
805
- "name": "email",
806
- "type": "option",
807
1013
  "char": "e",
808
1014
  "description": "new email",
809
- "multiple": false
1015
+ "name": "email",
1016
+ "hasDynamicHelp": false,
1017
+ "multiple": false,
1018
+ "type": "option"
810
1019
  },
811
1020
  "role": {
812
- "name": "role",
813
- "type": "option",
814
1021
  "char": "r",
815
1022
  "description": "new role (can conflict with -a option)",
816
- "multiple": false
1023
+ "name": "role",
1024
+ "hasDynamicHelp": false,
1025
+ "multiple": false,
1026
+ "type": "option"
817
1027
  },
818
1028
  "password": {
819
- "name": "password",
820
- "type": "option",
821
1029
  "char": "p",
822
1030
  "description": "new password",
823
- "multiple": false
1031
+ "name": "password",
1032
+ "hasDynamicHelp": false,
1033
+ "multiple": false,
1034
+ "type": "option"
824
1035
  },
825
1036
  "imode": {
826
- "name": "imode",
827
- "type": "boolean",
828
1037
  "char": "i",
829
1038
  "description": "interactive mode",
830
- "allowNo": false
831
- }
832
- },
833
- "args": {
834
- "user_email": {
835
- "name": "user_email",
836
- "description": "User to modify",
837
- "required": true
1039
+ "name": "imode",
1040
+ "allowNo": false,
1041
+ "type": "boolean"
838
1042
  }
839
1043
  },
840
- "help": "Modify (update) user.\n\nCommand changes the user specified by USER_EMAIL.\n\nYou can change the user group, password and email.\n\nNOTE that -a and -r role (--role=role) can give conflict.\n"
841
- },
842
- "plugins": {
843
- "id": "plugins",
844
- "description": "List and upgrade plugins for tenants\n...\nExtra documentation goes here\n",
845
- "strict": true,
846
- "pluginName": "@saltcorn/cli",
1044
+ "hasDynamicHelp": false,
1045
+ "hiddenAliases": [],
1046
+ "id": "modify-user",
847
1047
  "pluginAlias": "@saltcorn/cli",
1048
+ "pluginName": "@saltcorn/cli",
848
1049
  "pluginType": "core",
1050
+ "strict": true,
1051
+ "enableJsonFlag": false,
1052
+ "help": "Modify (update) user.\n\nCommand changes the user specified by USER_EMAIL.\n\nYou can change the user group, password and email.\n\nNOTE that -a and -r role (--role=role) can give conflict.\n",
1053
+ "isESM": false,
1054
+ "relativePath": [
1055
+ "src",
1056
+ "commands",
1057
+ "modify-user.js"
1058
+ ]
1059
+ },
1060
+ "plugins": {
849
1061
  "aliases": [],
850
- "hiddenAliases": [],
1062
+ "args": {},
1063
+ "description": "List and upgrade plugins for tenants\n...\nExtra documentation goes here\n",
851
1064
  "examples": [
852
1065
  "plugins -v - verbose output of commands",
853
1066
  "plugins -u -d - dry-run for plugin update",
@@ -855,751 +1068,953 @@
855
1068
  ],
856
1069
  "flags": {
857
1070
  "upgrade": {
858
- "name": "upgrade",
859
- "type": "boolean",
860
1071
  "char": "u",
861
1072
  "description": "Upgrade",
862
- "allowNo": false
1073
+ "name": "upgrade",
1074
+ "allowNo": false,
1075
+ "type": "boolean"
863
1076
  },
864
1077
  "dryRun": {
865
- "name": "dryRun",
866
- "type": "boolean",
867
1078
  "char": "d",
868
1079
  "description": "Upgrade dry-run",
869
- "allowNo": false
1080
+ "name": "dryRun",
1081
+ "allowNo": false,
1082
+ "type": "boolean"
870
1083
  },
871
1084
  "verbose": {
872
- "name": "verbose",
873
- "type": "boolean",
874
1085
  "char": "v",
875
1086
  "description": "Verbose output",
876
- "allowNo": false
1087
+ "name": "verbose",
1088
+ "allowNo": false,
1089
+ "type": "boolean"
877
1090
  },
878
1091
  "force": {
879
- "name": "force",
880
- "type": "boolean",
881
1092
  "char": "f",
882
1093
  "description": "Force update",
883
- "allowNo": false
1094
+ "name": "force",
1095
+ "allowNo": false,
1096
+ "type": "boolean"
884
1097
  },
885
1098
  "name": {
886
- "name": "name",
887
- "type": "option",
888
1099
  "char": "n",
889
1100
  "description": "Plugin name",
890
- "multiple": false
1101
+ "name": "name",
1102
+ "hasDynamicHelp": false,
1103
+ "multiple": false,
1104
+ "type": "option"
891
1105
  }
892
1106
  },
893
- "args": {},
894
- "help": "Extra help here"
895
- },
896
- "reset-schema": {
897
- "id": "reset-schema",
898
- "description": "Reset the database\n...\nThis will delete all existing information\n",
899
- "strict": true,
900
- "pluginName": "@saltcorn/cli",
1107
+ "hasDynamicHelp": false,
1108
+ "hiddenAliases": [],
1109
+ "id": "plugins",
901
1110
  "pluginAlias": "@saltcorn/cli",
1111
+ "pluginName": "@saltcorn/cli",
902
1112
  "pluginType": "core",
1113
+ "strict": true,
1114
+ "enableJsonFlag": false,
1115
+ "help": "Extra help here",
1116
+ "isESM": false,
1117
+ "relativePath": [
1118
+ "src",
1119
+ "commands",
1120
+ "plugins.js"
1121
+ ]
1122
+ },
1123
+ "reset-schema": {
903
1124
  "aliases": [],
904
- "hiddenAliases": [],
1125
+ "args": {},
1126
+ "description": "Reset the database\n...\nThis will delete all existing information\n",
905
1127
  "flags": {
906
1128
  "force": {
907
- "name": "force",
908
- "type": "boolean",
909
1129
  "char": "f",
910
1130
  "description": "force command execution",
911
- "allowNo": false
1131
+ "name": "force",
1132
+ "allowNo": false,
1133
+ "type": "boolean"
912
1134
  },
913
1135
  "tenant": {
914
- "name": "tenant",
915
- "type": "option",
916
1136
  "char": "t",
917
1137
  "description": "tenant",
918
- "multiple": false
1138
+ "name": "tenant",
1139
+ "hasDynamicHelp": false,
1140
+ "multiple": false,
1141
+ "type": "option"
919
1142
  }
920
1143
  },
921
- "args": {},
922
- "help": "Reset the database\n...\nThis will delete all existing information\n"
923
- },
924
- "restore": {
925
- "id": "restore",
926
- "description": "Restore a previously backed up database (zip or sqlc format)",
927
- "strict": true,
928
- "pluginName": "@saltcorn/cli",
1144
+ "hasDynamicHelp": false,
1145
+ "hiddenAliases": [],
1146
+ "id": "reset-schema",
929
1147
  "pluginAlias": "@saltcorn/cli",
1148
+ "pluginName": "@saltcorn/cli",
930
1149
  "pluginType": "core",
1150
+ "strict": true,
1151
+ "enableJsonFlag": false,
1152
+ "help": "Reset the database\n...\nThis will delete all existing information\n",
1153
+ "isESM": false,
1154
+ "relativePath": [
1155
+ "src",
1156
+ "commands",
1157
+ "reset-schema.js"
1158
+ ]
1159
+ },
1160
+ "restore": {
931
1161
  "aliases": [],
932
- "hiddenAliases": [],
933
- "flags": {
934
- "tenant": {
935
- "name": "tenant",
936
- "type": "option",
937
- "char": "t",
938
- "description": "tenant",
939
- "multiple": false
940
- }
941
- },
942
1162
  "args": {
943
1163
  "file": {
944
- "name": "file",
945
1164
  "description": "backup file to restore",
1165
+ "name": "file",
946
1166
  "required": true
947
1167
  }
948
1168
  },
949
- "help": "Restore a previously backed up database (zip or sqlc format)"
950
- },
951
- "rm-tenant": {
952
- "id": "rm-tenant",
953
- "description": "Remove a tenant.\nAttention! All tenant data will be lost!\nIt recommended to make backup of tenant before perform this command.\n",
954
- "strict": true,
955
- "pluginName": "@saltcorn/cli",
1169
+ "description": "Restore a previously backed up database (zip or sqlc format)",
1170
+ "flags": {
1171
+ "tenant": {
1172
+ "char": "t",
1173
+ "description": "tenant",
1174
+ "name": "tenant",
1175
+ "hasDynamicHelp": false,
1176
+ "multiple": false,
1177
+ "type": "option"
1178
+ }
1179
+ },
1180
+ "hasDynamicHelp": false,
1181
+ "hiddenAliases": [],
1182
+ "id": "restore",
956
1183
  "pluginAlias": "@saltcorn/cli",
1184
+ "pluginName": "@saltcorn/cli",
957
1185
  "pluginType": "core",
1186
+ "strict": true,
1187
+ "enableJsonFlag": false,
1188
+ "help": "Restore a previously backed up database (zip or sqlc format)",
1189
+ "isESM": false,
1190
+ "relativePath": [
1191
+ "src",
1192
+ "commands",
1193
+ "restore.js"
1194
+ ]
1195
+ },
1196
+ "rm-tenant": {
958
1197
  "aliases": [],
959
- "hiddenAliases": [],
1198
+ "args": {},
1199
+ "description": "Remove a tenant.\nAttention! All tenant data will be lost!\nIt recommended to make backup of tenant before perform this command.\n",
960
1200
  "flags": {
961
1201
  "force": {
962
- "name": "force",
963
- "type": "boolean",
964
1202
  "char": "f",
965
1203
  "description": "force command execution",
966
- "allowNo": false
1204
+ "name": "force",
1205
+ "allowNo": false,
1206
+ "type": "boolean"
967
1207
  },
968
1208
  "tenant": {
969
- "name": "tenant",
970
- "type": "option",
971
1209
  "char": "t",
972
1210
  "description": "tenant",
1211
+ "name": "tenant",
973
1212
  "required": true,
974
- "multiple": false
1213
+ "hasDynamicHelp": false,
1214
+ "multiple": false,
1215
+ "type": "option"
975
1216
  }
976
1217
  },
977
- "args": {},
978
- "help": "Remove a tenant.\nAttention! All tenant data will be lost!\nIt recommended to make backup of tenant before perform this command.\n"
979
- },
980
- "run-benchmark": {
981
- "id": "run-benchmark",
982
- "description": "Run benchmark",
983
- "strict": true,
984
- "pluginName": "@saltcorn/cli",
1218
+ "hasDynamicHelp": false,
1219
+ "hiddenAliases": [],
1220
+ "id": "rm-tenant",
985
1221
  "pluginAlias": "@saltcorn/cli",
1222
+ "pluginName": "@saltcorn/cli",
986
1223
  "pluginType": "core",
1224
+ "strict": true,
1225
+ "enableJsonFlag": false,
1226
+ "help": "Remove a tenant.\nAttention! All tenant data will be lost!\nIt recommended to make backup of tenant before perform this command.\n",
1227
+ "isESM": false,
1228
+ "relativePath": [
1229
+ "src",
1230
+ "commands",
1231
+ "rm-tenant.js"
1232
+ ]
1233
+ },
1234
+ "run-benchmark": {
987
1235
  "aliases": [],
988
- "hiddenAliases": [],
1236
+ "args": {
1237
+ "baseurl": {
1238
+ "description": "Base URL",
1239
+ "name": "baseurl",
1240
+ "required": false
1241
+ }
1242
+ },
1243
+ "description": "Run benchmark",
989
1244
  "flags": {
990
1245
  "token": {
991
- "name": "token",
992
- "type": "option",
993
1246
  "char": "t",
994
1247
  "description": "API Token for reporting results",
995
- "multiple": false
1248
+ "name": "token",
1249
+ "hasDynamicHelp": false,
1250
+ "multiple": false,
1251
+ "type": "option"
996
1252
  },
997
1253
  "benchmark": {
998
- "name": "benchmark",
999
- "type": "option",
1000
1254
  "char": "b",
1001
1255
  "description": "Which benchmark to run",
1002
- "multiple": false
1256
+ "name": "benchmark",
1257
+ "hasDynamicHelp": false,
1258
+ "multiple": false,
1259
+ "type": "option"
1003
1260
  },
1004
1261
  "delay": {
1005
- "name": "delay",
1006
- "type": "option",
1007
1262
  "char": "d",
1008
1263
  "description": "delay between runs (s)",
1264
+ "name": "delay",
1265
+ "default": 30,
1266
+ "hasDynamicHelp": false,
1009
1267
  "multiple": false,
1010
- "default": 30
1268
+ "type": "option"
1011
1269
  }
1012
1270
  },
1013
- "args": {
1014
- "baseurl": {
1015
- "name": "baseurl",
1016
- "description": "Base URL",
1017
- "required": false
1018
- }
1019
- }
1020
- },
1021
- "run-js": {
1022
- "id": "run-js",
1023
- "description": "Run javascript code",
1024
- "strict": true,
1025
- "pluginName": "@saltcorn/cli",
1271
+ "hasDynamicHelp": false,
1272
+ "hiddenAliases": [],
1273
+ "id": "run-benchmark",
1026
1274
  "pluginAlias": "@saltcorn/cli",
1275
+ "pluginName": "@saltcorn/cli",
1027
1276
  "pluginType": "core",
1277
+ "strict": true,
1278
+ "enableJsonFlag": false,
1279
+ "isESM": false,
1280
+ "relativePath": [
1281
+ "src",
1282
+ "commands",
1283
+ "run-benchmark.js"
1284
+ ]
1285
+ },
1286
+ "run-js": {
1028
1287
  "aliases": [],
1029
- "hiddenAliases": [],
1288
+ "args": {},
1289
+ "description": "Run javascript code",
1030
1290
  "flags": {
1031
1291
  "tenant": {
1032
- "name": "tenant",
1033
- "type": "option",
1034
1292
  "char": "t",
1035
1293
  "description": "tenant name",
1036
- "multiple": false
1294
+ "name": "tenant",
1295
+ "hasDynamicHelp": false,
1296
+ "multiple": false,
1297
+ "type": "option"
1037
1298
  },
1038
1299
  "code": {
1039
- "name": "code",
1040
- "type": "option",
1041
1300
  "char": "c",
1042
1301
  "description": "js code",
1043
- "multiple": false
1302
+ "name": "code",
1303
+ "hasDynamicHelp": false,
1304
+ "multiple": false,
1305
+ "type": "option"
1044
1306
  },
1045
1307
  "file": {
1046
- "name": "file",
1047
- "type": "option",
1048
1308
  "char": "f",
1049
1309
  "description": "path to script file",
1050
- "multiple": false
1310
+ "name": "file",
1311
+ "hasDynamicHelp": false,
1312
+ "multiple": false,
1313
+ "type": "option"
1051
1314
  }
1052
1315
  },
1053
- "args": {}
1054
- },
1055
- "run-sql": {
1056
- "id": "run-sql",
1057
- "description": "Run sql expression",
1058
- "strict": true,
1059
- "pluginName": "@saltcorn/cli",
1316
+ "hasDynamicHelp": false,
1317
+ "hiddenAliases": [],
1318
+ "id": "run-js",
1060
1319
  "pluginAlias": "@saltcorn/cli",
1320
+ "pluginName": "@saltcorn/cli",
1061
1321
  "pluginType": "core",
1322
+ "strict": true,
1323
+ "enableJsonFlag": false,
1324
+ "isESM": false,
1325
+ "relativePath": [
1326
+ "src",
1327
+ "commands",
1328
+ "run-js.js"
1329
+ ]
1330
+ },
1331
+ "run-sql": {
1062
1332
  "aliases": [],
1063
- "hiddenAliases": [],
1333
+ "args": {},
1334
+ "description": "Run sql expression",
1064
1335
  "flags": {
1065
1336
  "tenant": {
1066
- "name": "tenant",
1067
- "type": "option",
1068
1337
  "char": "t",
1069
1338
  "description": "tenant name",
1070
- "multiple": false
1339
+ "name": "tenant",
1340
+ "hasDynamicHelp": false,
1341
+ "multiple": false,
1342
+ "type": "option"
1071
1343
  },
1072
1344
  "sql": {
1073
- "name": "sql",
1074
- "type": "option",
1075
1345
  "char": "s",
1076
1346
  "description": "sql statement",
1077
- "multiple": false
1347
+ "name": "sql",
1348
+ "hasDynamicHelp": false,
1349
+ "multiple": false,
1350
+ "type": "option"
1078
1351
  },
1079
1352
  "file": {
1080
- "name": "file",
1081
- "type": "option",
1082
1353
  "char": "f",
1083
1354
  "description": "path to sql file name",
1084
- "multiple": false
1355
+ "name": "file",
1356
+ "hasDynamicHelp": false,
1357
+ "multiple": false,
1358
+ "type": "option"
1085
1359
  }
1086
1360
  },
1087
- "args": {}
1088
- },
1089
- "run-tests": {
1090
- "id": "run-tests",
1091
- "description": "Run test suites",
1092
- "strict": true,
1093
- "pluginName": "@saltcorn/cli",
1361
+ "hasDynamicHelp": false,
1362
+ "hiddenAliases": [],
1363
+ "id": "run-sql",
1094
1364
  "pluginAlias": "@saltcorn/cli",
1365
+ "pluginName": "@saltcorn/cli",
1095
1366
  "pluginType": "core",
1367
+ "strict": true,
1368
+ "enableJsonFlag": false,
1369
+ "isESM": false,
1370
+ "relativePath": [
1371
+ "src",
1372
+ "commands",
1373
+ "run-sql.js"
1374
+ ]
1375
+ },
1376
+ "run-tests": {
1096
1377
  "aliases": [],
1097
- "hiddenAliases": [],
1378
+ "args": {
1379
+ "package": {
1380
+ "description": "which package to run tests for",
1381
+ "name": "package"
1382
+ }
1383
+ },
1384
+ "description": "Run test suites",
1098
1385
  "flags": {
1099
1386
  "coverage": {
1100
- "name": "coverage",
1101
- "type": "boolean",
1102
1387
  "char": "c",
1103
1388
  "description": "Coverage",
1104
- "allowNo": false
1389
+ "name": "coverage",
1390
+ "allowNo": false,
1391
+ "type": "boolean"
1105
1392
  },
1106
1393
  "listTests": {
1107
- "name": "listTests",
1108
- "type": "boolean",
1109
1394
  "char": "l",
1110
1395
  "description": "List tests",
1111
- "allowNo": false
1396
+ "name": "listTests",
1397
+ "allowNo": false,
1398
+ "type": "boolean"
1112
1399
  },
1113
1400
  "verbose": {
1114
- "name": "verbose",
1115
- "type": "boolean",
1116
1401
  "char": "v",
1117
1402
  "description": "Verbose",
1118
- "allowNo": false
1403
+ "name": "verbose",
1404
+ "allowNo": false,
1405
+ "type": "boolean"
1119
1406
  },
1120
1407
  "detectOpenHandles": {
1121
- "name": "detectOpenHandles",
1122
- "type": "boolean",
1123
1408
  "char": "d",
1124
1409
  "description": "Detect Open Handles",
1125
- "allowNo": false
1410
+ "name": "detectOpenHandles",
1411
+ "allowNo": false,
1412
+ "type": "boolean"
1126
1413
  },
1127
1414
  "testFilter": {
1128
- "name": "testFilter",
1129
- "type": "option",
1130
1415
  "char": "t",
1131
1416
  "description": "Filter tests by suite or test name",
1132
- "multiple": false
1417
+ "name": "testFilter",
1418
+ "hasDynamicHelp": false,
1419
+ "multiple": false,
1420
+ "type": "option"
1133
1421
  },
1134
1422
  "watch": {
1135
- "name": "watch",
1136
- "type": "boolean",
1137
1423
  "description": "Watch files for changes and rerun tests related to changed files.",
1138
- "allowNo": false
1424
+ "name": "watch",
1425
+ "allowNo": false,
1426
+ "type": "boolean"
1139
1427
  },
1140
1428
  "watchAll": {
1141
- "name": "watchAll",
1142
- "type": "boolean",
1143
1429
  "description": "Watch files for changes and rerun all tests.",
1144
- "allowNo": false
1430
+ "name": "watchAll",
1431
+ "allowNo": false,
1432
+ "type": "boolean"
1145
1433
  },
1146
1434
  "database": {
1147
- "name": "database",
1148
- "type": "option",
1149
1435
  "description": "Run on specified database. Default is saltcorn_test",
1150
- "multiple": false
1436
+ "name": "database",
1437
+ "hasDynamicHelp": false,
1438
+ "multiple": false,
1439
+ "type": "option"
1151
1440
  }
1152
1441
  },
1153
- "args": {
1154
- "package": {
1155
- "name": "package",
1156
- "description": "which package to run tests for"
1157
- }
1158
- }
1159
- },
1160
- "run-trigger": {
1161
- "id": "run-trigger",
1162
- "description": "Run a trigger",
1163
- "strict": true,
1164
- "pluginName": "@saltcorn/cli",
1442
+ "hasDynamicHelp": false,
1443
+ "hiddenAliases": [],
1444
+ "id": "run-tests",
1165
1445
  "pluginAlias": "@saltcorn/cli",
1446
+ "pluginName": "@saltcorn/cli",
1166
1447
  "pluginType": "core",
1448
+ "strict": true,
1449
+ "enableJsonFlag": false,
1450
+ "isESM": false,
1451
+ "relativePath": [
1452
+ "src",
1453
+ "commands",
1454
+ "run-tests.js"
1455
+ ]
1456
+ },
1457
+ "run-trigger": {
1167
1458
  "aliases": [],
1168
- "hiddenAliases": [],
1459
+ "args": {
1460
+ "trigger": {
1461
+ "description": "trigger name",
1462
+ "name": "trigger",
1463
+ "required": true
1464
+ }
1465
+ },
1466
+ "description": "Run a trigger",
1169
1467
  "flags": {
1170
1468
  "tenant": {
1171
- "name": "tenant",
1172
- "type": "option",
1173
1469
  "char": "t",
1174
1470
  "description": "tenant",
1471
+ "name": "tenant",
1175
1472
  "required": false,
1176
- "multiple": false
1473
+ "hasDynamicHelp": false,
1474
+ "multiple": false,
1475
+ "type": "option"
1177
1476
  }
1178
1477
  },
1179
- "args": {
1180
- "trigger": {
1181
- "name": "trigger",
1182
- "description": "trigger name",
1183
- "required": true
1184
- }
1185
- }
1186
- },
1187
- "scheduler": {
1188
- "id": "scheduler",
1189
- "description": "Run the Saltcorn scheduler",
1190
- "strict": true,
1191
- "pluginName": "@saltcorn/cli",
1478
+ "hasDynamicHelp": false,
1479
+ "hiddenAliases": [],
1480
+ "id": "run-trigger",
1192
1481
  "pluginAlias": "@saltcorn/cli",
1482
+ "pluginName": "@saltcorn/cli",
1193
1483
  "pluginType": "core",
1484
+ "strict": true,
1485
+ "enableJsonFlag": false,
1486
+ "isESM": false,
1487
+ "relativePath": [
1488
+ "src",
1489
+ "commands",
1490
+ "run-trigger.js"
1491
+ ]
1492
+ },
1493
+ "scheduler": {
1194
1494
  "aliases": [],
1195
- "hiddenAliases": [],
1495
+ "args": {},
1496
+ "description": "Run the Saltcorn scheduler",
1196
1497
  "flags": {
1197
1498
  "verbose": {
1198
- "name": "verbose",
1199
- "type": "boolean",
1200
1499
  "char": "v",
1201
1500
  "description": "Verbose",
1202
- "allowNo": false
1501
+ "name": "verbose",
1502
+ "allowNo": false,
1503
+ "type": "boolean"
1203
1504
  }
1204
1505
  },
1205
- "args": {}
1206
- },
1207
- "serve": {
1208
- "id": "serve",
1209
- "description": "Start the Saltcorn server",
1210
- "strict": true,
1211
- "pluginName": "@saltcorn/cli",
1506
+ "hasDynamicHelp": false,
1507
+ "hiddenAliases": [],
1508
+ "id": "scheduler",
1212
1509
  "pluginAlias": "@saltcorn/cli",
1510
+ "pluginName": "@saltcorn/cli",
1213
1511
  "pluginType": "core",
1512
+ "strict": true,
1513
+ "enableJsonFlag": false,
1514
+ "isESM": false,
1515
+ "relativePath": [
1516
+ "src",
1517
+ "commands",
1518
+ "scheduler.js"
1519
+ ]
1520
+ },
1521
+ "serve": {
1214
1522
  "aliases": [],
1215
- "hiddenAliases": [],
1523
+ "args": {},
1524
+ "description": "Start the Saltcorn server",
1216
1525
  "flags": {
1217
1526
  "port": {
1218
- "name": "port",
1219
- "type": "option",
1220
1527
  "char": "p",
1221
1528
  "description": "port",
1529
+ "name": "port",
1530
+ "default": 3000,
1531
+ "hasDynamicHelp": false,
1222
1532
  "multiple": false,
1223
- "default": 3000
1533
+ "type": "option"
1224
1534
  },
1225
1535
  "verbose": {
1226
- "name": "verbose",
1227
- "type": "boolean",
1228
1536
  "char": "v",
1229
1537
  "description": "Verbose",
1230
- "allowNo": false
1538
+ "name": "verbose",
1539
+ "allowNo": false,
1540
+ "type": "boolean"
1231
1541
  },
1232
1542
  "watchReaper": {
1233
- "name": "watchReaper",
1234
- "type": "boolean",
1235
1543
  "char": "r",
1236
1544
  "description": "Watch reaper",
1237
- "allowNo": false
1545
+ "name": "watchReaper",
1546
+ "allowNo": false,
1547
+ "type": "boolean"
1238
1548
  },
1239
1549
  "dev": {
1240
- "name": "dev",
1241
- "type": "boolean",
1242
1550
  "char": "d",
1243
1551
  "description": "Run in dev mode and re-start on file changes",
1244
- "allowNo": false
1552
+ "name": "dev",
1553
+ "allowNo": false,
1554
+ "type": "boolean"
1245
1555
  },
1246
1556
  "addschema": {
1247
- "name": "addschema",
1248
- "type": "boolean",
1249
1557
  "char": "a",
1250
1558
  "description": "Add schema if missing",
1251
- "allowNo": false
1559
+ "name": "addschema",
1560
+ "allowNo": false,
1561
+ "type": "boolean"
1252
1562
  },
1253
1563
  "nomigrate": {
1254
- "name": "nomigrate",
1255
- "type": "boolean",
1256
1564
  "char": "n",
1257
1565
  "description": "No migrations",
1258
- "allowNo": false
1566
+ "name": "nomigrate",
1567
+ "allowNo": false,
1568
+ "type": "boolean"
1259
1569
  },
1260
1570
  "noscheduler": {
1261
- "name": "noscheduler",
1262
- "type": "boolean",
1263
1571
  "char": "s",
1264
1572
  "description": "No scheduler",
1265
- "allowNo": false
1573
+ "name": "noscheduler",
1574
+ "allowNo": false,
1575
+ "type": "boolean"
1266
1576
  },
1267
1577
  "subdomain_offset": {
1268
- "name": "subdomain_offset",
1269
- "type": "option",
1270
1578
  "description": "Number of parts to remove to access subdomain in 'multi_tenant' mode",
1271
- "multiple": false
1579
+ "name": "subdomain_offset",
1580
+ "hasDynamicHelp": false,
1581
+ "multiple": false,
1582
+ "type": "option"
1272
1583
  }
1273
1584
  },
1274
- "args": {}
1275
- },
1276
- "set-cfg": {
1277
- "id": "set-cfg",
1278
- "description": "Set a configuration value. The supplied value (argument, or file stdin) will be parsed as JSON. If this fails, it is stored as a string.",
1279
- "strict": true,
1280
- "pluginName": "@saltcorn/cli",
1585
+ "hasDynamicHelp": false,
1586
+ "hiddenAliases": [],
1587
+ "id": "serve",
1281
1588
  "pluginAlias": "@saltcorn/cli",
1589
+ "pluginName": "@saltcorn/cli",
1282
1590
  "pluginType": "core",
1591
+ "strict": true,
1592
+ "enableJsonFlag": false,
1593
+ "isESM": false,
1594
+ "relativePath": [
1595
+ "src",
1596
+ "commands",
1597
+ "serve.js"
1598
+ ]
1599
+ },
1600
+ "set-cfg": {
1283
1601
  "aliases": [],
1284
- "hiddenAliases": [],
1602
+ "args": {
1603
+ "key": {
1604
+ "description": "Configuration key",
1605
+ "name": "key",
1606
+ "required": false
1607
+ },
1608
+ "value": {
1609
+ "description": "Configuration value (JSON or string)",
1610
+ "name": "value"
1611
+ }
1612
+ },
1613
+ "description": "Set a configuration value. The supplied value (argument, or file stdin) will be parsed as JSON. If this fails, it is stored as a string.",
1285
1614
  "flags": {
1286
1615
  "tenant": {
1287
- "name": "tenant",
1288
- "type": "option",
1289
1616
  "char": "t",
1290
1617
  "description": "tenant",
1291
- "multiple": false
1618
+ "name": "tenant",
1619
+ "hasDynamicHelp": false,
1620
+ "multiple": false,
1621
+ "type": "option"
1292
1622
  },
1293
1623
  "plugin": {
1294
- "name": "plugin",
1295
- "type": "option",
1296
1624
  "char": "p",
1297
1625
  "description": "plugin",
1298
- "multiple": false
1626
+ "name": "plugin",
1627
+ "hasDynamicHelp": false,
1628
+ "multiple": false,
1629
+ "type": "option"
1299
1630
  },
1300
1631
  "file": {
1301
- "name": "file",
1302
- "type": "option",
1303
1632
  "char": "f",
1304
1633
  "description": "file",
1305
- "multiple": false
1634
+ "name": "file",
1635
+ "hasDynamicHelp": false,
1636
+ "multiple": false,
1637
+ "type": "option"
1306
1638
  },
1307
1639
  "stdin": {
1308
- "name": "stdin",
1309
- "type": "boolean",
1310
1640
  "char": "i",
1311
1641
  "description": "read value from stdin",
1312
- "allowNo": false
1642
+ "name": "stdin",
1643
+ "allowNo": false,
1644
+ "type": "boolean"
1313
1645
  }
1314
1646
  },
1315
- "args": {
1316
- "key": {
1317
- "name": "key",
1318
- "description": "Configuration key",
1319
- "required": false
1320
- },
1321
- "value": {
1322
- "name": "value",
1323
- "description": "Configuration value (JSON or string)"
1324
- }
1325
- }
1326
- },
1327
- "set-daily-time": {
1328
- "id": "set-daily-time",
1329
- "description": "Set the time the default daily event will run, offset in minutes from the current time. Restart required.",
1330
- "strict": true,
1331
- "pluginName": "@saltcorn/cli",
1647
+ "hasDynamicHelp": false,
1648
+ "hiddenAliases": [],
1649
+ "id": "set-cfg",
1332
1650
  "pluginAlias": "@saltcorn/cli",
1651
+ "pluginName": "@saltcorn/cli",
1333
1652
  "pluginType": "core",
1653
+ "strict": true,
1654
+ "enableJsonFlag": false,
1655
+ "isESM": false,
1656
+ "relativePath": [
1657
+ "src",
1658
+ "commands",
1659
+ "set-cfg.js"
1660
+ ]
1661
+ },
1662
+ "set-daily-time": {
1334
1663
  "aliases": [],
1335
- "hiddenAliases": [],
1664
+ "args": {
1665
+ "mins": {
1666
+ "description": "Number of minutes in the futute (negative for past)",
1667
+ "name": "mins"
1668
+ }
1669
+ },
1670
+ "description": "Set the time the default daily event will run, offset in minutes from the current time. Restart required.",
1336
1671
  "flags": {
1337
1672
  "tenant": {
1338
- "name": "tenant",
1339
- "type": "option",
1340
1673
  "char": "t",
1341
1674
  "description": "tenant",
1342
- "multiple": false
1675
+ "name": "tenant",
1676
+ "hasDynamicHelp": false,
1677
+ "multiple": false,
1678
+ "type": "option"
1343
1679
  }
1344
1680
  },
1345
- "args": {
1346
- "mins": {
1347
- "name": "mins",
1348
- "description": "Number of minutes in the futute (negative for past)"
1349
- }
1350
- }
1351
- },
1352
- "setup-benchmark": {
1353
- "id": "setup-benchmark",
1354
- "description": "Setup an instance for benchmarking",
1355
- "strict": true,
1356
- "pluginName": "@saltcorn/cli",
1681
+ "hasDynamicHelp": false,
1682
+ "hiddenAliases": [],
1683
+ "id": "set-daily-time",
1357
1684
  "pluginAlias": "@saltcorn/cli",
1685
+ "pluginName": "@saltcorn/cli",
1358
1686
  "pluginType": "core",
1687
+ "strict": true,
1688
+ "enableJsonFlag": false,
1689
+ "isESM": false,
1690
+ "relativePath": [
1691
+ "src",
1692
+ "commands",
1693
+ "set-daily-time.js"
1694
+ ]
1695
+ },
1696
+ "setup-benchmark": {
1359
1697
  "aliases": [],
1360
- "hiddenAliases": [],
1698
+ "args": {},
1699
+ "description": "Setup an instance for benchmarking",
1361
1700
  "flags": {
1362
1701
  "tenant": {
1363
- "name": "tenant",
1364
- "type": "option",
1365
1702
  "char": "t",
1366
1703
  "description": "tenant",
1367
- "multiple": false
1704
+ "name": "tenant",
1705
+ "hasDynamicHelp": false,
1706
+ "multiple": false,
1707
+ "type": "option"
1368
1708
  },
1369
1709
  "name": {
1370
- "name": "name",
1371
- "type": "option",
1372
1710
  "char": "n",
1373
1711
  "description": "name",
1374
- "multiple": false
1712
+ "name": "name",
1713
+ "hasDynamicHelp": false,
1714
+ "multiple": false,
1715
+ "type": "option"
1375
1716
  }
1376
1717
  },
1377
- "args": {}
1378
- },
1379
- "setup": {
1380
- "id": "setup",
1381
- "description": "Set up a new system\n...\nThis will attempt to install or connect a database, and set up a\nconfiguration file\n",
1382
- "strict": true,
1383
- "pluginName": "@saltcorn/cli",
1718
+ "hasDynamicHelp": false,
1719
+ "hiddenAliases": [],
1720
+ "id": "setup-benchmark",
1384
1721
  "pluginAlias": "@saltcorn/cli",
1722
+ "pluginName": "@saltcorn/cli",
1385
1723
  "pluginType": "core",
1724
+ "strict": true,
1725
+ "enableJsonFlag": false,
1726
+ "isESM": false,
1727
+ "relativePath": [
1728
+ "src",
1729
+ "commands",
1730
+ "setup-benchmark.js"
1731
+ ]
1732
+ },
1733
+ "setup": {
1386
1734
  "aliases": [],
1387
- "hiddenAliases": [],
1735
+ "args": {},
1736
+ "description": "Set up a new system\n...\nThis will attempt to install or connect a database, and set up a\nconfiguration file\n",
1388
1737
  "flags": {
1389
1738
  "coverage": {
1390
- "name": "coverage",
1391
- "type": "boolean",
1392
1739
  "char": "c",
1393
1740
  "description": "Coverage",
1394
- "allowNo": false
1741
+ "name": "coverage",
1742
+ "allowNo": false,
1743
+ "type": "boolean"
1395
1744
  }
1396
1745
  },
1397
- "args": {}
1398
- },
1399
- "sync-upload-data": {
1400
- "id": "sync-upload-data",
1401
- "description": "Runs a sync for data supplied by the mobile app",
1402
- "strict": true,
1403
- "pluginName": "@saltcorn/cli",
1746
+ "hasDynamicHelp": false,
1747
+ "hiddenAliases": [],
1748
+ "id": "setup",
1404
1749
  "pluginAlias": "@saltcorn/cli",
1750
+ "pluginName": "@saltcorn/cli",
1405
1751
  "pluginType": "core",
1752
+ "strict": true,
1753
+ "enableJsonFlag": false,
1754
+ "isESM": false,
1755
+ "relativePath": [
1756
+ "src",
1757
+ "commands",
1758
+ "setup.js"
1759
+ ]
1760
+ },
1761
+ "sync-upload-data": {
1406
1762
  "aliases": [],
1407
- "hiddenAliases": [],
1763
+ "args": {},
1764
+ "description": "Runs a sync for data supplied by the mobile app",
1408
1765
  "flags": {
1409
1766
  "tenantAppName": {
1410
- "name": "tenantAppName",
1411
- "type": "option",
1412
1767
  "description": "Optional name of a tenant application",
1413
- "multiple": false
1768
+ "name": "tenantAppName",
1769
+ "hasDynamicHelp": false,
1770
+ "multiple": false,
1771
+ "type": "option"
1414
1772
  },
1415
1773
  "userEmail": {
1416
- "name": "userEmail",
1417
- "type": "option",
1418
1774
  "description": "email of the user running the sync",
1419
- "multiple": false
1775
+ "name": "userEmail",
1776
+ "hasDynamicHelp": false,
1777
+ "multiple": false,
1778
+ "type": "option"
1420
1779
  },
1421
1780
  "directory": {
1422
- "name": "directory",
1423
- "type": "option",
1424
1781
  "description": "directory name for input output data",
1425
- "multiple": false
1782
+ "name": "directory",
1783
+ "hasDynamicHelp": false,
1784
+ "multiple": false,
1785
+ "type": "option"
1426
1786
  },
1427
1787
  "syncTimestamp": {
1428
- "name": "syncTimestamp",
1429
- "type": "option",
1430
1788
  "description": "new timestamp for the sync_info rows",
1431
- "multiple": false
1789
+ "name": "syncTimestamp",
1790
+ "hasDynamicHelp": false,
1791
+ "multiple": false,
1792
+ "type": "option"
1432
1793
  }
1433
1794
  },
1434
- "args": {}
1435
- },
1436
- "take-snapshot": {
1437
- "id": "take-snapshot",
1438
- "description": "Print a current snapshout to stdout",
1439
- "strict": true,
1440
- "pluginName": "@saltcorn/cli",
1795
+ "hasDynamicHelp": false,
1796
+ "hiddenAliases": [],
1797
+ "id": "sync-upload-data",
1441
1798
  "pluginAlias": "@saltcorn/cli",
1799
+ "pluginName": "@saltcorn/cli",
1442
1800
  "pluginType": "core",
1801
+ "strict": true,
1802
+ "enableJsonFlag": false,
1803
+ "isESM": false,
1804
+ "relativePath": [
1805
+ "src",
1806
+ "commands",
1807
+ "sync-upload-data.js"
1808
+ ]
1809
+ },
1810
+ "take-snapshot": {
1443
1811
  "aliases": [],
1444
- "hiddenAliases": [],
1812
+ "args": {},
1813
+ "description": "Print a current snapshout to stdout",
1445
1814
  "flags": {
1446
1815
  "tenant": {
1447
- "name": "tenant",
1448
- "type": "option",
1449
1816
  "char": "t",
1450
1817
  "description": "tenant",
1451
- "multiple": false
1818
+ "name": "tenant",
1819
+ "hasDynamicHelp": false,
1820
+ "multiple": false,
1821
+ "type": "option"
1452
1822
  },
1453
1823
  "fresh": {
1454
- "name": "fresh",
1455
- "type": "boolean",
1456
1824
  "char": "f",
1457
1825
  "description": "fresh",
1458
- "allowNo": false
1826
+ "name": "fresh",
1827
+ "allowNo": false,
1828
+ "type": "boolean"
1459
1829
  }
1460
1830
  },
1461
- "args": {}
1462
- },
1463
- "transform-field": {
1464
- "id": "transform-field",
1465
- "description": "transform an existing field by applying a calculated expression",
1466
- "strict": true,
1467
- "pluginName": "@saltcorn/cli",
1831
+ "hasDynamicHelp": false,
1832
+ "hiddenAliases": [],
1833
+ "id": "take-snapshot",
1468
1834
  "pluginAlias": "@saltcorn/cli",
1835
+ "pluginName": "@saltcorn/cli",
1469
1836
  "pluginType": "core",
1837
+ "strict": true,
1838
+ "enableJsonFlag": false,
1839
+ "isESM": false,
1840
+ "relativePath": [
1841
+ "src",
1842
+ "commands",
1843
+ "take-snapshot.js"
1844
+ ]
1845
+ },
1846
+ "transform-field": {
1470
1847
  "aliases": [],
1471
- "hiddenAliases": [],
1472
- "flags": {},
1473
1848
  "args": {
1474
1849
  "expression": {
1475
- "name": "expression",
1476
1850
  "description": "expression to calculate field",
1851
+ "name": "expression",
1477
1852
  "required": true
1478
1853
  },
1479
1854
  "field": {
1480
- "name": "field",
1481
1855
  "description": "field name",
1856
+ "name": "field",
1482
1857
  "required": true
1483
1858
  },
1484
1859
  "table": {
1485
- "name": "table",
1486
1860
  "description": "table name",
1861
+ "name": "table",
1487
1862
  "required": true
1488
1863
  },
1489
1864
  "tenant": {
1490
- "name": "tenant",
1491
1865
  "description": "tenant name",
1866
+ "name": "tenant",
1492
1867
  "required": false
1493
1868
  }
1494
- }
1495
- },
1496
- "dev:localize-plugin": {
1497
- "id": "dev:localize-plugin",
1498
- "description": "Convert plugin to local plugin",
1499
- "strict": true,
1500
- "pluginName": "@saltcorn/cli",
1869
+ },
1870
+ "description": "transform an existing field by applying a calculated expression",
1871
+ "flags": {},
1872
+ "hasDynamicHelp": false,
1873
+ "hiddenAliases": [],
1874
+ "id": "transform-field",
1501
1875
  "pluginAlias": "@saltcorn/cli",
1876
+ "pluginName": "@saltcorn/cli",
1502
1877
  "pluginType": "core",
1878
+ "strict": true,
1879
+ "enableJsonFlag": false,
1880
+ "isESM": false,
1881
+ "relativePath": [
1882
+ "src",
1883
+ "commands",
1884
+ "transform-field.js"
1885
+ ]
1886
+ },
1887
+ "dev:localize-plugin": {
1503
1888
  "aliases": [],
1504
- "hiddenAliases": [],
1889
+ "args": {
1890
+ "plugin": {
1891
+ "description": "Current plugin name",
1892
+ "name": "plugin",
1893
+ "required": true
1894
+ },
1895
+ "path": {
1896
+ "description": "Absolute path to local plugin",
1897
+ "name": "path"
1898
+ }
1899
+ },
1900
+ "description": "Convert plugin to local plugin",
1505
1901
  "flags": {
1506
1902
  "unlocalize": {
1507
- "name": "unlocalize",
1508
- "type": "boolean",
1509
1903
  "char": "u",
1510
1904
  "description": "Unlocalize plugin (local to npm)",
1511
- "allowNo": false
1905
+ "name": "unlocalize",
1906
+ "allowNo": false,
1907
+ "type": "boolean"
1512
1908
  },
1513
1909
  "tenant": {
1514
- "name": "tenant",
1515
- "type": "option",
1516
1910
  "char": "t",
1517
1911
  "description": "tenant",
1518
- "multiple": false
1912
+ "name": "tenant",
1913
+ "hasDynamicHelp": false,
1914
+ "multiple": false,
1915
+ "type": "option"
1519
1916
  }
1520
1917
  },
1521
- "args": {
1522
- "plugin": {
1523
- "name": "plugin",
1524
- "description": "Current plugin name",
1525
- "required": true
1526
- },
1527
- "path": {
1528
- "name": "path",
1529
- "description": "Absolute path to local plugin"
1530
- }
1531
- }
1918
+ "hasDynamicHelp": false,
1919
+ "hiddenAliases": [],
1920
+ "id": "dev:localize-plugin",
1921
+ "pluginAlias": "@saltcorn/cli",
1922
+ "pluginName": "@saltcorn/cli",
1923
+ "pluginType": "core",
1924
+ "strict": true,
1925
+ "enableJsonFlag": false,
1926
+ "isESM": false,
1927
+ "relativePath": [
1928
+ "src",
1929
+ "commands",
1930
+ "dev",
1931
+ "localize-plugin.js"
1932
+ ]
1532
1933
  },
1533
1934
  "dev:make-migration": {
1534
- "id": "dev:make-migration",
1935
+ "aliases": [],
1936
+ "args": {},
1535
1937
  "description": "Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n",
1536
- "strict": true,
1537
- "usage": "make-migration",
1538
- "pluginName": "@saltcorn/cli",
1938
+ "flags": {},
1939
+ "hasDynamicHelp": false,
1940
+ "hiddenAliases": [],
1941
+ "id": "dev:make-migration",
1539
1942
  "pluginAlias": "@saltcorn/cli",
1943
+ "pluginName": "@saltcorn/cli",
1540
1944
  "pluginType": "core",
1541
- "aliases": [],
1542
- "hiddenAliases": [],
1543
- "flags": {},
1544
- "args": {},
1545
- "help": "Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n"
1945
+ "strict": true,
1946
+ "usage": "make-migration",
1947
+ "enableJsonFlag": false,
1948
+ "help": "Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n",
1949
+ "isESM": false,
1950
+ "relativePath": [
1951
+ "src",
1952
+ "commands",
1953
+ "dev",
1954
+ "make-migration.js"
1955
+ ]
1546
1956
  },
1547
1957
  "dev:plugin-test": {
1548
- "id": "dev:plugin-test",
1549
- "description": "Install a plugin, spawn 'npm run test' in the install directory and check the return code.",
1550
- "strict": true,
1551
- "usage": "saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip",
1552
- "pluginName": "@saltcorn/cli",
1553
- "pluginAlias": "@saltcorn/cli",
1554
- "pluginType": "core",
1555
1958
  "aliases": [],
1556
- "hiddenAliases": [],
1959
+ "args": {},
1960
+ "description": "Install a plugin, spawn 'npm run test' in the install directory and check the return code.",
1557
1961
  "flags": {
1558
1962
  "directory": {
1559
- "name": "directory",
1560
- "type": "option",
1561
1963
  "char": "d",
1562
1964
  "description": "Directory of local plugin",
1563
- "multiple": false
1965
+ "name": "directory",
1966
+ "hasDynamicHelp": false,
1967
+ "multiple": false,
1968
+ "type": "option"
1564
1969
  },
1565
1970
  "name": {
1566
- "name": "name",
1567
- "type": "option",
1568
1971
  "char": "n",
1569
1972
  "description": "Plugin name in store of a released plugin",
1570
- "multiple": false
1973
+ "name": "name",
1974
+ "hasDynamicHelp": false,
1975
+ "multiple": false,
1976
+ "type": "option"
1571
1977
  },
1572
1978
  "backupFile": {
1573
- "name": "backupFile",
1574
- "type": "option",
1575
1979
  "char": "f",
1576
1980
  "description": "Optional name of a backup file in the tests folder. If you ommit this, then the test has to create its own data.",
1577
- "multiple": false
1981
+ "name": "backupFile",
1982
+ "hasDynamicHelp": false,
1983
+ "multiple": false,
1984
+ "type": "option"
1578
1985
  },
1579
1986
  "database": {
1580
- "name": "database",
1581
- "type": "option",
1582
1987
  "description": "Run on specified database. Default is 'saltcorn_test''",
1583
- "multiple": false
1988
+ "name": "database",
1989
+ "hasDynamicHelp": false,
1990
+ "multiple": false,
1991
+ "type": "option"
1584
1992
  }
1585
1993
  },
1586
- "args": {},
1587
- "help": "Install a plugin, spawn 'npm run test' in the install directory and check the return code."
1588
- },
1589
- "dev:post-release": {
1590
- "id": "dev:post-release",
1591
- "description": "Post-release tasks: docker and vagrant builds",
1592
- "strict": true,
1593
- "pluginName": "@saltcorn/cli",
1994
+ "hasDynamicHelp": false,
1995
+ "hiddenAliases": [],
1996
+ "id": "dev:plugin-test",
1594
1997
  "pluginAlias": "@saltcorn/cli",
1998
+ "pluginName": "@saltcorn/cli",
1595
1999
  "pluginType": "core",
2000
+ "strict": true,
2001
+ "usage": "saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip",
2002
+ "enableJsonFlag": false,
2003
+ "help": "Install a plugin, spawn 'npm run test' in the install directory and check the return code.",
2004
+ "isESM": false,
2005
+ "relativePath": [
2006
+ "src",
2007
+ "commands",
2008
+ "dev",
2009
+ "plugin-test.js"
2010
+ ]
2011
+ },
2012
+ "dev:post-release": {
1596
2013
  "aliases": [],
1597
- "hiddenAliases": [],
1598
- "flags": {},
1599
2014
  "args": {
1600
2015
  "task": {
1601
- "name": "task",
1602
2016
  "description": "What to do",
2017
+ "name": "task",
1603
2018
  "options": [
1604
2019
  "docker",
1605
2020
  "vagrant",
@@ -1607,77 +2022,124 @@
1607
2022
  "none"
1608
2023
  ]
1609
2024
  }
1610
- }
1611
- },
1612
- "dev:release-resume": {
1613
- "id": "dev:release-resume",
1614
- "description": "Release a new saltcorn version",
1615
- "strict": true,
1616
- "pluginName": "@saltcorn/cli",
2025
+ },
2026
+ "description": "Post-release tasks: docker and vagrant builds",
2027
+ "flags": {},
2028
+ "hasDynamicHelp": false,
2029
+ "hiddenAliases": [],
2030
+ "id": "dev:post-release",
1617
2031
  "pluginAlias": "@saltcorn/cli",
2032
+ "pluginName": "@saltcorn/cli",
1618
2033
  "pluginType": "core",
2034
+ "strict": true,
2035
+ "enableJsonFlag": false,
2036
+ "isESM": false,
2037
+ "relativePath": [
2038
+ "src",
2039
+ "commands",
2040
+ "dev",
2041
+ "post-release.js"
2042
+ ]
2043
+ },
2044
+ "dev:release-resume": {
1619
2045
  "aliases": [],
1620
- "hiddenAliases": [],
2046
+ "args": {
2047
+ "version": {
2048
+ "description": "New version number",
2049
+ "name": "version",
2050
+ "required": true
2051
+ }
2052
+ },
2053
+ "description": "Release a new saltcorn version",
1621
2054
  "flags": {
1622
2055
  "tag": {
1623
- "name": "tag",
1624
- "type": "option",
1625
2056
  "char": "t",
1626
2057
  "description": "NPM tag",
1627
- "multiple": false
2058
+ "name": "tag",
2059
+ "hasDynamicHelp": false,
2060
+ "multiple": false,
2061
+ "type": "option"
1628
2062
  }
1629
2063
  },
2064
+ "hasDynamicHelp": false,
2065
+ "hiddenAliases": [],
2066
+ "id": "dev:release-resume",
2067
+ "pluginAlias": "@saltcorn/cli",
2068
+ "pluginName": "@saltcorn/cli",
2069
+ "pluginType": "core",
2070
+ "strict": true,
2071
+ "enableJsonFlag": false,
2072
+ "isESM": false,
2073
+ "relativePath": [
2074
+ "src",
2075
+ "commands",
2076
+ "dev",
2077
+ "release-resume.js"
2078
+ ]
2079
+ },
2080
+ "dev:release": {
2081
+ "aliases": [],
1630
2082
  "args": {
1631
2083
  "version": {
1632
- "name": "version",
1633
2084
  "description": "New version number",
2085
+ "name": "version",
1634
2086
  "required": true
1635
2087
  }
1636
- }
1637
- },
1638
- "dev:release": {
1639
- "id": "dev:release",
2088
+ },
1640
2089
  "description": "Release a new saltcorn version",
1641
- "strict": true,
1642
- "pluginName": "@saltcorn/cli",
1643
- "pluginAlias": "@saltcorn/cli",
1644
- "pluginType": "core",
1645
- "aliases": [],
1646
- "hiddenAliases": [],
1647
2090
  "flags": {
1648
2091
  "tag": {
1649
- "name": "tag",
1650
- "type": "option",
1651
2092
  "char": "t",
1652
2093
  "description": "NPM tag",
1653
- "multiple": false
2094
+ "name": "tag",
2095
+ "hasDynamicHelp": false,
2096
+ "multiple": false,
2097
+ "type": "option"
1654
2098
  }
1655
2099
  },
1656
- "args": {
1657
- "version": {
1658
- "name": "version",
1659
- "description": "New version number",
1660
- "required": true
1661
- }
1662
- }
1663
- },
1664
- "dev:test-plugin": {
1665
- "id": "dev:test-plugin",
1666
- "description": "Test a plugin\n...\nExtra documentation goes here\n",
1667
- "strict": true,
1668
- "pluginName": "@saltcorn/cli",
2100
+ "hasDynamicHelp": false,
2101
+ "hiddenAliases": [],
2102
+ "id": "dev:release",
1669
2103
  "pluginAlias": "@saltcorn/cli",
2104
+ "pluginName": "@saltcorn/cli",
1670
2105
  "pluginType": "core",
2106
+ "strict": true,
2107
+ "enableJsonFlag": false,
2108
+ "isESM": false,
2109
+ "relativePath": [
2110
+ "src",
2111
+ "commands",
2112
+ "dev",
2113
+ "release.js"
2114
+ ]
2115
+ },
2116
+ "dev:test-plugin": {
1671
2117
  "aliases": [],
1672
- "hiddenAliases": [],
1673
- "flags": {},
1674
2118
  "args": {
1675
2119
  "path": {
1676
- "name": "path",
1677
2120
  "description": "path to plugin package",
2121
+ "name": "path",
1678
2122
  "required": true
1679
2123
  }
1680
- }
2124
+ },
2125
+ "description": "Test a plugin\n...\nExtra documentation goes here\n",
2126
+ "flags": {},
2127
+ "hasDynamicHelp": false,
2128
+ "hiddenAliases": [],
2129
+ "id": "dev:test-plugin",
2130
+ "pluginAlias": "@saltcorn/cli",
2131
+ "pluginName": "@saltcorn/cli",
2132
+ "pluginType": "core",
2133
+ "strict": true,
2134
+ "enableJsonFlag": false,
2135
+ "isESM": false,
2136
+ "relativePath": [
2137
+ "src",
2138
+ "commands",
2139
+ "dev",
2140
+ "test-plugin.js"
2141
+ ]
1681
2142
  }
1682
- }
2143
+ },
2144
+ "version": "1.1.2-beta.0"
1683
2145
  }