@saltcorn/cli 0.8.8-beta.0 → 0.8.8-beta.2
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 +114 -39
- package/npm-shrinkwrap.json +519 -424
- 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 +59 -15
- package/src/commands/list-triggers.js +71 -0
- package/src/commands/run-js.js +79 -0
- package/src/commands/run-sql.js +93 -0
- package/src/commands/run-trigger.js +9 -4
- package/src/commands/sync-upload-data.js +246 -0
- package/src/common.js +20 -0
- package/src/index.js +2 -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.2 linux-x64 node-v18.7.0
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -54,6 +54,7 @@ USAGE
|
|
|
54
54
|
* [`saltcorn install-pack`](#saltcorn-install-pack)
|
|
55
55
|
* [`saltcorn install-plugin`](#saltcorn-install-plugin)
|
|
56
56
|
* [`saltcorn list-tenants`](#saltcorn-list-tenants)
|
|
57
|
+
* [`saltcorn list-triggers`](#saltcorn-list-triggers)
|
|
57
58
|
* [`saltcorn saltcorn migrate`](#saltcorn-saltcorn-migrate)
|
|
58
59
|
* [`saltcorn modify-user USER_EMAIL`](#saltcorn-modify-user-user_email)
|
|
59
60
|
* [`saltcorn plugins`](#saltcorn-plugins)
|
|
@@ -61,6 +62,8 @@ USAGE
|
|
|
61
62
|
* [`saltcorn restore FILE`](#saltcorn-restore-file)
|
|
62
63
|
* [`saltcorn rm-tenant`](#saltcorn-rm-tenant)
|
|
63
64
|
* [`saltcorn run-benchmark [BASEURL]`](#saltcorn-run-benchmark-baseurl)
|
|
65
|
+
* [`saltcorn run-js`](#saltcorn-run-js)
|
|
66
|
+
* [`saltcorn run-sql`](#saltcorn-run-sql)
|
|
64
67
|
* [`saltcorn run-tests [PACKAGE]`](#saltcorn-run-tests-package)
|
|
65
68
|
* [`saltcorn run-trigger TRIGGER`](#saltcorn-run-trigger-trigger)
|
|
66
69
|
* [`saltcorn scheduler`](#saltcorn-scheduler)
|
|
@@ -68,6 +71,7 @@ USAGE
|
|
|
68
71
|
* [`saltcorn set-cfg [KEY] [VALUE]`](#saltcorn-set-cfg-key-value)
|
|
69
72
|
* [`saltcorn setup`](#saltcorn-setup)
|
|
70
73
|
* [`saltcorn setup-benchmark`](#saltcorn-setup-benchmark)
|
|
74
|
+
* [`saltcorn sync-upload-data`](#saltcorn-sync-upload-data)
|
|
71
75
|
* [`saltcorn take-snapshot`](#saltcorn-take-snapshot)
|
|
72
76
|
* [`saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`](#saltcorn-transform-field-expression-field-table-tenant)
|
|
73
77
|
|
|
@@ -83,7 +87,7 @@ OPTIONS
|
|
|
83
87
|
-f, --force force command execution
|
|
84
88
|
```
|
|
85
89
|
|
|
86
|
-
_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.2/src/commands/add-schema.js)_
|
|
87
91
|
|
|
88
92
|
## `saltcorn backup`
|
|
89
93
|
|
|
@@ -100,7 +104,7 @@ OPTIONS
|
|
|
100
104
|
-z, --zip Backup public in saltcorn zip format
|
|
101
105
|
```
|
|
102
106
|
|
|
103
|
-
_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.2/src/commands/backup.js)_
|
|
104
108
|
|
|
105
109
|
## `saltcorn build-app`
|
|
106
110
|
|
|
@@ -136,11 +140,14 @@ OPTIONS
|
|
|
136
140
|
|
|
137
141
|
--splashPage=splashPage Name of a page that should be shown while the app is loading.
|
|
138
142
|
|
|
143
|
+
--synchedTables=synchedTables Table names for which the offline should be synchronized with the saltcorn
|
|
144
|
+
server
|
|
145
|
+
|
|
139
146
|
--tenantAppName=tenantAppName Optional name of a tenant application, if set, the app will be build for this
|
|
140
147
|
tenant
|
|
141
148
|
```
|
|
142
149
|
|
|
143
|
-
_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.2/src/commands/build-app.js)_
|
|
144
151
|
|
|
145
152
|
## `saltcorn build-cordova-builder`
|
|
146
153
|
|
|
@@ -154,7 +161,7 @@ OPTIONS
|
|
|
154
161
|
--buildClean run a clean build with --no-cache
|
|
155
162
|
```
|
|
156
163
|
|
|
157
|
-
_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.2/src/commands/build-cordova-builder.js)_
|
|
158
165
|
|
|
159
166
|
## `saltcorn configuration-check`
|
|
160
167
|
|
|
@@ -168,7 +175,7 @@ OPTIONS
|
|
|
168
175
|
-t, --tenant=tenant tenant
|
|
169
176
|
```
|
|
170
177
|
|
|
171
|
-
_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.2/src/commands/configuration-check.js)_
|
|
172
179
|
|
|
173
180
|
## `saltcorn configuration-check-backups FILES`
|
|
174
181
|
|
|
@@ -185,7 +192,7 @@ OPTIONS
|
|
|
185
192
|
-d, --destructive destructive
|
|
186
193
|
```
|
|
187
194
|
|
|
188
|
-
_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.2/src/commands/configuration-check-backups.js)_
|
|
189
196
|
|
|
190
197
|
## `saltcorn create-tenant TENANT`
|
|
191
198
|
|
|
@@ -204,7 +211,7 @@ OPTIONS
|
|
|
204
211
|
--url=url Url of tenant
|
|
205
212
|
```
|
|
206
213
|
|
|
207
|
-
_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.2/src/commands/create-tenant.js)_
|
|
208
215
|
|
|
209
216
|
## `saltcorn create-user`
|
|
210
217
|
|
|
@@ -222,7 +229,7 @@ OPTIONS
|
|
|
222
229
|
-t, --tenant=tenant tenant
|
|
223
230
|
```
|
|
224
231
|
|
|
225
|
-
_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.2/src/commands/create-user.js)_
|
|
226
233
|
|
|
227
234
|
## `saltcorn delete-tenants`
|
|
228
235
|
|
|
@@ -233,7 +240,7 @@ USAGE
|
|
|
233
240
|
$ saltcorn delete-tenants
|
|
234
241
|
```
|
|
235
242
|
|
|
236
|
-
_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.2/src/commands/delete-tenants.js)_
|
|
237
244
|
|
|
238
245
|
## `saltcorn delete-user USER_EMAIL`
|
|
239
246
|
|
|
@@ -254,7 +261,7 @@ DESCRIPTION
|
|
|
254
261
|
Command deletes the user specified by USER_EMAIL.
|
|
255
262
|
```
|
|
256
263
|
|
|
257
|
-
_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.2/src/commands/delete-user.js)_
|
|
258
265
|
|
|
259
266
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
260
267
|
|
|
@@ -273,7 +280,7 @@ OPTIONS
|
|
|
273
280
|
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
274
281
|
```
|
|
275
282
|
|
|
276
|
-
_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.2/src/commands/dev/localize-plugin.js)_
|
|
277
284
|
|
|
278
285
|
## `saltcorn make-migration`
|
|
279
286
|
|
|
@@ -289,7 +296,7 @@ DESCRIPTION
|
|
|
289
296
|
unless you are a developer.
|
|
290
297
|
```
|
|
291
298
|
|
|
292
|
-
_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.2/src/commands/dev/make-migration.js)_
|
|
293
300
|
|
|
294
301
|
## `saltcorn dev:post-release [TASK]`
|
|
295
302
|
|
|
@@ -303,7 +310,7 @@ ARGUMENTS
|
|
|
303
310
|
TASK (docker|vagrant|all|none) What to do
|
|
304
311
|
```
|
|
305
312
|
|
|
306
|
-
_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.2/src/commands/dev/post-release.js)_
|
|
307
314
|
|
|
308
315
|
## `saltcorn dev:release VERSION`
|
|
309
316
|
|
|
@@ -317,7 +324,7 @@ ARGUMENTS
|
|
|
317
324
|
VERSION New version number
|
|
318
325
|
```
|
|
319
326
|
|
|
320
|
-
_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.2/src/commands/dev/release.js)_
|
|
321
328
|
|
|
322
329
|
## `saltcorn dev:test-plugin PATH`
|
|
323
330
|
|
|
@@ -335,7 +342,7 @@ DESCRIPTION
|
|
|
335
342
|
Extra documentation goes here
|
|
336
343
|
```
|
|
337
344
|
|
|
338
|
-
_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.2/src/commands/dev/test-plugin.js)_
|
|
339
346
|
|
|
340
347
|
## `saltcorn fixtures`
|
|
341
348
|
|
|
@@ -354,7 +361,7 @@ DESCRIPTION
|
|
|
354
361
|
This manual step it is never required for users and rarely required for developers
|
|
355
362
|
```
|
|
356
363
|
|
|
357
|
-
_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.2/src/commands/fixtures.js)_
|
|
358
365
|
|
|
359
366
|
## `saltcorn get-cfg [KEY]`
|
|
360
367
|
|
|
@@ -372,7 +379,7 @@ OPTIONS
|
|
|
372
379
|
-t, --tenant=tenant tenant
|
|
373
380
|
```
|
|
374
381
|
|
|
375
|
-
_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.2/src/commands/get-cfg.js)_
|
|
376
383
|
|
|
377
384
|
## `saltcorn help [COMMAND]`
|
|
378
385
|
|
|
@@ -410,7 +417,7 @@ ALIASES
|
|
|
410
417
|
$ saltcorn paths
|
|
411
418
|
```
|
|
412
419
|
|
|
413
|
-
_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.2/src/commands/info.js)_
|
|
414
421
|
|
|
415
422
|
## `saltcorn inspect TYPE [NAME]`
|
|
416
423
|
|
|
@@ -428,7 +435,7 @@ OPTIONS
|
|
|
428
435
|
-t, --tenant=tenant tenant
|
|
429
436
|
```
|
|
430
437
|
|
|
431
|
-
_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.2/src/commands/inspect.js)_
|
|
432
439
|
|
|
433
440
|
## `saltcorn install-pack`
|
|
434
441
|
|
|
@@ -444,7 +451,7 @@ OPTIONS
|
|
|
444
451
|
-t, --tenant=tenant tenant
|
|
445
452
|
```
|
|
446
453
|
|
|
447
|
-
_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.2/src/commands/install-pack.js)_
|
|
448
455
|
|
|
449
456
|
## `saltcorn install-plugin`
|
|
450
457
|
|
|
@@ -460,7 +467,7 @@ OPTIONS
|
|
|
460
467
|
-t, --tenant=tenant tenant
|
|
461
468
|
```
|
|
462
469
|
|
|
463
|
-
_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.2/src/commands/install-plugin.js)_
|
|
464
471
|
|
|
465
472
|
## `saltcorn list-tenants`
|
|
466
473
|
|
|
@@ -469,9 +476,28 @@ List tenants in CSV format
|
|
|
469
476
|
```
|
|
470
477
|
USAGE
|
|
471
478
|
$ saltcorn list-tenants
|
|
479
|
+
|
|
480
|
+
OPTIONS
|
|
481
|
+
-t, --tenant=tenant tenant
|
|
482
|
+
-v, --verbose verbose output
|
|
472
483
|
```
|
|
473
484
|
|
|
474
|
-
_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.2/src/commands/list-tenants.js)_
|
|
486
|
+
|
|
487
|
+
## `saltcorn list-triggers`
|
|
488
|
+
|
|
489
|
+
List triggers
|
|
490
|
+
|
|
491
|
+
```
|
|
492
|
+
USAGE
|
|
493
|
+
$ saltcorn list-triggers
|
|
494
|
+
|
|
495
|
+
OPTIONS
|
|
496
|
+
-t, --tenant=tenant tenant
|
|
497
|
+
-v, --verbose verbose output
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.2/src/commands/list-triggers.js)_
|
|
475
501
|
|
|
476
502
|
## `saltcorn saltcorn migrate`
|
|
477
503
|
|
|
@@ -493,7 +519,7 @@ DESCRIPTION
|
|
|
493
519
|
servers and need to control when the migrations are run.
|
|
494
520
|
```
|
|
495
521
|
|
|
496
|
-
_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.2/src/commands/migrate.js)_
|
|
497
523
|
|
|
498
524
|
## `saltcorn modify-user USER_EMAIL`
|
|
499
525
|
|
|
@@ -522,7 +548,7 @@ DESCRIPTION
|
|
|
522
548
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
523
549
|
```
|
|
524
550
|
|
|
525
|
-
_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.2/src/commands/modify-user.js)_
|
|
526
552
|
|
|
527
553
|
## `saltcorn plugins`
|
|
528
554
|
|
|
@@ -549,7 +575,7 @@ EXAMPLES
|
|
|
549
575
|
plugins -u -f - force plugin update
|
|
550
576
|
```
|
|
551
577
|
|
|
552
|
-
_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.2/src/commands/plugins.js)_
|
|
553
579
|
|
|
554
580
|
## `saltcorn reset-schema`
|
|
555
581
|
|
|
@@ -568,7 +594,7 @@ DESCRIPTION
|
|
|
568
594
|
This will delete all existing information
|
|
569
595
|
```
|
|
570
596
|
|
|
571
|
-
_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.2/src/commands/reset-schema.js)_
|
|
572
598
|
|
|
573
599
|
## `saltcorn restore FILE`
|
|
574
600
|
|
|
@@ -585,7 +611,7 @@ OPTIONS
|
|
|
585
611
|
-t, --tenant=tenant tenant
|
|
586
612
|
```
|
|
587
613
|
|
|
588
|
-
_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.2/src/commands/restore.js)_
|
|
589
615
|
|
|
590
616
|
## `saltcorn rm-tenant`
|
|
591
617
|
|
|
@@ -604,7 +630,7 @@ DESCRIPTION
|
|
|
604
630
|
It recommended to make backup of tenant before perform this command.
|
|
605
631
|
```
|
|
606
632
|
|
|
607
|
-
_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.2/src/commands/rm-tenant.js)_
|
|
608
634
|
|
|
609
635
|
## `saltcorn run-benchmark [BASEURL]`
|
|
610
636
|
|
|
@@ -623,7 +649,39 @@ OPTIONS
|
|
|
623
649
|
-t, --token=token API Token for reporting results
|
|
624
650
|
```
|
|
625
651
|
|
|
626
|
-
_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.2/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.2/src/commands/run-js.js)_
|
|
669
|
+
|
|
670
|
+
## `saltcorn run-sql`
|
|
671
|
+
|
|
672
|
+
Run sql expression
|
|
673
|
+
|
|
674
|
+
```
|
|
675
|
+
USAGE
|
|
676
|
+
$ saltcorn run-sql
|
|
677
|
+
|
|
678
|
+
OPTIONS
|
|
679
|
+
-f, --file=file path to sql file name
|
|
680
|
+
-s, --sql=sql sql statement
|
|
681
|
+
-t, --tenant=tenant tenant name
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v0.8.8-beta.2/src/commands/run-sql.js)_
|
|
627
685
|
|
|
628
686
|
## `saltcorn run-tests [PACKAGE]`
|
|
629
687
|
|
|
@@ -647,7 +705,7 @@ OPTIONS
|
|
|
647
705
|
--watchAll Watch files for changes and rerun all tests.
|
|
648
706
|
```
|
|
649
707
|
|
|
650
|
-
_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.2/src/commands/run-tests.js)_
|
|
651
709
|
|
|
652
710
|
## `saltcorn run-trigger TRIGGER`
|
|
653
711
|
|
|
@@ -664,7 +722,7 @@ OPTIONS
|
|
|
664
722
|
-t, --tenant=tenant tenant
|
|
665
723
|
```
|
|
666
724
|
|
|
667
|
-
_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.2/src/commands/run-trigger.js)_
|
|
668
726
|
|
|
669
727
|
## `saltcorn scheduler`
|
|
670
728
|
|
|
@@ -678,7 +736,7 @@ OPTIONS
|
|
|
678
736
|
-v, --verbose Verbose
|
|
679
737
|
```
|
|
680
738
|
|
|
681
|
-
_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.2/src/commands/scheduler.js)_
|
|
682
740
|
|
|
683
741
|
## `saltcorn serve`
|
|
684
742
|
|
|
@@ -699,7 +757,7 @@ OPTIONS
|
|
|
699
757
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
700
758
|
```
|
|
701
759
|
|
|
702
|
-
_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.2/src/commands/serve.js)_
|
|
703
761
|
|
|
704
762
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
705
763
|
|
|
@@ -720,7 +778,7 @@ OPTIONS
|
|
|
720
778
|
-t, --tenant=tenant tenant
|
|
721
779
|
```
|
|
722
780
|
|
|
723
|
-
_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.2/src/commands/set-cfg.js)_
|
|
724
782
|
|
|
725
783
|
## `saltcorn setup`
|
|
726
784
|
|
|
@@ -739,7 +797,7 @@ DESCRIPTION
|
|
|
739
797
|
configuration file
|
|
740
798
|
```
|
|
741
799
|
|
|
742
|
-
_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.2/src/commands/setup.js)_
|
|
743
801
|
|
|
744
802
|
## `saltcorn setup-benchmark`
|
|
745
803
|
|
|
@@ -753,7 +811,24 @@ OPTIONS
|
|
|
753
811
|
-t, --tenant=tenant tenant
|
|
754
812
|
```
|
|
755
813
|
|
|
756
|
-
_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.2/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.2/src/commands/sync-upload-data.js)_
|
|
757
832
|
|
|
758
833
|
## `saltcorn take-snapshot`
|
|
759
834
|
|
|
@@ -768,7 +843,7 @@ OPTIONS
|
|
|
768
843
|
-t, --tenant=tenant tenant
|
|
769
844
|
```
|
|
770
845
|
|
|
771
|
-
_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.2/src/commands/take-snapshot.js)_
|
|
772
847
|
|
|
773
848
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
774
849
|
|
|
@@ -785,5 +860,5 @@ ARGUMENTS
|
|
|
785
860
|
TENANT tenant name
|
|
786
861
|
```
|
|
787
862
|
|
|
788
|
-
_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.2/src/commands/transform-field.js)_
|
|
789
864
|
<!-- commandsstop -->
|