@saltcorn/cli 1.4.0 → 1.4.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -58
- package/npm-shrinkwrap.json +394 -392
- package/oclif.manifest.json +10 -10
- package/package.json +8 -8
- package/src/commands/dev/post-release.js +16 -10
- package/src/commands/dev/release.js +7 -11
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.4.
|
|
23
|
+
@saltcorn/cli/1.4.1-beta.1 linux-x64 node-v20.19.4
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -44,8 +44,8 @@ USAGE
|
|
|
44
44
|
* [`saltcorn dev:localize-plugin PLUGIN [PATH]`](#saltcorn-devlocalize-plugin-plugin-path)
|
|
45
45
|
* [`saltcorn make-migration`](#saltcorn-make-migration)
|
|
46
46
|
* [`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
|
-
* [`saltcorn dev:post-release [TASK]`](#saltcorn-devpost-release-task)
|
|
48
|
-
* [`saltcorn dev:release VERSION`](#saltcorn-devrelease-version)
|
|
47
|
+
* [`saltcorn dev:post-release [TASK] [TAG]`](#saltcorn-devpost-release-task-tag)
|
|
48
|
+
* [`saltcorn dev:release VERSION TAG`](#saltcorn-devrelease-version-tag)
|
|
49
49
|
* [`saltcorn dev:release-resume VERSION`](#saltcorn-devrelease-resume-version)
|
|
50
50
|
* [`saltcorn dev:test-plugin PATH`](#saltcorn-devtest-plugin-path)
|
|
51
51
|
* [`saltcorn dev:translate LOCALE`](#saltcorn-devtranslate-locale)
|
|
@@ -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.4.
|
|
99
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/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.4.
|
|
120
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/backup.js)_
|
|
121
121
|
|
|
122
122
|
## `saltcorn build-app`
|
|
123
123
|
|
|
@@ -177,7 +177,7 @@ DESCRIPTION
|
|
|
177
177
|
Build mobile app
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
180
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
181
181
|
|
|
182
182
|
## `saltcorn build-capacitor-builder`
|
|
183
183
|
|
|
@@ -195,7 +195,7 @@ DESCRIPTION
|
|
|
195
195
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
198
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
199
199
|
|
|
200
200
|
## `saltcorn configuration-check`
|
|
201
201
|
|
|
@@ -212,7 +212,7 @@ DESCRIPTION
|
|
|
212
212
|
Check configuration
|
|
213
213
|
```
|
|
214
214
|
|
|
215
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
215
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
216
216
|
|
|
217
217
|
## `saltcorn configuration-check-backups FILES`
|
|
218
218
|
|
|
@@ -232,7 +232,7 @@ DESCRIPTION
|
|
|
232
232
|
Check configuration
|
|
233
233
|
```
|
|
234
234
|
|
|
235
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
235
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
236
236
|
|
|
237
237
|
## `saltcorn create-tenant TENANT`
|
|
238
238
|
|
|
@@ -254,7 +254,7 @@ DESCRIPTION
|
|
|
254
254
|
Create a tenant
|
|
255
255
|
```
|
|
256
256
|
|
|
257
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
257
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
258
258
|
|
|
259
259
|
## `saltcorn create-user`
|
|
260
260
|
|
|
@@ -275,7 +275,7 @@ DESCRIPTION
|
|
|
275
275
|
Create a new user
|
|
276
276
|
```
|
|
277
277
|
|
|
278
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
278
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
279
279
|
|
|
280
280
|
## `saltcorn delete-tenants`
|
|
281
281
|
|
|
@@ -289,7 +289,7 @@ DESCRIPTION
|
|
|
289
289
|
Delete inactive tenants
|
|
290
290
|
```
|
|
291
291
|
|
|
292
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
292
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
293
293
|
|
|
294
294
|
## `saltcorn delete-user USER_EMAIL`
|
|
295
295
|
|
|
@@ -312,7 +312,7 @@ DESCRIPTION
|
|
|
312
312
|
Command deletes the user specified by USER_EMAIL.
|
|
313
313
|
```
|
|
314
314
|
|
|
315
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
315
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
316
316
|
|
|
317
317
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
318
318
|
|
|
@@ -334,7 +334,7 @@ DESCRIPTION
|
|
|
334
334
|
Convert plugin to local plugin
|
|
335
335
|
```
|
|
336
336
|
|
|
337
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
337
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
338
338
|
|
|
339
339
|
## `saltcorn make-migration`
|
|
340
340
|
|
|
@@ -351,7 +351,7 @@ DESCRIPTION
|
|
|
351
351
|
unless you are a developer.
|
|
352
352
|
```
|
|
353
353
|
|
|
354
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
354
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
355
355
|
|
|
356
356
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
357
357
|
|
|
@@ -372,44 +372,43 @@ DESCRIPTION
|
|
|
372
372
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
373
373
|
```
|
|
374
374
|
|
|
375
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
375
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
376
376
|
|
|
377
|
-
## `saltcorn dev:post-release [TASK]`
|
|
377
|
+
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
378
378
|
|
|
379
379
|
Post-release tasks: docker and vagrant builds
|
|
380
380
|
|
|
381
381
|
```
|
|
382
382
|
USAGE
|
|
383
|
-
$ saltcorn dev:post-release [TASK]
|
|
383
|
+
$ saltcorn dev:post-release [TASK] [TAG]
|
|
384
384
|
|
|
385
385
|
ARGUMENTS
|
|
386
386
|
TASK (docker|vagrant|all|none) What to do
|
|
387
|
+
TAG Docker tag to give this release
|
|
387
388
|
|
|
388
389
|
DESCRIPTION
|
|
389
390
|
Post-release tasks: docker and vagrant builds
|
|
390
391
|
```
|
|
391
392
|
|
|
392
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
393
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
393
394
|
|
|
394
|
-
## `saltcorn dev:release VERSION`
|
|
395
|
+
## `saltcorn dev:release VERSION TAG`
|
|
395
396
|
|
|
396
397
|
Release a new saltcorn version
|
|
397
398
|
|
|
398
399
|
```
|
|
399
400
|
USAGE
|
|
400
|
-
$ saltcorn dev:release VERSION
|
|
401
|
+
$ saltcorn dev:release VERSION TAG
|
|
401
402
|
|
|
402
403
|
ARGUMENTS
|
|
403
404
|
VERSION New version number
|
|
404
|
-
|
|
405
|
-
FLAGS
|
|
406
|
-
-t, --tag=<value> NPM tag
|
|
405
|
+
TAG NPM tag to give this release
|
|
407
406
|
|
|
408
407
|
DESCRIPTION
|
|
409
408
|
Release a new saltcorn version
|
|
410
409
|
```
|
|
411
410
|
|
|
412
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
411
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
413
412
|
|
|
414
413
|
## `saltcorn dev:release-resume VERSION`
|
|
415
414
|
|
|
@@ -429,7 +428,7 @@ DESCRIPTION
|
|
|
429
428
|
Release a new saltcorn version
|
|
430
429
|
```
|
|
431
430
|
|
|
432
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
431
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
433
432
|
|
|
434
433
|
## `saltcorn dev:test-plugin PATH`
|
|
435
434
|
|
|
@@ -448,7 +447,7 @@ DESCRIPTION
|
|
|
448
447
|
Extra documentation goes here
|
|
449
448
|
```
|
|
450
449
|
|
|
451
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
450
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
452
451
|
|
|
453
452
|
## `saltcorn dev:translate LOCALE`
|
|
454
453
|
|
|
@@ -468,7 +467,7 @@ DESCRIPTION
|
|
|
468
467
|
Produce translation files with LLM
|
|
469
468
|
```
|
|
470
469
|
|
|
471
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
470
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
472
471
|
|
|
473
472
|
## `saltcorn fixtures`
|
|
474
473
|
|
|
@@ -488,7 +487,7 @@ DESCRIPTION
|
|
|
488
487
|
This manual step it is never required for users and rarely required for developers
|
|
489
488
|
```
|
|
490
489
|
|
|
491
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
490
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
492
491
|
|
|
493
492
|
## `saltcorn get-cfg [KEY]`
|
|
494
493
|
|
|
@@ -509,7 +508,7 @@ DESCRIPTION
|
|
|
509
508
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
510
509
|
```
|
|
511
510
|
|
|
512
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
511
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
513
512
|
|
|
514
513
|
## `saltcorn info [KEY]`
|
|
515
514
|
|
|
@@ -535,7 +534,7 @@ ALIASES
|
|
|
535
534
|
$ saltcorn paths
|
|
536
535
|
```
|
|
537
536
|
|
|
538
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
537
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/info.js)_
|
|
539
538
|
|
|
540
539
|
## `saltcorn inspect TYPE [NAME]`
|
|
541
540
|
|
|
@@ -556,7 +555,7 @@ DESCRIPTION
|
|
|
556
555
|
Inspect an entity's JSON representation, or list entities
|
|
557
556
|
```
|
|
558
557
|
|
|
559
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
558
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
560
559
|
|
|
561
560
|
## `saltcorn install-pack`
|
|
562
561
|
|
|
@@ -575,7 +574,7 @@ DESCRIPTION
|
|
|
575
574
|
Install a pack or restore a snapshot
|
|
576
575
|
```
|
|
577
576
|
|
|
578
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
577
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
579
578
|
|
|
580
579
|
## `saltcorn install-plugin`
|
|
581
580
|
|
|
@@ -595,7 +594,7 @@ DESCRIPTION
|
|
|
595
594
|
Install a plugin
|
|
596
595
|
```
|
|
597
596
|
|
|
598
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
597
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
599
598
|
|
|
600
599
|
## `saltcorn list-tenants`
|
|
601
600
|
|
|
@@ -615,7 +614,7 @@ DESCRIPTION
|
|
|
615
614
|
List tenants in CSV format
|
|
616
615
|
```
|
|
617
616
|
|
|
618
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
617
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
619
618
|
|
|
620
619
|
## `saltcorn list-triggers`
|
|
621
620
|
|
|
@@ -634,7 +633,7 @@ DESCRIPTION
|
|
|
634
633
|
List triggers
|
|
635
634
|
```
|
|
636
635
|
|
|
637
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
636
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
638
637
|
|
|
639
638
|
## `saltcorn list-users`
|
|
640
639
|
|
|
@@ -652,7 +651,7 @@ DESCRIPTION
|
|
|
652
651
|
List users
|
|
653
652
|
```
|
|
654
653
|
|
|
655
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
654
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
656
655
|
|
|
657
656
|
## `saltcorn saltcorn migrate`
|
|
658
657
|
|
|
@@ -675,7 +674,7 @@ DESCRIPTION
|
|
|
675
674
|
servers and need to control when the migrations are run.
|
|
676
675
|
```
|
|
677
676
|
|
|
678
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
677
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
679
678
|
|
|
680
679
|
## `saltcorn modify-user USER_EMAIL`
|
|
681
680
|
|
|
@@ -706,7 +705,7 @@ DESCRIPTION
|
|
|
706
705
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
707
706
|
```
|
|
708
707
|
|
|
709
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
708
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
710
709
|
|
|
711
710
|
## `saltcorn paths [KEY]`
|
|
712
711
|
|
|
@@ -761,7 +760,7 @@ EXAMPLES
|
|
|
761
760
|
plugins -u -f - force plugin update
|
|
762
761
|
```
|
|
763
762
|
|
|
764
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
763
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
765
764
|
|
|
766
765
|
## `saltcorn prepare`
|
|
767
766
|
|
|
@@ -779,7 +778,7 @@ DESCRIPTION
|
|
|
779
778
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
780
779
|
```
|
|
781
780
|
|
|
782
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
781
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
783
782
|
|
|
784
783
|
## `saltcorn reset-schema`
|
|
785
784
|
|
|
@@ -799,7 +798,7 @@ DESCRIPTION
|
|
|
799
798
|
This will delete all existing information
|
|
800
799
|
```
|
|
801
800
|
|
|
802
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
801
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
803
802
|
|
|
804
803
|
## `saltcorn restore FILE`
|
|
805
804
|
|
|
@@ -819,7 +818,7 @@ DESCRIPTION
|
|
|
819
818
|
Restore a previously backed up database (zip or sqlc format)
|
|
820
819
|
```
|
|
821
820
|
|
|
822
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
821
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/restore.js)_
|
|
823
822
|
|
|
824
823
|
## `saltcorn rm-tenant`
|
|
825
824
|
|
|
@@ -839,7 +838,7 @@ DESCRIPTION
|
|
|
839
838
|
It recommended to make backup of tenant before perform this command.
|
|
840
839
|
```
|
|
841
840
|
|
|
842
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
841
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
843
842
|
|
|
844
843
|
## `saltcorn run-benchmark [BASEURL]`
|
|
845
844
|
|
|
@@ -861,7 +860,7 @@ DESCRIPTION
|
|
|
861
860
|
Run benchmark
|
|
862
861
|
```
|
|
863
862
|
|
|
864
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
863
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
865
864
|
|
|
866
865
|
## `saltcorn run-js`
|
|
867
866
|
|
|
@@ -880,7 +879,7 @@ DESCRIPTION
|
|
|
880
879
|
Run javascript code
|
|
881
880
|
```
|
|
882
881
|
|
|
883
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
882
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
884
883
|
|
|
885
884
|
## `saltcorn run-sql`
|
|
886
885
|
|
|
@@ -899,7 +898,7 @@ DESCRIPTION
|
|
|
899
898
|
Run sql expression
|
|
900
899
|
```
|
|
901
900
|
|
|
902
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
901
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
903
902
|
|
|
904
903
|
## `saltcorn run-tests [PACKAGE]`
|
|
905
904
|
|
|
@@ -926,7 +925,7 @@ DESCRIPTION
|
|
|
926
925
|
Run test suites
|
|
927
926
|
```
|
|
928
927
|
|
|
929
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
928
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
930
929
|
|
|
931
930
|
## `saltcorn run-trigger TRIGGER`
|
|
932
931
|
|
|
@@ -946,7 +945,7 @@ DESCRIPTION
|
|
|
946
945
|
Run a trigger
|
|
947
946
|
```
|
|
948
947
|
|
|
949
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
948
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
950
949
|
|
|
951
950
|
## `saltcorn scheduler`
|
|
952
951
|
|
|
@@ -963,7 +962,7 @@ DESCRIPTION
|
|
|
963
962
|
Run the Saltcorn scheduler
|
|
964
963
|
```
|
|
965
964
|
|
|
966
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
965
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
967
966
|
|
|
968
967
|
## `saltcorn serve`
|
|
969
968
|
|
|
@@ -988,7 +987,7 @@ DESCRIPTION
|
|
|
988
987
|
Start the Saltcorn server
|
|
989
988
|
```
|
|
990
989
|
|
|
991
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
990
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/serve.js)_
|
|
992
991
|
|
|
993
992
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
994
993
|
|
|
@@ -1013,7 +1012,7 @@ DESCRIPTION
|
|
|
1013
1012
|
stored as a string.
|
|
1014
1013
|
```
|
|
1015
1014
|
|
|
1016
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
1015
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1017
1016
|
|
|
1018
1017
|
## `saltcorn set-daily-time [MINS]`
|
|
1019
1018
|
|
|
@@ -1033,7 +1032,7 @@ DESCRIPTION
|
|
|
1033
1032
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1034
1033
|
```
|
|
1035
1034
|
|
|
1036
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
1035
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1037
1036
|
|
|
1038
1037
|
## `saltcorn setup`
|
|
1039
1038
|
|
|
@@ -1053,7 +1052,7 @@ DESCRIPTION
|
|
|
1053
1052
|
configuration file
|
|
1054
1053
|
```
|
|
1055
1054
|
|
|
1056
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
1055
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1057
1056
|
|
|
1058
1057
|
## `saltcorn setup-benchmark`
|
|
1059
1058
|
|
|
@@ -1071,7 +1070,7 @@ DESCRIPTION
|
|
|
1071
1070
|
Setup an instance for benchmarking
|
|
1072
1071
|
```
|
|
1073
1072
|
|
|
1074
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
1073
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1075
1074
|
|
|
1076
1075
|
## `saltcorn sync-upload-data`
|
|
1077
1076
|
|
|
@@ -1092,7 +1091,7 @@ DESCRIPTION
|
|
|
1092
1091
|
Runs a sync for data supplied by the mobile app
|
|
1093
1092
|
```
|
|
1094
1093
|
|
|
1095
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
1094
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1096
1095
|
|
|
1097
1096
|
## `saltcorn take-snapshot`
|
|
1098
1097
|
|
|
@@ -1110,7 +1109,7 @@ DESCRIPTION
|
|
|
1110
1109
|
Print a current snapshout to stdout
|
|
1111
1110
|
```
|
|
1112
1111
|
|
|
1113
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
1112
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1114
1113
|
|
|
1115
1114
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1116
1115
|
|
|
@@ -1130,5 +1129,5 @@ DESCRIPTION
|
|
|
1130
1129
|
transform an existing field by applying a calculated expression
|
|
1131
1130
|
```
|
|
1132
1131
|
|
|
1133
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.4.
|
|
1132
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.4.1-beta.1/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1134
1133
|
<!-- commandsstop -->
|