@saltcorn/cli 1.5.0-beta.17 → 1.5.0-beta.19
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 +57 -54
- package/npm-shrinkwrap.json +598 -625
- package/oclif.manifest.json +7 -1
- package/package.json +8 -8
- package/src/commands/build-app.js +8 -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.19 linux-x64 node-v20.19.4
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -97,7 +97,7 @@ DESCRIPTION
|
|
|
97
97
|
Add Saltcorn schema to existing database
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
_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.19/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
101
101
|
|
|
102
102
|
## `saltcorn backup`
|
|
103
103
|
|
|
@@ -118,7 +118,7 @@ DESCRIPTION
|
|
|
118
118
|
Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
_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.19/packages/saltcorn-cli/src/commands/backup.js)_
|
|
122
122
|
|
|
123
123
|
## `saltcorn build-app`
|
|
124
124
|
|
|
@@ -129,10 +129,10 @@ USAGE
|
|
|
129
129
|
$ saltcorn build-app [-m full|prepare|finish] [--allowShareTo] [--tenantAppName <value>] [-p <value>...] [-e
|
|
130
130
|
<value>] [-t <value>] [-l <value>...] [--synchedTables <value>...] [--includedPlugins <value>...] [-d] [-b <value>]
|
|
131
131
|
[-c <value>] [-u <value>] [--appName <value>] [--appId <value>] [--appVersion <value>] [--appIcon <value>] [-s
|
|
132
|
-
<value>] [--splashPage <value>] [--autoPublicLogin] [--showContinueAsPublicUser] [--allowOfflineMode]
|
|
133
|
-
[--
|
|
134
|
-
|
|
135
|
-
[--googleServicesFile <value>]
|
|
132
|
+
<value>] [--splashPage <value>] [--autoPublicLogin] [--showContinueAsPublicUser] [--allowOfflineMode]
|
|
133
|
+
[--syncOnReconnect] [--pushSync] [--syncInterval <value>] [--provisioningProfile <value>]
|
|
134
|
+
[--shareExtensionProvisioningProfile <value>] [--buildType <value>] [--androidKeystore <value>]
|
|
135
|
+
[--androidKeyStoreAlias <value>] [--androidKeystorePassword <value>] [--googleServicesFile <value>]
|
|
136
136
|
|
|
137
137
|
FLAGS
|
|
138
138
|
-b, --buildDirectory=<value> A directory where the app should be build
|
|
@@ -176,6 +176,9 @@ FLAGS
|
|
|
176
176
|
--syncInterval=<value> Perdiodic interval (in minutes) to run synchronizations in the
|
|
177
177
|
background. This is just a min interval, depending on system
|
|
178
178
|
conditions, the actual time may be longer.
|
|
179
|
+
--syncOnReconnect Run Synchronizations and return into online mode when the network
|
|
180
|
+
connection is restored. When disabled, you still can do this
|
|
181
|
+
manually.
|
|
179
182
|
--synchedTables=<value>... Table names for which the offline should be synchronized with the
|
|
180
183
|
saltcorn server
|
|
181
184
|
--tenantAppName=<value> Optional name of a tenant application, if set, the app will be build
|
|
@@ -185,7 +188,7 @@ DESCRIPTION
|
|
|
185
188
|
Build mobile app
|
|
186
189
|
```
|
|
187
190
|
|
|
188
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
191
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
189
192
|
|
|
190
193
|
## `saltcorn build-capacitor-builder`
|
|
191
194
|
|
|
@@ -203,7 +206,7 @@ DESCRIPTION
|
|
|
203
206
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
204
207
|
```
|
|
205
208
|
|
|
206
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
209
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
207
210
|
|
|
208
211
|
## `saltcorn configuration-check`
|
|
209
212
|
|
|
@@ -220,7 +223,7 @@ DESCRIPTION
|
|
|
220
223
|
Check configuration
|
|
221
224
|
```
|
|
222
225
|
|
|
223
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
226
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
224
227
|
|
|
225
228
|
## `saltcorn configuration-check-backups FILES`
|
|
226
229
|
|
|
@@ -240,7 +243,7 @@ DESCRIPTION
|
|
|
240
243
|
Check configuration
|
|
241
244
|
```
|
|
242
245
|
|
|
243
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
246
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
244
247
|
|
|
245
248
|
## `saltcorn create-tenant TENANT`
|
|
246
249
|
|
|
@@ -262,7 +265,7 @@ DESCRIPTION
|
|
|
262
265
|
Create a tenant
|
|
263
266
|
```
|
|
264
267
|
|
|
265
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
268
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
266
269
|
|
|
267
270
|
## `saltcorn create-user`
|
|
268
271
|
|
|
@@ -283,7 +286,7 @@ DESCRIPTION
|
|
|
283
286
|
Create a new user
|
|
284
287
|
```
|
|
285
288
|
|
|
286
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
289
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
287
290
|
|
|
288
291
|
## `saltcorn delete-tenants`
|
|
289
292
|
|
|
@@ -297,7 +300,7 @@ DESCRIPTION
|
|
|
297
300
|
Delete inactive tenants
|
|
298
301
|
```
|
|
299
302
|
|
|
300
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
303
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
301
304
|
|
|
302
305
|
## `saltcorn delete-user USER_EMAIL`
|
|
303
306
|
|
|
@@ -320,7 +323,7 @@ DESCRIPTION
|
|
|
320
323
|
Command deletes the user specified by USER_EMAIL.
|
|
321
324
|
```
|
|
322
325
|
|
|
323
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
326
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
324
327
|
|
|
325
328
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
326
329
|
|
|
@@ -342,7 +345,7 @@ DESCRIPTION
|
|
|
342
345
|
Convert plugin to local plugin
|
|
343
346
|
```
|
|
344
347
|
|
|
345
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
348
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
346
349
|
|
|
347
350
|
## `saltcorn make-migration`
|
|
348
351
|
|
|
@@ -359,7 +362,7 @@ DESCRIPTION
|
|
|
359
362
|
unless you are a developer.
|
|
360
363
|
```
|
|
361
364
|
|
|
362
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
365
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
363
366
|
|
|
364
367
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
365
368
|
|
|
@@ -380,7 +383,7 @@ DESCRIPTION
|
|
|
380
383
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
381
384
|
```
|
|
382
385
|
|
|
383
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
386
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
384
387
|
|
|
385
388
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
386
389
|
|
|
@@ -398,7 +401,7 @@ DESCRIPTION
|
|
|
398
401
|
Post-release tasks: docker and vagrant builds
|
|
399
402
|
```
|
|
400
403
|
|
|
401
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
404
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
402
405
|
|
|
403
406
|
## `saltcorn dev:release VERSION TAG`
|
|
404
407
|
|
|
@@ -416,7 +419,7 @@ DESCRIPTION
|
|
|
416
419
|
Release a new saltcorn version
|
|
417
420
|
```
|
|
418
421
|
|
|
419
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
422
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
420
423
|
|
|
421
424
|
## `saltcorn dev:release-resume VERSION`
|
|
422
425
|
|
|
@@ -436,7 +439,7 @@ DESCRIPTION
|
|
|
436
439
|
Release a new saltcorn version
|
|
437
440
|
```
|
|
438
441
|
|
|
439
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
442
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
440
443
|
|
|
441
444
|
## `saltcorn dev:test-plugin PATH`
|
|
442
445
|
|
|
@@ -455,7 +458,7 @@ DESCRIPTION
|
|
|
455
458
|
Extra documentation goes here
|
|
456
459
|
```
|
|
457
460
|
|
|
458
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
461
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
459
462
|
|
|
460
463
|
## `saltcorn dev:translate LOCALE`
|
|
461
464
|
|
|
@@ -475,7 +478,7 @@ DESCRIPTION
|
|
|
475
478
|
Produce translation files with LLM
|
|
476
479
|
```
|
|
477
480
|
|
|
478
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
481
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
479
482
|
|
|
480
483
|
## `saltcorn fixtures`
|
|
481
484
|
|
|
@@ -495,7 +498,7 @@ DESCRIPTION
|
|
|
495
498
|
This manual step it is never required for users and rarely required for developers
|
|
496
499
|
```
|
|
497
500
|
|
|
498
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
501
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
499
502
|
|
|
500
503
|
## `saltcorn get-cfg [KEY]`
|
|
501
504
|
|
|
@@ -516,7 +519,7 @@ DESCRIPTION
|
|
|
516
519
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
517
520
|
```
|
|
518
521
|
|
|
519
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
522
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
520
523
|
|
|
521
524
|
## `saltcorn info [KEY]`
|
|
522
525
|
|
|
@@ -542,7 +545,7 @@ ALIASES
|
|
|
542
545
|
$ saltcorn paths
|
|
543
546
|
```
|
|
544
547
|
|
|
545
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
548
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/info.js)_
|
|
546
549
|
|
|
547
550
|
## `saltcorn inspect TYPE [NAME]`
|
|
548
551
|
|
|
@@ -563,7 +566,7 @@ DESCRIPTION
|
|
|
563
566
|
Inspect an entity's JSON representation, or list entities
|
|
564
567
|
```
|
|
565
568
|
|
|
566
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
569
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
567
570
|
|
|
568
571
|
## `saltcorn install-pack`
|
|
569
572
|
|
|
@@ -582,7 +585,7 @@ DESCRIPTION
|
|
|
582
585
|
Install a pack or restore a snapshot
|
|
583
586
|
```
|
|
584
587
|
|
|
585
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
588
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
586
589
|
|
|
587
590
|
## `saltcorn install-plugin`
|
|
588
591
|
|
|
@@ -602,7 +605,7 @@ DESCRIPTION
|
|
|
602
605
|
Install a plugin
|
|
603
606
|
```
|
|
604
607
|
|
|
605
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
608
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
606
609
|
|
|
607
610
|
## `saltcorn list-tenants`
|
|
608
611
|
|
|
@@ -622,7 +625,7 @@ DESCRIPTION
|
|
|
622
625
|
List tenants in CSV format
|
|
623
626
|
```
|
|
624
627
|
|
|
625
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
628
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
626
629
|
|
|
627
630
|
## `saltcorn list-triggers`
|
|
628
631
|
|
|
@@ -641,7 +644,7 @@ DESCRIPTION
|
|
|
641
644
|
List triggers
|
|
642
645
|
```
|
|
643
646
|
|
|
644
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
647
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
645
648
|
|
|
646
649
|
## `saltcorn list-users`
|
|
647
650
|
|
|
@@ -659,7 +662,7 @@ DESCRIPTION
|
|
|
659
662
|
List users
|
|
660
663
|
```
|
|
661
664
|
|
|
662
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
665
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
663
666
|
|
|
664
667
|
## `saltcorn saltcorn migrate`
|
|
665
668
|
|
|
@@ -682,7 +685,7 @@ DESCRIPTION
|
|
|
682
685
|
servers and need to control when the migrations are run.
|
|
683
686
|
```
|
|
684
687
|
|
|
685
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
688
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
686
689
|
|
|
687
690
|
## `saltcorn modify-user USER_EMAIL`
|
|
688
691
|
|
|
@@ -713,7 +716,7 @@ DESCRIPTION
|
|
|
713
716
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
714
717
|
```
|
|
715
718
|
|
|
716
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
719
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
717
720
|
|
|
718
721
|
## `saltcorn paths [KEY]`
|
|
719
722
|
|
|
@@ -768,7 +771,7 @@ EXAMPLES
|
|
|
768
771
|
plugins -u -f - force plugin update
|
|
769
772
|
```
|
|
770
773
|
|
|
771
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
774
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
772
775
|
|
|
773
776
|
## `saltcorn pre-install-modules PLUGINSELECTOR`
|
|
774
777
|
|
|
@@ -788,7 +791,7 @@ DESCRIPTION
|
|
|
788
791
|
Pre-install modules required by Saltcorn before running the application.
|
|
789
792
|
```
|
|
790
793
|
|
|
791
|
-
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
794
|
+
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
|
|
792
795
|
|
|
793
796
|
## `saltcorn prepare`
|
|
794
797
|
|
|
@@ -806,7 +809,7 @@ DESCRIPTION
|
|
|
806
809
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
807
810
|
```
|
|
808
811
|
|
|
809
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
812
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
810
813
|
|
|
811
814
|
## `saltcorn reset-schema`
|
|
812
815
|
|
|
@@ -826,7 +829,7 @@ DESCRIPTION
|
|
|
826
829
|
This will delete all existing information
|
|
827
830
|
```
|
|
828
831
|
|
|
829
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
832
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
830
833
|
|
|
831
834
|
## `saltcorn restore FILE`
|
|
832
835
|
|
|
@@ -846,7 +849,7 @@ DESCRIPTION
|
|
|
846
849
|
Restore a previously backed up database (zip or sqlc format)
|
|
847
850
|
```
|
|
848
851
|
|
|
849
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
852
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/restore.js)_
|
|
850
853
|
|
|
851
854
|
## `saltcorn rm-tenant`
|
|
852
855
|
|
|
@@ -866,7 +869,7 @@ DESCRIPTION
|
|
|
866
869
|
It recommended to make backup of tenant before perform this command.
|
|
867
870
|
```
|
|
868
871
|
|
|
869
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
872
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
870
873
|
|
|
871
874
|
## `saltcorn run-benchmark [BASEURL]`
|
|
872
875
|
|
|
@@ -888,7 +891,7 @@ DESCRIPTION
|
|
|
888
891
|
Run benchmark
|
|
889
892
|
```
|
|
890
893
|
|
|
891
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
894
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
892
895
|
|
|
893
896
|
## `saltcorn run-js`
|
|
894
897
|
|
|
@@ -907,7 +910,7 @@ DESCRIPTION
|
|
|
907
910
|
Run javascript code
|
|
908
911
|
```
|
|
909
912
|
|
|
910
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
913
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
911
914
|
|
|
912
915
|
## `saltcorn run-sql`
|
|
913
916
|
|
|
@@ -926,7 +929,7 @@ DESCRIPTION
|
|
|
926
929
|
Run sql expression
|
|
927
930
|
```
|
|
928
931
|
|
|
929
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
932
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
930
933
|
|
|
931
934
|
## `saltcorn run-tests [PACKAGE]`
|
|
932
935
|
|
|
@@ -953,7 +956,7 @@ DESCRIPTION
|
|
|
953
956
|
Run test suites
|
|
954
957
|
```
|
|
955
958
|
|
|
956
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
959
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
957
960
|
|
|
958
961
|
## `saltcorn run-trigger TRIGGER`
|
|
959
962
|
|
|
@@ -973,7 +976,7 @@ DESCRIPTION
|
|
|
973
976
|
Run a trigger
|
|
974
977
|
```
|
|
975
978
|
|
|
976
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
979
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
977
980
|
|
|
978
981
|
## `saltcorn scheduler`
|
|
979
982
|
|
|
@@ -990,7 +993,7 @@ DESCRIPTION
|
|
|
990
993
|
Run the Saltcorn scheduler
|
|
991
994
|
```
|
|
992
995
|
|
|
993
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
996
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
994
997
|
|
|
995
998
|
## `saltcorn serve`
|
|
996
999
|
|
|
@@ -1015,7 +1018,7 @@ DESCRIPTION
|
|
|
1015
1018
|
Start the Saltcorn server
|
|
1016
1019
|
```
|
|
1017
1020
|
|
|
1018
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1021
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/serve.js)_
|
|
1019
1022
|
|
|
1020
1023
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
1021
1024
|
|
|
@@ -1040,7 +1043,7 @@ DESCRIPTION
|
|
|
1040
1043
|
stored as a string.
|
|
1041
1044
|
```
|
|
1042
1045
|
|
|
1043
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1046
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1044
1047
|
|
|
1045
1048
|
## `saltcorn set-daily-time [MINS]`
|
|
1046
1049
|
|
|
@@ -1060,7 +1063,7 @@ DESCRIPTION
|
|
|
1060
1063
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1061
1064
|
```
|
|
1062
1065
|
|
|
1063
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1066
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1064
1067
|
|
|
1065
1068
|
## `saltcorn setup`
|
|
1066
1069
|
|
|
@@ -1080,7 +1083,7 @@ DESCRIPTION
|
|
|
1080
1083
|
configuration file
|
|
1081
1084
|
```
|
|
1082
1085
|
|
|
1083
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1086
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1084
1087
|
|
|
1085
1088
|
## `saltcorn setup-benchmark`
|
|
1086
1089
|
|
|
@@ -1098,7 +1101,7 @@ DESCRIPTION
|
|
|
1098
1101
|
Setup an instance for benchmarking
|
|
1099
1102
|
```
|
|
1100
1103
|
|
|
1101
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1104
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1102
1105
|
|
|
1103
1106
|
## `saltcorn sync-upload-data`
|
|
1104
1107
|
|
|
@@ -1120,7 +1123,7 @@ DESCRIPTION
|
|
|
1120
1123
|
Runs a sync for data supplied by the mobile app
|
|
1121
1124
|
```
|
|
1122
1125
|
|
|
1123
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1126
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1124
1127
|
|
|
1125
1128
|
## `saltcorn take-snapshot`
|
|
1126
1129
|
|
|
@@ -1138,7 +1141,7 @@ DESCRIPTION
|
|
|
1138
1141
|
Print a current snapshout to stdout
|
|
1139
1142
|
```
|
|
1140
1143
|
|
|
1141
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1144
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1142
1145
|
|
|
1143
1146
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1144
1147
|
|
|
@@ -1158,5 +1161,5 @@ DESCRIPTION
|
|
|
1158
1161
|
transform an existing field by applying a calculated expression
|
|
1159
1162
|
```
|
|
1160
1163
|
|
|
1161
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1164
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.19/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1162
1165
|
<!-- commandsstop -->
|