@saltcorn/cli 0.8.6-beta.9 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +132 -106
- package/npm-shrinkwrap.json +699 -598
- package/oclif.manifest.json +1 -1
- package/package.json +12 -7
- package/src/commands/build-app.js +25 -5
- package/src/commands/build-cordova-builder.js +20 -15
- package/src/commands/{localize-plugin.js → dev/localize-plugin.js} +1 -1
- package/src/commands/dev/post-release.js +154 -0
- package/src/commands/{release.js → dev/release.js} +3 -3
- package/src/commands/{test-plugin.js → dev/test-plugin.js} +3 -3
- package/src/commands/setup-benchmark.js +2 -2
- package/src/commands/transform-field.js +2 -2
- /package/src/commands/{make-migration.js → dev/make-migration.js} +0 -0
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @saltcorn/cli
|
|
|
20
20
|
$ saltcorn COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ saltcorn (-v|--version|version)
|
|
23
|
-
@saltcorn/cli/0.8.6
|
|
23
|
+
@saltcorn/cli/0.8.6 linux-x64 node-v18.7.0
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -41,6 +41,11 @@ USAGE
|
|
|
41
41
|
* [`saltcorn create-user`](#saltcorn-create-user)
|
|
42
42
|
* [`saltcorn delete-tenants`](#saltcorn-delete-tenants)
|
|
43
43
|
* [`saltcorn delete-user USER_EMAIL`](#saltcorn-delete-user-user_email)
|
|
44
|
+
* [`saltcorn dev:localize-plugin PLUGIN [PATH]`](#saltcorn-devlocalize-plugin-plugin-path)
|
|
45
|
+
* [`saltcorn make-migration`](#saltcorn-make-migration)
|
|
46
|
+
* [`saltcorn dev:post-release [TASK]`](#saltcorn-devpost-release-task)
|
|
47
|
+
* [`saltcorn dev:release VERSION`](#saltcorn-devrelease-version)
|
|
48
|
+
* [`saltcorn dev:test-plugin PATH`](#saltcorn-devtest-plugin-path)
|
|
44
49
|
* [`saltcorn fixtures`](#saltcorn-fixtures)
|
|
45
50
|
* [`saltcorn get-cfg [KEY]`](#saltcorn-get-cfg-key)
|
|
46
51
|
* [`saltcorn help [COMMAND]`](#saltcorn-help-command)
|
|
@@ -49,12 +54,9 @@ USAGE
|
|
|
49
54
|
* [`saltcorn install-pack`](#saltcorn-install-pack)
|
|
50
55
|
* [`saltcorn install-plugin`](#saltcorn-install-plugin)
|
|
51
56
|
* [`saltcorn list-tenants`](#saltcorn-list-tenants)
|
|
52
|
-
* [`saltcorn localize-plugin PLUGIN [PATH]`](#saltcorn-localize-plugin-plugin-path)
|
|
53
|
-
* [`saltcorn make-migration`](#saltcorn-make-migration)
|
|
54
57
|
* [`saltcorn saltcorn migrate`](#saltcorn-saltcorn-migrate)
|
|
55
58
|
* [`saltcorn modify-user USER_EMAIL`](#saltcorn-modify-user-user_email)
|
|
56
59
|
* [`saltcorn plugins`](#saltcorn-plugins)
|
|
57
|
-
* [`saltcorn release VERSION`](#saltcorn-release-version)
|
|
58
60
|
* [`saltcorn reset-schema`](#saltcorn-reset-schema)
|
|
59
61
|
* [`saltcorn restore FILE`](#saltcorn-restore-file)
|
|
60
62
|
* [`saltcorn rm-tenant`](#saltcorn-rm-tenant)
|
|
@@ -67,7 +69,6 @@ USAGE
|
|
|
67
69
|
* [`saltcorn setup`](#saltcorn-setup)
|
|
68
70
|
* [`saltcorn setup-benchmark`](#saltcorn-setup-benchmark)
|
|
69
71
|
* [`saltcorn take-snapshot`](#saltcorn-take-snapshot)
|
|
70
|
-
* [`saltcorn test-plugin PATH`](#saltcorn-test-plugin-path)
|
|
71
72
|
* [`saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`](#saltcorn-transform-field-expression-field-table-tenant)
|
|
72
73
|
|
|
73
74
|
## `saltcorn add-schema`
|
|
@@ -82,7 +83,7 @@ OPTIONS
|
|
|
82
83
|
-f, --force force command execution
|
|
83
84
|
```
|
|
84
85
|
|
|
85
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
86
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/add-schema.js)_
|
|
86
87
|
|
|
87
88
|
## `saltcorn backup`
|
|
88
89
|
|
|
@@ -98,7 +99,7 @@ OPTIONS
|
|
|
98
99
|
-z, --zip zip format
|
|
99
100
|
```
|
|
100
101
|
|
|
101
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
102
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/backup.js)_
|
|
102
103
|
|
|
103
104
|
## `saltcorn build-app`
|
|
104
105
|
|
|
@@ -109,7 +110,6 @@ USAGE
|
|
|
109
110
|
$ saltcorn build-app
|
|
110
111
|
|
|
111
112
|
OPTIONS
|
|
112
|
-
-a, --appFileName=appFileName If set, the copied app will get this name
|
|
113
113
|
-b, --buildDirectory=buildDirectory A directory where the app should be build
|
|
114
114
|
-c, --copyAppDirectory=copyAppDirectory If set, the app file will be copied here, please set 'user email', too
|
|
115
115
|
-d, --useDocker Use a docker container to build the app.
|
|
@@ -123,14 +123,23 @@ OPTIONS
|
|
|
123
123
|
--allowOfflineMode Switch to offline mode when there is no internet, sync the data when a
|
|
124
124
|
connection is available again.
|
|
125
125
|
|
|
126
|
+
--appIcon=appIcon A png that will be used as launcher icon. The default is a png of a saltcorn
|
|
127
|
+
symbol.
|
|
128
|
+
|
|
129
|
+
--appName=appName Name of the mobile app (default SaltcornMobileApp)
|
|
130
|
+
|
|
131
|
+
--appVersion=appVersion Version of the mobile app (default 1.0.0)
|
|
132
|
+
|
|
126
133
|
--buildForEmulator build without '--device', generates no .ipa file so that iOS apps can be
|
|
127
134
|
build without developer accounts
|
|
128
135
|
|
|
136
|
+
--splashPage=splashPage Name of a page that should be shown while the app is loading.
|
|
137
|
+
|
|
129
138
|
--tenantAppName=tenantAppName Optional name of a tenant application, if set, the app will be build for this
|
|
130
139
|
tenant
|
|
131
140
|
```
|
|
132
141
|
|
|
133
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
142
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/build-app.js)_
|
|
134
143
|
|
|
135
144
|
## `saltcorn build-cordova-builder`
|
|
136
145
|
|
|
@@ -139,9 +148,12 @@ Build the 'saltcorn/cordova-builder' docker image
|
|
|
139
148
|
```
|
|
140
149
|
USAGE
|
|
141
150
|
$ saltcorn build-cordova-builder
|
|
151
|
+
|
|
152
|
+
OPTIONS
|
|
153
|
+
--buildClean run a clean build with --no-cache
|
|
142
154
|
```
|
|
143
155
|
|
|
144
|
-
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
156
|
+
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/build-cordova-builder.js)_
|
|
145
157
|
|
|
146
158
|
## `saltcorn configuration-check`
|
|
147
159
|
|
|
@@ -155,7 +167,7 @@ OPTIONS
|
|
|
155
167
|
-t, --tenant=tenant tenant
|
|
156
168
|
```
|
|
157
169
|
|
|
158
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
170
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/configuration-check.js)_
|
|
159
171
|
|
|
160
172
|
## `saltcorn configuration-check-backups FILES`
|
|
161
173
|
|
|
@@ -172,7 +184,7 @@ OPTIONS
|
|
|
172
184
|
-d, --destructive destructive
|
|
173
185
|
```
|
|
174
186
|
|
|
175
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
187
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/configuration-check-backups.js)_
|
|
176
188
|
|
|
177
189
|
## `saltcorn create-tenant TENANT`
|
|
178
190
|
|
|
@@ -191,7 +203,7 @@ OPTIONS
|
|
|
191
203
|
--url=url Url of tenant
|
|
192
204
|
```
|
|
193
205
|
|
|
194
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
206
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/create-tenant.js)_
|
|
195
207
|
|
|
196
208
|
## `saltcorn create-user`
|
|
197
209
|
|
|
@@ -209,7 +221,7 @@ OPTIONS
|
|
|
209
221
|
-t, --tenant=tenant tenant
|
|
210
222
|
```
|
|
211
223
|
|
|
212
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
224
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/create-user.js)_
|
|
213
225
|
|
|
214
226
|
## `saltcorn delete-tenants`
|
|
215
227
|
|
|
@@ -220,7 +232,7 @@ USAGE
|
|
|
220
232
|
$ saltcorn delete-tenants
|
|
221
233
|
```
|
|
222
234
|
|
|
223
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
235
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/delete-tenants.js)_
|
|
224
236
|
|
|
225
237
|
## `saltcorn delete-user USER_EMAIL`
|
|
226
238
|
|
|
@@ -241,7 +253,88 @@ DESCRIPTION
|
|
|
241
253
|
Command deletes the user specified by USER_EMAIL.
|
|
242
254
|
```
|
|
243
255
|
|
|
244
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
256
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/delete-user.js)_
|
|
257
|
+
|
|
258
|
+
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
259
|
+
|
|
260
|
+
Convert plugin to local plugin
|
|
261
|
+
|
|
262
|
+
```
|
|
263
|
+
USAGE
|
|
264
|
+
$ saltcorn dev:localize-plugin PLUGIN [PATH]
|
|
265
|
+
|
|
266
|
+
ARGUMENTS
|
|
267
|
+
PLUGIN Current plugin name
|
|
268
|
+
PATH Absolute path to local plugin
|
|
269
|
+
|
|
270
|
+
OPTIONS
|
|
271
|
+
-t, --tenant=tenant tenant
|
|
272
|
+
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/dev/localize-plugin.js)_
|
|
276
|
+
|
|
277
|
+
## `saltcorn make-migration`
|
|
278
|
+
|
|
279
|
+
Create a new blank Database structure migration file.
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
USAGE
|
|
283
|
+
$ saltcorn make-migration
|
|
284
|
+
|
|
285
|
+
DESCRIPTION
|
|
286
|
+
These migrations update database structure.
|
|
287
|
+
You should not normally need to run this
|
|
288
|
+
unless you are a developer.
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/dev/make-migration.js)_
|
|
292
|
+
|
|
293
|
+
## `saltcorn dev:post-release [TASK]`
|
|
294
|
+
|
|
295
|
+
Post-release tasks: docker and vagrant builds
|
|
296
|
+
|
|
297
|
+
```
|
|
298
|
+
USAGE
|
|
299
|
+
$ saltcorn dev:post-release [TASK]
|
|
300
|
+
|
|
301
|
+
ARGUMENTS
|
|
302
|
+
TASK (docker|vagrant|all|none) What to do
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/dev/post-release.js)_
|
|
306
|
+
|
|
307
|
+
## `saltcorn dev:release VERSION`
|
|
308
|
+
|
|
309
|
+
Release a new saltcorn version
|
|
310
|
+
|
|
311
|
+
```
|
|
312
|
+
USAGE
|
|
313
|
+
$ saltcorn dev:release VERSION
|
|
314
|
+
|
|
315
|
+
ARGUMENTS
|
|
316
|
+
VERSION New version number
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/dev/release.js)_
|
|
320
|
+
|
|
321
|
+
## `saltcorn dev:test-plugin PATH`
|
|
322
|
+
|
|
323
|
+
Test a plugin
|
|
324
|
+
|
|
325
|
+
```
|
|
326
|
+
USAGE
|
|
327
|
+
$ saltcorn dev:test-plugin PATH
|
|
328
|
+
|
|
329
|
+
ARGUMENTS
|
|
330
|
+
PATH path to plugin package
|
|
331
|
+
|
|
332
|
+
DESCRIPTION
|
|
333
|
+
...
|
|
334
|
+
Extra documentation goes here
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/dev/test-plugin.js)_
|
|
245
338
|
|
|
246
339
|
## `saltcorn fixtures`
|
|
247
340
|
|
|
@@ -260,7 +353,7 @@ DESCRIPTION
|
|
|
260
353
|
This manual step it is never required for users and rarely required for developers
|
|
261
354
|
```
|
|
262
355
|
|
|
263
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
356
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/fixtures.js)_
|
|
264
357
|
|
|
265
358
|
## `saltcorn get-cfg [KEY]`
|
|
266
359
|
|
|
@@ -278,7 +371,7 @@ OPTIONS
|
|
|
278
371
|
-t, --tenant=tenant tenant
|
|
279
372
|
```
|
|
280
373
|
|
|
281
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
374
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/get-cfg.js)_
|
|
282
375
|
|
|
283
376
|
## `saltcorn help [COMMAND]`
|
|
284
377
|
|
|
@@ -316,7 +409,7 @@ ALIASES
|
|
|
316
409
|
$ saltcorn paths
|
|
317
410
|
```
|
|
318
411
|
|
|
319
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
412
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/info.js)_
|
|
320
413
|
|
|
321
414
|
## `saltcorn inspect TYPE [NAME]`
|
|
322
415
|
|
|
@@ -334,7 +427,7 @@ OPTIONS
|
|
|
334
427
|
-t, --tenant=tenant tenant
|
|
335
428
|
```
|
|
336
429
|
|
|
337
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
430
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/inspect.js)_
|
|
338
431
|
|
|
339
432
|
## `saltcorn install-pack`
|
|
340
433
|
|
|
@@ -350,7 +443,7 @@ OPTIONS
|
|
|
350
443
|
-t, --tenant=tenant tenant
|
|
351
444
|
```
|
|
352
445
|
|
|
353
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
446
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/install-pack.js)_
|
|
354
447
|
|
|
355
448
|
## `saltcorn install-plugin`
|
|
356
449
|
|
|
@@ -366,7 +459,7 @@ OPTIONS
|
|
|
366
459
|
-t, --tenant=tenant tenant
|
|
367
460
|
```
|
|
368
461
|
|
|
369
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
462
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/install-plugin.js)_
|
|
370
463
|
|
|
371
464
|
## `saltcorn list-tenants`
|
|
372
465
|
|
|
@@ -377,42 +470,7 @@ USAGE
|
|
|
377
470
|
$ saltcorn list-tenants
|
|
378
471
|
```
|
|
379
472
|
|
|
380
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
381
|
-
|
|
382
|
-
## `saltcorn localize-plugin PLUGIN [PATH]`
|
|
383
|
-
|
|
384
|
-
Convert plugin to local plugin
|
|
385
|
-
|
|
386
|
-
```
|
|
387
|
-
USAGE
|
|
388
|
-
$ saltcorn localize-plugin PLUGIN [PATH]
|
|
389
|
-
|
|
390
|
-
ARGUMENTS
|
|
391
|
-
PLUGIN Current plugin name
|
|
392
|
-
PATH Absolute path to local plugin
|
|
393
|
-
|
|
394
|
-
OPTIONS
|
|
395
|
-
-t, --tenant=tenant tenant
|
|
396
|
-
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
397
|
-
```
|
|
398
|
-
|
|
399
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.9/src/commands/localize-plugin.js)_
|
|
400
|
-
|
|
401
|
-
## `saltcorn make-migration`
|
|
402
|
-
|
|
403
|
-
Create a new blank Database structure migration file.
|
|
404
|
-
|
|
405
|
-
```
|
|
406
|
-
USAGE
|
|
407
|
-
$ saltcorn make-migration
|
|
408
|
-
|
|
409
|
-
DESCRIPTION
|
|
410
|
-
These migrations update database structure.
|
|
411
|
-
You should not normally need to run this
|
|
412
|
-
unless you are a developer.
|
|
413
|
-
```
|
|
414
|
-
|
|
415
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.9/src/commands/make-migration.js)_
|
|
473
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/list-tenants.js)_
|
|
416
474
|
|
|
417
475
|
## `saltcorn saltcorn migrate`
|
|
418
476
|
|
|
@@ -434,7 +492,7 @@ DESCRIPTION
|
|
|
434
492
|
servers and need to control when the migrations are run.
|
|
435
493
|
```
|
|
436
494
|
|
|
437
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
495
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/migrate.js)_
|
|
438
496
|
|
|
439
497
|
## `saltcorn modify-user USER_EMAIL`
|
|
440
498
|
|
|
@@ -463,7 +521,7 @@ DESCRIPTION
|
|
|
463
521
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
464
522
|
```
|
|
465
523
|
|
|
466
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
524
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/modify-user.js)_
|
|
467
525
|
|
|
468
526
|
## `saltcorn plugins`
|
|
469
527
|
|
|
@@ -490,21 +548,7 @@ EXAMPLES
|
|
|
490
548
|
plugins -u -f - force plugin update
|
|
491
549
|
```
|
|
492
550
|
|
|
493
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
494
|
-
|
|
495
|
-
## `saltcorn release VERSION`
|
|
496
|
-
|
|
497
|
-
Release a new saltcorn version
|
|
498
|
-
|
|
499
|
-
```
|
|
500
|
-
USAGE
|
|
501
|
-
$ saltcorn release VERSION
|
|
502
|
-
|
|
503
|
-
ARGUMENTS
|
|
504
|
-
VERSION New version number
|
|
505
|
-
```
|
|
506
|
-
|
|
507
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.9/src/commands/release.js)_
|
|
551
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/plugins.js)_
|
|
508
552
|
|
|
509
553
|
## `saltcorn reset-schema`
|
|
510
554
|
|
|
@@ -523,7 +567,7 @@ DESCRIPTION
|
|
|
523
567
|
This will delete all existing information
|
|
524
568
|
```
|
|
525
569
|
|
|
526
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
570
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/reset-schema.js)_
|
|
527
571
|
|
|
528
572
|
## `saltcorn restore FILE`
|
|
529
573
|
|
|
@@ -540,7 +584,7 @@ OPTIONS
|
|
|
540
584
|
-t, --tenant=tenant tenant
|
|
541
585
|
```
|
|
542
586
|
|
|
543
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
587
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/restore.js)_
|
|
544
588
|
|
|
545
589
|
## `saltcorn rm-tenant`
|
|
546
590
|
|
|
@@ -559,7 +603,7 @@ DESCRIPTION
|
|
|
559
603
|
It recommended to make backup of tenant before perform this command.
|
|
560
604
|
```
|
|
561
605
|
|
|
562
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
606
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/rm-tenant.js)_
|
|
563
607
|
|
|
564
608
|
## `saltcorn run-benchmark [BASEURL]`
|
|
565
609
|
|
|
@@ -578,7 +622,7 @@ OPTIONS
|
|
|
578
622
|
-t, --token=token API Token for reporting results
|
|
579
623
|
```
|
|
580
624
|
|
|
581
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
625
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/run-benchmark.js)_
|
|
582
626
|
|
|
583
627
|
## `saltcorn run-tests [PACKAGE]`
|
|
584
628
|
|
|
@@ -602,7 +646,7 @@ OPTIONS
|
|
|
602
646
|
--watchAll Watch files for changes and rerun all tests.
|
|
603
647
|
```
|
|
604
648
|
|
|
605
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
649
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/run-tests.js)_
|
|
606
650
|
|
|
607
651
|
## `saltcorn run-trigger TRIGGER`
|
|
608
652
|
|
|
@@ -619,7 +663,7 @@ OPTIONS
|
|
|
619
663
|
-t, --tenant=tenant tenant
|
|
620
664
|
```
|
|
621
665
|
|
|
622
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
666
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/run-trigger.js)_
|
|
623
667
|
|
|
624
668
|
## `saltcorn scheduler`
|
|
625
669
|
|
|
@@ -633,7 +677,7 @@ OPTIONS
|
|
|
633
677
|
-v, --verbose Verbose
|
|
634
678
|
```
|
|
635
679
|
|
|
636
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
680
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/scheduler.js)_
|
|
637
681
|
|
|
638
682
|
## `saltcorn serve`
|
|
639
683
|
|
|
@@ -654,7 +698,7 @@ OPTIONS
|
|
|
654
698
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
655
699
|
```
|
|
656
700
|
|
|
657
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
701
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/serve.js)_
|
|
658
702
|
|
|
659
703
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
660
704
|
|
|
@@ -675,7 +719,7 @@ OPTIONS
|
|
|
675
719
|
-t, --tenant=tenant tenant
|
|
676
720
|
```
|
|
677
721
|
|
|
678
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
722
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/set-cfg.js)_
|
|
679
723
|
|
|
680
724
|
## `saltcorn setup`
|
|
681
725
|
|
|
@@ -694,7 +738,7 @@ DESCRIPTION
|
|
|
694
738
|
configuration file
|
|
695
739
|
```
|
|
696
740
|
|
|
697
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
741
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/setup.js)_
|
|
698
742
|
|
|
699
743
|
## `saltcorn setup-benchmark`
|
|
700
744
|
|
|
@@ -708,7 +752,7 @@ OPTIONS
|
|
|
708
752
|
-t, --tenant=tenant tenant
|
|
709
753
|
```
|
|
710
754
|
|
|
711
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
755
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/setup-benchmark.js)_
|
|
712
756
|
|
|
713
757
|
## `saltcorn take-snapshot`
|
|
714
758
|
|
|
@@ -723,25 +767,7 @@ OPTIONS
|
|
|
723
767
|
-t, --tenant=tenant tenant
|
|
724
768
|
```
|
|
725
769
|
|
|
726
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
727
|
-
|
|
728
|
-
## `saltcorn test-plugin PATH`
|
|
729
|
-
|
|
730
|
-
Test a plugin
|
|
731
|
-
|
|
732
|
-
```
|
|
733
|
-
USAGE
|
|
734
|
-
$ saltcorn test-plugin PATH
|
|
735
|
-
|
|
736
|
-
ARGUMENTS
|
|
737
|
-
PATH path to plugin package
|
|
738
|
-
|
|
739
|
-
DESCRIPTION
|
|
740
|
-
...
|
|
741
|
-
Extra documentation goes here
|
|
742
|
-
```
|
|
743
|
-
|
|
744
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.9/src/commands/test-plugin.js)_
|
|
770
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/take-snapshot.js)_
|
|
745
771
|
|
|
746
772
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
747
773
|
|
|
@@ -758,5 +784,5 @@ ARGUMENTS
|
|
|
758
784
|
TENANT tenant name
|
|
759
785
|
```
|
|
760
786
|
|
|
761
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6
|
|
787
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6/src/commands/transform-field.js)_
|
|
762
788
|
<!-- commandsstop -->
|