@saltcorn/cli 1.5.0-beta.14 → 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 +56 -55
- package/npm-shrinkwrap.json +741 -741
- package/oclif.manifest.json +10 -3
- package/package.json +8 -8
- 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
|
|
|
@@ -184,7 +184,7 @@ DESCRIPTION
|
|
|
184
184
|
Build mobile app
|
|
185
185
|
```
|
|
186
186
|
|
|
187
|
-
_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)_
|
|
188
188
|
|
|
189
189
|
## `saltcorn build-capacitor-builder`
|
|
190
190
|
|
|
@@ -202,7 +202,7 @@ DESCRIPTION
|
|
|
202
202
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
203
203
|
```
|
|
204
204
|
|
|
205
|
-
_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)_
|
|
206
206
|
|
|
207
207
|
## `saltcorn configuration-check`
|
|
208
208
|
|
|
@@ -219,7 +219,7 @@ DESCRIPTION
|
|
|
219
219
|
Check configuration
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
_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)_
|
|
223
223
|
|
|
224
224
|
## `saltcorn configuration-check-backups FILES`
|
|
225
225
|
|
|
@@ -239,7 +239,7 @@ DESCRIPTION
|
|
|
239
239
|
Check configuration
|
|
240
240
|
```
|
|
241
241
|
|
|
242
|
-
_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)_
|
|
243
243
|
|
|
244
244
|
## `saltcorn create-tenant TENANT`
|
|
245
245
|
|
|
@@ -261,7 +261,7 @@ DESCRIPTION
|
|
|
261
261
|
Create a tenant
|
|
262
262
|
```
|
|
263
263
|
|
|
264
|
-
_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)_
|
|
265
265
|
|
|
266
266
|
## `saltcorn create-user`
|
|
267
267
|
|
|
@@ -282,7 +282,7 @@ DESCRIPTION
|
|
|
282
282
|
Create a new user
|
|
283
283
|
```
|
|
284
284
|
|
|
285
|
-
_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)_
|
|
286
286
|
|
|
287
287
|
## `saltcorn delete-tenants`
|
|
288
288
|
|
|
@@ -296,7 +296,7 @@ DESCRIPTION
|
|
|
296
296
|
Delete inactive tenants
|
|
297
297
|
```
|
|
298
298
|
|
|
299
|
-
_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)_
|
|
300
300
|
|
|
301
301
|
## `saltcorn delete-user USER_EMAIL`
|
|
302
302
|
|
|
@@ -319,7 +319,7 @@ DESCRIPTION
|
|
|
319
319
|
Command deletes the user specified by USER_EMAIL.
|
|
320
320
|
```
|
|
321
321
|
|
|
322
|
-
_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)_
|
|
323
323
|
|
|
324
324
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
325
325
|
|
|
@@ -341,7 +341,7 @@ DESCRIPTION
|
|
|
341
341
|
Convert plugin to local plugin
|
|
342
342
|
```
|
|
343
343
|
|
|
344
|
-
_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)_
|
|
345
345
|
|
|
346
346
|
## `saltcorn make-migration`
|
|
347
347
|
|
|
@@ -358,7 +358,7 @@ DESCRIPTION
|
|
|
358
358
|
unless you are a developer.
|
|
359
359
|
```
|
|
360
360
|
|
|
361
|
-
_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)_
|
|
362
362
|
|
|
363
363
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
364
364
|
|
|
@@ -379,7 +379,7 @@ DESCRIPTION
|
|
|
379
379
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
_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)_
|
|
383
383
|
|
|
384
384
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
385
385
|
|
|
@@ -397,7 +397,7 @@ DESCRIPTION
|
|
|
397
397
|
Post-release tasks: docker and vagrant builds
|
|
398
398
|
```
|
|
399
399
|
|
|
400
|
-
_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)_
|
|
401
401
|
|
|
402
402
|
## `saltcorn dev:release VERSION TAG`
|
|
403
403
|
|
|
@@ -415,7 +415,7 @@ DESCRIPTION
|
|
|
415
415
|
Release a new saltcorn version
|
|
416
416
|
```
|
|
417
417
|
|
|
418
|
-
_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)_
|
|
419
419
|
|
|
420
420
|
## `saltcorn dev:release-resume VERSION`
|
|
421
421
|
|
|
@@ -435,7 +435,7 @@ DESCRIPTION
|
|
|
435
435
|
Release a new saltcorn version
|
|
436
436
|
```
|
|
437
437
|
|
|
438
|
-
_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)_
|
|
439
439
|
|
|
440
440
|
## `saltcorn dev:test-plugin PATH`
|
|
441
441
|
|
|
@@ -454,7 +454,7 @@ DESCRIPTION
|
|
|
454
454
|
Extra documentation goes here
|
|
455
455
|
```
|
|
456
456
|
|
|
457
|
-
_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)_
|
|
458
458
|
|
|
459
459
|
## `saltcorn dev:translate LOCALE`
|
|
460
460
|
|
|
@@ -474,7 +474,7 @@ DESCRIPTION
|
|
|
474
474
|
Produce translation files with LLM
|
|
475
475
|
```
|
|
476
476
|
|
|
477
|
-
_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)_
|
|
478
478
|
|
|
479
479
|
## `saltcorn fixtures`
|
|
480
480
|
|
|
@@ -494,7 +494,7 @@ DESCRIPTION
|
|
|
494
494
|
This manual step it is never required for users and rarely required for developers
|
|
495
495
|
```
|
|
496
496
|
|
|
497
|
-
_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)_
|
|
498
498
|
|
|
499
499
|
## `saltcorn get-cfg [KEY]`
|
|
500
500
|
|
|
@@ -515,7 +515,7 @@ DESCRIPTION
|
|
|
515
515
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
516
516
|
```
|
|
517
517
|
|
|
518
|
-
_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)_
|
|
519
519
|
|
|
520
520
|
## `saltcorn info [KEY]`
|
|
521
521
|
|
|
@@ -541,7 +541,7 @@ ALIASES
|
|
|
541
541
|
$ saltcorn paths
|
|
542
542
|
```
|
|
543
543
|
|
|
544
|
-
_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)_
|
|
545
545
|
|
|
546
546
|
## `saltcorn inspect TYPE [NAME]`
|
|
547
547
|
|
|
@@ -562,7 +562,7 @@ DESCRIPTION
|
|
|
562
562
|
Inspect an entity's JSON representation, or list entities
|
|
563
563
|
```
|
|
564
564
|
|
|
565
|
-
_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)_
|
|
566
566
|
|
|
567
567
|
## `saltcorn install-pack`
|
|
568
568
|
|
|
@@ -581,7 +581,7 @@ DESCRIPTION
|
|
|
581
581
|
Install a pack or restore a snapshot
|
|
582
582
|
```
|
|
583
583
|
|
|
584
|
-
_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)_
|
|
585
585
|
|
|
586
586
|
## `saltcorn install-plugin`
|
|
587
587
|
|
|
@@ -601,7 +601,7 @@ DESCRIPTION
|
|
|
601
601
|
Install a plugin
|
|
602
602
|
```
|
|
603
603
|
|
|
604
|
-
_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)_
|
|
605
605
|
|
|
606
606
|
## `saltcorn list-tenants`
|
|
607
607
|
|
|
@@ -621,7 +621,7 @@ DESCRIPTION
|
|
|
621
621
|
List tenants in CSV format
|
|
622
622
|
```
|
|
623
623
|
|
|
624
|
-
_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)_
|
|
625
625
|
|
|
626
626
|
## `saltcorn list-triggers`
|
|
627
627
|
|
|
@@ -640,7 +640,7 @@ DESCRIPTION
|
|
|
640
640
|
List triggers
|
|
641
641
|
```
|
|
642
642
|
|
|
643
|
-
_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)_
|
|
644
644
|
|
|
645
645
|
## `saltcorn list-users`
|
|
646
646
|
|
|
@@ -658,7 +658,7 @@ DESCRIPTION
|
|
|
658
658
|
List users
|
|
659
659
|
```
|
|
660
660
|
|
|
661
|
-
_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)_
|
|
662
662
|
|
|
663
663
|
## `saltcorn saltcorn migrate`
|
|
664
664
|
|
|
@@ -681,7 +681,7 @@ DESCRIPTION
|
|
|
681
681
|
servers and need to control when the migrations are run.
|
|
682
682
|
```
|
|
683
683
|
|
|
684
|
-
_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)_
|
|
685
685
|
|
|
686
686
|
## `saltcorn modify-user USER_EMAIL`
|
|
687
687
|
|
|
@@ -712,7 +712,7 @@ DESCRIPTION
|
|
|
712
712
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
713
713
|
```
|
|
714
714
|
|
|
715
|
-
_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)_
|
|
716
716
|
|
|
717
717
|
## `saltcorn paths [KEY]`
|
|
718
718
|
|
|
@@ -767,7 +767,7 @@ EXAMPLES
|
|
|
767
767
|
plugins -u -f - force plugin update
|
|
768
768
|
```
|
|
769
769
|
|
|
770
|
-
_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)_
|
|
771
771
|
|
|
772
772
|
## `saltcorn prepare`
|
|
773
773
|
|
|
@@ -785,7 +785,7 @@ DESCRIPTION
|
|
|
785
785
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
786
786
|
```
|
|
787
787
|
|
|
788
|
-
_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)_
|
|
789
789
|
|
|
790
790
|
## `saltcorn reset-schema`
|
|
791
791
|
|
|
@@ -805,7 +805,7 @@ DESCRIPTION
|
|
|
805
805
|
This will delete all existing information
|
|
806
806
|
```
|
|
807
807
|
|
|
808
|
-
_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)_
|
|
809
809
|
|
|
810
810
|
## `saltcorn restore FILE`
|
|
811
811
|
|
|
@@ -825,7 +825,7 @@ DESCRIPTION
|
|
|
825
825
|
Restore a previously backed up database (zip or sqlc format)
|
|
826
826
|
```
|
|
827
827
|
|
|
828
|
-
_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)_
|
|
829
829
|
|
|
830
830
|
## `saltcorn rm-tenant`
|
|
831
831
|
|
|
@@ -845,7 +845,7 @@ DESCRIPTION
|
|
|
845
845
|
It recommended to make backup of tenant before perform this command.
|
|
846
846
|
```
|
|
847
847
|
|
|
848
|
-
_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)_
|
|
849
849
|
|
|
850
850
|
## `saltcorn run-benchmark [BASEURL]`
|
|
851
851
|
|
|
@@ -867,7 +867,7 @@ DESCRIPTION
|
|
|
867
867
|
Run benchmark
|
|
868
868
|
```
|
|
869
869
|
|
|
870
|
-
_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)_
|
|
871
871
|
|
|
872
872
|
## `saltcorn run-js`
|
|
873
873
|
|
|
@@ -886,7 +886,7 @@ DESCRIPTION
|
|
|
886
886
|
Run javascript code
|
|
887
887
|
```
|
|
888
888
|
|
|
889
|
-
_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)_
|
|
890
890
|
|
|
891
891
|
## `saltcorn run-sql`
|
|
892
892
|
|
|
@@ -905,7 +905,7 @@ DESCRIPTION
|
|
|
905
905
|
Run sql expression
|
|
906
906
|
```
|
|
907
907
|
|
|
908
|
-
_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)_
|
|
909
909
|
|
|
910
910
|
## `saltcorn run-tests [PACKAGE]`
|
|
911
911
|
|
|
@@ -932,7 +932,7 @@ DESCRIPTION
|
|
|
932
932
|
Run test suites
|
|
933
933
|
```
|
|
934
934
|
|
|
935
|
-
_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)_
|
|
936
936
|
|
|
937
937
|
## `saltcorn run-trigger TRIGGER`
|
|
938
938
|
|
|
@@ -952,7 +952,7 @@ DESCRIPTION
|
|
|
952
952
|
Run a trigger
|
|
953
953
|
```
|
|
954
954
|
|
|
955
|
-
_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)_
|
|
956
956
|
|
|
957
957
|
## `saltcorn scheduler`
|
|
958
958
|
|
|
@@ -969,7 +969,7 @@ DESCRIPTION
|
|
|
969
969
|
Run the Saltcorn scheduler
|
|
970
970
|
```
|
|
971
971
|
|
|
972
|
-
_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)_
|
|
973
973
|
|
|
974
974
|
## `saltcorn serve`
|
|
975
975
|
|
|
@@ -994,7 +994,7 @@ DESCRIPTION
|
|
|
994
994
|
Start the Saltcorn server
|
|
995
995
|
```
|
|
996
996
|
|
|
997
|
-
_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)_
|
|
998
998
|
|
|
999
999
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
1000
1000
|
|
|
@@ -1019,7 +1019,7 @@ DESCRIPTION
|
|
|
1019
1019
|
stored as a string.
|
|
1020
1020
|
```
|
|
1021
1021
|
|
|
1022
|
-
_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)_
|
|
1023
1023
|
|
|
1024
1024
|
## `saltcorn set-daily-time [MINS]`
|
|
1025
1025
|
|
|
@@ -1039,7 +1039,7 @@ DESCRIPTION
|
|
|
1039
1039
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1040
1040
|
```
|
|
1041
1041
|
|
|
1042
|
-
_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)_
|
|
1043
1043
|
|
|
1044
1044
|
## `saltcorn setup`
|
|
1045
1045
|
|
|
@@ -1059,7 +1059,7 @@ DESCRIPTION
|
|
|
1059
1059
|
configuration file
|
|
1060
1060
|
```
|
|
1061
1061
|
|
|
1062
|
-
_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)_
|
|
1063
1063
|
|
|
1064
1064
|
## `saltcorn setup-benchmark`
|
|
1065
1065
|
|
|
@@ -1077,7 +1077,7 @@ DESCRIPTION
|
|
|
1077
1077
|
Setup an instance for benchmarking
|
|
1078
1078
|
```
|
|
1079
1079
|
|
|
1080
|
-
_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)_
|
|
1081
1081
|
|
|
1082
1082
|
## `saltcorn sync-upload-data`
|
|
1083
1083
|
|
|
@@ -1085,20 +1085,21 @@ Runs a sync for data supplied by the mobile app
|
|
|
1085
1085
|
|
|
1086
1086
|
```
|
|
1087
1087
|
USAGE
|
|
1088
|
-
$ saltcorn sync-upload-data [--tenantAppName <value>] [--userEmail <value>] [--directory <value>]
|
|
1089
|
-
<value>]
|
|
1088
|
+
$ saltcorn sync-upload-data [--tenantAppName <value>] [--userEmail <value>] [--directory <value>]
|
|
1089
|
+
[--newSyncTimestamp <value>] [--oldSyncTimestamp <value>]
|
|
1090
1090
|
|
|
1091
1091
|
FLAGS
|
|
1092
|
-
--directory=<value>
|
|
1093
|
-
--
|
|
1094
|
-
--
|
|
1095
|
-
--
|
|
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
|
|
1096
1097
|
|
|
1097
1098
|
DESCRIPTION
|
|
1098
1099
|
Runs a sync for data supplied by the mobile app
|
|
1099
1100
|
```
|
|
1100
1101
|
|
|
1101
|
-
_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)_
|
|
1102
1103
|
|
|
1103
1104
|
## `saltcorn take-snapshot`
|
|
1104
1105
|
|
|
@@ -1116,7 +1117,7 @@ DESCRIPTION
|
|
|
1116
1117
|
Print a current snapshout to stdout
|
|
1117
1118
|
```
|
|
1118
1119
|
|
|
1119
|
-
_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)_
|
|
1120
1121
|
|
|
1121
1122
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1122
1123
|
|
|
@@ -1136,5 +1137,5 @@ DESCRIPTION
|
|
|
1136
1137
|
transform an existing field by applying a calculated expression
|
|
1137
1138
|
```
|
|
1138
1139
|
|
|
1139
|
-
_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)_
|
|
1140
1141
|
<!-- commandsstop -->
|