@saltcorn/cli 1.6.0-alpha.2 → 1.6.0-alpha.3
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 +87 -50
- package/npm-shrinkwrap.json +310 -299
- package/oclif.manifest.json +73 -1
- package/package.json +8 -8
- package/src/commands/dev/build.js +47 -0
- package/src/commands/dev/serve.js +75 -0
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @saltcorn/cli
|
|
|
20
20
|
$ saltcorn COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ saltcorn (--version)
|
|
23
|
-
@saltcorn/cli/1.6.0-alpha.
|
|
23
|
+
@saltcorn/cli/1.6.0-alpha.3 linux-x64 node-v20.19.4
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -41,12 +41,14 @@ USAGE
|
|
|
41
41
|
* [`saltcorn create-user`](#saltcorn-create-user)
|
|
42
42
|
* [`saltcorn delete-tenants`](#saltcorn-delete-tenants)
|
|
43
43
|
* [`saltcorn delete-user USER_EMAIL`](#saltcorn-delete-user-user_email)
|
|
44
|
+
* [`saltcorn dev:build [COMPONENT]`](#saltcorn-devbuild-component)
|
|
44
45
|
* [`saltcorn dev:localize-plugin PLUGIN [PATH]`](#saltcorn-devlocalize-plugin-plugin-path)
|
|
45
46
|
* [`saltcorn make-migration`](#saltcorn-make-migration)
|
|
46
47
|
* [`saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`](#saltcorn-saltcorn-devplugin-test--d-path_to_local_pluginstatistics--f-test-backupzip)
|
|
47
48
|
* [`saltcorn dev:post-release [TASK] [TAG]`](#saltcorn-devpost-release-task-tag)
|
|
48
49
|
* [`saltcorn dev:release VERSION TAG`](#saltcorn-devrelease-version-tag)
|
|
49
50
|
* [`saltcorn dev:release-resume VERSION`](#saltcorn-devrelease-resume-version)
|
|
51
|
+
* [`saltcorn dev:serve`](#saltcorn-devserve)
|
|
50
52
|
* [`saltcorn dev:test-plugin PATH`](#saltcorn-devtest-plugin-path)
|
|
51
53
|
* [`saltcorn dev:translate LOCALE`](#saltcorn-devtranslate-locale)
|
|
52
54
|
* [`saltcorn fixtures`](#saltcorn-fixtures)
|
|
@@ -97,7 +99,7 @@ DESCRIPTION
|
|
|
97
99
|
Add Saltcorn schema to existing database
|
|
98
100
|
```
|
|
99
101
|
|
|
100
|
-
_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.3/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
101
103
|
|
|
102
104
|
## `saltcorn backup`
|
|
103
105
|
|
|
@@ -118,7 +120,7 @@ DESCRIPTION
|
|
|
118
120
|
Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
119
121
|
```
|
|
120
122
|
|
|
121
|
-
_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.3/packages/saltcorn-cli/src/commands/backup.js)_
|
|
122
124
|
|
|
123
125
|
## `saltcorn build-app`
|
|
124
126
|
|
|
@@ -195,7 +197,7 @@ DESCRIPTION
|
|
|
195
197
|
Build mobile app
|
|
196
198
|
```
|
|
197
199
|
|
|
198
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
200
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
199
201
|
|
|
200
202
|
## `saltcorn build-capacitor-builder`
|
|
201
203
|
|
|
@@ -213,7 +215,7 @@ DESCRIPTION
|
|
|
213
215
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
214
216
|
```
|
|
215
217
|
|
|
216
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
218
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
217
219
|
|
|
218
220
|
## `saltcorn configuration-check`
|
|
219
221
|
|
|
@@ -230,7 +232,7 @@ DESCRIPTION
|
|
|
230
232
|
Check configuration
|
|
231
233
|
```
|
|
232
234
|
|
|
233
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
235
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
234
236
|
|
|
235
237
|
## `saltcorn configuration-check-backups FILES`
|
|
236
238
|
|
|
@@ -250,7 +252,7 @@ DESCRIPTION
|
|
|
250
252
|
Check configuration
|
|
251
253
|
```
|
|
252
254
|
|
|
253
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
255
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
254
256
|
|
|
255
257
|
## `saltcorn create-tenant TENANT`
|
|
256
258
|
|
|
@@ -272,7 +274,7 @@ DESCRIPTION
|
|
|
272
274
|
Create a tenant
|
|
273
275
|
```
|
|
274
276
|
|
|
275
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
277
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
276
278
|
|
|
277
279
|
## `saltcorn create-user`
|
|
278
280
|
|
|
@@ -293,7 +295,7 @@ DESCRIPTION
|
|
|
293
295
|
Create a new user
|
|
294
296
|
```
|
|
295
297
|
|
|
296
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
298
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
297
299
|
|
|
298
300
|
## `saltcorn delete-tenants`
|
|
299
301
|
|
|
@@ -307,7 +309,7 @@ DESCRIPTION
|
|
|
307
309
|
Delete inactive tenants
|
|
308
310
|
```
|
|
309
311
|
|
|
310
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
312
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
311
313
|
|
|
312
314
|
## `saltcorn delete-user USER_EMAIL`
|
|
313
315
|
|
|
@@ -330,7 +332,24 @@ DESCRIPTION
|
|
|
330
332
|
Command deletes the user specified by USER_EMAIL.
|
|
331
333
|
```
|
|
332
334
|
|
|
333
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
335
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
336
|
+
|
|
337
|
+
## `saltcorn dev:build [COMPONENT]`
|
|
338
|
+
|
|
339
|
+
Rebuild static assets
|
|
340
|
+
|
|
341
|
+
```
|
|
342
|
+
USAGE
|
|
343
|
+
$ saltcorn dev:build [COMPONENT]
|
|
344
|
+
|
|
345
|
+
ARGUMENTS
|
|
346
|
+
COMPONENT (builder|filemanager|workflow-editor) Component to rebuild
|
|
347
|
+
|
|
348
|
+
DESCRIPTION
|
|
349
|
+
Rebuild static assets
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
_See code: [src/commands/dev/build.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/build.js)_
|
|
334
353
|
|
|
335
354
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
336
355
|
|
|
@@ -352,7 +371,7 @@ DESCRIPTION
|
|
|
352
371
|
Convert plugin to local plugin
|
|
353
372
|
```
|
|
354
373
|
|
|
355
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
374
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
356
375
|
|
|
357
376
|
## `saltcorn make-migration`
|
|
358
377
|
|
|
@@ -369,7 +388,7 @@ DESCRIPTION
|
|
|
369
388
|
unless you are a developer.
|
|
370
389
|
```
|
|
371
390
|
|
|
372
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
391
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
373
392
|
|
|
374
393
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
375
394
|
|
|
@@ -392,7 +411,7 @@ DESCRIPTION
|
|
|
392
411
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
393
412
|
```
|
|
394
413
|
|
|
395
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
414
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
396
415
|
|
|
397
416
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
398
417
|
|
|
@@ -410,7 +429,7 @@ DESCRIPTION
|
|
|
410
429
|
Post-release tasks: docker and vagrant builds
|
|
411
430
|
```
|
|
412
431
|
|
|
413
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
432
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
414
433
|
|
|
415
434
|
## `saltcorn dev:release VERSION TAG`
|
|
416
435
|
|
|
@@ -428,7 +447,7 @@ DESCRIPTION
|
|
|
428
447
|
Release a new saltcorn version
|
|
429
448
|
```
|
|
430
449
|
|
|
431
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
450
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
432
451
|
|
|
433
452
|
## `saltcorn dev:release-resume VERSION`
|
|
434
453
|
|
|
@@ -448,7 +467,25 @@ DESCRIPTION
|
|
|
448
467
|
Release a new saltcorn version
|
|
449
468
|
```
|
|
450
469
|
|
|
451
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
470
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
471
|
+
|
|
472
|
+
## `saltcorn dev:serve`
|
|
473
|
+
|
|
474
|
+
Development server. Serve on port 3000, restart when source files change
|
|
475
|
+
|
|
476
|
+
```
|
|
477
|
+
USAGE
|
|
478
|
+
$ saltcorn dev:serve [-p <value>] [-w <value>]
|
|
479
|
+
|
|
480
|
+
FLAGS
|
|
481
|
+
-p, --port=<value> [default: 3000] port
|
|
482
|
+
-w, --workers=<value> [default: 1] workers
|
|
483
|
+
|
|
484
|
+
DESCRIPTION
|
|
485
|
+
Development server. Serve on port 3000, restart when source files change
|
|
486
|
+
```
|
|
487
|
+
|
|
488
|
+
_See code: [src/commands/dev/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/serve.js)_
|
|
452
489
|
|
|
453
490
|
## `saltcorn dev:test-plugin PATH`
|
|
454
491
|
|
|
@@ -467,7 +504,7 @@ DESCRIPTION
|
|
|
467
504
|
Extra documentation goes here
|
|
468
505
|
```
|
|
469
506
|
|
|
470
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
507
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
471
508
|
|
|
472
509
|
## `saltcorn dev:translate LOCALE`
|
|
473
510
|
|
|
@@ -487,7 +524,7 @@ DESCRIPTION
|
|
|
487
524
|
Produce translation files with LLM
|
|
488
525
|
```
|
|
489
526
|
|
|
490
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
527
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
491
528
|
|
|
492
529
|
## `saltcorn fixtures`
|
|
493
530
|
|
|
@@ -507,7 +544,7 @@ DESCRIPTION
|
|
|
507
544
|
This manual step it is never required for users and rarely required for developers
|
|
508
545
|
```
|
|
509
546
|
|
|
510
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
547
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
511
548
|
|
|
512
549
|
## `saltcorn get-cfg [KEY]`
|
|
513
550
|
|
|
@@ -528,7 +565,7 @@ DESCRIPTION
|
|
|
528
565
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
529
566
|
```
|
|
530
567
|
|
|
531
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
568
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
532
569
|
|
|
533
570
|
## `saltcorn info [KEY]`
|
|
534
571
|
|
|
@@ -554,7 +591,7 @@ ALIASES
|
|
|
554
591
|
$ saltcorn paths
|
|
555
592
|
```
|
|
556
593
|
|
|
557
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
594
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/info.js)_
|
|
558
595
|
|
|
559
596
|
## `saltcorn inspect TYPE [NAME]`
|
|
560
597
|
|
|
@@ -575,7 +612,7 @@ DESCRIPTION
|
|
|
575
612
|
Inspect an entity's JSON representation, or list entities
|
|
576
613
|
```
|
|
577
614
|
|
|
578
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
615
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
579
616
|
|
|
580
617
|
## `saltcorn install-pack`
|
|
581
618
|
|
|
@@ -594,7 +631,7 @@ DESCRIPTION
|
|
|
594
631
|
Install a pack or restore a snapshot
|
|
595
632
|
```
|
|
596
633
|
|
|
597
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
634
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
598
635
|
|
|
599
636
|
## `saltcorn install-plugin`
|
|
600
637
|
|
|
@@ -614,7 +651,7 @@ DESCRIPTION
|
|
|
614
651
|
Install a plugin
|
|
615
652
|
```
|
|
616
653
|
|
|
617
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
654
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
618
655
|
|
|
619
656
|
## `saltcorn list-tenants`
|
|
620
657
|
|
|
@@ -634,7 +671,7 @@ DESCRIPTION
|
|
|
634
671
|
List tenants in CSV format
|
|
635
672
|
```
|
|
636
673
|
|
|
637
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
674
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
638
675
|
|
|
639
676
|
## `saltcorn list-triggers`
|
|
640
677
|
|
|
@@ -653,7 +690,7 @@ DESCRIPTION
|
|
|
653
690
|
List triggers
|
|
654
691
|
```
|
|
655
692
|
|
|
656
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
693
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
657
694
|
|
|
658
695
|
## `saltcorn list-users`
|
|
659
696
|
|
|
@@ -671,7 +708,7 @@ DESCRIPTION
|
|
|
671
708
|
List users
|
|
672
709
|
```
|
|
673
710
|
|
|
674
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
711
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
675
712
|
|
|
676
713
|
## `saltcorn saltcorn migrate`
|
|
677
714
|
|
|
@@ -694,7 +731,7 @@ DESCRIPTION
|
|
|
694
731
|
servers and need to control when the migrations are run.
|
|
695
732
|
```
|
|
696
733
|
|
|
697
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
734
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
698
735
|
|
|
699
736
|
## `saltcorn modify-user USER_EMAIL`
|
|
700
737
|
|
|
@@ -725,7 +762,7 @@ DESCRIPTION
|
|
|
725
762
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
726
763
|
```
|
|
727
764
|
|
|
728
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
765
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
729
766
|
|
|
730
767
|
## `saltcorn paths [KEY]`
|
|
731
768
|
|
|
@@ -780,7 +817,7 @@ EXAMPLES
|
|
|
780
817
|
plugins -u -f - force plugin update
|
|
781
818
|
```
|
|
782
819
|
|
|
783
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
820
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
784
821
|
|
|
785
822
|
## `saltcorn pre-install-modules PLUGINSELECTOR`
|
|
786
823
|
|
|
@@ -800,7 +837,7 @@ DESCRIPTION
|
|
|
800
837
|
Pre-install modules required by Saltcorn before running the application.
|
|
801
838
|
```
|
|
802
839
|
|
|
803
|
-
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
840
|
+
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
|
|
804
841
|
|
|
805
842
|
## `saltcorn prepare`
|
|
806
843
|
|
|
@@ -818,7 +855,7 @@ DESCRIPTION
|
|
|
818
855
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
819
856
|
```
|
|
820
857
|
|
|
821
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
858
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
822
859
|
|
|
823
860
|
## `saltcorn reset-schema`
|
|
824
861
|
|
|
@@ -838,7 +875,7 @@ DESCRIPTION
|
|
|
838
875
|
This will delete all existing information
|
|
839
876
|
```
|
|
840
877
|
|
|
841
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
878
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
842
879
|
|
|
843
880
|
## `saltcorn restore FILE`
|
|
844
881
|
|
|
@@ -858,7 +895,7 @@ DESCRIPTION
|
|
|
858
895
|
Restore a previously backed up database (zip or sqlc format)
|
|
859
896
|
```
|
|
860
897
|
|
|
861
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
898
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/restore.js)_
|
|
862
899
|
|
|
863
900
|
## `saltcorn rm-tenant`
|
|
864
901
|
|
|
@@ -878,7 +915,7 @@ DESCRIPTION
|
|
|
878
915
|
It recommended to make backup of tenant before perform this command.
|
|
879
916
|
```
|
|
880
917
|
|
|
881
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
918
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
882
919
|
|
|
883
920
|
## `saltcorn run-benchmark [BASEURL]`
|
|
884
921
|
|
|
@@ -900,7 +937,7 @@ DESCRIPTION
|
|
|
900
937
|
Run benchmark
|
|
901
938
|
```
|
|
902
939
|
|
|
903
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
940
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
904
941
|
|
|
905
942
|
## `saltcorn run-js`
|
|
906
943
|
|
|
@@ -919,7 +956,7 @@ DESCRIPTION
|
|
|
919
956
|
Run javascript code
|
|
920
957
|
```
|
|
921
958
|
|
|
922
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
959
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
923
960
|
|
|
924
961
|
## `saltcorn run-sql`
|
|
925
962
|
|
|
@@ -938,7 +975,7 @@ DESCRIPTION
|
|
|
938
975
|
Run sql expression
|
|
939
976
|
```
|
|
940
977
|
|
|
941
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
978
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
942
979
|
|
|
943
980
|
## `saltcorn run-tests [PACKAGE]`
|
|
944
981
|
|
|
@@ -965,7 +1002,7 @@ DESCRIPTION
|
|
|
965
1002
|
Run test suites
|
|
966
1003
|
```
|
|
967
1004
|
|
|
968
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1005
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
969
1006
|
|
|
970
1007
|
## `saltcorn run-trigger TRIGGER`
|
|
971
1008
|
|
|
@@ -985,7 +1022,7 @@ DESCRIPTION
|
|
|
985
1022
|
Run a trigger
|
|
986
1023
|
```
|
|
987
1024
|
|
|
988
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1025
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
989
1026
|
|
|
990
1027
|
## `saltcorn scheduler`
|
|
991
1028
|
|
|
@@ -1002,7 +1039,7 @@ DESCRIPTION
|
|
|
1002
1039
|
Run the Saltcorn scheduler
|
|
1003
1040
|
```
|
|
1004
1041
|
|
|
1005
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1042
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
1006
1043
|
|
|
1007
1044
|
## `saltcorn serve`
|
|
1008
1045
|
|
|
@@ -1027,7 +1064,7 @@ DESCRIPTION
|
|
|
1027
1064
|
Start the Saltcorn server
|
|
1028
1065
|
```
|
|
1029
1066
|
|
|
1030
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1067
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/serve.js)_
|
|
1031
1068
|
|
|
1032
1069
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
1033
1070
|
|
|
@@ -1052,7 +1089,7 @@ DESCRIPTION
|
|
|
1052
1089
|
stored as a string.
|
|
1053
1090
|
```
|
|
1054
1091
|
|
|
1055
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1092
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1056
1093
|
|
|
1057
1094
|
## `saltcorn set-daily-time [MINS]`
|
|
1058
1095
|
|
|
@@ -1072,7 +1109,7 @@ DESCRIPTION
|
|
|
1072
1109
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1073
1110
|
```
|
|
1074
1111
|
|
|
1075
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1112
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1076
1113
|
|
|
1077
1114
|
## `saltcorn setup`
|
|
1078
1115
|
|
|
@@ -1092,7 +1129,7 @@ DESCRIPTION
|
|
|
1092
1129
|
configuration file
|
|
1093
1130
|
```
|
|
1094
1131
|
|
|
1095
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1132
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1096
1133
|
|
|
1097
1134
|
## `saltcorn setup-benchmark`
|
|
1098
1135
|
|
|
@@ -1110,7 +1147,7 @@ DESCRIPTION
|
|
|
1110
1147
|
Setup an instance for benchmarking
|
|
1111
1148
|
```
|
|
1112
1149
|
|
|
1113
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1150
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1114
1151
|
|
|
1115
1152
|
## `saltcorn sync-upload-data`
|
|
1116
1153
|
|
|
@@ -1132,7 +1169,7 @@ DESCRIPTION
|
|
|
1132
1169
|
Runs a sync for data supplied by the mobile app
|
|
1133
1170
|
```
|
|
1134
1171
|
|
|
1135
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1172
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1136
1173
|
|
|
1137
1174
|
## `saltcorn take-snapshot`
|
|
1138
1175
|
|
|
@@ -1150,7 +1187,7 @@ DESCRIPTION
|
|
|
1150
1187
|
Print a current snapshout to stdout
|
|
1151
1188
|
```
|
|
1152
1189
|
|
|
1153
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1190
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1154
1191
|
|
|
1155
1192
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1156
1193
|
|
|
@@ -1170,5 +1207,5 @@ DESCRIPTION
|
|
|
1170
1207
|
transform an existing field by applying a calculated expression
|
|
1171
1208
|
```
|
|
1172
1209
|
|
|
1173
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1210
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1174
1211
|
<!-- commandsstop -->
|