@saltcorn/cli 1.6.0-alpha.9 → 1.6.0-beta.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 +62 -60
- package/npm-shrinkwrap.json +3373 -1913
- package/oclif.manifest.json +16 -1
- package/package.json +8 -8
- package/src/commands/dev/release.js +1 -1
- package/src/commands/install-plugin.js +24 -4
- package/src/commands/modify-user.js +10 -0
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @saltcorn/cli
|
|
|
20
20
|
$ saltcorn COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ saltcorn (--version)
|
|
23
|
-
@saltcorn/cli/1.6.0-
|
|
23
|
+
@saltcorn/cli/1.6.0-beta.1 linux-x64 node-v24.14.0
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -99,7 +99,7 @@ DESCRIPTION
|
|
|
99
99
|
Add Saltcorn schema to existing database
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
102
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
103
103
|
|
|
104
104
|
## `saltcorn backup`
|
|
105
105
|
|
|
@@ -120,7 +120,7 @@ DESCRIPTION
|
|
|
120
120
|
Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
123
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/backup.js)_
|
|
124
124
|
|
|
125
125
|
## `saltcorn build-app`
|
|
126
126
|
|
|
@@ -199,7 +199,7 @@ DESCRIPTION
|
|
|
199
199
|
Build mobile app
|
|
200
200
|
```
|
|
201
201
|
|
|
202
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
202
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
203
203
|
|
|
204
204
|
## `saltcorn build-capacitor-builder`
|
|
205
205
|
|
|
@@ -217,7 +217,7 @@ DESCRIPTION
|
|
|
217
217
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
218
218
|
```
|
|
219
219
|
|
|
220
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
220
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
221
221
|
|
|
222
222
|
## `saltcorn configuration-check`
|
|
223
223
|
|
|
@@ -234,7 +234,7 @@ DESCRIPTION
|
|
|
234
234
|
Check configuration
|
|
235
235
|
```
|
|
236
236
|
|
|
237
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
237
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
238
238
|
|
|
239
239
|
## `saltcorn configuration-check-backups FILES`
|
|
240
240
|
|
|
@@ -254,7 +254,7 @@ DESCRIPTION
|
|
|
254
254
|
Check configuration
|
|
255
255
|
```
|
|
256
256
|
|
|
257
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
257
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
258
258
|
|
|
259
259
|
## `saltcorn create-tenant TENANT`
|
|
260
260
|
|
|
@@ -276,7 +276,7 @@ DESCRIPTION
|
|
|
276
276
|
Create a tenant
|
|
277
277
|
```
|
|
278
278
|
|
|
279
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
279
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
280
280
|
|
|
281
281
|
## `saltcorn create-user`
|
|
282
282
|
|
|
@@ -297,7 +297,7 @@ DESCRIPTION
|
|
|
297
297
|
Create a new user
|
|
298
298
|
```
|
|
299
299
|
|
|
300
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
300
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
301
301
|
|
|
302
302
|
## `saltcorn delete-tenants`
|
|
303
303
|
|
|
@@ -311,7 +311,7 @@ DESCRIPTION
|
|
|
311
311
|
Delete inactive tenants
|
|
312
312
|
```
|
|
313
313
|
|
|
314
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
314
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
315
315
|
|
|
316
316
|
## `saltcorn delete-user USER_EMAIL`
|
|
317
317
|
|
|
@@ -334,7 +334,7 @@ DESCRIPTION
|
|
|
334
334
|
Command deletes the user specified by USER_EMAIL.
|
|
335
335
|
```
|
|
336
336
|
|
|
337
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
337
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
338
338
|
|
|
339
339
|
## `saltcorn dev:build [COMPONENT]`
|
|
340
340
|
|
|
@@ -351,7 +351,7 @@ DESCRIPTION
|
|
|
351
351
|
Rebuild static assets
|
|
352
352
|
```
|
|
353
353
|
|
|
354
|
-
_See code: [src/commands/dev/build.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
354
|
+
_See code: [src/commands/dev/build.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/dev/build.js)_
|
|
355
355
|
|
|
356
356
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
357
357
|
|
|
@@ -373,7 +373,7 @@ DESCRIPTION
|
|
|
373
373
|
Convert plugin to local plugin
|
|
374
374
|
```
|
|
375
375
|
|
|
376
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
376
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
377
377
|
|
|
378
378
|
## `saltcorn make-migration`
|
|
379
379
|
|
|
@@ -390,7 +390,7 @@ DESCRIPTION
|
|
|
390
390
|
unless you are a developer.
|
|
391
391
|
```
|
|
392
392
|
|
|
393
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
393
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
394
394
|
|
|
395
395
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
396
396
|
|
|
@@ -413,7 +413,7 @@ DESCRIPTION
|
|
|
413
413
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
416
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
417
417
|
|
|
418
418
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
419
419
|
|
|
@@ -431,7 +431,7 @@ DESCRIPTION
|
|
|
431
431
|
Post-release tasks: docker and vagrant builds
|
|
432
432
|
```
|
|
433
433
|
|
|
434
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
434
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
435
435
|
|
|
436
436
|
## `saltcorn dev:release VERSION TAG`
|
|
437
437
|
|
|
@@ -449,7 +449,7 @@ DESCRIPTION
|
|
|
449
449
|
Release a new saltcorn version
|
|
450
450
|
```
|
|
451
451
|
|
|
452
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
452
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
453
453
|
|
|
454
454
|
## `saltcorn dev:release-resume VERSION`
|
|
455
455
|
|
|
@@ -469,7 +469,7 @@ DESCRIPTION
|
|
|
469
469
|
Release a new saltcorn version
|
|
470
470
|
```
|
|
471
471
|
|
|
472
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
472
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
473
473
|
|
|
474
474
|
## `saltcorn dev:serve`
|
|
475
475
|
|
|
@@ -487,7 +487,7 @@ DESCRIPTION
|
|
|
487
487
|
Development server. Serve on port 3000, restart when source files change
|
|
488
488
|
```
|
|
489
489
|
|
|
490
|
-
_See code: [src/commands/dev/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
490
|
+
_See code: [src/commands/dev/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/dev/serve.js)_
|
|
491
491
|
|
|
492
492
|
## `saltcorn dev:test-plugin PATH`
|
|
493
493
|
|
|
@@ -506,7 +506,7 @@ DESCRIPTION
|
|
|
506
506
|
Extra documentation goes here
|
|
507
507
|
```
|
|
508
508
|
|
|
509
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
509
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
510
510
|
|
|
511
511
|
## `saltcorn dev:translate LOCALE`
|
|
512
512
|
|
|
@@ -526,7 +526,7 @@ DESCRIPTION
|
|
|
526
526
|
Produce translation files with LLM
|
|
527
527
|
```
|
|
528
528
|
|
|
529
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
529
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
530
530
|
|
|
531
531
|
## `saltcorn fixtures`
|
|
532
532
|
|
|
@@ -546,7 +546,7 @@ DESCRIPTION
|
|
|
546
546
|
This manual step it is never required for users and rarely required for developers
|
|
547
547
|
```
|
|
548
548
|
|
|
549
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
549
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
550
550
|
|
|
551
551
|
## `saltcorn get-cfg [KEY]`
|
|
552
552
|
|
|
@@ -567,7 +567,7 @@ DESCRIPTION
|
|
|
567
567
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
568
568
|
```
|
|
569
569
|
|
|
570
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
570
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
571
571
|
|
|
572
572
|
## `saltcorn info [KEY]`
|
|
573
573
|
|
|
@@ -593,7 +593,7 @@ ALIASES
|
|
|
593
593
|
$ saltcorn paths
|
|
594
594
|
```
|
|
595
595
|
|
|
596
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
596
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/info.js)_
|
|
597
597
|
|
|
598
598
|
## `saltcorn inspect TYPE [NAME]`
|
|
599
599
|
|
|
@@ -614,7 +614,7 @@ DESCRIPTION
|
|
|
614
614
|
Inspect an entity's JSON representation, or list entities
|
|
615
615
|
```
|
|
616
616
|
|
|
617
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
617
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
618
618
|
|
|
619
619
|
## `saltcorn install-pack`
|
|
620
620
|
|
|
@@ -633,7 +633,7 @@ DESCRIPTION
|
|
|
633
633
|
Install a pack or restore a snapshot
|
|
634
634
|
```
|
|
635
635
|
|
|
636
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
636
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
637
637
|
|
|
638
638
|
## `saltcorn install-plugin`
|
|
639
639
|
|
|
@@ -641,11 +641,12 @@ Install a plugin
|
|
|
641
641
|
|
|
642
642
|
```
|
|
643
643
|
USAGE
|
|
644
|
-
$ saltcorn install-plugin [-t <value>] [-n <value>] [-d <value>] [-u]
|
|
644
|
+
$ saltcorn install-plugin [-t <value>] [-n <value>] [-d <value>] [-p <value>] [-u]
|
|
645
645
|
|
|
646
646
|
FLAGS
|
|
647
647
|
-d, --directory=<value> Directory with local plugin
|
|
648
648
|
-n, --name=<value> Plugin name in store
|
|
649
|
+
-p, --npm=<value> Install plugin directly from npm by package name
|
|
649
650
|
-t, --tenant=<value> tenant
|
|
650
651
|
-u, --unsafe Allow unsafe plugins on tenants
|
|
651
652
|
|
|
@@ -653,7 +654,7 @@ DESCRIPTION
|
|
|
653
654
|
Install a plugin
|
|
654
655
|
```
|
|
655
656
|
|
|
656
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
657
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
657
658
|
|
|
658
659
|
## `saltcorn list-tenants`
|
|
659
660
|
|
|
@@ -673,7 +674,7 @@ DESCRIPTION
|
|
|
673
674
|
List tenants in CSV format
|
|
674
675
|
```
|
|
675
676
|
|
|
676
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
677
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
677
678
|
|
|
678
679
|
## `saltcorn list-triggers`
|
|
679
680
|
|
|
@@ -692,7 +693,7 @@ DESCRIPTION
|
|
|
692
693
|
List triggers
|
|
693
694
|
```
|
|
694
695
|
|
|
695
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
696
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
696
697
|
|
|
697
698
|
## `saltcorn list-users`
|
|
698
699
|
|
|
@@ -710,7 +711,7 @@ DESCRIPTION
|
|
|
710
711
|
List users
|
|
711
712
|
```
|
|
712
713
|
|
|
713
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
714
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
714
715
|
|
|
715
716
|
## `saltcorn saltcorn migrate`
|
|
716
717
|
|
|
@@ -733,7 +734,7 @@ DESCRIPTION
|
|
|
733
734
|
servers and need to control when the migrations are run.
|
|
734
735
|
```
|
|
735
736
|
|
|
736
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
737
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
737
738
|
|
|
738
739
|
## `saltcorn modify-user USER_EMAIL`
|
|
739
740
|
|
|
@@ -741,18 +742,19 @@ Modify (update) user.
|
|
|
741
742
|
|
|
742
743
|
```
|
|
743
744
|
USAGE
|
|
744
|
-
$ saltcorn modify-user USER_EMAIL [-a] [-t <value>] [-e <value>] [-r <value>] [-p <value>] [-i]
|
|
745
|
+
$ saltcorn modify-user USER_EMAIL [-a] [-t <value>] [-e <value>] [-r <value>] [-p <value>] [-i] [-g]
|
|
745
746
|
|
|
746
747
|
ARGUMENTS
|
|
747
748
|
USER_EMAIL User to modify
|
|
748
749
|
|
|
749
750
|
FLAGS
|
|
750
|
-
-a, --admin
|
|
751
|
-
-e, --email=<value>
|
|
752
|
-
-
|
|
753
|
-
-
|
|
754
|
-
-
|
|
755
|
-
-
|
|
751
|
+
-a, --admin make user be Admin
|
|
752
|
+
-e, --email=<value> new email
|
|
753
|
+
-g, --generate-api-token generate a new API token for the user and print it to stdout
|
|
754
|
+
-i, --imode interactive mode
|
|
755
|
+
-p, --password=<value> new password
|
|
756
|
+
-r, --role=<value> new role (can conflict with -a option)
|
|
757
|
+
-t, --tenant=<value> tenant
|
|
756
758
|
|
|
757
759
|
DESCRIPTION
|
|
758
760
|
Modify (update) user.
|
|
@@ -764,7 +766,7 @@ DESCRIPTION
|
|
|
764
766
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
765
767
|
```
|
|
766
768
|
|
|
767
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
769
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
768
770
|
|
|
769
771
|
## `saltcorn paths [KEY]`
|
|
770
772
|
|
|
@@ -819,7 +821,7 @@ EXAMPLES
|
|
|
819
821
|
plugins -u -f - force plugin update
|
|
820
822
|
```
|
|
821
823
|
|
|
822
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
824
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
823
825
|
|
|
824
826
|
## `saltcorn pre-install-modules PLUGINSELECTOR`
|
|
825
827
|
|
|
@@ -839,7 +841,7 @@ DESCRIPTION
|
|
|
839
841
|
Pre-install modules required by Saltcorn before running the application.
|
|
840
842
|
```
|
|
841
843
|
|
|
842
|
-
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
844
|
+
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
|
|
843
845
|
|
|
844
846
|
## `saltcorn prepare`
|
|
845
847
|
|
|
@@ -857,7 +859,7 @@ DESCRIPTION
|
|
|
857
859
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
858
860
|
```
|
|
859
861
|
|
|
860
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
862
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
861
863
|
|
|
862
864
|
## `saltcorn reset-schema`
|
|
863
865
|
|
|
@@ -877,7 +879,7 @@ DESCRIPTION
|
|
|
877
879
|
This will delete all existing information
|
|
878
880
|
```
|
|
879
881
|
|
|
880
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
882
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
881
883
|
|
|
882
884
|
## `saltcorn restore FILE`
|
|
883
885
|
|
|
@@ -897,7 +899,7 @@ DESCRIPTION
|
|
|
897
899
|
Restore a previously backed up database (zip or sqlc format)
|
|
898
900
|
```
|
|
899
901
|
|
|
900
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
902
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/restore.js)_
|
|
901
903
|
|
|
902
904
|
## `saltcorn rm-tenant`
|
|
903
905
|
|
|
@@ -917,7 +919,7 @@ DESCRIPTION
|
|
|
917
919
|
It recommended to make backup of tenant before perform this command.
|
|
918
920
|
```
|
|
919
921
|
|
|
920
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
922
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
921
923
|
|
|
922
924
|
## `saltcorn run-benchmark [BASEURL]`
|
|
923
925
|
|
|
@@ -939,7 +941,7 @@ DESCRIPTION
|
|
|
939
941
|
Run benchmark
|
|
940
942
|
```
|
|
941
943
|
|
|
942
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
944
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
943
945
|
|
|
944
946
|
## `saltcorn run-js`
|
|
945
947
|
|
|
@@ -958,7 +960,7 @@ DESCRIPTION
|
|
|
958
960
|
Run javascript code
|
|
959
961
|
```
|
|
960
962
|
|
|
961
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
963
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
962
964
|
|
|
963
965
|
## `saltcorn run-sql`
|
|
964
966
|
|
|
@@ -977,7 +979,7 @@ DESCRIPTION
|
|
|
977
979
|
Run sql expression
|
|
978
980
|
```
|
|
979
981
|
|
|
980
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
982
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
981
983
|
|
|
982
984
|
## `saltcorn run-tests [PACKAGE]`
|
|
983
985
|
|
|
@@ -1004,7 +1006,7 @@ DESCRIPTION
|
|
|
1004
1006
|
Run test suites
|
|
1005
1007
|
```
|
|
1006
1008
|
|
|
1007
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1009
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
1008
1010
|
|
|
1009
1011
|
## `saltcorn run-trigger TRIGGER`
|
|
1010
1012
|
|
|
@@ -1024,7 +1026,7 @@ DESCRIPTION
|
|
|
1024
1026
|
Run a trigger
|
|
1025
1027
|
```
|
|
1026
1028
|
|
|
1027
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1029
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
1028
1030
|
|
|
1029
1031
|
## `saltcorn scheduler`
|
|
1030
1032
|
|
|
@@ -1041,7 +1043,7 @@ DESCRIPTION
|
|
|
1041
1043
|
Run the Saltcorn scheduler
|
|
1042
1044
|
```
|
|
1043
1045
|
|
|
1044
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1046
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
1045
1047
|
|
|
1046
1048
|
## `saltcorn serve`
|
|
1047
1049
|
|
|
@@ -1066,7 +1068,7 @@ DESCRIPTION
|
|
|
1066
1068
|
Start the Saltcorn server
|
|
1067
1069
|
```
|
|
1068
1070
|
|
|
1069
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1071
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/serve.js)_
|
|
1070
1072
|
|
|
1071
1073
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
1072
1074
|
|
|
@@ -1091,7 +1093,7 @@ DESCRIPTION
|
|
|
1091
1093
|
stored as a string.
|
|
1092
1094
|
```
|
|
1093
1095
|
|
|
1094
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1096
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1095
1097
|
|
|
1096
1098
|
## `saltcorn set-daily-time [MINS]`
|
|
1097
1099
|
|
|
@@ -1111,7 +1113,7 @@ DESCRIPTION
|
|
|
1111
1113
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1112
1114
|
```
|
|
1113
1115
|
|
|
1114
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1116
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1115
1117
|
|
|
1116
1118
|
## `saltcorn setup`
|
|
1117
1119
|
|
|
@@ -1131,7 +1133,7 @@ DESCRIPTION
|
|
|
1131
1133
|
configuration file
|
|
1132
1134
|
```
|
|
1133
1135
|
|
|
1134
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1136
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1135
1137
|
|
|
1136
1138
|
## `saltcorn setup-benchmark`
|
|
1137
1139
|
|
|
@@ -1149,7 +1151,7 @@ DESCRIPTION
|
|
|
1149
1151
|
Setup an instance for benchmarking
|
|
1150
1152
|
```
|
|
1151
1153
|
|
|
1152
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1154
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1153
1155
|
|
|
1154
1156
|
## `saltcorn sync-upload-data`
|
|
1155
1157
|
|
|
@@ -1171,7 +1173,7 @@ DESCRIPTION
|
|
|
1171
1173
|
Runs a sync for data supplied by the mobile app
|
|
1172
1174
|
```
|
|
1173
1175
|
|
|
1174
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1176
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1175
1177
|
|
|
1176
1178
|
## `saltcorn take-snapshot`
|
|
1177
1179
|
|
|
@@ -1189,7 +1191,7 @@ DESCRIPTION
|
|
|
1189
1191
|
Print a current snapshout to stdout
|
|
1190
1192
|
```
|
|
1191
1193
|
|
|
1192
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1194
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1193
1195
|
|
|
1194
1196
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1195
1197
|
|
|
@@ -1209,5 +1211,5 @@ DESCRIPTION
|
|
|
1209
1211
|
transform an existing field by applying a calculated expression
|
|
1210
1212
|
```
|
|
1211
1213
|
|
|
1212
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-
|
|
1214
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-beta.1/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1213
1215
|
<!-- commandsstop -->
|