@saltcorn/cli 1.5.0-beta.9 → 1.5.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,7 +20,7 @@ $ npm install -g @saltcorn/cli
20
20
  $ saltcorn COMMAND
21
21
  running command...
22
22
  $ saltcorn (--version)
23
- @saltcorn/cli/1.5.0-beta.9 linux-x64 node-v20.19.4
23
+ @saltcorn/cli/1.5.0-rc.1 linux-x64 node-v20.19.4
24
24
  $ saltcorn --help [COMMAND]
25
25
  USAGE
26
26
  $ saltcorn COMMAND
@@ -62,6 +62,7 @@ USAGE
62
62
  * [`saltcorn modify-user USER_EMAIL`](#saltcorn-modify-user-user_email)
63
63
  * [`saltcorn paths [KEY]`](#saltcorn-paths-key)
64
64
  * [`saltcorn plugins`](#saltcorn-plugins)
65
+ * [`saltcorn pre-install-modules PLUGINSELECTOR`](#saltcorn-pre-install-modules-pluginselector)
65
66
  * [`saltcorn prepare`](#saltcorn-prepare)
66
67
  * [`saltcorn reset-schema`](#saltcorn-reset-schema)
67
68
  * [`saltcorn restore FILE`](#saltcorn-restore-file)
@@ -96,7 +97,7 @@ DESCRIPTION
96
97
  Add Saltcorn schema to existing database
97
98
  ```
98
99
 
99
- _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/add-schema.js)_
100
+ _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/add-schema.js)_
100
101
 
101
102
  ## `saltcorn backup`
102
103
 
@@ -117,7 +118,7 @@ DESCRIPTION
117
118
  Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
118
119
  ```
119
120
 
120
- _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/backup.js)_
121
+ _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/backup.js)_
121
122
 
122
123
  ## `saltcorn build-app`
123
124
 
@@ -129,9 +130,9 @@ USAGE
129
130
  <value>] [-t <value>] [-l <value>...] [--synchedTables <value>...] [--includedPlugins <value>...] [-d] [-b <value>]
130
131
  [-c <value>] [-u <value>] [--appName <value>] [--appId <value>] [--appVersion <value>] [--appIcon <value>] [-s
131
132
  <value>] [--splashPage <value>] [--autoPublicLogin] [--showContinueAsPublicUser] [--allowOfflineMode]
132
- [--provisioningProfile <value>] [--shareExtensionProvisioningProfile <value>] [--buildType <value>]
133
- [--androidKeystore <value>] [--androidKeyStoreAlias <value>] [--androidKeystorePassword <value>]
134
- [--googleServicesFile <value>]
133
+ [--syncOnReconnect] [--pushSync] [--syncInterval <value>] [--provisioningProfile <value>]
134
+ [--shareExtensionProvisioningProfile <value>] [--buildType <value>] [--androidKeystore <value>]
135
+ [--androidKeyStoreAlias <value>] [--androidKeystorePassword <value>] [--googleServicesFile <value>]
135
136
 
136
137
  FLAGS
137
138
  -b, --buildDirectory=<value> A directory where the app should be build
@@ -167,9 +168,17 @@ FLAGS
167
168
  --includedPlugins=<value>... Names of plugins that should be bundled into the app.If empty, no
168
169
  modules are used.
169
170
  --provisioningProfile=<value> This profile will be used to sign your app
171
+ --pushSync When offline mode is enabled, synchronize the synchedTables tables
172
+ when a push notification is received.
170
173
  --shareExtensionProvisioningProfile=<value> This profile will be used to sign your share extension on iOS
171
174
  --showContinueAsPublicUser Show a button to continue as public user on the login screen.
172
175
  --splashPage=<value> Name of a page that should be shown while the app is loading.
176
+ --syncInterval=<value> Perdiodic interval (in minutes) to run synchronizations in the
177
+ background. This is just a min interval, depending on system
178
+ conditions, the actual time may be longer.
179
+ --syncOnReconnect Run Synchronizations and return into online mode when the network
180
+ connection is restored. When disabled, you still can do this
181
+ manually.
173
182
  --synchedTables=<value>... Table names for which the offline should be synchronized with the
174
183
  saltcorn server
175
184
  --tenantAppName=<value> Optional name of a tenant application, if set, the app will be build
@@ -179,7 +188,7 @@ DESCRIPTION
179
188
  Build mobile app
180
189
  ```
181
190
 
182
- _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/build-app.js)_
191
+ _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/build-app.js)_
183
192
 
184
193
  ## `saltcorn build-capacitor-builder`
185
194
 
@@ -197,7 +206,7 @@ DESCRIPTION
197
206
  Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
198
207
  ```
199
208
 
200
- _See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
209
+ _See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
201
210
 
202
211
  ## `saltcorn configuration-check`
203
212
 
@@ -214,7 +223,7 @@ DESCRIPTION
214
223
  Check configuration
215
224
  ```
216
225
 
217
- _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/configuration-check.js)_
226
+ _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/configuration-check.js)_
218
227
 
219
228
  ## `saltcorn configuration-check-backups FILES`
220
229
 
@@ -234,7 +243,7 @@ DESCRIPTION
234
243
  Check configuration
235
244
  ```
236
245
 
237
- _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
246
+ _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
238
247
 
239
248
  ## `saltcorn create-tenant TENANT`
240
249
 
@@ -256,7 +265,7 @@ DESCRIPTION
256
265
  Create a tenant
257
266
  ```
258
267
 
259
- _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/create-tenant.js)_
268
+ _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/create-tenant.js)_
260
269
 
261
270
  ## `saltcorn create-user`
262
271
 
@@ -277,7 +286,7 @@ DESCRIPTION
277
286
  Create a new user
278
287
  ```
279
288
 
280
- _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/create-user.js)_
289
+ _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/create-user.js)_
281
290
 
282
291
  ## `saltcorn delete-tenants`
283
292
 
@@ -291,7 +300,7 @@ DESCRIPTION
291
300
  Delete inactive tenants
292
301
  ```
293
302
 
294
- _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/delete-tenants.js)_
303
+ _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/delete-tenants.js)_
295
304
 
296
305
  ## `saltcorn delete-user USER_EMAIL`
297
306
 
@@ -314,7 +323,7 @@ DESCRIPTION
314
323
  Command deletes the user specified by USER_EMAIL.
315
324
  ```
316
325
 
317
- _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/delete-user.js)_
326
+ _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/delete-user.js)_
318
327
 
