@saltcorn/cli 1.3.1-beta.8 → 1.3.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 +51 -50
- package/npm-shrinkwrap.json +1259 -2924
- package/oclif.manifest.json +8 -1
- package/package.json +8 -8
- package/src/commands/build-app.js +4 -2
- package/src/commands/dev/plugin-test.js +7 -0
- package/src/commands/list-tenants.js +3 -1
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.3.1
|
|
23
|
+
@saltcorn/cli/1.3.1 linux-x64 node-v20.18.1
|
|
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.3.1
|
|
99
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/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.3.1
|
|
120
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/backup.js)_
|
|
121
121
|
|
|
122
122
|
## `saltcorn build-app`
|
|
123
123
|
|
|
@@ -177,7 +177,7 @@ DESCRIPTION
|
|
|
177
177
|
Build mobile app
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
180
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
181
181
|
|
|
182
182
|
## `saltcorn build-capacitor-builder`
|
|
183
183
|
|
|
@@ -195,7 +195,7 @@ DESCRIPTION
|
|
|
195
195
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
198
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
199
199
|
|
|
200
200
|
## `saltcorn configuration-check`
|
|
201
201
|
|
|
@@ -212,7 +212,7 @@ DESCRIPTION
|
|
|
212
212
|
Check configuration
|
|
213
213
|
```
|
|
214
214
|
|
|
215
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
215
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
216
216
|
|
|
217
217
|
## `saltcorn configuration-check-backups FILES`
|
|
218
218
|
|
|
@@ -232,7 +232,7 @@ DESCRIPTION
|
|
|
232
232
|
Check configuration
|
|
233
233
|
```
|
|
234
234
|
|
|
235
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
235
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
236
236
|
|
|
237
237
|
## `saltcorn create-tenant TENANT`
|
|
238
238
|
|
|
@@ -254,7 +254,7 @@ DESCRIPTION
|
|
|
254
254
|
Create a tenant
|
|
255
255
|
```
|
|
256
256
|
|
|
257
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
257
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
258
258
|
|
|
259
259
|
## `saltcorn create-user`
|
|
260
260
|
|
|
@@ -275,7 +275,7 @@ DESCRIPTION
|
|
|
275
275
|
Create a new user
|
|
276
276
|
```
|
|
277
277
|
|
|
278
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
278
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
279
279
|
|
|
280
280
|
## `saltcorn delete-tenants`
|
|
281
281
|
|
|
@@ -289,7 +289,7 @@ DESCRIPTION
|
|
|
289
289
|
Delete inactive tenants
|
|
290
290
|
```
|
|
291
291
|
|
|
292
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
292
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
293
293
|
|
|
294
294
|
## `saltcorn delete-user USER_EMAIL`
|
|
295
295
|
|
|
@@ -312,7 +312,7 @@ DESCRIPTION
|
|
|
312
312
|
Command deletes the user specified by USER_EMAIL.
|
|
313
313
|
```
|
|
314
314
|
|
|
315
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
315
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
316
316
|
|
|
317
317
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
318
318
|
|
|
@@ -334,7 +334,7 @@ DESCRIPTION
|
|
|
334
334
|
Convert plugin to local plugin
|
|
335
335
|
```
|
|
336
336
|
|
|
337
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
337
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
338
338
|
|
|
339
339
|
## `saltcorn make-migration`
|
|
340
340
|
|
|
@@ -351,7 +351,7 @@ DESCRIPTION
|
|
|
351
351
|
unless you are a developer.
|
|
352
352
|
```
|
|
353
353
|
|
|
354
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
354
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
355
355
|
|
|
356
356
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
357
357
|
|
|
@@ -372,7 +372,7 @@ DESCRIPTION
|
|
|
372
372
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
373
373
|
```
|
|
374
374
|
|
|
375
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
375
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
376
376
|
|
|
377
377
|
## `saltcorn dev:post-release [TASK]`
|
|
378
378
|
|
|
@@ -389,7 +389,7 @@ DESCRIPTION
|
|
|
389
389
|
Post-release tasks: docker and vagrant builds
|
|
390
390
|
```
|
|
391
391
|
|
|
392
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
392
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
393
393
|
|
|
394
394
|
## `saltcorn dev:release VERSION`
|
|
395
395
|
|
|
@@ -409,7 +409,7 @@ DESCRIPTION
|
|
|
409
409
|
Release a new saltcorn version
|
|
410
410
|
```
|
|
411
411
|
|
|
412
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
412
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
413
413
|
|
|
414
414
|
## `saltcorn dev:release-resume VERSION`
|
|
415
415
|
|
|
@@ -429,7 +429,7 @@ DESCRIPTION
|
|
|
429
429
|
Release a new saltcorn version
|
|
430
430
|
```
|
|
431
431
|
|
|
432
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
432
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
433
433
|
|
|
434
434
|
## `saltcorn dev:test-plugin PATH`
|
|
435
435
|
|
|
@@ -448,7 +448,7 @@ DESCRIPTION
|
|
|
448
448
|
Extra documentation goes here
|
|
449
449
|
```
|
|
450
450
|
|
|
451
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
451
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
452
452
|
|
|
453
453
|
## `saltcorn dev:translate LOCALE`
|
|
454
454
|
|
|
@@ -468,7 +468,7 @@ DESCRIPTION
|
|
|
468
468
|
Produce translation files with LLM
|
|
469
469
|
```
|
|
470
470
|
|
|
471
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
471
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
472
472
|
|
|
473
473
|
## `saltcorn fixtures`
|
|
474
474
|
|
|
@@ -488,7 +488,7 @@ DESCRIPTION
|
|
|
488
488
|
This manual step it is never required for users and rarely required for developers
|
|
489
489
|
```
|
|
490
490
|
|
|
491
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
491
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
492
492
|
|
|
493
493
|
## `saltcorn get-cfg [KEY]`
|
|
494
494
|
|
|
@@ -509,7 +509,7 @@ DESCRIPTION
|
|
|
509
509
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
510
510
|
```
|
|
511
511
|
|
|
512
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
512
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
513
513
|
|
|
514
514
|
## `saltcorn info [KEY]`
|
|
515
515
|
|
|
@@ -535,7 +535,7 @@ ALIASES
|
|
|
535
535
|
$ saltcorn paths
|
|
536
536
|
```
|
|
537
537
|
|
|
538
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
538
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/info.js)_
|
|
539
539
|
|
|
540
540
|
## `saltcorn inspect TYPE [NAME]`
|
|
541
541
|
|
|
@@ -556,7 +556,7 @@ DESCRIPTION
|
|
|
556
556
|
Inspect an entity's JSON representation, or list entities
|
|
557
557
|
```
|
|
558
558
|
|
|
559
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
559
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
560
560
|
|
|
561
561
|
## `saltcorn install-pack`
|
|
562
562
|
|
|
@@ -575,7 +575,7 @@ DESCRIPTION
|
|
|
575
575
|
Install a pack or restore a snapshot
|
|
576
576
|
```
|
|
577
577
|
|
|
578
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
578
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
579
579
|
|
|
580
580
|
## `saltcorn install-plugin`
|
|
581
581
|
|
|
@@ -595,7 +595,7 @@ DESCRIPTION
|
|
|
595
595
|
Install a plugin
|
|
596
596
|
```
|
|
597
597
|
|
|
598
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
598
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
599
599
|
|
|
600
600
|
## `saltcorn list-tenants`
|
|
601
601
|
|
|
@@ -603,10 +603,11 @@ List tenants in CSV format
|
|
|
603
603
|
|
|
604
604
|
```
|
|
605
605
|
USAGE
|
|
606
|
-
$ saltcorn list-tenants [-t <value>] [-v] [-j]
|
|
606
|
+
$ saltcorn list-tenants [-t <value>] [-v] [-j] [-p]
|
|
607
607
|
|
|
608
608
|
FLAGS
|
|
609
609
|
-j, --json json format
|
|
610
|
+
-p, --plain plain text format
|
|
610
611
|
-t, --tenant=<value> tenant
|
|
611
612
|
-v, --verbose verbose output
|
|
612
613
|
|
|
@@ -614,7 +615,7 @@ DESCRIPTION
|
|
|
614
615
|
List tenants in CSV format
|
|
615
616
|
```
|
|
616
617
|
|
|
617
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
618
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
618
619
|
|
|
619
620
|
## `saltcorn list-triggers`
|
|
620
621
|
|
|
@@ -633,7 +634,7 @@ DESCRIPTION
|
|
|
633
634
|
List triggers
|
|
634
635
|
```
|
|
635
636
|
|
|
636
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
637
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
637
638
|
|
|
638
639
|
## `saltcorn list-users`
|
|
639
640
|
|
|
@@ -651,7 +652,7 @@ DESCRIPTION
|
|
|
651
652
|
List users
|
|
652
653
|
```
|
|
653
654
|
|
|
654
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
655
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
655
656
|
|
|
656
657
|
## `saltcorn saltcorn migrate`
|
|
657
658
|
|
|
@@ -674,7 +675,7 @@ DESCRIPTION
|
|
|
674
675
|
servers and need to control when the migrations are run.
|
|
675
676
|
```
|
|
676
677
|
|
|
677
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
678
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
678
679
|
|
|
679
680
|
## `saltcorn modify-user USER_EMAIL`
|
|
680
681
|
|
|
@@ -705,7 +706,7 @@ DESCRIPTION
|
|
|
705
706
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
706
707
|
```
|
|
707
708
|
|
|
708
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
709
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
709
710
|
|
|
710
711
|
## `saltcorn paths [KEY]`
|
|
711
712
|
|
|
@@ -760,7 +761,7 @@ EXAMPLES
|
|
|
760
761
|
plugins -u -f - force plugin update
|
|
761
762
|
```
|
|
762
763
|
|
|
763
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
764
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
764
765
|
|
|
765
766
|
## `saltcorn prepare`
|
|
766
767
|
|
|
@@ -778,7 +779,7 @@ DESCRIPTION
|
|
|
778
779
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
779
780
|
```
|
|
780
781
|
|
|
781
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
782
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
782
783
|
|
|
783
784
|
## `saltcorn reset-schema`
|
|
784
785
|
|
|
@@ -798,7 +799,7 @@ DESCRIPTION
|
|
|
798
799
|
This will delete all existing information
|
|
799
800
|
```
|
|
800
801
|
|
|
801
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
802
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
802
803
|
|
|
803
804
|
## `saltcorn restore FILE`
|
|
804
805
|
|
|
@@ -818,7 +819,7 @@ DESCRIPTION
|
|
|
818
819
|
Restore a previously backed up database (zip or sqlc format)
|
|
819
820
|
```
|
|
820
821
|
|
|
821
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
822
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/restore.js)_
|
|
822
823
|
|
|
823
824
|
## `saltcorn rm-tenant`
|
|
824
825
|
|
|
@@ -838,7 +839,7 @@ DESCRIPTION
|
|
|
838
839
|
It recommended to make backup of tenant before perform this command.
|
|
839
840
|
```
|
|
840
841
|
|
|
841
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
842
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
842
843
|
|
|
843
844
|
## `saltcorn run-benchmark [BASEURL]`
|
|
844
845
|
|
|
@@ -860,7 +861,7 @@ DESCRIPTION
|
|
|
860
861
|
Run benchmark
|
|
861
862
|
```
|
|
862
863
|
|
|
863
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
864
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
864
865
|
|
|
865
866
|
## `saltcorn run-js`
|
|
866
867
|
|
|
@@ -879,7 +880,7 @@ DESCRIPTION
|
|
|
879
880
|
Run javascript code
|
|
880
881
|
```
|
|
881
882
|
|
|
882
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
883
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
883
884
|
|
|
884
885
|
## `saltcorn run-sql`
|
|
885
886
|
|
|
@@ -898,7 +899,7 @@ DESCRIPTION
|
|
|
898
899
|
Run sql expression
|
|
899
900
|
```
|
|
900
901
|
|
|
901
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
902
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
902
903
|
|
|
903
904
|
## `saltcorn run-tests [PACKAGE]`
|
|
904
905
|
|
|
@@ -925,7 +926,7 @@ DESCRIPTION
|
|
|
925
926
|
Run test suites
|
|
926
927
|
```
|
|
927
928
|
|
|
928
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
929
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
929
930
|
|
|
930
931
|
## `saltcorn run-trigger TRIGGER`
|
|
931
932
|
|
|
@@ -945,7 +946,7 @@ DESCRIPTION
|
|
|
945
946
|
Run a trigger
|
|
946
947
|
```
|
|
947
948
|
|
|
948
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
949
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
949
950
|
|
|
950
951
|
## `saltcorn scheduler`
|
|
951
952
|
|
|
@@ -962,7 +963,7 @@ DESCRIPTION
|
|
|
962
963
|
Run the Saltcorn scheduler
|
|
963
964
|
```
|
|
964
965
|
|
|
965
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
966
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
966
967
|
|
|
967
968
|
## `saltcorn serve`
|
|
968
969
|
|
|
@@ -987,7 +988,7 @@ DESCRIPTION
|
|
|
987
988
|
Start the Saltcorn server
|
|
988
989
|
```
|
|
989
990
|
|
|
990
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
991
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/serve.js)_
|
|
991
992
|
|
|
992
993
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
993
994
|
|
|
@@ -1012,7 +1013,7 @@ DESCRIPTION
|
|
|
1012
1013
|
stored as a string.
|
|
1013
1014
|
```
|
|
1014
1015
|
|
|
1015
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
1016
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1016
1017
|
|
|
1017
1018
|
## `saltcorn set-daily-time [MINS]`
|
|
1018
1019
|
|
|
@@ -1032,7 +1033,7 @@ DESCRIPTION
|
|
|
1032
1033
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1033
1034
|
```
|
|
1034
1035
|
|
|
1035
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
1036
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1036
1037
|
|
|
1037
1038
|
## `saltcorn setup`
|
|
1038
1039
|
|
|
@@ -1052,7 +1053,7 @@ DESCRIPTION
|
|
|
1052
1053
|
configuration file
|
|
1053
1054
|
```
|
|
1054
1055
|
|
|
1055
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
1056
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1056
1057
|
|
|
1057
1058
|
## `saltcorn setup-benchmark`
|
|
1058
1059
|
|
|
@@ -1070,7 +1071,7 @@ DESCRIPTION
|
|
|
1070
1071
|
Setup an instance for benchmarking
|
|
1071
1072
|
```
|
|
1072
1073
|
|
|
1073
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
1074
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1074
1075
|
|
|
1075
1076
|
## `saltcorn sync-upload-data`
|
|
1076
1077
|
|
|
@@ -1091,7 +1092,7 @@ DESCRIPTION
|
|
|
1091
1092
|
Runs a sync for data supplied by the mobile app
|
|
1092
1093
|
```
|
|
1093
1094
|
|
|
1094
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
1095
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1095
1096
|
|
|
1096
1097
|
## `saltcorn take-snapshot`
|
|
1097
1098
|
|
|
@@ -1109,7 +1110,7 @@ DESCRIPTION
|
|
|
1109
1110
|
Print a current snapshout to stdout
|
|
1110
1111
|
```
|
|
1111
1112
|
|
|
1112
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
1113
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1113
1114
|
|
|
1114
1115
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1115
1116
|
|
|
@@ -1129,5 +1130,5 @@ DESCRIPTION
|
|
|
1129
1130
|
transform an existing field by applying a calculated expression
|
|
1130
1131
|
```
|
|
1131
1132
|
|
|
1132
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1
|
|
1133
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.3.1/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1133
1134
|
<!-- commandsstop -->
|