@saltcorn/cli 1.5.0-beta.13 → 1.5.0-beta.15
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 +64 -58
- package/npm-shrinkwrap.json +794 -786
- package/oclif.manifest.json +23 -3
- package/package.json +8 -8
- package/src/commands/build-app.js +15 -0
- package/src/commands/sync-upload-data.js +264 -182
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.
|
|
23
|
+
@saltcorn/cli/1.5.0-beta.15 linux-x64 node-v20.19.4
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -96,7 +96,7 @@ DESCRIPTION
|
|
|
96
96
|
Add Saltcorn schema to existing database
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
99
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
100
100
|
|
|
101
101
|
## `saltcorn backup`
|
|
102
102
|
|
|
@@ -117,7 +117,7 @@ DESCRIPTION
|
|
|
117
117
|
Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
120
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/backup.js)_
|
|
121
121
|
|
|
122
122
|
## `saltcorn build-app`
|
|
123
123
|
|
|
@@ -128,9 +128,9 @@ USAGE
|
|
|
128
128
|
$ saltcorn build-app [-m full|prepare|finish] [--allowShareTo] [--tenantAppName <value>] [-p <value>...] [-e
|
|
129
129
|
<value>] [-t <value>] [-l <value>...] [--synchedTables <value>...] [--includedPlugins <value>...] [-d] [-b <value>]
|
|
130
130
|
[-c <value>] [-u <value>] [--appName <value>] [--appId <value>] [--appVersion <value>] [--appIcon <value>] [-s
|
|
131
|
-
<value>] [--splashPage <value>] [--autoPublicLogin] [--showContinueAsPublicUser] [--allowOfflineMode]
|
|
132
|
-
[--
|
|
133
|
-
[--androidKeystore <value>] [--androidKeyStoreAlias <value>] [--androidKeystorePassword <value>]
|
|
131
|
+
<value>] [--splashPage <value>] [--autoPublicLogin] [--showContinueAsPublicUser] [--allowOfflineMode] [--pushSync]
|
|
132
|
+
[--syncInterval <value>] [--provisioningProfile <value>] [--shareExtensionProvisioningProfile <value>] [--buildType
|
|
133
|
+
<value>] [--androidKeystore <value>] [--androidKeyStoreAlias <value>] [--androidKeystorePassword <value>]
|
|
134
134
|
[--googleServicesFile <value>]
|
|
135
135
|
|
|
136
136
|
FLAGS
|
|
@@ -167,9 +167,14 @@ FLAGS
|
|
|
167
167
|
--includedPlugins=<value>... Names of plugins that should be bundled into the app.If empty, no
|
|
168
168
|
modules are used.
|
|
169
169
|
--provisioningProfile=<value> This profile will be used to sign your app
|
|
170
|
+
--pushSync When offline mode is enabled, synchronize the synchedTables tables
|
|
171
|
+
when a push notification is received.
|
|
170
172
|
--shareExtensionProvisioningProfile=<value> This profile will be used to sign your share extension on iOS
|
|
171
173
|
--showContinueAsPublicUser Show a button to continue as public user on the login screen.
|
|
172
174
|
--splashPage=<value> Name of a page that should be shown while the app is loading.
|
|
175
|
+
--syncInterval=<value> Perdiodic interval (in minutes) to run synchronizations in the
|
|
176
|
+
background. This is just a min interval, depending on system
|
|
177
|
+
conditions, the actual time may be longer.
|
|
173
178
|
--synchedTables=<value>... Table names for which the offline should be synchronized with the
|
|
174
179
|
saltcorn server
|
|
175
180
|
--tenantAppName=<value> Optional name of a tenant application, if set, the app will be build
|
|
@@ -179,7 +184,7 @@ DESCRIPTION
|
|
|
179
184
|
Build mobile app
|
|
180
185
|
```
|
|
181
186
|
|
|
182
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
187
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
183
188
|
|
|
184
189
|
## `saltcorn build-capacitor-builder`
|
|
185
190
|
|
|
@@ -197,7 +202,7 @@ DESCRIPTION
|
|
|
197
202
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
198
203
|
```
|
|
199
204
|
|
|
200
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
205
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
201
206
|
|
|
202
207
|
## `saltcorn configuration-check`
|
|
203
208
|
|
|
@@ -214,7 +219,7 @@ DESCRIPTION
|
|
|
214
219
|
Check configuration
|
|
215
220
|
```
|
|
216
221
|
|
|
217
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
222
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
218
223
|
|
|
219
224
|
## `saltcorn configuration-check-backups FILES`
|
|
220
225
|
|
|
@@ -234,7 +239,7 @@ DESCRIPTION
|
|
|
234
239
|
Check configuration
|
|
235
240
|
```
|
|
236
241
|
|
|
237
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
242
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
238
243
|
|
|
239
244
|
## `saltcorn create-tenant TENANT`
|
|
240
245
|
|
|
@@ -256,7 +261,7 @@ DESCRIPTION
|
|
|
256
261
|
Create a tenant
|
|
257
262
|
```
|
|
258
263
|
|
|
259
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
264
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
260
265
|
|
|
261
266
|
## `saltcorn create-user`
|
|
262
267
|
|
|
@@ -277,7 +282,7 @@ DESCRIPTION
|
|
|
277
282
|
Create a new user
|
|
278
283
|
```
|
|
279
284
|
|
|
280
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
285
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
281
286
|
|
|
282
287
|
## `saltcorn delete-tenants`
|
|
283
288
|
|
|
@@ -291,7 +296,7 @@ DESCRIPTION
|
|
|
291
296
|
Delete inactive tenants
|
|
292
297
|
```
|
|
293
298
|
|
|
294
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
299
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
295
300
|
|
|
296
301
|
## `saltcorn delete-user USER_EMAIL`
|
|
297
302
|
|
|
@@ -314,7 +319,7 @@ DESCRIPTION
|
|
|
314
319
|
Command deletes the user specified by USER_EMAIL.
|
|
315
320
|
```
|
|
316
321
|
|
|
317
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
322
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
318
323
|
|
|
319
324
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
320
325
|
|
|
@@ -336,7 +341,7 @@ DESCRIPTION
|
|
|
336
341
|
Convert plugin to local plugin
|
|
337
342
|
```
|
|
338
343
|
|
|
339
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
344
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
340
345
|
|
|
341
346
|
## `saltcorn make-migration`
|
|
342
347
|
|
|
@@ -353,7 +358,7 @@ DESCRIPTION
|
|
|
353
358
|
unless you are a developer.
|
|
354
359
|
```
|
|
355
360
|
|
|
356
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
361
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
357
362
|
|
|
358
363
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
359
364
|
|
|
@@ -374,7 +379,7 @@ DESCRIPTION
|
|
|
374
379
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
375
380
|
```
|
|
376
381
|
|
|
377
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
382
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
378
383
|
|
|
379
384
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
380
385
|
|
|
@@ -392,7 +397,7 @@ DESCRIPTION
|
|
|
392
397
|
Post-release tasks: docker and vagrant builds
|
|
393
398
|
```
|
|
394
399
|
|
|
395
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
400
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
396
401
|
|
|
397
402
|
## `saltcorn dev:release VERSION TAG`
|
|
398
403
|
|
|
@@ -410,7 +415,7 @@ DESCRIPTION
|
|
|
410
415
|
Release a new saltcorn version
|
|
411
416
|
```
|
|
412
417
|
|
|
413
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
418
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
414
419
|
|
|
415
420
|
## `saltcorn dev:release-resume VERSION`
|
|
416
421
|
|
|
@@ -430,7 +435,7 @@ DESCRIPTION
|
|
|
430
435
|
Release a new saltcorn version
|
|
431
436
|
```
|
|
432
437
|
|
|
433
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
438
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
434
439
|
|
|
435
440
|
## `saltcorn dev:test-plugin PATH`
|
|
436
441
|
|
|
@@ -449,7 +454,7 @@ DESCRIPTION
|
|
|
449
454
|
Extra documentation goes here
|
|
450
455
|
```
|
|
451
456
|
|
|
452
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
457
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
453
458
|
|
|
454
459
|
## `saltcorn dev:translate LOCALE`
|
|
455
460
|
|
|
@@ -469,7 +474,7 @@ DESCRIPTION
|
|
|
469
474
|
Produce translation files with LLM
|
|
470
475
|
```
|
|
471
476
|
|
|
472
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
477
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
473
478
|
|
|
474
479
|
## `saltcorn fixtures`
|
|
475
480
|
|
|
@@ -489,7 +494,7 @@ DESCRIPTION
|
|
|
489
494
|
This manual step it is never required for users and rarely required for developers
|
|
490
495
|
```
|
|
491
496
|
|
|
492
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
497
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
493
498
|
|
|
494
499
|
## `saltcorn get-cfg [KEY]`
|
|
495
500
|
|
|
@@ -510,7 +515,7 @@ DESCRIPTION
|
|
|
510
515
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
511
516
|
```
|
|
512
517
|
|
|
513
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
518
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
514
519
|
|
|
515
520
|
## `saltcorn info [KEY]`
|
|
516
521
|
|
|
@@ -536,7 +541,7 @@ ALIASES
|
|
|
536
541
|
$ saltcorn paths
|
|
537
542
|
```
|
|
538
543
|
|
|
539
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
544
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/info.js)_
|
|
540
545
|
|
|
541
546
|
## `saltcorn inspect TYPE [NAME]`
|
|
542
547
|
|
|
@@ -557,7 +562,7 @@ DESCRIPTION
|
|
|
557
562
|
Inspect an entity's JSON representation, or list entities
|
|
558
563
|
```
|
|
559
564
|
|
|
560
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
565
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
561
566
|
|
|
562
567
|
## `saltcorn install-pack`
|
|
563
568
|
|
|
@@ -576,7 +581,7 @@ DESCRIPTION
|
|
|
576
581
|
Install a pack or restore a snapshot
|
|
577
582
|
```
|
|
578
583
|
|
|
579
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
584
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
580
585
|
|
|
581
586
|
## `saltcorn install-plugin`
|
|
582
587
|
|
|
@@ -596,7 +601,7 @@ DESCRIPTION
|
|
|
596
601
|
Install a plugin
|
|
597
602
|
```
|
|
598
603
|
|
|
599
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
604
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
600
605
|
|
|
601
606
|
## `saltcorn list-tenants`
|
|
602
607
|
|
|
@@ -616,7 +621,7 @@ DESCRIPTION
|
|
|
616
621
|
List tenants in CSV format
|
|
617
622
|
```
|
|
618
623
|
|
|
619
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
624
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
620
625
|
|
|
621
626
|
## `saltcorn list-triggers`
|
|
622
627
|
|
|
@@ -635,7 +640,7 @@ DESCRIPTION
|
|
|
635
640
|
List triggers
|
|
636
641
|
```
|
|
637
642
|
|
|
638
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
643
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
639
644
|
|
|
640
645
|
## `saltcorn list-users`
|
|
641
646
|
|
|
@@ -653,7 +658,7 @@ DESCRIPTION
|
|
|
653
658
|
List users
|
|
654
659
|
```
|
|
655
660
|
|
|
656
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
661
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
657
662
|
|
|
658
663
|
## `saltcorn saltcorn migrate`
|
|
659
664
|
|
|
@@ -676,7 +681,7 @@ DESCRIPTION
|
|
|
676
681
|
servers and need to control when the migrations are run.
|
|
677
682
|
```
|
|
678
683
|
|
|
679
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
684
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
680
685
|
|
|
681
686
|
## `saltcorn modify-user USER_EMAIL`
|
|
682
687
|
|
|
@@ -707,7 +712,7 @@ DESCRIPTION
|
|
|
707
712
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
708
713
|
```
|
|
709
714
|
|
|
710
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
715
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
711
716
|
|
|
712
717
|
## `saltcorn paths [KEY]`
|
|
713
718
|
|
|
@@ -762,7 +767,7 @@ EXAMPLES
|
|
|
762
767
|
plugins -u -f - force plugin update
|
|
763
768
|
```
|
|
764
769
|
|
|
765
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
770
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
766
771
|
|
|
767
772
|
## `saltcorn prepare`
|
|
768
773
|
|
|
@@ -780,7 +785,7 @@ DESCRIPTION
|
|
|
780
785
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
781
786
|
```
|
|
782
787
|
|
|
783
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
788
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
784
789
|
|
|
785
790
|
## `saltcorn reset-schema`
|
|
786
791
|
|
|
@@ -800,7 +805,7 @@ DESCRIPTION
|
|
|
800
805
|
This will delete all existing information
|
|
801
806
|
```
|
|
802
807
|
|
|
803
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
808
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
804
809
|
|
|
805
810
|
## `saltcorn restore FILE`
|
|
806
811
|
|
|
@@ -820,7 +825,7 @@ DESCRIPTION
|
|
|
820
825
|
Restore a previously backed up database (zip or sqlc format)
|
|
821
826
|
```
|
|
822
827
|
|
|
823
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
828
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/restore.js)_
|
|
824
829
|
|
|
825
830
|
## `saltcorn rm-tenant`
|
|
826
831
|
|
|
@@ -840,7 +845,7 @@ DESCRIPTION
|
|
|
840
845
|
It recommended to make backup of tenant before perform this command.
|
|
841
846
|
```
|
|
842
847
|
|
|
843
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
848
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
844
849
|
|
|
845
850
|
## `saltcorn run-benchmark [BASEURL]`
|
|
846
851
|
|
|
@@ -862,7 +867,7 @@ DESCRIPTION
|
|
|
862
867
|
Run benchmark
|
|
863
868
|
```
|
|
864
869
|
|
|
865
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
870
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
866
871
|
|
|
867
872
|
## `saltcorn run-js`
|
|
868
873
|
|
|
@@ -881,7 +886,7 @@ DESCRIPTION
|
|
|
881
886
|
Run javascript code
|
|
882
887
|
```
|
|
883
888
|
|
|
884
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
889
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
885
890
|
|
|
886
891
|
## `saltcorn run-sql`
|
|
887
892
|
|
|
@@ -900,7 +905,7 @@ DESCRIPTION
|
|
|
900
905
|
Run sql expression
|
|
901
906
|
```
|
|
902
907
|
|
|
903
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
908
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
904
909
|
|
|
905
910
|
## `saltcorn run-tests [PACKAGE]`
|
|
906
911
|
|
|
@@ -927,7 +932,7 @@ DESCRIPTION
|
|
|
927
932
|
Run test suites
|
|
928
933
|
```
|
|
929
934
|
|
|
930
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
935
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
931
936
|
|
|
932
937
|
## `saltcorn run-trigger TRIGGER`
|
|
933
938
|
|
|
@@ -947,7 +952,7 @@ DESCRIPTION
|
|
|
947
952
|
Run a trigger
|
|
948
953
|
```
|
|
949
954
|
|
|
950
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
955
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
951
956
|
|
|
952
957
|
## `saltcorn scheduler`
|
|
953
958
|
|
|
@@ -964,7 +969,7 @@ DESCRIPTION
|
|
|
964
969
|
Run the Saltcorn scheduler
|
|
965
970
|
```
|
|
966
971
|
|
|
967
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
972
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
968
973
|
|
|
969
974
|
## `saltcorn serve`
|
|
970
975
|
|
|
@@ -989,7 +994,7 @@ DESCRIPTION
|
|
|
989
994
|
Start the Saltcorn server
|
|
990
995
|
```
|
|
991
996
|
|
|
992
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
997
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/serve.js)_
|
|
993
998
|
|
|
994
999
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
995
1000
|
|
|
@@ -1014,7 +1019,7 @@ DESCRIPTION
|
|
|
1014
1019
|
stored as a string.
|
|
1015
1020
|
```
|
|
1016
1021
|
|
|
1017
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1022
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1018
1023
|
|
|
1019
1024
|
## `saltcorn set-daily-time [MINS]`
|
|
1020
1025
|
|
|
@@ -1034,7 +1039,7 @@ DESCRIPTION
|
|
|
1034
1039
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1035
1040
|
```
|
|
1036
1041
|
|
|
1037
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1042
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1038
1043
|
|
|
1039
1044
|
## `saltcorn setup`
|
|
1040
1045
|
|
|
@@ -1054,7 +1059,7 @@ DESCRIPTION
|
|
|
1054
1059
|
configuration file
|
|
1055
1060
|
```
|
|
1056
1061
|
|
|
1057
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1062
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1058
1063
|
|
|
1059
1064
|
## `saltcorn setup-benchmark`
|
|
1060
1065
|
|
|
@@ -1072,7 +1077,7 @@ DESCRIPTION
|
|
|
1072
1077
|
Setup an instance for benchmarking
|
|
1073
1078
|
```
|
|
1074
1079
|
|
|
1075
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1080
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1076
1081
|
|
|
1077
1082
|
## `saltcorn sync-upload-data`
|
|
1078
1083
|
|
|
@@ -1080,20 +1085,21 @@ Runs a sync for data supplied by the mobile app
|
|
|
1080
1085
|
|
|
1081
1086
|
```
|
|
1082
1087
|
USAGE
|
|
1083
|
-
$ saltcorn sync-upload-data [--tenantAppName <value>] [--userEmail <value>] [--directory <value>]
|
|
1084
|
-
<value>]
|
|
1088
|
+
$ saltcorn sync-upload-data [--tenantAppName <value>] [--userEmail <value>] [--directory <value>]
|
|
1089
|
+
[--newSyncTimestamp <value>] [--oldSyncTimestamp <value>]
|
|
1085
1090
|
|
|
1086
1091
|
FLAGS
|
|
1087
|
-
--directory=<value>
|
|
1088
|
-
--
|
|
1089
|
-
--
|
|
1090
|
-
--
|
|
1092
|
+
--directory=<value> directory name for input output data
|
|
1093
|
+
--newSyncTimestamp=<value> new timestamp for the sync_info rows
|
|
1094
|
+
--oldSyncTimestamp=<value> TODO
|
|
1095
|
+
--tenantAppName=<value> Optional name of a tenant application
|
|
1096
|
+
--userEmail=<value> email of the user running the sync
|
|
1091
1097
|
|
|
1092
1098
|
DESCRIPTION
|
|
1093
1099
|
Runs a sync for data supplied by the mobile app
|
|
1094
1100
|
```
|
|
1095
1101
|
|
|
1096
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1102
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1097
1103
|
|
|
1098
1104
|
## `saltcorn take-snapshot`
|
|
1099
1105
|
|
|
@@ -1111,7 +1117,7 @@ DESCRIPTION
|
|
|
1111
1117
|
Print a current snapshout to stdout
|
|
1112
1118
|
```
|
|
1113
1119
|
|
|
1114
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1120
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1115
1121
|
|
|
1116
1122
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1117
1123
|
|
|
@@ -1131,5 +1137,5 @@ DESCRIPTION
|
|
|
1131
1137
|
transform an existing field by applying a calculated expression
|
|
1132
1138
|
```
|
|
1133
1139
|
|
|
1134
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1140
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.15/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1135
1141
|
<!-- commandsstop -->
|