319
328
  ## `saltcorn dev:localize-plugin PLUGIN [PATH]`
320
329
 
@@ -336,7 +345,7 @@ DESCRIPTION
336
345
  Convert plugin to local plugin
337
346
  ```
338
347
 
339
- _See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
348
+ _See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
340
349
 
341
350
  ## `saltcorn make-migration`
342
351
 
@@ -353,7 +362,7 @@ DESCRIPTION
353
362
  unless you are a developer.
354
363
  ```
355
364
 
356
- _See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
365
+ _See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
357
366
 
358
367
  ## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
359
368
 
@@ -374,7 +383,7 @@ DESCRIPTION
374
383
  Install a plugin, spawn 'npm run test' in the install directory and check the return code.
375
384
  ```
376
385
 
377
- _See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
386
+ _See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
378
387
 
379
388
  ## `saltcorn dev:post-release [TASK] [TAG]`
380
389
 
@@ -392,7 +401,7 @@ DESCRIPTION
392
401
  Post-release tasks: docker and vagrant builds
393
402
  ```
394
403
 
395
- _See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/dev/post-release.js)_
404
+ _See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/dev/post-release.js)_
396
405
 
397
406
  ## `saltcorn dev:release VERSION TAG`
398
407
 
@@ -410,7 +419,7 @@ DESCRIPTION
410
419
  Release a new saltcorn version
411
420
  ```
412
421
 
413
- _See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/dev/release.js)_
422
+ _See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/dev/release.js)_
414
423
 
415
424
  ## `saltcorn dev:release-resume VERSION`
416
425
 
@@ -430,7 +439,7 @@ DESCRIPTION
430
439
  Release a new saltcorn version
431
440
  ```
