@saltcorn/cli 1.1.2-beta.9 → 1.1.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 +87 -47
- package/npm-shrinkwrap.json +564 -579
- package/oclif.manifest.json +72 -1
- package/package.json +8 -8
- package/src/commands/dev/release.js +18 -7
- package/src/commands/dev/translate.js +107 -0
- package/src/commands/prepare.js +63 -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.1.2
|
|
23
|
+
@saltcorn/cli/1.1.2 linux-x64 node-v18.20.6
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -48,6 +48,7 @@ USAGE
|
|
|
48
48
|
* [`saltcorn dev:release VERSION`](#saltcorn-devrelease-version)
|
|
49
49
|
* [`saltcorn dev:release-resume VERSION`](#saltcorn-devrelease-resume-version)
|
|
50
50
|
* [`saltcorn dev:test-plugin PATH`](#saltcorn-devtest-plugin-path)
|
|
51
|
+
* [`saltcorn dev:translate LOCALE`](#saltcorn-devtranslate-locale)
|
|
51
52
|
* [`saltcorn fixtures`](#saltcorn-fixtures)
|
|
52
53
|
* [`saltcorn get-cfg [KEY]`](#saltcorn-get-cfg-key)
|
|
53
54
|
* [`saltcorn info`](#saltcorn-info)
|
|
@@ -61,6 +62,7 @@ USAGE
|
|
|
61
62
|
* [`saltcorn modify-user USER_EMAIL`](#saltcorn-modify-user-user_email)
|
|
62
63
|
* [`saltcorn paths`](#saltcorn-paths)
|
|
63
64
|
* [`saltcorn plugins`](#saltcorn-plugins)
|
|
65
|
+
* [`saltcorn prepare`](#saltcorn-prepare)
|
|
64
66
|
* [`saltcorn reset-schema`](#saltcorn-reset-schema)
|
|
65
67
|
* [`saltcorn restore FILE`](#saltcorn-restore-file)
|
|
66
68
|
* [`saltcorn rm-tenant`](#saltcorn-rm-tenant)
|
|
@@ -94,7 +96,7 @@ DESCRIPTION
|
|
|
94
96
|
Add Saltcorn schema to existing database
|
|
95
97
|
```
|
|
96
98
|
|
|
97
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
99
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
98
100
|
|
|
99
101
|
## `saltcorn backup`
|
|
100
102
|
|
|
@@ -115,7 +117,7 @@ DESCRIPTION
|
|
|
115
117
|
Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
116
118
|
```
|
|
117
119
|
|
|
118
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
120
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/backup.js)_
|
|
119
121
|
|
|
120
122
|
## `saltcorn build-app`
|
|
121
123
|
|
|
@@ -173,7 +175,7 @@ DESCRIPTION
|
|
|
173
175
|
Build mobile app
|
|
174
176
|
```
|
|
175
177
|
|
|
176
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
178
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
177
179
|
|
|
178
180
|
## `saltcorn build-capacitor-builder`
|
|
179
181
|
|
|
@@ -191,7 +193,7 @@ DESCRIPTION
|
|
|
191
193
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
192
194
|
```
|
|
193
195
|
|
|
194
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
196
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
195
197
|
|
|
196
198
|
## `saltcorn configuration-check`
|
|
197
199
|
|
|
@@ -208,7 +210,7 @@ DESCRIPTION
|
|
|
208
210
|
Check configuration
|
|
209
211
|
```
|
|
210
212
|
|
|
211
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
213
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
212
214
|
|
|
213
215
|
## `saltcorn configuration-check-backups FILES`
|
|
214
216
|
|
|
@@ -228,7 +230,7 @@ DESCRIPTION
|
|
|
228
230
|
Check configuration
|
|
229
231
|
```
|
|
230
232
|
|
|
231
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
233
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
232
234
|
|
|
233
235
|
## `saltcorn create-tenant TENANT`
|
|
234
236
|
|
|
@@ -250,7 +252,7 @@ DESCRIPTION
|
|
|
250
252
|
Create a tenant
|
|
251
253
|
```
|
|
252
254
|
|
|
253
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
255
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
254
256
|
|
|
255
257
|
## `saltcorn create-user`
|
|
256
258
|
|
|
@@ -271,7 +273,7 @@ DESCRIPTION
|
|
|
271
273
|
Create a new user
|
|
272
274
|
```
|
|
273
275
|
|
|
274
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
276
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
275
277
|
|
|
276
278
|
## `saltcorn delete-tenants`
|
|
277
279
|
|
|
@@ -285,7 +287,7 @@ DESCRIPTION
|
|
|
285
287
|
Delete inactive tenants
|
|
286
288
|
```
|
|
287
289
|
|
|
288
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
290
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
289
291
|
|
|
290
292
|
## `saltcorn delete-user USER_EMAIL`
|
|
291
293
|
|
|
@@ -308,7 +310,7 @@ DESCRIPTION
|
|
|
308
310
|
Command deletes the user specified by USER_EMAIL.
|
|
309
311
|
```
|
|
310
312
|
|
|
311
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
313
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
312
314
|
|
|
313
315
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
314
316
|
|
|
@@ -330,7 +332,7 @@ DESCRIPTION
|
|
|
330
332
|
Convert plugin to local plugin
|
|
331
333
|
```
|
|
332
334
|
|
|
333
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
335
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
334
336
|
|
|
335
337
|
## `saltcorn make-migration`
|
|
336
338
|
|
|
@@ -347,7 +349,7 @@ DESCRIPTION
|
|
|
347
349
|
unless you are a developer.
|
|
348
350
|
```
|
|
349
351
|
|
|
350
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
352
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
351
353
|
|
|
352
354
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
353
355
|
|
|
@@ -368,7 +370,7 @@ DESCRIPTION
|
|
|
368
370
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
369
371
|
```
|
|
370
372
|
|
|
371
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
373
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
372
374
|
|
|
373
375
|
## `saltcorn dev:post-release [TASK]`
|
|
374
376
|
|
|
@@ -385,7 +387,7 @@ DESCRIPTION
|
|
|
385
387
|
Post-release tasks: docker and vagrant builds
|
|
386
388
|
```
|
|
387
389
|
|
|
388
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
390
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
389
391
|
|
|
390
392
|
## `saltcorn dev:release VERSION`
|
|
391
393
|
|
|
@@ -405,7 +407,7 @@ DESCRIPTION
|
|
|
405
407
|
Release a new saltcorn version
|
|
406
408
|
```
|
|
407
409
|
|
|
408
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
410
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
409
411
|
|
|
410
412
|
## `saltcorn dev:release-resume VERSION`
|
|
411
413
|
|
|
@@ -425,7 +427,7 @@ DESCRIPTION
|
|
|
425
427
|
Release a new saltcorn version
|
|
426
428
|
```
|
|
427
429
|
|
|
428
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
430
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
429
431
|
|
|
430
432
|
## `saltcorn dev:test-plugin PATH`
|
|
431
433
|
|
|
@@ -444,7 +446,27 @@ DESCRIPTION
|
|
|
444
446
|
Extra documentation goes here
|
|
445
447
|
```
|
|
446
448
|
|
|
447
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
449
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
450
|
+
|
|
451
|
+
## `saltcorn dev:translate LOCALE`
|
|
452
|
+
|
|
453
|
+
Produce translation files with LLM
|
|
454
|
+
|
|
455
|
+
```
|
|
456
|
+
USAGE
|
|
457
|
+
$ saltcorn dev:translate LOCALE [-m <value>]
|
|
458
|
+
|
|
459
|
+
ARGUMENTS
|
|
460
|
+
LOCALE locale to translate
|
|
461
|
+
|
|
462
|
+
FLAGS
|
|
463
|
+
-m, --module=<value> Module to translate (in development)
|
|
464
|
+
|
|
465
|
+
DESCRIPTION
|
|
466
|
+
Produce translation files with LLM
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
448
470
|
|
|
449
471
|
## `saltcorn fixtures`
|
|
450
472
|
|
|
@@ -464,7 +486,7 @@ DESCRIPTION
|
|
|
464
486
|
This manual step it is never required for users and rarely required for developers
|
|
465
487
|
```
|
|
466
488
|
|
|
467
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
489
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
468
490
|
|
|
469
491
|
## `saltcorn get-cfg [KEY]`
|
|
470
492
|
|
|
@@ -485,7 +507,7 @@ DESCRIPTION
|
|
|
485
507
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
486
508
|
```
|
|
487
509
|
|
|
488
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
510
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
489
511
|
|
|
490
512
|
## `saltcorn info`
|
|
491
513
|
|
|
@@ -508,7 +530,7 @@ ALIASES
|
|
|
508
530
|
$ saltcorn paths
|
|
509
531
|
```
|
|
510
532
|
|
|
511
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
533
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/info.js)_
|
|
512
534
|
|
|
513
535
|
## `saltcorn inspect TYPE [NAME]`
|
|
514
536
|
|
|
@@ -529,7 +551,7 @@ DESCRIPTION
|
|
|
529
551
|
Inspect an entity's JSON representation, or list entities
|
|
530
552
|
```
|
|
531
553
|
|
|
532
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
554
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
533
555
|
|
|
534
556
|
## `saltcorn install-pack`
|
|
535
557
|
|
|
@@ -548,7 +570,7 @@ DESCRIPTION
|
|
|
548
570
|
Install a pack or restore a snapshot
|
|
549
571
|
```
|
|
550
572
|
|
|
551
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
573
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
552
574
|
|
|
553
575
|
## `saltcorn install-plugin`
|
|
554
576
|
|
|
@@ -568,7 +590,7 @@ DESCRIPTION
|
|
|
568
590
|
Install a plugin
|
|
569
591
|
```
|
|
570
592
|
|
|
571
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
593
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
572
594
|
|
|
573
595
|
## `saltcorn list-tenants`
|
|
574
596
|
|
|
@@ -587,7 +609,7 @@ DESCRIPTION
|
|
|
587
609
|
List tenants in CSV format
|
|
588
610
|
```
|
|
589
611
|
|
|
590
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
612
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
591
613
|
|
|
592
614
|
## `saltcorn list-triggers`
|
|
593
615
|
|
|
@@ -606,7 +628,7 @@ DESCRIPTION
|
|
|
606
628
|
List triggers
|
|
607
629
|
```
|
|
608
630
|
|
|
609
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
631
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
610
632
|
|
|
611
633
|
## `saltcorn list-users`
|
|
612
634
|
|
|
@@ -624,7 +646,7 @@ DESCRIPTION
|
|
|
624
646
|
List users
|
|
625
647
|
```
|
|
626
648
|
|
|
627
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
649
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
628
650
|
|
|
629
651
|
## `saltcorn saltcorn migrate`
|
|
630
652
|
|
|
@@ -647,7 +669,7 @@ DESCRIPTION
|
|
|
647
669
|
servers and need to control when the migrations are run.
|
|
648
670
|
```
|
|
649
671
|
|
|
650
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
672
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
651
673
|
|
|
652
674
|
## `saltcorn modify-user USER_EMAIL`
|
|
653
675
|
|
|
@@ -678,7 +700,7 @@ DESCRIPTION
|
|
|
678
700
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
679
701
|
```
|
|
680
702
|
|
|
681
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
703
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
682
704
|
|
|
683
705
|
## `saltcorn paths`
|
|
684
706
|
|
|
@@ -730,7 +752,25 @@ EXAMPLES
|
|
|
730
752
|
plugins -u -f - force plugin update
|
|
731
753
|
```
|
|
732
754
|
|
|
733
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
755
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
756
|
+
|
|
757
|
+
## `saltcorn prepare`
|
|
758
|
+
|
|
759
|
+
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
760
|
+
|
|
761
|
+
```
|
|
762
|
+
USAGE
|
|
763
|
+
$ saltcorn prepare [-v] [-a]
|
|
764
|
+
|
|
765
|
+
FLAGS
|
|
766
|
+
-a, --addschema Add schema if missing
|
|
767
|
+
-v, --verbose Verbose
|
|
768
|
+
|
|
769
|
+
DESCRIPTION
|
|
770
|
+
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
771
|
+
```
|
|
772
|
+
|
|
773
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
734
774
|
|
|
735
775
|
## `saltcorn reset-schema`
|
|
736
776
|
|
|
@@ -750,7 +790,7 @@ DESCRIPTION
|
|
|
750
790
|
This will delete all existing information
|
|
751
791
|
```
|
|
752
792
|
|
|
753
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
793
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
754
794
|
|
|
755
795
|
## `saltcorn restore FILE`
|
|
756
796
|
|
|
@@ -770,7 +810,7 @@ DESCRIPTION
|
|
|
770
810
|
Restore a previously backed up database (zip or sqlc format)
|
|
771
811
|
```
|
|
772
812
|
|
|
773
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
813
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/restore.js)_
|
|
774
814
|
|
|
775
815
|
## `saltcorn rm-tenant`
|
|
776
816
|
|
|
@@ -790,7 +830,7 @@ DESCRIPTION
|
|
|
790
830
|
It recommended to make backup of tenant before perform this command.
|
|
791
831
|
```
|
|
792
832
|
|
|
793
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
833
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
794
834
|
|
|
795
835
|
## `saltcorn run-benchmark [BASEURL]`
|
|
796
836
|
|
|
@@ -812,7 +852,7 @@ DESCRIPTION
|
|
|
812
852
|
Run benchmark
|
|
813
853
|
```
|
|
814
854
|
|
|
815
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
855
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
816
856
|
|
|
817
857
|
## `saltcorn run-js`
|
|
818
858
|
|
|
@@ -831,7 +871,7 @@ DESCRIPTION
|
|
|
831
871
|
Run javascript code
|
|
832
872
|
```
|
|
833
873
|
|
|
834
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
874
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
835
875
|
|
|
836
876
|
## `saltcorn run-sql`
|
|
837
877
|
|
|
@@ -850,7 +890,7 @@ DESCRIPTION
|
|
|
850
890
|
Run sql expression
|
|
851
891
|
```
|
|
852
892
|
|
|
853
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
893
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
854
894
|
|
|
855
895
|
## `saltcorn run-tests [PACKAGE]`
|
|
856
896
|
|
|
@@ -877,7 +917,7 @@ DESCRIPTION
|
|
|
877
917
|
Run test suites
|
|
878
918
|
```
|
|
879
919
|
|
|
880
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
920
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
881
921
|
|
|
882
922
|
## `saltcorn run-trigger TRIGGER`
|
|
883
923
|
|
|
@@ -897,7 +937,7 @@ DESCRIPTION
|
|
|
897
937
|
Run a trigger
|
|
898
938
|
```
|
|
899
939
|
|
|
900
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
940
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
901
941
|
|
|
902
942
|
## `saltcorn scheduler`
|
|
903
943
|
|
|
@@ -914,7 +954,7 @@ DESCRIPTION
|
|
|
914
954
|
Run the Saltcorn scheduler
|
|
915
955
|
```
|
|
916
956
|
|
|
917
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
957
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
918
958
|
|
|
919
959
|
## `saltcorn serve`
|
|
920
960
|
|
|
@@ -938,7 +978,7 @@ DESCRIPTION
|
|
|
938
978
|
Start the Saltcorn server
|
|
939
979
|
```
|
|
940
980
|
|
|
941
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
981
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/serve.js)_
|
|
942
982
|
|
|
943
983
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
944
984
|
|
|
@@ -963,7 +1003,7 @@ DESCRIPTION
|
|
|
963
1003
|
stored as a string.
|
|
964
1004
|
```
|
|
965
1005
|
|
|
966
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
1006
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
967
1007
|
|
|
968
1008
|
## `saltcorn set-daily-time [MINS]`
|
|
969
1009
|
|
|
@@ -983,7 +1023,7 @@ DESCRIPTION
|
|
|
983
1023
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
984
1024
|
```
|
|
985
1025
|
|
|
986
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
1026
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
987
1027
|
|
|
988
1028
|
## `saltcorn setup`
|
|
989
1029
|
|
|
@@ -1003,7 +1043,7 @@ DESCRIPTION
|
|
|
1003
1043
|
configuration file
|
|
1004
1044
|
```
|
|
1005
1045
|
|
|
1006
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
1046
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1007
1047
|
|
|
1008
1048
|
## `saltcorn setup-benchmark`
|
|
1009
1049
|
|
|
@@ -1021,7 +1061,7 @@ DESCRIPTION
|
|
|
1021
1061
|
Setup an instance for benchmarking
|
|
1022
1062
|
```
|
|
1023
1063
|
|
|
1024
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
1064
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1025
1065
|
|
|
1026
1066
|
## `saltcorn sync-upload-data`
|
|
1027
1067
|
|
|
@@ -1042,7 +1082,7 @@ DESCRIPTION
|
|
|
1042
1082
|
Runs a sync for data supplied by the mobile app
|
|
1043
1083
|
```
|
|
1044
1084
|
|
|
1045
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
1085
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1046
1086
|
|
|
1047
1087
|
## `saltcorn take-snapshot`
|
|
1048
1088
|
|
|
@@ -1060,7 +1100,7 @@ DESCRIPTION
|
|
|
1060
1100
|
Print a current snapshout to stdout
|
|
1061
1101
|
```
|
|
1062
1102
|
|
|
1063
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
1103
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1064
1104
|
|
|
1065
1105
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1066
1106
|
|
|
@@ -1080,5 +1120,5 @@ DESCRIPTION
|
|
|
1080
1120
|
transform an existing field by applying a calculated expression
|
|
1081
1121
|
```
|
|
1082
1122
|
|
|
1083
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2
|
|
1123
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.1.2/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1084
1124
|
<!-- commandsstop -->
|