@saltcorn/cli 1.5.0-beta.15 → 1.5.0-beta.17
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 +70 -49
- package/npm-shrinkwrap.json +364 -438
- package/oclif.manifest.json +37 -1
- package/package.json +8 -8
- package/src/commands/dev/release.js +11 -0
- package/src/commands/pre-install-modules.js +105 -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.5.0-beta.
|
|
23
|
+
@saltcorn/cli/1.5.0-beta.17 linux-x64 node-v20.19.4
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -62,6 +62,7 @@ USAGE
|
|
|
62
62
|
* [`saltcorn modify-user USER_EMAIL`](#saltcorn-modify-user-user_email)
|
|
63
63
|
* [`saltcorn paths [KEY]`](#saltcorn-paths-key)
|
|
64
64
|
* [`saltcorn plugins`](#saltcorn-plugins)
|
|
65
|
+
* [`saltcorn pre-install-modules PLUGINSELECTOR`](#saltcorn-pre-install-modules-pluginselector)
|
|
65
66
|
* [`saltcorn prepare`](#saltcorn-prepare)
|
|
66
67
|
* [`saltcorn reset-schema`](#saltcorn-reset-schema)
|
|
67
68
|
* [`saltcorn restore FILE`](#saltcorn-restore-file)
|
|
@@ -96,7 +97,7 @@ DESCRIPTION
|
|
|
96
97
|
Add Saltcorn schema to existing database
|
|
97
98
|
```
|
|
98
99
|
|
|
99
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
100
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
100
101
|
|
|
101
102
|
## `saltcorn backup`
|
|
102
103
|
|
|
@@ -117,7 +118,7 @@ DESCRIPTION
|
|
|
117
118
|
Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
118
119
|
```
|
|
119
120
|
|
|
120
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
121
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/backup.js)_
|
|
121
122
|
|
|
122
123
|
## `saltcorn build-app`
|
|
123
124
|
|
|
@@ -184,7 +185,7 @@ DESCRIPTION
|
|
|
184
185
|
Build mobile app
|
|
185
186
|
```
|
|
186
187
|
|
|
187
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
188
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
188
189
|
|
|
189
190
|
## `saltcorn build-capacitor-builder`
|
|
190
191
|
|
|
@@ -202,7 +203,7 @@ DESCRIPTION
|
|
|
202
203
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
203
204
|
```
|
|
204
205
|
|
|
205
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
206
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
206
207
|
|
|
207
208
|
## `saltcorn configuration-check`
|
|
208
209
|
|
|
@@ -219,7 +220,7 @@ DESCRIPTION
|
|
|
219
220
|
Check configuration
|
|
220
221
|
```
|
|
221
222
|
|
|
222
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
223
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
223
224
|
|
|
224
225
|
## `saltcorn configuration-check-backups FILES`
|
|
225
226
|
|
|
@@ -239,7 +240,7 @@ DESCRIPTION
|
|
|
239
240
|
Check configuration
|
|
240
241
|
```
|
|
241
242
|
|
|
242
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
243
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
243
244
|
|
|
244
245
|
## `saltcorn create-tenant TENANT`
|
|
245
246
|
|
|
@@ -261,7 +262,7 @@ DESCRIPTION
|
|
|
261
262
|
Create a tenant
|
|
262
263
|
```
|
|
263
264
|
|
|
264
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
265
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
265
266
|
|
|
266
267
|
## `saltcorn create-user`
|
|
267
268
|
|
|
@@ -282,7 +283,7 @@ DESCRIPTION
|
|
|
282
283
|
Create a new user
|
|
283
284
|
```
|
|
284
285
|
|
|
285
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
286
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
286
287
|
|
|
287
288
|
## `saltcorn delete-tenants`
|
|
288
289
|
|
|
@@ -296,7 +297,7 @@ DESCRIPTION
|
|
|
296
297
|
Delete inactive tenants
|
|
297
298
|
```
|
|
298
299
|
|
|
299
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
300
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
300
301
|
|
|
301
302
|
## `saltcorn delete-user USER_EMAIL`
|
|
302
303
|
|
|
@@ -319,7 +320,7 @@ DESCRIPTION
|
|
|
319
320
|
Command deletes the user specified by USER_EMAIL.
|
|
320
321
|
```
|
|
321
322
|
|
|
322
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
323
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
323
324
|
|
|
324
325
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
325
326
|
|
|
@@ -341,7 +342,7 @@ DESCRIPTION
|
|
|
341
342
|
Convert plugin to local plugin
|
|
342
343
|
```
|
|
343
344
|
|
|
344
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
345
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
345
346
|
|
|
346
347
|
## `saltcorn make-migration`
|
|
347
348
|
|
|
@@ -358,7 +359,7 @@ DESCRIPTION
|
|
|
358
359
|
unless you are a developer.
|
|
359
360
|
```
|
|
360
361
|
|
|
361
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
362
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
362
363
|
|
|
363
364
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
364
365
|
|
|
@@ -379,7 +380,7 @@ DESCRIPTION
|
|
|
379
380
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
380
381
|
```
|
|
381
382
|
|
|
382
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
383
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
383
384
|
|
|
384
385
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
385
386
|
|
|
@@ -397,7 +398,7 @@ DESCRIPTION
|
|
|
397
398
|
Post-release tasks: docker and vagrant builds
|
|
398
399
|
```
|
|
399
400
|
|
|
400
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
401
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
401
402
|
|
|
402
403
|
## `saltcorn dev:release VERSION TAG`
|
|
403
404
|
|
|
@@ -415,7 +416,7 @@ DESCRIPTION
|
|
|
415
416
|
Release a new saltcorn version
|
|
416
417
|
```
|
|
417
418
|
|
|
418
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
419
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
419
420
|
|
|
420
421
|
## `saltcorn dev:release-resume VERSION`
|
|
421
422
|
|
|
@@ -435,7 +436,7 @@ DESCRIPTION
|
|
|
435
436
|
Release a new saltcorn version
|
|
436
437
|
```
|
|
437
438
|
|
|
438
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
439
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
439
440
|
|
|
440
441
|
## `saltcorn dev:test-plugin PATH`
|
|
441
442
|
|
|
@@ -454,7 +455,7 @@ DESCRIPTION
|
|
|
454
455
|
Extra documentation goes here
|
|
455
456
|
```
|
|
456
457
|
|
|
457
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
458
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
458
459
|
|
|
459
460
|
## `saltcorn dev:translate LOCALE`
|
|
460
461
|
|
|
@@ -474,7 +475,7 @@ DESCRIPTION
|
|
|
474
475
|
Produce translation files with LLM
|
|
475
476
|
```
|
|
476
477
|
|
|
477
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
478
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
478
479
|
|
|
479
480
|
## `saltcorn fixtures`
|
|
480
481
|
|
|
@@ -494,7 +495,7 @@ DESCRIPTION
|
|
|
494
495
|
This manual step it is never required for users and rarely required for developers
|
|
495
496
|
```
|
|
496
497
|
|
|
497
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
498
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
498
499
|
|
|
499
500
|
## `saltcorn get-cfg [KEY]`
|
|
500
501
|
|
|
@@ -515,7 +516,7 @@ DESCRIPTION
|
|
|
515
516
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
516
517
|
```
|
|
517
518
|
|
|
518
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
519
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
519
520
|
|
|
520
521
|
## `saltcorn info [KEY]`
|
|
521
522
|
|
|
@@ -541,7 +542,7 @@ ALIASES
|
|
|
541
542
|
$ saltcorn paths
|
|
542
543
|
```
|
|
543
544
|
|
|
544
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
545
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/info.js)_
|
|
545
546
|
|
|
546
547
|
## `saltcorn inspect TYPE [NAME]`
|
|
547
548
|
|
|
@@ -562,7 +563,7 @@ DESCRIPTION
|
|
|
562
563
|
Inspect an entity's JSON representation, or list entities
|
|
563
564
|
```
|
|
564
565
|
|
|
565
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
566
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
566
567
|
|
|
567
568
|
## `saltcorn install-pack`
|
|
568
569
|
|
|
@@ -581,7 +582,7 @@ DESCRIPTION
|
|
|
581
582
|
Install a pack or restore a snapshot
|
|
582
583
|
```
|
|
583
584
|
|
|
584
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
585
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
585
586
|
|
|
586
587
|
## `saltcorn install-plugin`
|
|
587
588
|
|
|
@@ -601,7 +602,7 @@ DESCRIPTION
|
|
|
601
602
|
Install a plugin
|
|
602
603
|
```
|
|
603
604
|
|
|
604
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
605
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
605
606
|
|
|
606
607
|
## `saltcorn list-tenants`
|
|
607
608
|
|
|
@@ -621,7 +622,7 @@ DESCRIPTION
|
|
|
621
622
|
List tenants in CSV format
|
|
622
623
|
```
|
|
623
624
|
|
|
624
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
625
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
625
626
|
|
|
626
627
|
## `saltcorn list-triggers`
|
|
627
628
|
|
|
@@ -640,7 +641,7 @@ DESCRIPTION
|
|
|
640
641
|
List triggers
|
|
641
642
|
```
|
|
642
643
|
|
|
643
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
644
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
644
645
|
|
|
645
646
|
## `saltcorn list-users`
|
|
646
647
|
|
|
@@ -658,7 +659,7 @@ DESCRIPTION
|
|
|
658
659
|
List users
|
|
659
660
|
```
|
|
660
661
|
|
|
661
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
662
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
662
663
|
|
|
663
664
|
## `saltcorn saltcorn migrate`
|
|
664
665
|
|
|
@@ -681,7 +682,7 @@ DESCRIPTION
|
|
|
681
682
|
servers and need to control when the migrations are run.
|
|
682
683
|
```
|
|
683
684
|
|
|
684
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
685
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
685
686
|
|
|
686
687
|
## `saltcorn modify-user USER_EMAIL`
|
|
687
688
|
|
|
@@ -712,7 +713,7 @@ DESCRIPTION
|
|
|
712
713
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
713
714
|
```
|
|
714
715
|
|
|
715
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
716
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
716
717
|
|
|
717
718
|
## `saltcorn paths [KEY]`
|
|
718
719
|
|
|
@@ -767,7 +768,27 @@ EXAMPLES
|
|
|
767
768
|
plugins -u -f - force plugin update
|
|
768
769
|
```
|
|
769
770
|
|
|
770
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
771
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
772
|
+
|
|
773
|
+
## `saltcorn pre-install-modules PLUGINSELECTOR`
|
|
774
|
+
|
|
775
|
+
Pre-install modules required by Saltcorn before running the application.
|
|
776
|
+
|
|
777
|
+
```
|
|
778
|
+
USAGE
|
|
779
|
+
$ saltcorn pre-install-modules PLUGINSELECTOR [--store_endpoint <value>]
|
|
780
|
+
|
|
781
|
+
ARGUMENTS
|
|
782
|
+
PLUGINSELECTOR Either 'all' to pre-install all plugins or one specific plugin name
|
|
783
|
+
|
|
784
|
+
FLAGS
|
|
785
|
+
--store_endpoint=<value> [default: https://store.saltcorn.com/api/extensions] Saltcorn Modules Store endpoint
|
|
786
|
+
|
|
787
|
+
DESCRIPTION
|
|
788
|
+
Pre-install modules required by Saltcorn before running the application.
|
|
789
|
+
```
|
|
790
|
+
|
|
791
|
+
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
|
|
771
792
|
|
|
772
793
|
## `saltcorn prepare`
|
|
773
794
|
|
|
@@ -785,7 +806,7 @@ DESCRIPTION
|
|
|
785
806
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
786
807
|
```
|
|
787
808
|
|
|
788
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
809
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
789
810
|
|
|
790
811
|
## `saltcorn reset-schema`
|
|
791
812
|
|
|
@@ -805,7 +826,7 @@ DESCRIPTION
|
|
|
805
826
|
This will delete all existing information
|
|
806
827
|
```
|
|
807
828
|
|
|
808
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
829
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
809
830
|
|
|
810
831
|
## `saltcorn restore FILE`
|
|
811
832
|
|
|
@@ -825,7 +846,7 @@ DESCRIPTION
|
|
|
825
846
|
Restore a previously backed up database (zip or sqlc format)
|
|
826
847
|
```
|
|
827
848
|
|
|
828
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
849
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/restore.js)_
|
|
829
850
|
|
|
830
851
|
## `saltcorn rm-tenant`
|
|
831
852
|
|
|
@@ -845,7 +866,7 @@ DESCRIPTION
|
|
|
845
866
|
It recommended to make backup of tenant before perform this command.
|
|
846
867
|
```
|
|
847
868
|
|
|
848
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
869
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
849
870
|
|
|
850
871
|
## `saltcorn run-benchmark [BASEURL]`
|
|
851
872
|
|
|
@@ -867,7 +888,7 @@ DESCRIPTION
|
|
|
867
888
|
Run benchmark
|
|
868
889
|
```
|
|
869
890
|
|
|
870
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
891
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
871
892
|
|
|
872
893
|
## `saltcorn run-js`
|
|
873
894
|
|
|
@@ -886,7 +907,7 @@ DESCRIPTION
|
|
|
886
907
|
Run javascript code
|
|
887
908
|
```
|
|
888
909
|
|
|
889
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
910
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
890
911
|
|
|
891
912
|
## `saltcorn run-sql`
|
|
892
913
|
|
|
@@ -905,7 +926,7 @@ DESCRIPTION
|
|
|
905
926
|
Run sql expression
|
|
906
927
|
```
|
|
907
928
|
|
|
908
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
929
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
909
930
|
|
|
910
931
|
## `saltcorn run-tests [PACKAGE]`
|
|
911
932
|
|
|
@@ -932,7 +953,7 @@ DESCRIPTION
|
|
|
932
953
|
Run test suites
|
|
933
954
|
```
|
|
934
955
|
|
|
935
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
956
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
936
957
|
|
|
937
958
|
## `saltcorn run-trigger TRIGGER`
|
|
938
959
|
|
|
@@ -952,7 +973,7 @@ DESCRIPTION
|
|
|
952
973
|
Run a trigger
|
|
953
974
|
```
|
|
954
975
|
|
|
955
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
976
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
956
977
|
|
|
957
978
|
## `saltcorn scheduler`
|
|
958
979
|
|
|
@@ -969,7 +990,7 @@ DESCRIPTION
|
|
|
969
990
|
Run the Saltcorn scheduler
|
|
970
991
|
```
|
|
971
992
|
|
|
972
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
993
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
973
994
|
|
|
974
995
|
## `saltcorn serve`
|
|
975
996
|
|
|
@@ -994,7 +1015,7 @@ DESCRIPTION
|
|
|
994
1015
|
Start the Saltcorn server
|
|
995
1016
|
```
|
|
996
1017
|
|
|
997
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1018
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/serve.js)_
|
|
998
1019
|
|
|
999
1020
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
1000
1021
|
|
|
@@ -1019,7 +1040,7 @@ DESCRIPTION
|
|
|
1019
1040
|
stored as a string.
|
|
1020
1041
|
```
|
|
1021
1042
|
|
|
1022
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1043
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1023
1044
|
|
|
1024
1045
|
## `saltcorn set-daily-time [MINS]`
|
|
1025
1046
|
|
|
@@ -1039,7 +1060,7 @@ DESCRIPTION
|
|
|
1039
1060
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1040
1061
|
```
|
|
1041
1062
|
|
|
1042
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1063
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1043
1064
|
|
|
1044
1065
|
## `saltcorn setup`
|
|
1045
1066
|
|
|
@@ -1059,7 +1080,7 @@ DESCRIPTION
|
|
|
1059
1080
|
configuration file
|
|
1060
1081
|
```
|
|
1061
1082
|
|
|
1062
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1083
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1063
1084
|
|
|
1064
1085
|
## `saltcorn setup-benchmark`
|
|
1065
1086
|
|
|
@@ -1077,7 +1098,7 @@ DESCRIPTION
|
|
|
1077
1098
|
Setup an instance for benchmarking
|
|
1078
1099
|
```
|
|
1079
1100
|
|
|
1080
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1101
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1081
1102
|
|
|
1082
1103
|
## `saltcorn sync-upload-data`
|
|
1083
1104
|
|
|
@@ -1099,7 +1120,7 @@ DESCRIPTION
|
|
|
1099
1120
|
Runs a sync for data supplied by the mobile app
|
|
1100
1121
|
```
|
|
1101
1122
|
|
|
1102
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1123
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1103
1124
|
|
|
1104
1125
|
## `saltcorn take-snapshot`
|
|
1105
1126
|
|
|
@@ -1117,7 +1138,7 @@ DESCRIPTION
|
|
|
1117
1138
|
Print a current snapshout to stdout
|
|
1118
1139
|
```
|
|
1119
1140
|
|
|
1120
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1141
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1121
1142
|
|
|
1122
1143
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1123
1144
|
|
|
@@ -1137,5 +1158,5 @@ DESCRIPTION
|
|
|
1137
1158
|
transform an existing field by applying a calculated expression
|
|
1138
1159
|
```
|
|
1139
1160
|
|
|
1140
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1161
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.17/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1141
1162
|
<!-- commandsstop -->
|