432
441
 
433
- _See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
442
+ _See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
434
443
 
435
444
  ## `saltcorn dev:test-plugin PATH`
436
445
 
@@ -449,7 +458,7 @@ DESCRIPTION
449
458
  Extra documentation goes here
450
459
  ```
451
460
 
452
- _See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
461
+ _See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
453
462
 
454
463
  ## `saltcorn dev:translate LOCALE`
455
464
 
@@ -469,7 +478,7 @@ DESCRIPTION
469
478
  Produce translation files with LLM
470
479
  ```
471
480
 
472
- _See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/dev/translate.js)_
481
+ _See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/dev/translate.js)_
473
482
 
474
483
  ## `saltcorn fixtures`
475
484
 
@@ -489,7 +498,7 @@ DESCRIPTION
489
498
  This manual step it is never required for users and rarely required for developers
490
499
  ```
491
500
 
492
- _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/fixtures.js)_
501
+ _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/fixtures.js)_
493
502
 
494
503
  ## `saltcorn get-cfg [KEY]`
495
504
 
@@ -510,7 +519,7 @@ DESCRIPTION
510
519
  Get a configuration value. The value is printed to stdout as a JSON value
511
520
  ```
512
521
 
513
- _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/get-cfg.js)_
522
+ _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/get-cfg.js)_
514
523
 
515
524
  ## `saltcorn info [KEY]`
516
525
 
@@ -536,7 +545,7 @@ ALIASES
536
545
  $ saltcorn paths
537
546
  ```
538
547
 
539
- _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/info.js)_
548
+ _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/info.js)_
540
549
 
541
550
  ## `saltcorn inspect TYPE [NAME]`
542
551
 
@@ -557,7 +566,7 @@ DESCRIPTION
557
566
  Inspect an entity's JSON representation, or list entities
558
567
  ```
559
568
 
560
- _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/inspect.js)_
569
+ _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/inspect.js)_
561
570
 
562
571
  ## `saltcorn install-pack`
563
572
 
@@ -576,7 +585,7 @@ DESCRIPTION
576
585
  Install a pack or restore a snapshot
577
586
  ```
578
587
 
579
- _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/install-pack.js)_
588
+ _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/install-pack.js)_
580
589
 
581
590
  ## `saltcorn install-plugin`
582
591
 
@@ -596,7 +605,7 @@ DESCRIPTION
596
605
  Install a plugin
597
606
  ```
598
607
 
599
- _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/install-plugin.js)_
608
+ _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/install-plugin.js)_
600
609
 
601
610
  ## `saltcorn list-tenants`
602
611
 
@@ -616,7 +625,7 @@ DESCRIPTION
616
625
  List tenants in CSV format
617
626
  ```
618
627
 
619
- _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/list-tenants.js)_
628
+ _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/list-tenants.js)_
620
629
 
621
630
  ## `saltcorn list-triggers`
622
631
 
@@ -635,7 +644,7 @@ DESCRIPTION
635
644
  List triggers
636
645
  ```
637
646
 
638
- _See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/list-triggers.js)_
647
+ _See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/list-triggers.js)_
639
648
 
640
649
  ## `saltcorn list-users`
641
650
 
@@ -653,7 +662,7 @@ DESCRIPTION
653
662
  List users
654
663
  ```
655
664
 
656
- _See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/list-users.js)_
665
+ _See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/list-users.js)_
657
666
 
658
667
  ## `saltcorn saltcorn migrate`
659
668
 
@@ -676,7 +685,7 @@ DESCRIPTION
676
685
  servers and need to control when the migrations are run.
677
686
  ```
678
687
 
679
- _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/migrate.js)_
688
+ _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/migrate.js)_
680
689
 
681
690
  ## `saltcorn modify-user USER_EMAIL`
682
691
 
@@ -707,7 +716,7 @@ DESCRIPTION
707
716
  NOTE that -a and -r role (--role=role) can give conflict.
