@saltcorn/cli 1.6.0-alpha.5 → 1.6.0-alpha.6
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 -55
- package/npm-shrinkwrap.json +369 -345
- package/oclif.manifest.json +8 -1
- package/package.json +8 -8
- package/src/commands/build-app.js +7 -0
- package/src/commands/dev/plugin-test.js +2 -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.6.0-alpha.
|
|
23
|
+
@saltcorn/cli/1.6.0-alpha.6 linux-x64 node-v20.19.4
|
|
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-alpha.
|
|
102
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/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-alpha.
|
|
123
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/backup.js)_
|
|
124
124
|
|
|
125
125
|
## `saltcorn build-app`
|
|
126
126
|
|
|
@@ -133,9 +133,9 @@ USAGE
|
|
|
133
133
|
[-c <value>] [-u <value>] [--appName <value>] [--appId <value>] [--appVersion <value>] [--appIcon <value>] [-s
|
|
134
134
|
<value>] [--splashPage <value>] [--autoPublicLogin] [--showContinueAsPublicUser] [--allowOfflineMode]
|
|
135
135
|
[--syncOnReconnect] [--syncOnAppResume] [--pushSync] [--syncInterval <value>] [--noProvisioningProfile]
|
|
136
|
-
[--provisioningProfile <value>] [--shareExtensionProvisioningProfile <value>] [--
|
|
137
|
-
[--allowClearTextTraffic] [--androidKeystore <value>] [--androidKeyStoreAlias <value>]
|
|
138
|
-
<value>] [--googleServicesFile <value>]
|
|
136
|
+
[--provisioningProfile <value>] [--shareExtensionProvisioningProfile <value>] [--appGroupId <value>] [--buildType
|
|
137
|
+
<value>] [--allowClearTextTraffic] [--androidKeystore <value>] [--androidKeyStoreAlias <value>]
|
|
138
|
+
[--androidKeystorePassword <value>] [--googleServicesFile <value>]
|
|
139
139
|
|
|
140
140
|
FLAGS
|
|
141
141
|
-b, --buildDirectory=<value> A directory where the app should be build
|
|
@@ -161,6 +161,8 @@ FLAGS
|
|
|
161
161
|
--androidKeystore=<value> A self-signed certificate that includes the private key used to sign
|
|
162
162
|
your app.
|
|
163
163
|
--androidKeystorePassword=<value> he password to access the keystore file.
|
|
164
|
+
--appGroupId=<value> An app group identifier to share data between the main app and the
|
|
165
|
+
share extension on iOS, e.g. group.com.saltcorn.myapp
|
|
164
166
|
--appIcon=<value> A png that will be used as launcher icon. The default is a png of a
|
|
165
167
|
saltcorn symbol.
|
|
166
168
|
--appId=<value> Id of the mobile app (default com.saltcorn.mobileapp)
|
|
@@ -197,7 +199,7 @@ DESCRIPTION
|
|
|
197
199
|
Build mobile app
|
|
198
200
|
```
|
|
199
201
|
|
|
200
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
202
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
201
203
|
|
|
202
204
|
## `saltcorn build-capacitor-builder`
|
|
203
205
|
|
|
@@ -215,7 +217,7 @@ DESCRIPTION
|
|
|
215
217
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
216
218
|
```
|
|
217
219
|
|
|
218
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
220
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
219
221
|
|
|
220
222
|
## `saltcorn configuration-check`
|
|
221
223
|
|
|
@@ -232,7 +234,7 @@ DESCRIPTION
|
|
|
232
234
|
Check configuration
|
|
233
235
|
```
|
|
234
236
|
|
|
235
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
237
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
236
238
|
|
|
237
239
|
## `saltcorn configuration-check-backups FILES`
|
|
238
240
|
|
|
@@ -252,7 +254,7 @@ DESCRIPTION
|
|
|
252
254
|
Check configuration
|
|
253
255
|
```
|
|
254
256
|
|
|
255
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
257
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
256
258
|
|
|
257
259
|
## `saltcorn create-tenant TENANT`
|
|
258
260
|
|
|
@@ -274,7 +276,7 @@ DESCRIPTION
|
|
|
274
276
|
Create a tenant
|
|
275
277
|
```
|
|
276
278
|
|
|
277
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
279
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
278
280
|
|
|
279
281
|
## `saltcorn create-user`
|
|
280
282
|
|
|
@@ -295,7 +297,7 @@ DESCRIPTION
|
|
|
295
297
|
Create a new user
|
|
296
298
|
```
|
|
297
299
|
|
|
298
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
300
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
299
301
|
|
|
300
302
|
## `saltcorn delete-tenants`
|
|
301
303
|
|
|
@@ -309,7 +311,7 @@ DESCRIPTION
|
|
|
309
311
|
Delete inactive tenants
|
|
310
312
|
```
|
|
311
313
|
|
|
312
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
314
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
313
315
|
|
|
314
316
|
## `saltcorn delete-user USER_EMAIL`
|
|
315
317
|
|
|
@@ -332,7 +334,7 @@ DESCRIPTION
|
|
|
332
334
|
Command deletes the user specified by USER_EMAIL.
|
|
333
335
|
```
|
|
334
336
|
|
|
335
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
337
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
336
338
|
|
|
337
339
|
## `saltcorn dev:build [COMPONENT]`
|
|
338
340
|
|
|
@@ -349,7 +351,7 @@ DESCRIPTION
|
|
|
349
351
|
Rebuild static assets
|
|
350
352
|
```
|
|
351
353
|
|
|
352
|
-
_See code: [src/commands/dev/build.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
354
|
+
_See code: [src/commands/dev/build.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/dev/build.js)_
|
|
353
355
|
|
|
354
356
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
355
357
|
|
|
@@ -371,7 +373,7 @@ DESCRIPTION
|
|
|
371
373
|
Convert plugin to local plugin
|
|
372
374
|
```
|
|
373
375
|
|
|
374
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
376
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
375
377
|
|
|
376
378
|
## `saltcorn make-migration`
|
|
377
379
|
|
|
@@ -388,7 +390,7 @@ DESCRIPTION
|
|
|
388
390
|
unless you are a developer.
|
|
389
391
|
```
|
|
390
392
|
|
|
391
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
393
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
392
394
|
|
|
393
395
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
394
396
|
|
|
@@ -411,7 +413,7 @@ DESCRIPTION
|
|
|
411
413
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
412
414
|
```
|
|
413
415
|
|
|
414
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
416
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
415
417
|
|
|
416
418
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
417
419
|
|
|
@@ -429,7 +431,7 @@ DESCRIPTION
|
|
|
429
431
|
Post-release tasks: docker and vagrant builds
|
|
430
432
|
```
|
|
431
433
|
|
|
432
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
434
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
433
435
|
|
|
434
436
|
## `saltcorn dev:release VERSION TAG`
|
|
435
437
|
|
|
@@ -447,7 +449,7 @@ DESCRIPTION
|
|
|
447
449
|
Release a new saltcorn version
|
|
448
450
|
```
|
|
449
451
|
|
|
450
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
452
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
451
453
|
|
|
452
454
|
## `saltcorn dev:release-resume VERSION`
|
|
453
455
|
|
|
@@ -467,7 +469,7 @@ DESCRIPTION
|
|
|
467
469
|
Release a new saltcorn version
|
|
468
470
|
```
|
|
469
471
|
|
|
470
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
472
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
471
473
|
|
|
472
474
|
## `saltcorn dev:serve`
|
|
473
475
|
|
|
@@ -485,7 +487,7 @@ DESCRIPTION
|
|
|
485
487
|
Development server. Serve on port 3000, restart when source files change
|
|
486
488
|
```
|
|
487
489
|
|
|
488
|
-
_See code: [src/commands/dev/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
490
|
+
_See code: [src/commands/dev/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/dev/serve.js)_
|
|
489
491
|
|
|
490
492
|
## `saltcorn dev:test-plugin PATH`
|
|
491
493
|
|
|
@@ -504,7 +506,7 @@ DESCRIPTION
|
|
|
504
506
|
Extra documentation goes here
|
|
505
507
|
```
|
|
506
508
|
|
|
507
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
509
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
508
510
|
|
|
509
511
|
## `saltcorn dev:translate LOCALE`
|
|
510
512
|
|
|
@@ -524,7 +526,7 @@ DESCRIPTION
|
|
|
524
526
|
Produce translation files with LLM
|
|
525
527
|
```
|
|
526
528
|
|
|
527
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
529
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
528
530
|
|
|
529
531
|
## `saltcorn fixtures`
|
|
530
532
|
|
|
@@ -544,7 +546,7 @@ DESCRIPTION
|
|
|
544
546
|
This manual step it is never required for users and rarely required for developers
|
|
545
547
|
```
|
|
546
548
|
|
|
547
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
549
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
548
550
|
|
|
549
551
|
## `saltcorn get-cfg [KEY]`
|
|
550
552
|
|
|
@@ -565,7 +567,7 @@ DESCRIPTION
|
|
|
565
567
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
566
568
|
```
|
|
567
569
|
|
|
568
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
570
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
569
571
|
|
|
570
572
|
## `saltcorn info [KEY]`
|
|
571
573
|
|
|
@@ -591,7 +593,7 @@ ALIASES
|
|
|
591
593
|
$ saltcorn paths
|
|
592
594
|
```
|
|
593
595
|
|
|
594
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
596
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/info.js)_
|
|
595
597
|
|
|
596
598
|
## `saltcorn inspect TYPE [NAME]`
|
|
597
599
|
|
|
@@ -612,7 +614,7 @@ DESCRIPTION
|
|
|
612
614
|
Inspect an entity's JSON representation, or list entities
|
|
613
615
|
```
|
|
614
616
|
|
|
615
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
617
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
616
618
|
|
|
617
619
|
## `saltcorn install-pack`
|
|
618
620
|
|
|
@@ -631,7 +633,7 @@ DESCRIPTION
|
|
|
631
633
|
Install a pack or restore a snapshot
|
|
632
634
|
```
|
|
633
635
|
|
|
634
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
636
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
635
637
|
|
|
636
638
|
## `saltcorn install-plugin`
|
|
637
639
|
|
|
@@ -651,7 +653,7 @@ DESCRIPTION
|
|
|
651
653
|
Install a plugin
|
|
652
654
|
```
|
|
653
655
|
|
|
654
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
656
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
655
657
|
|
|
656
658
|
## `saltcorn list-tenants`
|
|
657
659
|
|
|
@@ -671,7 +673,7 @@ DESCRIPTION
|
|
|
671
673
|
List tenants in CSV format
|
|
672
674
|
```
|
|
673
675
|
|
|
674
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
676
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
675
677
|
|
|
676
678
|
## `saltcorn list-triggers`
|
|
677
679
|
|
|
@@ -690,7 +692,7 @@ DESCRIPTION
|
|
|
690
692
|
List triggers
|
|
691
693
|
```
|
|
692
694
|
|
|
693
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
695
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
694
696
|
|
|
695
697
|
## `saltcorn list-users`
|
|
696
698
|
|
|
@@ -708,7 +710,7 @@ DESCRIPTION
|
|
|
708
710
|
List users
|
|
709
711
|
```
|
|
710
712
|
|
|
711
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
713
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
712
714
|
|
|
713
715
|
## `saltcorn saltcorn migrate`
|
|
714
716
|
|
|
@@ -731,7 +733,7 @@ DESCRIPTION
|
|
|
731
733
|
servers and need to control when the migrations are run.
|
|
732
734
|
```
|
|
733
735
|
|
|
734
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
736
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
735
737
|
|
|
736
738
|
## `saltcorn modify-user USER_EMAIL`
|
|
737
739
|
|
|
@@ -762,7 +764,7 @@ DESCRIPTION
|
|
|
762
764
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
763
765
|
```
|
|
764
766
|
|
|
765
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
767
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
766
768
|
|
|
767
769
|
## `saltcorn paths [KEY]`
|
|
768
770
|
|
|
@@ -817,7 +819,7 @@ EXAMPLES
|
|
|
817
819
|
plugins -u -f - force plugin update
|
|
818
820
|
```
|
|
819
821
|
|
|
820
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
822
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
821
823
|
|
|
822
824
|
## `saltcorn pre-install-modules PLUGINSELECTOR`
|
|
823
825
|
|
|
@@ -837,7 +839,7 @@ DESCRIPTION
|
|
|
837
839
|
Pre-install modules required by Saltcorn before running the application.
|
|
838
840
|
```
|
|
839
841
|
|
|
840
|
-
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
842
|
+
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
|
|
841
843
|
|
|
842
844
|
## `saltcorn prepare`
|
|
843
845
|
|
|
@@ -855,7 +857,7 @@ DESCRIPTION
|
|
|
855
857
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
856
858
|
```
|
|
857
859
|
|
|
858
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
860
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
859
861
|
|
|
860
862
|
## `saltcorn reset-schema`
|
|
861
863
|
|
|
@@ -875,7 +877,7 @@ DESCRIPTION
|
|
|
875
877
|
This will delete all existing information
|
|
876
878
|
```
|
|
877
879
|
|
|
878
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
880
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
879
881
|
|
|
880
882
|
## `saltcorn restore FILE`
|
|
881
883
|
|
|
@@ -895,7 +897,7 @@ DESCRIPTION
|
|
|
895
897
|
Restore a previously backed up database (zip or sqlc format)
|
|
896
898
|
```
|
|
897
899
|
|
|
898
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
900
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/restore.js)_
|
|
899
901
|
|
|
900
902
|
## `saltcorn rm-tenant`
|
|
901
903
|
|
|
@@ -915,7 +917,7 @@ DESCRIPTION
|
|
|
915
917
|
It recommended to make backup of tenant before perform this command.
|
|
916
918
|
```
|
|
917
919
|
|
|
918
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
920
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
919
921
|
|
|
920
922
|
## `saltcorn run-benchmark [BASEURL]`
|
|
921
923
|
|
|
@@ -937,7 +939,7 @@ DESCRIPTION
|
|
|
937
939
|
Run benchmark
|
|
938
940
|
```
|
|
939
941
|
|
|
940
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
942
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
941
943
|
|
|
942
944
|
## `saltcorn run-js`
|
|
943
945
|
|
|
@@ -956,7 +958,7 @@ DESCRIPTION
|
|
|
956
958
|
Run javascript code
|
|
957
959
|
```
|
|
958
960
|
|
|
959
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
961
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
960
962
|
|
|
961
963
|
## `saltcorn run-sql`
|
|
962
964
|
|
|
@@ -975,7 +977,7 @@ DESCRIPTION
|
|
|
975
977
|
Run sql expression
|
|
976
978
|
```
|
|
977
979
|
|
|
978
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
980
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
979
981
|
|
|
980
982
|
## `saltcorn run-tests [PACKAGE]`
|
|
981
983
|
|
|
@@ -1002,7 +1004,7 @@ DESCRIPTION
|
|
|
1002
1004
|
Run test suites
|
|
1003
1005
|
```
|
|
1004
1006
|
|
|
1005
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1007
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
1006
1008
|
|
|
1007
1009
|
## `saltcorn run-trigger TRIGGER`
|
|
1008
1010
|
|
|
@@ -1022,7 +1024,7 @@ DESCRIPTION
|
|
|
1022
1024
|
Run a trigger
|
|
1023
1025
|
```
|
|
1024
1026
|
|
|
1025
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1027
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
1026
1028
|
|
|
1027
1029
|
## `saltcorn scheduler`
|
|
1028
1030
|
|
|
@@ -1039,7 +1041,7 @@ DESCRIPTION
|
|
|
1039
1041
|
Run the Saltcorn scheduler
|
|
1040
1042
|
```
|
|
1041
1043
|
|
|
1042
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1044
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
1043
1045
|
|
|
1044
1046
|
## `saltcorn serve`
|
|
1045
1047
|
|
|
@@ -1064,7 +1066,7 @@ DESCRIPTION
|
|
|
1064
1066
|
Start the Saltcorn server
|
|
1065
1067
|
```
|
|
1066
1068
|
|
|
1067
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1069
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/serve.js)_
|
|
1068
1070
|
|
|
1069
1071
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
1070
1072
|
|
|
@@ -1089,7 +1091,7 @@ DESCRIPTION
|
|
|
1089
1091
|
stored as a string.
|
|
1090
1092
|
```
|
|
1091
1093
|
|
|
1092
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1094
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1093
1095
|
|
|
1094
1096
|
## `saltcorn set-daily-time [MINS]`
|
|
1095
1097
|
|
|
@@ -1109,7 +1111,7 @@ DESCRIPTION
|
|
|
1109
1111
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1110
1112
|
```
|
|
1111
1113
|
|
|
1112
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1114
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1113
1115
|
|
|
1114
1116
|
## `saltcorn setup`
|
|
1115
1117
|
|
|
@@ -1129,7 +1131,7 @@ DESCRIPTION
|
|
|
1129
1131
|
configuration file
|
|
1130
1132
|
```
|
|
1131
1133
|
|
|
1132
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1134
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1133
1135
|
|
|
1134
1136
|
## `saltcorn setup-benchmark`
|
|
1135
1137
|
|
|
@@ -1147,7 +1149,7 @@ DESCRIPTION
|
|
|
1147
1149
|
Setup an instance for benchmarking
|
|
1148
1150
|
```
|
|
1149
1151
|
|
|
1150
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1152
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1151
1153
|
|
|
1152
1154
|
## `saltcorn sync-upload-data`
|
|
1153
1155
|
|
|
@@ -1169,7 +1171,7 @@ DESCRIPTION
|
|
|
1169
1171
|
Runs a sync for data supplied by the mobile app
|
|
1170
1172
|
```
|
|
1171
1173
|
|
|
1172
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1174
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1173
1175
|
|
|
1174
1176
|
## `saltcorn take-snapshot`
|
|
1175
1177
|
|
|
@@ -1187,7 +1189,7 @@ DESCRIPTION
|
|
|
1187
1189
|
Print a current snapshout to stdout
|
|
1188
1190
|
```
|
|
1189
1191
|
|
|
1190
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1192
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1191
1193
|
|
|
1192
1194
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1193
1195
|
|
|
@@ -1207,5 +1209,5 @@ DESCRIPTION
|
|
|
1207
1209
|
transform an existing field by applying a calculated expression
|
|
1208
1210
|
```
|
|
1209
1211
|
|
|
1210
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1212
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.6/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1211
1213
|
<!-- commandsstop -->
|