@saltcorn/cli 0.8.8-beta.1 → 0.8.8-beta.3
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 +79 -41
- package/npm-shrinkwrap.json +420 -402
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/src/commands/build-app.js +8 -1
- package/src/commands/list-tenants.js +29 -36
- package/src/commands/list-triggers.js +7 -22
- package/src/commands/run-js.js +79 -0
- package/src/commands/run-sql.js +6 -40
- package/src/commands/sync-upload-data.js +246 -0
- package/src/common.js +20 -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.8-beta.
|
|
23
|
+
@saltcorn/cli/0.8.8-beta.3 linux-x64 node-v18.7.0
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -62,6 +62,7 @@ USAGE
|
|
|
62
62
|
* [`saltcorn restore FILE`](#saltcorn-restore-file)
|
|
63
63
|
* [`saltcorn rm-tenant`](#saltcorn-rm-tenant)
|
|
64
64
|
* [`saltcorn run-benchmark [BASEURL]`](#saltcorn-run-benchmark-baseurl)
|
|
65
|
+
* [`saltcorn run-js`](#saltcorn-run-js)
|
|
65
66
|
* [`saltcorn run-sql`](#saltcorn-run-sql)
|
|
66
67
|
* [`saltcorn run-tests [PACKAGE]`](#saltcorn-run-tests-package)
|
|
67
68
|
* [`saltcorn run-trigger TRIGGER`](#saltcorn-run-trigger-trigger)
|
|
@@ -70,6 +71,7 @@ USAGE
|
|
|
70
71
|
* [`saltcorn set-cfg [KEY] [VALUE]`](#saltcorn-set-cfg-key-value)
|
|
71
72
|
* [`saltcorn setup`](#saltcorn-setup)
|
|
72
73
|
* [`saltcorn setup-benchmark`](#saltcorn-setup-benchmark)
|
|
74
|
+
* [`saltcorn sync-upload-data`](#saltcorn-sync-upload-data)
|
|
73
75
|
* [`saltcorn take-snapshot`](#saltcorn-take-snapshot)
|
|
74
76
|
* [`saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`](#saltcorn-transform-field-expression-field-table-tenant)
|
|
75
77
|
|
|
@@ -85,7 +87,7 @@ OPTIONS
|
|
|
85
87
|
-f, --force force command execution
|
|
86
88
|
```
|
|
87
89
|
|
|
88
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
90
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/add-schema.js)_
|
|
89
91
|
|
|
90
92
|
## `saltcorn backup`
|
|
91
93
|
|
|
@@ -102,7 +104,7 @@ OPTIONS
|
|
|
102
104
|
-z, --zip Backup public in saltcorn zip format
|
|
103
105
|
```
|
|
104
106
|
|
|
105
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
107
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/backup.js)_
|
|
106
108
|
|
|
107
109
|
## `saltcorn build-app`
|
|
108
110
|
|
|
@@ -138,11 +140,14 @@ OPTIONS
|
|
|
138
140
|
|
|
139
141
|
--splashPage=splashPage Name of a page that should be shown while the app is loading.
|
|
140
142
|
|
|
143
|
+
--synchedTables=synchedTables Table names for which the offline should be synchronized with the saltcorn
|
|
144
|
+
server
|
|
145
|
+
|
|
141
146
|
--tenantAppName=tenantAppName Optional name of a tenant application, if set, the app will be build for this
|
|
142
147
|
tenant
|
|
143
148
|
```
|
|
144
149
|
|
|
145
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
150
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/build-app.js)_
|
|
146
151
|
|
|
147
152
|
## `saltcorn build-cordova-builder`
|
|
148
153
|
|
|
@@ -156,7 +161,7 @@ OPTIONS
|
|
|
156
161
|
--buildClean run a clean build with --no-cache
|
|
157
162
|
```
|
|
158
163
|
|
|
159
|
-
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
164
|
+
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/build-cordova-builder.js)_
|
|
160
165
|
|
|
161
166
|
## `saltcorn configuration-check`
|
|
162
167
|
|
|
@@ -170,7 +175,7 @@ OPTIONS
|
|
|
170
175
|
-t, --tenant=tenant tenant
|
|
171
176
|
```
|
|
172
177
|
|
|
173
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
178
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/configuration-check.js)_
|
|
174
179
|
|
|
175
180
|
## `saltcorn configuration-check-backups FILES`
|
|
176
181
|
|
|
@@ -187,7 +192,7 @@ OPTIONS
|
|
|
187
192
|
-d, --destructive destructive
|
|
188
193
|
```
|
|
189
194
|
|
|
190
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
195
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/configuration-check-backups.js)_
|
|
191
196
|
|
|
192
197
|
## `saltcorn create-tenant TENANT`
|
|
193
198
|
|
|
@@ -206,7 +211,7 @@ OPTIONS
|
|
|
206
211
|
--url=url Url of tenant
|
|
207
212
|
```
|
|
208
213
|
|
|
209
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
214
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/create-tenant.js)_
|
|
210
215
|
|
|
211
216
|
## `saltcorn create-user`
|
|
212
217
|
|
|
@@ -224,7 +229,7 @@ OPTIONS
|
|
|
224
229
|
-t, --tenant=tenant tenant
|
|
225
230
|
```
|
|
226
231
|
|
|
227
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
232
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/create-user.js)_
|
|
228
233
|
|
|
229
234
|
## `saltcorn delete-tenants`
|
|
230
235
|
|
|
@@ -235,7 +240,7 @@ USAGE
|
|
|
235
240
|
$ saltcorn delete-tenants
|
|
236
241
|
```
|
|
237
242
|
|
|
238
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
243
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/delete-tenants.js)_
|
|
239
244
|
|
|
240
245
|
## `saltcorn delete-user USER_EMAIL`
|
|
241
246
|
|
|
@@ -256,7 +261,7 @@ DESCRIPTION
|
|
|
256
261
|
Command deletes the user specified by USER_EMAIL.
|
|
257
262
|
```
|
|
258
263
|
|
|
259
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
264
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/delete-user.js)_
|
|
260
265
|
|
|
261
266
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
262
267
|
|
|
@@ -275,7 +280,7 @@ OPTIONS
|
|
|
275
280
|
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
276
281
|
```
|
|
277
282
|
|
|
278
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
283
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/dev/localize-plugin.js)_
|
|
279
284
|
|
|
280
285
|
## `saltcorn make-migration`
|
|
281
286
|
|
|
@@ -291,7 +296,7 @@ DESCRIPTION
|
|
|
291
296
|
unless you are a developer.
|
|
292
297
|
```
|
|
293
298
|
|
|
294
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
299
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/dev/make-migration.js)_
|
|
295
300
|
|
|
296
301
|
## `saltcorn dev:post-release [TASK]`
|
|
297
302
|
|
|
@@ -305,7 +310,7 @@ ARGUMENTS
|
|
|
305
310
|
TASK (docker|vagrant|all|none) What to do
|
|
306
311
|
```
|
|
307
312
|
|
|
308
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
313
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/dev/post-release.js)_
|
|
309
314
|
|
|
310
315
|
## `saltcorn dev:release VERSION`
|
|
311
316
|
|
|
@@ -319,7 +324,7 @@ ARGUMENTS
|
|
|
319
324
|
VERSION New version number
|
|
320
325
|
```
|
|
321
326
|
|
|
322
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
327
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/dev/release.js)_
|
|
323
328
|
|
|
324
329
|
## `saltcorn dev:test-plugin PATH`
|
|
325
330
|
|
|
@@ -337,7 +342,7 @@ DESCRIPTION
|
|
|
337
342
|
Extra documentation goes here
|
|
338
343
|
```
|
|
339
344
|
|
|
340
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
345
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/dev/test-plugin.js)_
|
|
341
346
|
|
|
342
347
|
## `saltcorn fixtures`
|
|
343
348
|
|
|
@@ -356,7 +361,7 @@ DESCRIPTION
|
|
|
356
361
|
This manual step it is never required for users and rarely required for developers
|
|
357
362
|
```
|
|
358
363
|
|
|
359
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
364
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/fixtures.js)_
|
|
360
365
|
|
|
361
366
|
## `saltcorn get-cfg [KEY]`
|
|
362
367
|
|
|
@@ -374,7 +379,7 @@ OPTIONS
|
|
|
374
379
|
-t, --tenant=tenant tenant
|
|
375
380
|
```
|
|
376
381
|
|
|
377
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
382
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/get-cfg.js)_
|
|
378
383
|
|
|
379
384
|
## `saltcorn help [COMMAND]`
|
|
380
385
|
|
|
@@ -412,7 +417,7 @@ ALIASES
|
|
|
412
417
|
$ saltcorn paths
|
|
413
418
|
```
|
|
414
419
|
|
|
415
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
420
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/info.js)_
|
|
416
421
|
|
|
417
422
|
## `saltcorn inspect TYPE [NAME]`
|
|
418
423
|
|
|
@@ -430,7 +435,7 @@ OPTIONS
|
|
|
430
435
|
-t, --tenant=tenant tenant
|
|
431
436
|
```
|
|
432
437
|
|
|
433
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
438
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/inspect.js)_
|
|
434
439
|
|
|
435
440
|
## `saltcorn install-pack`
|
|
436
441
|
|
|
@@ -446,7 +451,7 @@ OPTIONS
|
|
|
446
451
|
-t, --tenant=tenant tenant
|
|
447
452
|
```
|
|
448
453
|
|
|
449
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
454
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/install-pack.js)_
|
|
450
455
|
|
|
451
456
|
## `saltcorn install-plugin`
|
|
452
457
|
|
|
@@ -462,7 +467,7 @@ OPTIONS
|
|
|
462
467
|
-t, --tenant=tenant tenant
|
|
463
468
|
```
|
|
464
469
|
|
|
465
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
470
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/install-plugin.js)_
|
|
466
471
|
|
|
467
472
|
## `saltcorn list-tenants`
|
|
468
473
|
|
|
@@ -477,7 +482,7 @@ OPTIONS
|
|
|
477
482
|
-v, --verbose verbose output
|
|
478
483
|
```
|
|
479
484
|
|
|
480
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
485
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/list-tenants.js)_
|
|
481
486
|
|
|
482
487
|
## `saltcorn list-triggers`
|
|
483
488
|
|
|
@@ -492,7 +497,7 @@ OPTIONS
|
|
|
492
497
|
-v, --verbose verbose output
|
|
493
498
|
```
|
|
494
499
|
|
|
495
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
500
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/list-triggers.js)_
|
|
496
501
|
|
|
497
502
|
## `saltcorn saltcorn migrate`
|
|
498
503
|
|
|
@@ -514,7 +519,7 @@ DESCRIPTION
|
|
|
514
519
|
servers and need to control when the migrations are run.
|
|
515
520
|
```
|
|
516
521
|
|
|
517
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
522
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/migrate.js)_
|
|
518
523
|
|
|
519
524
|
## `saltcorn modify-user USER_EMAIL`
|
|
520
525
|
|
|
@@ -543,7 +548,7 @@ DESCRIPTION
|
|
|
543
548
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
544
549
|
```
|
|
545
550
|
|
|
546
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
551
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/modify-user.js)_
|
|
547
552
|
|
|
548
553
|
## `saltcorn plugins`
|
|
549
554
|
|
|
@@ -570,7 +575,7 @@ EXAMPLES
|
|
|
570
575
|
plugins -u -f - force plugin update
|
|
571
576
|
```
|
|
572
577
|
|
|
573
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
578
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/plugins.js)_
|
|
574
579
|
|
|
575
580
|
## `saltcorn reset-schema`
|
|
576
581
|
|
|
@@ -589,7 +594,7 @@ DESCRIPTION
|
|
|
589
594
|
This will delete all existing information
|
|
590
595
|
```
|
|
591
596
|
|
|
592
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
597
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/reset-schema.js)_
|
|
593
598
|
|
|
594
599
|
## `saltcorn restore FILE`
|
|
595
600
|
|
|
@@ -606,7 +611,7 @@ OPTIONS
|
|
|
606
611
|
-t, --tenant=tenant tenant
|
|
607
612
|
```
|
|
608
613
|
|
|
609
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
614
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/restore.js)_
|
|
610
615
|
|
|
611
616
|
## `saltcorn rm-tenant`
|
|
612
617
|
|
|
@@ -625,7 +630,7 @@ DESCRIPTION
|
|
|
625
630
|
It recommended to make backup of tenant before perform this command.
|
|
626
631
|
```
|
|
627
632
|
|
|
628
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
633
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/rm-tenant.js)_
|
|
629
634
|
|
|
630
635
|
## `saltcorn run-benchmark [BASEURL]`
|
|
631
636
|
|
|
@@ -644,7 +649,23 @@ OPTIONS
|
|
|
644
649
|
-t, --token=token API Token for reporting results
|
|
645
650
|
```
|
|
646
651
|
|
|
647
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
652
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/run-benchmark.js)_
|
|
653
|
+
|
|
654
|
+
## `saltcorn run-js`
|
|
655
|
+
|
|
656
|
+
Run javascript code
|
|
657
|
+
|
|
658
|
+
```
|
|
659
|
+
USAGE
|
|
660
|
+
$ saltcorn run-js
|
|
661
|
+
|
|
662
|
+
OPTIONS
|
|
663
|
+
-c, --code=code js code
|
|
664
|
+
-f, --file=file path to script file
|
|
665
|
+
-t, --tenant=tenant tenant name
|
|
666
|
+
```
|
|
667
|
+
|
|
668
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/run-js.js)_
|
|
648
669
|
|
|
649
670
|
## `saltcorn run-sql`
|
|
650
671
|
|
|
@@ -660,7 +681,7 @@ OPTIONS
|
|
|
660
681
|
-t, --tenant=tenant tenant name
|
|
661
682
|
```
|
|
662
683
|
|
|
663
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
684
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/run-sql.js)_
|
|
664
685
|
|
|
665
686
|
## `saltcorn run-tests [PACKAGE]`
|
|
666
687
|
|
|
@@ -684,7 +705,7 @@ OPTIONS
|
|
|
684
705
|
--watchAll Watch files for changes and rerun all tests.
|
|
685
706
|
```
|
|
686
707
|
|
|
687
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
708
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/run-tests.js)_
|
|
688
709
|
|
|
689
710
|
## `saltcorn run-trigger TRIGGER`
|
|
690
711
|
|
|
@@ -701,7 +722,7 @@ OPTIONS
|
|
|
701
722
|
-t, --tenant=tenant tenant
|
|
702
723
|
```
|
|
703
724
|
|
|
704
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
725
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/run-trigger.js)_
|
|
705
726
|
|
|
706
727
|
## `saltcorn scheduler`
|
|
707
728
|
|
|
@@ -715,7 +736,7 @@ OPTIONS
|
|
|
715
736
|
-v, --verbose Verbose
|
|
716
737
|
```
|
|
717
738
|
|
|
718
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
739
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/scheduler.js)_
|
|
719
740
|
|
|
720
741
|
## `saltcorn serve`
|
|
721
742
|
|
|
@@ -736,7 +757,7 @@ OPTIONS
|
|
|
736
757
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
737
758
|
```
|
|
738
759
|
|
|
739
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
760
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/serve.js)_
|
|
740
761
|
|
|
741
762
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
742
763
|
|
|
@@ -757,7 +778,7 @@ OPTIONS
|
|
|
757
778
|
-t, --tenant=tenant tenant
|
|
758
779
|
```
|
|
759
780
|
|
|
760
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
781
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/set-cfg.js)_
|
|
761
782
|
|
|
762
783
|
## `saltcorn setup`
|
|
763
784
|
|
|
@@ -776,7 +797,7 @@ DESCRIPTION
|
|
|
776
797
|
configuration file
|
|
777
798
|
```
|
|
778
799
|
|
|
779
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
800
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/setup.js)_
|
|
780
801
|
|
|
781
802
|
## `saltcorn setup-benchmark`
|
|
782
803
|
|
|
@@ -790,7 +811,24 @@ OPTIONS
|
|
|
790
811
|
-t, --tenant=tenant tenant
|
|
791
812
|
```
|
|
792
813
|
|
|
793
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
814
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/setup-benchmark.js)_
|
|
815
|
+
|
|
816
|
+
## `saltcorn sync-upload-data`
|
|
817
|
+
|
|
818
|
+
Runs a sync for data supplied by the mobile app
|
|
819
|
+
|
|
820
|
+
```
|
|
821
|
+
USAGE
|
|
822
|
+
$ saltcorn sync-upload-data
|
|
823
|
+
|
|
824
|
+
OPTIONS
|
|
825
|
+
--directory=directory directory name for input output data
|
|
826
|
+
--syncTimestamp=syncTimestamp new timestamp for the sync_info rows
|
|
827
|
+
--tenantAppName=tenantAppName Optional name of a tenant application
|
|
828
|
+
--userEmail=userEmail email of the user running the sync
|
|
829
|
+
```
|
|
830
|
+
|
|
831
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/sync-upload-data.js)_
|
|
794
832
|
|
|
795
833
|
## `saltcorn take-snapshot`
|
|
796
834
|
|
|
@@ -805,7 +843,7 @@ OPTIONS
|
|
|
805
843
|
-t, --tenant=tenant tenant
|
|
806
844
|
```
|
|
807
845
|
|
|
808
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
846
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/take-snapshot.js)_
|
|
809
847
|
|
|
810
848
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
811
849
|
|
|
@@ -822,5 +860,5 @@ ARGUMENTS
|
|
|
822
860
|
TENANT tenant name
|
|
823
861
|
```
|
|
824
862
|
|
|
825
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.
|
|
863
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.3/src/commands/transform-field.js)_
|
|
826
864
|
<!-- commandsstop -->
|