708
717
  ```
709
718
 
710
- _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/modify-user.js)_
719
+ _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/modify-user.js)_
711
720
 
712
721
  ## `saltcorn paths [KEY]`
713
722
 
@@ -762,7 +771,27 @@ EXAMPLES
762
771
  plugins -u -f - force plugin update
763
772
  ```
764
773
 
765
- _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/plugins.js)_
774
+ _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/plugins.js)_
775
+
776
+ ## `saltcorn pre-install-modules PLUGINSELECTOR`
777
+
778
+ Pre-install modules required by Saltcorn before running the application.
779
+
780
+ ```
781
+ USAGE
782
+ $ saltcorn pre-install-modules PLUGINSELECTOR [--store_endpoint <value>]
783
+
784
+ ARGUMENTS
785
+ PLUGINSELECTOR Either 'all' to pre-install all plugins or one specific plugin name
786
+
787
+ FLAGS
788
+ --store_endpoint=<value> [default: https://store.saltcorn.com/api/extensions] Saltcorn Modules Store endpoint
789
+
790
+ DESCRIPTION
791
+ Pre-install modules required by Saltcorn before running the application.
792
+ ```
793
+
794
+ _See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
766
795
 
767
796
  ## `saltcorn prepare`
768
797
 
@@ -780,7 +809,7 @@ DESCRIPTION
780
809
  Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
781
810
  ```
782
811
 
783
- _See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/prepare.js)_
812
+ _See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/prepare.js)_
784
813
 
785
814
  ## `saltcorn reset-schema`
786
815
 
@@ -800,7 +829,7 @@ DESCRIPTION
800
829
  This will delete all existing information
801
830
  ```
802
831
 
803
- _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/reset-schema.js)_
832
+ _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/reset-schema.js)_
804
833
 
805
834
  ## `saltcorn restore FILE`
806
835
 
@@ -820,7 +849,7 @@ DESCRIPTION
820
849
  Restore a previously backed up database (zip or sqlc format)
821
850
  ```
822
851
 
823
- _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/restore.js)_
852
+ _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/restore.js)_
824
853
 
825
854
  ## `saltcorn rm-tenant`
826
855
 
@@ -840,7 +869,7 @@ DESCRIPTION
840
869
  It recommended to make backup of tenant before perform this command.
841
870
  ```
842
871
 
843
- _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/rm-tenant.js)_
872
+ _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/rm-tenant.js)_
844
873
 
845
874
  ## `saltcorn run-benchmark [BASEURL]`
846
875
 
@@ -862,7 +891,7 @@ DESCRIPTION
862
891
  Run benchmark
863
892
  ```
864
893
 
865
- _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/run-benchmark.js)_
894
+ _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/run-benchmark.js)_
866
895
 
867
896
  ## `saltcorn run-js`
868
897
 
@@ -881,7 +910,7 @@ DESCRIPTION
881
910
  Run javascript code
882
911
  ```
883
912
 
884
- _See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/run-js.js)_
913
+ _See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/run-js.js)_
885
914
 
886
915
  ## `saltcorn run-sql`
887
916
 
@@ -900,7 +929,7 @@ DESCRIPTION
900
929
  Run sql expression
901
930
  ```
902
931
 
903
- _See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/run-sql.js)_
932
+ _See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/run-sql.js)_
904
933
 
905
934
  ## `saltcorn run-tests [PACKAGE]`
906
935
 
@@ -927,7 +956,7 @@ DESCRIPTION
927
956
  Run test suites
928
957
  ```
929
958
 
930
- _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/run-tests.js)_
959
+ _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/run-tests.js)_
931
960
 
932
961
  ## `saltcorn run-trigger TRIGGER`
933
962
 
@@ -947,7 +976,7 @@ DESCRIPTION
947
976
  Run a trigger
948
977
  ```
949
978
 
950
- _See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/run-trigger.js)_
979
+ _See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/run-trigger.js)_
951
980
 
952
981
  ## `saltcorn scheduler`
953
982
 
@@ -964,7 +993,7 @@ DESCRIPTION
964
993
  Run the Saltcorn scheduler
965
994
  ```
966
995
 
