@saltcorn/cli 1.6.0-alpha.1 → 1.6.0-alpha.2
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 +67 -58
- package/npm-shrinkwrap.json +562 -602
- package/oclif.manifest.json +27 -1
- package/package.json +8 -8
- package/src/commands/build-app.js +46 -22
- package/src/commands/dev/plugin-test.js +61 -10
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.2 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.6.0-alpha.
|
|
100
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/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.6.0-alpha.
|
|
121
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/backup.js)_
|
|
122
122
|
|
|
123
123
|
## `saltcorn build-app`
|
|
124
124
|
|
|
@@ -130,9 +130,10 @@ USAGE
|
|
|
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
132
|
<value>] [--splashPage <value>] [--autoPublicLogin] [--showContinueAsPublicUser] [--allowOfflineMode]
|
|
133
|
-
[--syncOnReconnect] [--pushSync] [--syncInterval <value>] [--
|
|
134
|
-
[--
|
|
135
|
-
[--
|
|
133
|
+
[--syncOnReconnect] [--syncOnAppResume] [--pushSync] [--syncInterval <value>] [--noProvisioningProfile]
|
|
134
|
+
[--provisioningProfile <value>] [--shareExtensionProvisioningProfile <value>] [--buildType <value>]
|
|
135
|
+
[--allowClearTextTraffic] [--androidKeystore <value>] [--androidKeyStoreAlias <value>] [--androidKeystorePassword
|
|
136
|
+
<value>] [--googleServicesFile <value>]
|
|
136
137
|
|
|
137
138
|
FLAGS
|
|
138
139
|
-b, --buildDirectory=<value> A directory where the app should be build
|
|
@@ -149,6 +150,8 @@ FLAGS
|
|
|
149
150
|
-s, --serverURL=<value> URL to a saltcorn server
|
|
150
151
|
-t, --entryPointType=<value> Type of the entry point ('view' or 'page'). The default is 'view'.
|
|
151
152
|
-u, --userEmail=<value> Email of the user building the app
|
|
153
|
+
--allowClearTextTraffic Enable this to allow unsecure HTTP connections. Useful for local
|
|
154
|
+
testing.
|
|
152
155
|
--allowOfflineMode Switch to offline mode when there is no internet, sync the data when
|
|
153
156
|
a connection is available again.
|
|
154
157
|
--allowShareTo Allow sharing from other apps to this app
|
|
@@ -167,6 +170,8 @@ FLAGS
|
|
|
167
170
|
(Android only)
|
|
168
171
|
--includedPlugins=<value>... Names of plugins that should be bundled into the app.If empty, no
|
|
169
172
|
modules are used.
|
|
173
|
+
--noProvisioningProfile Do not use a provisioning profile, only for simulator builds (iOS
|
|
174
|
+
only)
|
|
170
175
|
--provisioningProfile=<value> This profile will be used to sign your app
|
|
171
176
|
--pushSync When offline mode is enabled, synchronize the synchedTables tables
|
|
172
177
|
when a push notification is received.
|
|
@@ -176,6 +181,8 @@ FLAGS
|
|
|
176
181
|
--syncInterval=<value> Perdiodic interval (in minutes) to run synchronizations in the
|
|
177
182
|
background. This is just a min interval, depending on system
|
|
178
183
|
conditions, the actual time may be longer.
|
|
184
|
+
--syncOnAppResume When offline mode is enabled, synchronize the synchedTables tables
|
|
185
|
+
when the app is resumed.
|
|
179
186
|
--syncOnReconnect Run Synchronizations and return into online mode when the network
|
|
180
187
|
connection is restored. When disabled, you still can do this
|
|
181
188
|
manually.
|
|
@@ -188,7 +195,7 @@ DESCRIPTION
|
|
|
188
195
|
Build mobile app
|
|
189
196
|
```
|
|
190
197
|
|
|
191
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
198
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
192
199
|
|
|
193
200
|
## `saltcorn build-capacitor-builder`
|
|
194
201
|
|
|
@@ -206,7 +213,7 @@ DESCRIPTION
|
|
|
206
213
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
207
214
|
```
|
|
208
215
|
|
|
209
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
216
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
210
217
|
|
|
211
218
|
## `saltcorn configuration-check`
|
|
212
219
|
|
|
@@ -223,7 +230,7 @@ DESCRIPTION
|
|
|
223
230
|
Check configuration
|
|
224
231
|
```
|
|
225
232
|
|
|
226
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
233
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
227
234
|
|
|
228
235
|
## `saltcorn configuration-check-backups FILES`
|
|
229
236
|
|
|
@@ -243,7 +250,7 @@ DESCRIPTION
|
|
|
243
250
|
Check configuration
|
|
244
251
|
```
|
|
245
252
|
|
|
246
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
253
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
247
254
|
|
|
248
255
|
## `saltcorn create-tenant TENANT`
|
|
249
256
|
|
|
@@ -265,7 +272,7 @@ DESCRIPTION
|
|
|
265
272
|
Create a tenant
|
|
266
273
|
```
|
|
267
274
|
|
|
268
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
275
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
269
276
|
|
|
270
277
|
## `saltcorn create-user`
|
|
271
278
|
|
|
@@ -286,7 +293,7 @@ DESCRIPTION
|
|
|
286
293
|
Create a new user
|
|
287
294
|
```
|
|
288
295
|
|
|
289
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
296
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
290
297
|
|
|
291
298
|
## `saltcorn delete-tenants`
|
|
292
299
|
|
|
@@ -300,7 +307,7 @@ DESCRIPTION
|
|
|
300
307
|
Delete inactive tenants
|
|
301
308
|
```
|
|
302
309
|
|
|
303
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
310
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
304
311
|
|
|
305
312
|
## `saltcorn delete-user USER_EMAIL`
|
|
306
313
|
|
|
@@ -323,7 +330,7 @@ DESCRIPTION
|
|
|
323
330
|
Command deletes the user specified by USER_EMAIL.
|
|
324
331
|
```
|
|
325
332
|
|
|
326
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
333
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
327
334
|
|
|
328
335
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
329
336
|
|
|
@@ -345,7 +352,7 @@ DESCRIPTION
|
|
|
345
352
|
Convert plugin to local plugin
|
|
346
353
|
```
|
|
347
354
|
|
|
348
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
355
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
349
356
|
|
|
350
357
|
## `saltcorn make-migration`
|
|
351
358
|
|
|
@@ -362,7 +369,7 @@ DESCRIPTION
|
|
|
362
369
|
unless you are a developer.
|
|
363
370
|
```
|
|
364
371
|
|
|
365
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
372
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
366
373
|
|
|
367
374
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
368
375
|
|
|
@@ -373,17 +380,19 @@ USAGE
|
|
|
373
380
|
$ saltcorn dev:plugin-test saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip
|
|
374
381
|
|
|
375
382
|
FLAGS
|
|
376
|
-
-d, --directory=<value>
|
|
377
|
-
-f, --backupFile=<value>
|
|
378
|
-
|
|
379
|
-
-n, --name=<value>
|
|
380
|
-
|
|
383
|
+
-d, --directory=<value> Directory of local plugin
|
|
384
|
+
-f, --backupFile=<value> Optional name of a backup file in the tests folder. If you ommit this, then the
|
|
385
|
+
test has to create its own data.
|
|
386
|
+
-n, --name=<value> Plugin name in store of a released plugin
|
|
387
|
+
-o, --overwriteDependency=<value>... Dependency to overwrite with a local plugin (can be used multiple times). Please
|
|
388
|
+
specify the path to the local plugin, the module name will be taken from there.
|
|
389
|
+
--database=<value> Run on specified database. Default is 'saltcorn_test''
|
|
381
390
|
|
|
382
391
|
DESCRIPTION
|
|
383
392
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
384
393
|
```
|
|
385
394
|
|
|
386
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
395
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
387
396
|
|
|
388
397
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
389
398
|
|
|
@@ -401,7 +410,7 @@ DESCRIPTION
|
|
|
401
410
|
Post-release tasks: docker and vagrant builds
|
|
402
411
|
```
|
|
403
412
|
|
|
404
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
413
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
405
414
|
|
|
406
415
|
## `saltcorn dev:release VERSION TAG`
|
|
407
416
|
|
|
@@ -419,7 +428,7 @@ DESCRIPTION
|
|
|
419
428
|
Release a new saltcorn version
|
|
420
429
|
```
|
|
421
430
|
|
|
422
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
431
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
423
432
|
|
|
424
433
|
## `saltcorn dev:release-resume VERSION`
|
|
425
434
|
|
|
@@ -439,7 +448,7 @@ DESCRIPTION
|
|
|
439
448
|
Release a new saltcorn version
|
|
440
449
|
```
|
|
441
450
|
|
|
442
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
451
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
443
452
|
|
|
444
453
|
## `saltcorn dev:test-plugin PATH`
|
|
445
454
|
|
|
@@ -458,7 +467,7 @@ DESCRIPTION
|
|
|
458
467
|
Extra documentation goes here
|
|
459
468
|
```
|
|
460
469
|
|
|
461
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
470
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
462
471
|
|
|
463
472
|
## `saltcorn dev:translate LOCALE`
|
|
464
473
|
|
|
@@ -478,7 +487,7 @@ DESCRIPTION
|
|
|
478
487
|
Produce translation files with LLM
|
|
479
488
|
```
|
|
480
489
|
|
|
481
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
490
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
482
491
|
|
|
483
492
|
## `saltcorn fixtures`
|
|
484
493
|
|
|
@@ -498,7 +507,7 @@ DESCRIPTION
|
|
|
498
507
|
This manual step it is never required for users and rarely required for developers
|
|
499
508
|
```
|
|
500
509
|
|
|
501
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
510
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
502
511
|
|
|
503
512
|
## `saltcorn get-cfg [KEY]`
|
|
504
513
|
|
|
@@ -519,7 +528,7 @@ DESCRIPTION
|
|
|
519
528
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
520
529
|
```
|
|
521
530
|
|
|
522
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
531
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
523
532
|
|
|
524
533
|
## `saltcorn info [KEY]`
|
|
525
534
|
|
|
@@ -545,7 +554,7 @@ ALIASES
|
|
|
545
554
|
$ saltcorn paths
|
|
546
555
|
```
|
|
547
556
|
|
|
548
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
557
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/info.js)_
|
|
549
558
|
|
|
550
559
|
## `saltcorn inspect TYPE [NAME]`
|
|
551
560
|
|
|
@@ -566,7 +575,7 @@ DESCRIPTION
|
|
|
566
575
|
Inspect an entity's JSON representation, or list entities
|
|
567
576
|
```
|
|
568
577
|
|
|
569
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
578
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
570
579
|
|
|
571
580
|
## `saltcorn install-pack`
|
|
572
581
|
|
|
@@ -585,7 +594,7 @@ DESCRIPTION
|
|
|
585
594
|
Install a pack or restore a snapshot
|
|
586
595
|
```
|
|
587
596
|
|
|
588
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
597
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
589
598
|
|
|
590
599
|
## `saltcorn install-plugin`
|
|
591
600
|
|
|
@@ -605,7 +614,7 @@ DESCRIPTION
|
|
|
605
614
|
Install a plugin
|
|
606
615
|
```
|
|
607
616
|
|
|
608
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
617
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
609
618
|
|
|
610
619
|
## `saltcorn list-tenants`
|
|
611
620
|
|
|
@@ -625,7 +634,7 @@ DESCRIPTION
|
|
|
625
634
|
List tenants in CSV format
|
|
626
635
|
```
|
|
627
636
|
|
|
628
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
637
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
629
638
|
|
|
630
639
|
## `saltcorn list-triggers`
|
|
631
640
|
|
|
@@ -644,7 +653,7 @@ DESCRIPTION
|
|
|
644
653
|
List triggers
|
|
645
654
|
```
|
|
646
655
|
|
|
647
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
656
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
648
657
|
|
|
649
658
|
## `saltcorn list-users`
|
|
650
659
|
|
|
@@ -662,7 +671,7 @@ DESCRIPTION
|
|
|
662
671
|
List users
|
|
663
672
|
```
|
|
664
673
|
|
|
665
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
674
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
666
675
|
|
|
667
676
|
## `saltcorn saltcorn migrate`
|
|
668
677
|
|
|
@@ -685,7 +694,7 @@ DESCRIPTION
|
|
|
685
694
|
servers and need to control when the migrations are run.
|
|
686
695
|
```
|
|
687
696
|
|
|
688
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
697
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
689
698
|
|
|
690
699
|
## `saltcorn modify-user USER_EMAIL`
|
|
691
700
|
|
|
@@ -716,7 +725,7 @@ DESCRIPTION
|
|
|
716
725
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
717
726
|
```
|
|
718
727
|
|
|
719
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
728
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
720
729
|
|
|
721
730
|
## `saltcorn paths [KEY]`
|
|
722
731
|
|
|
@@ -771,7 +780,7 @@ EXAMPLES
|
|
|
771
780
|
plugins -u -f - force plugin update
|
|
772
781
|
```
|
|
773
782
|
|
|
774
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
783
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
775
784
|
|
|
776
785
|
## `saltcorn pre-install-modules PLUGINSELECTOR`
|
|
777
786
|
|
|
@@ -791,7 +800,7 @@ DESCRIPTION
|
|
|
791
800
|
Pre-install modules required by Saltcorn before running the application.
|
|
792
801
|
```
|
|
793
802
|
|
|
794
|
-
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
803
|
+
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
|
|
795
804
|
|
|
796
805
|
## `saltcorn prepare`
|
|
797
806
|
|
|
@@ -809,7 +818,7 @@ DESCRIPTION
|
|
|
809
818
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
810
819
|
```
|
|
811
820
|
|
|
812
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
821
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
813
822
|
|
|
814
823
|
## `saltcorn reset-schema`
|
|
815
824
|
|
|
@@ -829,7 +838,7 @@ DESCRIPTION
|
|
|
829
838
|
This will delete all existing information
|
|
830
839
|
```
|
|
831
840
|
|
|
832
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
841
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
833
842
|
|
|
834
843
|
## `saltcorn restore FILE`
|
|
835
844
|
|
|
@@ -849,7 +858,7 @@ DESCRIPTION
|
|
|
849
858
|
Restore a previously backed up database (zip or sqlc format)
|
|
850
859
|
```
|
|
851
860
|
|
|
852
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
861
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/restore.js)_
|
|
853
862
|
|
|
854
863
|
## `saltcorn rm-tenant`
|
|
855
864
|
|
|
@@ -869,7 +878,7 @@ DESCRIPTION
|
|
|
869
878
|
It recommended to make backup of tenant before perform this command.
|
|
870
879
|
```
|
|
871
880
|
|
|
872
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
881
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
873
882
|
|
|
874
883
|
## `saltcorn run-benchmark [BASEURL]`
|
|
875
884
|
|
|
@@ -891,7 +900,7 @@ DESCRIPTION
|
|
|
891
900
|
Run benchmark
|
|
892
901
|
```
|
|
893
902
|
|
|
894
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
903
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
895
904
|
|
|
896
905
|
## `saltcorn run-js`
|
|
897
906
|
|
|
@@ -910,7 +919,7 @@ DESCRIPTION
|
|
|
910
919
|
Run javascript code
|
|
911
920
|
```
|
|
912
921
|
|
|
913
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
922
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
914
923
|
|
|
915
924
|
## `saltcorn run-sql`
|
|
916
925
|
|
|
@@ -929,7 +938,7 @@ DESCRIPTION
|
|
|
929
938
|
Run sql expression
|
|
930
939
|
```
|
|
931
940
|
|
|
932
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
941
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
933
942
|
|
|
934
943
|
## `saltcorn run-tests [PACKAGE]`
|
|
935
944
|
|
|
@@ -956,7 +965,7 @@ DESCRIPTION
|
|
|
956
965
|
Run test suites
|
|
957
966
|
```
|
|
958
967
|
|
|
959
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
968
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
960
969
|
|
|
961
970
|
## `saltcorn run-trigger TRIGGER`
|
|
962
971
|
|
|
@@ -976,7 +985,7 @@ DESCRIPTION
|
|
|
976
985
|
Run a trigger
|
|
977
986
|
```
|
|
978
987
|
|
|
979
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
988
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
980
989
|
|
|
981
990
|
## `saltcorn scheduler`
|
|
982
991
|
|
|
@@ -993,7 +1002,7 @@ DESCRIPTION
|
|
|
993
1002
|
Run the Saltcorn scheduler
|
|
994
1003
|
```
|
|
995
1004
|
|
|
996
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1005
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
997
1006
|
|
|
998
1007
|
## `saltcorn serve`
|
|
999
1008
|
|
|
@@ -1018,7 +1027,7 @@ DESCRIPTION
|
|
|
1018
1027
|
Start the Saltcorn server
|
|
1019
1028
|
```
|
|
1020
1029
|
|
|
1021
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1030
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/serve.js)_
|
|
1022
1031
|
|
|
1023
1032
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
1024
1033
|
|
|
@@ -1043,7 +1052,7 @@ DESCRIPTION
|
|
|
1043
1052
|
stored as a string.
|
|
1044
1053
|
```
|
|
1045
1054
|
|
|
1046
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1055
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1047
1056
|
|
|
1048
1057
|
## `saltcorn set-daily-time [MINS]`
|
|
1049
1058
|
|
|
@@ -1063,7 +1072,7 @@ DESCRIPTION
|
|
|
1063
1072
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1064
1073
|
```
|
|
1065
1074
|
|
|
1066
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1075
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1067
1076
|
|
|
1068
1077
|
## `saltcorn setup`
|
|
1069
1078
|
|
|
@@ -1083,7 +1092,7 @@ DESCRIPTION
|
|
|
1083
1092
|
configuration file
|
|
1084
1093
|
```
|
|
1085
1094
|
|
|
1086
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1095
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1087
1096
|
|
|
1088
1097
|
## `saltcorn setup-benchmark`
|
|
1089
1098
|
|
|
@@ -1101,7 +1110,7 @@ DESCRIPTION
|
|
|
1101
1110
|
Setup an instance for benchmarking
|
|
1102
1111
|
```
|
|
1103
1112
|
|
|
1104
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1113
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1105
1114
|
|
|
1106
1115
|
## `saltcorn sync-upload-data`
|
|
1107
1116
|
|
|
@@ -1123,7 +1132,7 @@ DESCRIPTION
|
|
|
1123
1132
|
Runs a sync for data supplied by the mobile app
|
|
1124
1133
|
```
|
|
1125
1134
|
|
|
1126
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1135
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1127
1136
|
|
|
1128
1137
|
## `saltcorn take-snapshot`
|
|
1129
1138
|
|
|
@@ -1141,7 +1150,7 @@ DESCRIPTION
|
|
|
1141
1150
|
Print a current snapshout to stdout
|
|
1142
1151
|
```
|
|
1143
1152
|
|
|
1144
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1153
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1145
1154
|
|
|
1146
1155
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1147
1156
|
|
|
@@ -1161,5 +1170,5 @@ DESCRIPTION
|
|
|
1161
1170
|
transform an existing field by applying a calculated expression
|
|
1162
1171
|
```
|
|
1163
1172
|
|
|
1164
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1173
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.2/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1165
1174
|
<!-- commandsstop -->
|