@saltcorn/cli 1.5.0-beta.5 → 1.5.0-beta.7
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 +54 -52
- package/npm-shrinkwrap.json +515 -463
- package/oclif.manifest.json +7 -1
- package/package.json +8 -8
- package/src/commands/build-app.js +7 -0
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @saltcorn/cli
|
|
|
20
20
|
$ saltcorn COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ saltcorn (--version)
|
|
23
|
-
@saltcorn/cli/1.5.0-beta.
|
|
23
|
+
@saltcorn/cli/1.5.0-beta.7 linux-x64 node-v20.19.4
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -96,7 +96,7 @@ DESCRIPTION
|
|
|
96
96
|
Add Saltcorn schema to existing database
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
99
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
100
100
|
|
|
101
101
|
## `saltcorn backup`
|
|
102
102
|
|
|
@@ -117,7 +117,7 @@ DESCRIPTION
|
|
|
117
117
|
Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
120
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/backup.js)_
|
|
121
121
|
|
|
122
122
|
## `saltcorn build-app`
|
|
123
123
|
|
|
@@ -128,9 +128,10 @@ USAGE
|
|
|
128
128
|
$ saltcorn build-app [-m full|prepare|finish] [--allowShareTo] [--tenantAppName <value>] [-p <value>...] [-e
|
|
129
129
|
<value>] [-t <value>] [-l <value>...] [--synchedTables <value>...] [--includedPlugins <value>...] [-d] [-b <value>]
|
|
130
130
|
[-c <value>] [-u <value>] [--appName <value>] [--appId <value>] [--appVersion <value>] [--appIcon <value>] [-s
|
|
131
|
-
<value>] [--splashPage <value>] [--autoPublicLogin] [--
|
|
132
|
-
[--
|
|
133
|
-
[--
|
|
131
|
+
<value>] [--splashPage <value>] [--autoPublicLogin] [--showContinueAsPublicUser] [--allowOfflineMode]
|
|
132
|
+
[--provisioningProfile <value>] [--shareExtensionProvisioningProfile <value>] [--buildType <value>]
|
|
133
|
+
[--androidKeystore <value>] [--androidKeyStoreAlias <value>] [--androidKeystorePassword <value>]
|
|
134
|
+
[--googleServicesFile <value>]
|
|
134
135
|
|
|
135
136
|
FLAGS
|
|
136
137
|
-b, --buildDirectory=<value> A directory where the app should be build
|
|
@@ -167,6 +168,7 @@ FLAGS
|
|
|
167
168
|
modules are used.
|
|
168
169
|
--provisioningProfile=<value> This profile will be used to sign your app
|
|
169
170
|
--shareExtensionProvisioningProfile=<value> This profile will be used to sign your share extension on iOS
|
|
171
|
+
--showContinueAsPublicUser Show a button to continue as public user on the login screen.
|
|
170
172
|
--splashPage=<value> Name of a page that should be shown while the app is loading.
|
|
171
173
|
--synchedTables=<value>... Table names for which the offline should be synchronized with the
|
|
172
174
|
saltcorn server
|
|
@@ -177,7 +179,7 @@ DESCRIPTION
|
|
|
177
179
|
Build mobile app
|
|
178
180
|
```
|
|
179
181
|
|
|
180
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
182
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
181
183
|
|
|
182
184
|
## `saltcorn build-capacitor-builder`
|
|
183
185
|
|
|
@@ -195,7 +197,7 @@ DESCRIPTION
|
|
|
195
197
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
196
198
|
```
|
|
197
199
|
|
|
198
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
200
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
199
201
|
|
|
200
202
|
## `saltcorn configuration-check`
|
|
201
203
|
|
|
@@ -212,7 +214,7 @@ DESCRIPTION
|
|
|
212
214
|
Check configuration
|
|
213
215
|
```
|
|
214
216
|
|
|
215
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
217
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
216
218
|
|
|
217
219
|
## `saltcorn configuration-check-backups FILES`
|
|
218
220
|
|
|
@@ -232,7 +234,7 @@ DESCRIPTION
|
|
|
232
234
|
Check configuration
|
|
233
235
|
```
|
|
234
236
|
|
|
235
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
237
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
236
238
|
|
|
237
239
|
## `saltcorn create-tenant TENANT`
|
|
238
240
|
|
|
@@ -254,7 +256,7 @@ DESCRIPTION
|
|
|
254
256
|
Create a tenant
|
|
255
257
|
```
|
|
256
258
|
|
|
257
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
259
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
258
260
|
|
|
259
261
|
## `saltcorn create-user`
|
|
260
262
|
|
|
@@ -275,7 +277,7 @@ DESCRIPTION
|
|
|
275
277
|
Create a new user
|
|
276
278
|
```
|
|
277
279
|
|
|
278
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
280
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
279
281
|
|
|
280
282
|
## `saltcorn delete-tenants`
|
|
281
283
|
|
|
@@ -289,7 +291,7 @@ DESCRIPTION
|
|
|
289
291
|
Delete inactive tenants
|
|
290
292
|
```
|
|
291
293
|
|
|
292
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
294
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
293
295
|
|
|
294
296
|
## `saltcorn delete-user USER_EMAIL`
|
|
295
297
|
|
|
@@ -312,7 +314,7 @@ DESCRIPTION
|
|
|
312
314
|
Command deletes the user specified by USER_EMAIL.
|
|
313
315
|
```
|
|
314
316
|
|
|
315
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
317
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
316
318
|
|
|
317
319
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
318
320
|
|
|
@@ -334,7 +336,7 @@ DESCRIPTION
|
|
|
334
336
|
Convert plugin to local plugin
|
|
335
337
|
```
|
|
336
338
|
|
|
337
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
339
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
338
340
|
|
|
339
341
|
## `saltcorn make-migration`
|
|
340
342
|
|
|
@@ -351,7 +353,7 @@ DESCRIPTION
|
|
|
351
353
|
unless you are a developer.
|
|
352
354
|
```
|
|
353
355
|
|
|
354
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
356
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
355
357
|
|
|
356
358
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
357
359
|
|
|
@@ -372,7 +374,7 @@ DESCRIPTION
|
|
|
372
374
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
373
375
|
```
|
|
374
376
|
|
|
375
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
377
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
376
378
|
|
|
377
379
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
378
380
|
|
|
@@ -390,7 +392,7 @@ DESCRIPTION
|
|
|
390
392
|
Post-release tasks: docker and vagrant builds
|
|
391
393
|
```
|
|
392
394
|
|
|
393
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
395
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
394
396
|
|
|
395
397
|
## `saltcorn dev:release VERSION TAG`
|
|
396
398
|
|
|
@@ -408,7 +410,7 @@ DESCRIPTION
|
|
|
408
410
|
Release a new saltcorn version
|
|
409
411
|
```
|
|
410
412
|
|
|
411
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
413
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
412
414
|
|
|
413
415
|
## `saltcorn dev:release-resume VERSION`
|
|
414
416
|
|
|
@@ -428,7 +430,7 @@ DESCRIPTION
|
|
|
428
430
|
Release a new saltcorn version
|
|
429
431
|
```
|
|
430
432
|
|
|
431
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
433
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
432
434
|
|
|
433
435
|
## `saltcorn dev:test-plugin PATH`
|
|
434
436
|
|
|
@@ -447,7 +449,7 @@ DESCRIPTION
|
|
|
447
449
|
Extra documentation goes here
|
|
448
450
|
```
|
|
449
451
|
|
|
450
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
452
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
451
453
|
|
|
452
454
|
## `saltcorn dev:translate LOCALE`
|
|
453
455
|
|
|
@@ -467,7 +469,7 @@ DESCRIPTION
|
|
|
467
469
|
Produce translation files with LLM
|
|
468
470
|
```
|
|
469
471
|
|
|
470
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
472
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
471
473
|
|
|
472
474
|
## `saltcorn fixtures`
|
|
473
475
|
|
|
@@ -487,7 +489,7 @@ DESCRIPTION
|
|
|
487
489
|
This manual step it is never required for users and rarely required for developers
|
|
488
490
|
```
|
|
489
491
|
|
|
490
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
492
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
491
493
|
|
|
492
494
|
## `saltcorn get-cfg [KEY]`
|
|
493
495
|
|
|
@@ -508,7 +510,7 @@ DESCRIPTION
|
|
|
508
510
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
509
511
|
```
|
|
510
512
|
|
|
511
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
513
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
512
514
|
|
|
513
515
|
## `saltcorn info [KEY]`
|
|
514
516
|
|
|
@@ -534,7 +536,7 @@ ALIASES
|
|
|
534
536
|
$ saltcorn paths
|
|
535
537
|
```
|
|
536
538
|
|
|
537
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
539
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/info.js)_
|
|
538
540
|
|
|
539
541
|
## `saltcorn inspect TYPE [NAME]`
|
|
540
542
|
|
|
@@ -555,7 +557,7 @@ DESCRIPTION
|
|
|
555
557
|
Inspect an entity's JSON representation, or list entities
|
|
556
558
|
```
|
|
557
559
|
|
|
558
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
560
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
559
561
|
|
|
560
562
|
## `saltcorn install-pack`
|
|
561
563
|
|
|
@@ -574,7 +576,7 @@ DESCRIPTION
|
|
|
574
576
|
Install a pack or restore a snapshot
|
|
575
577
|
```
|
|
576
578
|
|
|
577
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
579
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
578
580
|
|
|
579
581
|
## `saltcorn install-plugin`
|
|
580
582
|
|
|
@@ -594,7 +596,7 @@ DESCRIPTION
|
|
|
594
596
|
Install a plugin
|
|
595
597
|
```
|
|
596
598
|
|
|
597
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
599
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
598
600
|
|
|
599
601
|
## `saltcorn list-tenants`
|
|
600
602
|
|
|
@@ -614,7 +616,7 @@ DESCRIPTION
|
|
|
614
616
|
List tenants in CSV format
|
|
615
617
|
```
|
|
616
618
|
|
|
617
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
619
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
618
620
|
|
|
619
621
|
## `saltcorn list-triggers`
|
|
620
622
|
|
|
@@ -633,7 +635,7 @@ DESCRIPTION
|
|
|
633
635
|
List triggers
|
|
634
636
|
```
|
|
635
637
|
|
|
636
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
638
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
637
639
|
|
|
638
640
|
## `saltcorn list-users`
|
|
639
641
|
|
|
@@ -651,7 +653,7 @@ DESCRIPTION
|
|
|
651
653
|
List users
|
|
652
654
|
```
|
|
653
655
|
|
|
654
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
656
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
655
657
|
|
|
656
658
|
## `saltcorn saltcorn migrate`
|
|
657
659
|
|
|
@@ -674,7 +676,7 @@ DESCRIPTION
|
|
|
674
676
|
servers and need to control when the migrations are run.
|
|
675
677
|
```
|
|
676
678
|
|
|
677
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
679
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
678
680
|
|
|
679
681
|
## `saltcorn modify-user USER_EMAIL`
|
|
680
682
|
|
|
@@ -705,7 +707,7 @@ DESCRIPTION
|
|
|
705
707
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
706
708
|
```
|
|
707
709
|
|
|
708
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
710
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
709
711
|
|
|
710
712
|
## `saltcorn paths [KEY]`
|
|
711
713
|
|
|
@@ -760,7 +762,7 @@ EXAMPLES
|
|
|
760
762
|
plugins -u -f - force plugin update
|
|
761
763
|
```
|
|
762
764
|
|
|
763
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
765
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
764
766
|
|
|
765
767
|
## `saltcorn prepare`
|
|
766
768
|
|
|
@@ -778,7 +780,7 @@ DESCRIPTION
|
|
|
778
780
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
779
781
|
```
|
|
780
782
|
|
|
781
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
783
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
782
784
|
|
|
783
785
|
## `saltcorn reset-schema`
|
|
784
786
|
|
|
@@ -798,7 +800,7 @@ DESCRIPTION
|
|
|
798
800
|
This will delete all existing information
|
|
799
801
|
```
|
|
800
802
|
|
|
801
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
803
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
802
804
|
|
|
803
805
|
## `saltcorn restore FILE`
|
|
804
806
|
|
|
@@ -818,7 +820,7 @@ DESCRIPTION
|
|
|
818
820
|
Restore a previously backed up database (zip or sqlc format)
|
|
819
821
|
```
|
|
820
822
|
|
|
821
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
823
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/restore.js)_
|
|
822
824
|
|
|
823
825
|
## `saltcorn rm-tenant`
|
|
824
826
|
|
|
@@ -838,7 +840,7 @@ DESCRIPTION
|
|
|
838
840
|
It recommended to make backup of tenant before perform this command.
|
|
839
841
|
```
|
|
840
842
|
|
|
841
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
843
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
842
844
|
|
|
843
845
|
## `saltcorn run-benchmark [BASEURL]`
|
|
844
846
|
|
|
@@ -860,7 +862,7 @@ DESCRIPTION
|
|
|
860
862
|
Run benchmark
|
|
861
863
|
```
|
|
862
864
|
|
|
863
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
865
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
864
866
|
|
|
865
867
|
## `saltcorn run-js`
|
|
866
868
|
|
|
@@ -879,7 +881,7 @@ DESCRIPTION
|
|
|
879
881
|
Run javascript code
|
|
880
882
|
```
|
|
881
883
|
|
|
882
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
884
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
883
885
|
|
|
884
886
|
## `saltcorn run-sql`
|
|
885
887
|
|
|
@@ -898,7 +900,7 @@ DESCRIPTION
|
|
|
898
900
|
Run sql expression
|
|
899
901
|
```
|
|
900
902
|
|
|
901
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
903
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
902
904
|
|
|
903
905
|
## `saltcorn run-tests [PACKAGE]`
|
|
904
906
|
|
|
@@ -925,7 +927,7 @@ DESCRIPTION
|
|
|
925
927
|
Run test suites
|
|
926
928
|
```
|
|
927
929
|
|
|
928
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
930
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
929
931
|
|
|
930
932
|
## `saltcorn run-trigger TRIGGER`
|
|
931
933
|
|
|
@@ -945,7 +947,7 @@ DESCRIPTION
|
|
|
945
947
|
Run a trigger
|
|
946
948
|
```
|
|
947
949
|
|
|
948
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
950
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
949
951
|
|
|
950
952
|
## `saltcorn scheduler`
|
|
951
953
|
|
|
@@ -962,7 +964,7 @@ DESCRIPTION
|
|
|
962
964
|
Run the Saltcorn scheduler
|
|
963
965
|
```
|
|
964
966
|
|
|
965
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
967
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
966
968
|
|
|
967
969
|
## `saltcorn serve`
|
|
968
970
|
|
|
@@ -987,7 +989,7 @@ DESCRIPTION
|
|
|
987
989
|
Start the Saltcorn server
|
|
988
990
|
```
|
|
989
991
|
|
|
990
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
992
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/serve.js)_
|
|
991
993
|
|
|
992
994
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
993
995
|
|
|
@@ -1012,7 +1014,7 @@ DESCRIPTION
|
|
|
1012
1014
|
stored as a string.
|
|
1013
1015
|
```
|
|
1014
1016
|
|
|
1015
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1017
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1016
1018
|
|
|
1017
1019
|
## `saltcorn set-daily-time [MINS]`
|
|
1018
1020
|
|
|
@@ -1032,7 +1034,7 @@ DESCRIPTION
|
|
|
1032
1034
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1033
1035
|
```
|
|
1034
1036
|
|
|
1035
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1037
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1036
1038
|
|
|
1037
1039
|
## `saltcorn setup`
|
|
1038
1040
|
|
|
@@ -1052,7 +1054,7 @@ DESCRIPTION
|
|
|
1052
1054
|
configuration file
|
|
1053
1055
|
```
|
|
1054
1056
|
|
|
1055
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1057
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1056
1058
|
|
|
1057
1059
|
## `saltcorn setup-benchmark`
|
|
1058
1060
|
|
|
@@ -1070,7 +1072,7 @@ DESCRIPTION
|
|
|
1070
1072
|
Setup an instance for benchmarking
|
|
1071
1073
|
```
|
|
1072
1074
|
|
|
1073
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1075
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1074
1076
|
|
|
1075
1077
|
## `saltcorn sync-upload-data`
|
|
1076
1078
|
|
|
@@ -1091,7 +1093,7 @@ DESCRIPTION
|
|
|
1091
1093
|
Runs a sync for data supplied by the mobile app
|
|
1092
1094
|
```
|
|
1093
1095
|
|
|
1094
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1096
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1095
1097
|
|
|
1096
1098
|
## `saltcorn take-snapshot`
|
|
1097
1099
|
|
|
@@ -1109,7 +1111,7 @@ DESCRIPTION
|
|
|
1109
1111
|
Print a current snapshout to stdout
|
|
1110
1112
|
```
|
|
1111
1113
|
|
|
1112
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1114
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1113
1115
|
|
|
1114
1116
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1115
1117
|
|
|
@@ -1129,5 +1131,5 @@ DESCRIPTION
|
|
|
1129
1131
|
transform an existing field by applying a calculated expression
|
|
1130
1132
|
```
|
|
1131
1133
|
|
|
1132
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.
|
|
1134
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.5.0-beta.7/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1133
1135
|
<!-- commandsstop -->
|