967
- _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/scheduler.js)_
996
+ _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/scheduler.js)_
968
997
 
969
998
  ## `saltcorn serve`
970
999
 
@@ -989,7 +1018,7 @@ DESCRIPTION
989
1018
  Start the Saltcorn server
990
1019
  ```
991
1020
 
992
- _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/serve.js)_
1021
+ _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/serve.js)_
993
1022
 
994
1023
  ## `saltcorn set-cfg [KEY] [VALUE]`
995
1024
 
@@ -1014,7 +1043,7 @@ DESCRIPTION
1014
1043
  stored as a string.
1015
1044
  ```
1016
1045
 
1017
- _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/set-cfg.js)_
1046
+ _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/set-cfg.js)_
1018
1047
 
1019
1048
  ## `saltcorn set-daily-time [MINS]`
1020
1049
 
@@ -1034,7 +1063,7 @@ DESCRIPTION
1034
1063
  Set the time the default daily event will run, offset in minutes from the current time. Restart required.
1035
1064
  ```
1036
1065
 
1037
- _See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/set-daily-time.js)_
1066
+ _See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/set-daily-time.js)_
1038
1067
 
1039
1068
  ## `saltcorn setup`
1040
1069
 
@@ -1054,7 +1083,7 @@ DESCRIPTION
1054
1083
  configuration file
1055
1084
  ```
1056
1085
 
1057
- _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/setup.js)_
1086
+ _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/setup.js)_
1058
1087
 
1059
1088
  ## `saltcorn setup-benchmark`
1060
1089
 
@@ -1072,7 +1101,7 @@ DESCRIPTION
1072
1101
  Setup an instance for benchmarking
1073
1102
  ```
1074
1103
 
1075
- _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
1104
+ _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
1076
1105
 
1077
1106
  ## `saltcorn sync-upload-data`
1078
1107
 
@@ -1080,20 +1109,21 @@ Runs a sync for data supplied by the mobile app
1080
1109
 
1081
1110
  ```
1082
1111
  USAGE
1083
- $ saltcorn sync-upload-data [--tenantAppName <value>] [--userEmail <value>] [--directory <value>] [--syncTimestamp
1084
- <value>]
1112
+ $ saltcorn sync-upload-data [--tenantAppName <value>] [--userEmail <value>] [--directory <value>]
1113
+ [--newSyncTimestamp <value>] [--oldSyncTimestamp <value>]
1085
1114
 
1086
1115
  FLAGS
1087
- --directory=<value> directory name for input output data
1088
- --syncTimestamp=<value> new timestamp for the sync_info rows
1089
- --tenantAppName=<value> Optional name of a tenant application
1090
- --userEmail=<value> email of the user running the sync
1116
+ --directory=<value> directory name for input output data
1117
+ --newSyncTimestamp=<value> new timestamp for the sync_info rows
1118
+ --oldSyncTimestamp=<value> TODO
1119
+ --tenantAppName=<value> Optional name of a tenant application
1120
+ --userEmail=<value> email of the user running the sync
1091
1121
 
1092
1122
  DESCRIPTION
1093
1123
  Runs a sync for data supplied by the mobile app
1094
1124
  ```
1095
1125
 
1096
- _See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
1126
+ _See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
1097
1127
 
1098
1128
  ## `saltcorn take-snapshot`
1099
1129
 
@@ -1111,7 +1141,7 @@ DESCRIPTION
1111
1141
  Print a current snapshout to stdout
1112
1142
  ```
1113
1143
 
1114
- _See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/take-snapshot.js)_
1144
+ _See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/take-snapshot.js)_
1115
1145
 
1116
1146
  ## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
1117
1147
 
@@ -1131,5 +1161,5 @@ DESCRIPTION
1131
1161
  transform an existing field by applying a calculated expression
1132
1162
  ```
1133
1163
 
1134
- _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.9/packages/saltcorn-cli/src/commands/transform-field.js)_
1164
+ _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-rc.1/packages/saltcorn-cli/src/commands/transform-field.js)_
1135
1165
  <!-- commandsstop -->