@saltcorn/cli 1.1.0-beta.0 → 1.1.0-beta.10
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 +48 -47
- package/npm-shrinkwrap.json +2407 -549
- package/oclif.manifest.json +8 -1
- package/package.json +9 -10
- package/src/commands/backup.js +31 -0
- package/src/commands/dev/release.js +23 -13
- package/src/commands/restore.js +27 -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.0-beta.
|
|
23
|
+
@saltcorn/cli/1.1.0-beta.10 linux-x64 node-v22.11.0
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -93,7 +93,7 @@ DESCRIPTION
|
|
|
93
93
|
Add Saltcorn schema to existing database
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
96
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
97
97
|
|
|
98
98
|
## `saltcorn backup`
|
|
99
99
|
|
|
@@ -101,9 +101,10 @@ Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
|
101
101
|
|
|
102
102
|
```
|
|
103
103
|
USAGE
|
|
104
|
-
$ saltcorn backup [-v] [-o <value>] [-t <value>] [-z]
|
|
104
|
+
$ saltcorn backup [-v] [-o <value>] [-t <value>] [-a] [-z]
|
|
105
105
|
|
|
106
106
|
FLAGS
|
|
107
|
+
-a, --all_tenants Backup all tenants in saltcorn zip format
|
|
107
108
|
-o, --output=<value> output filename
|
|
108
109
|
-t, --tenant=<value> Backup tenant in saltcorn zip format
|
|
109
110
|
-v, --verbose Verbose
|
|
@@ -113,7 +114,7 @@ DESCRIPTION
|
|
|
113
114
|
Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
114
115
|
```
|
|
115
116
|
|
|
116
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
117
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/backup.js)_
|
|
117
118
|
|
|
118
119
|
## `saltcorn build-app`
|
|
119
120
|
|
|
@@ -160,7 +161,7 @@ DESCRIPTION
|
|
|
160
161
|
Build mobile app
|
|
161
162
|
```
|
|
162
163
|
|
|
163
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
164
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
164
165
|
|
|
165
166
|
## `saltcorn build-cordova-builder`
|
|
166
167
|
|
|
@@ -177,7 +178,7 @@ DESCRIPTION
|
|
|
177
178
|
Build the 'saltcorn/cordova-builder' docker image
|
|
178
179
|
```
|
|
179
180
|
|
|
180
|
-
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
181
|
+
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/build-cordova-builder.js)_
|
|
181
182
|
|
|
182
183
|
## `saltcorn configuration-check`
|
|
183
184
|
|
|
@@ -194,7 +195,7 @@ DESCRIPTION
|
|
|
194
195
|
Check configuration
|
|
195
196
|
```
|
|
196
197
|
|
|
197
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
198
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
198
199
|
|
|
199
200
|
## `saltcorn configuration-check-backups FILES`
|
|
200
201
|
|
|
@@ -214,7 +215,7 @@ DESCRIPTION
|
|
|
214
215
|
Check configuration
|
|
215
216
|
```
|
|
216
217
|
|
|
217
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
218
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
218
219
|
|
|
219
220
|
## `saltcorn create-tenant TENANT`
|
|
220
221
|
|
|
@@ -236,7 +237,7 @@ DESCRIPTION
|
|
|
236
237
|
Create a tenant
|
|
237
238
|
```
|
|
238
239
|
|
|
239
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
240
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
240
241
|
|
|
241
242
|
## `saltcorn create-user`
|
|
242
243
|
|
|
@@ -257,7 +258,7 @@ DESCRIPTION
|
|
|
257
258
|
Create a new user
|
|
258
259
|
```
|
|
259
260
|
|
|
260
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
261
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
261
262
|
|
|
262
263
|
## `saltcorn delete-tenants`
|
|
263
264
|
|
|
@@ -271,7 +272,7 @@ DESCRIPTION
|
|
|
271
272
|
Delete inactive tenants
|
|
272
273
|
```
|
|
273
274
|
|
|
274
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
275
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
275
276
|
|
|
276
277
|
## `saltcorn delete-user USER_EMAIL`
|
|
277
278
|
|
|
@@ -294,7 +295,7 @@ DESCRIPTION
|
|
|
294
295
|
Command deletes the user specified by USER_EMAIL.
|
|
295
296
|
```
|
|
296
297
|
|
|
297
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
298
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
298
299
|
|
|
299
300
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
300
301
|
|
|
@@ -316,7 +317,7 @@ DESCRIPTION
|
|
|
316
317
|
Convert plugin to local plugin
|
|
317
318
|
```
|
|
318
319
|
|
|
319
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
320
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
320
321
|
|
|
321
322
|
## `saltcorn make-migration`
|
|
322
323
|
|
|
@@ -333,7 +334,7 @@ DESCRIPTION
|
|
|
333
334
|
unless you are a developer.
|
|
334
335
|
```
|
|
335
336
|
|
|
336
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
337
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
337
338
|
|
|
338
339
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
339
340
|
|
|
@@ -354,7 +355,7 @@ DESCRIPTION
|
|
|
354
355
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
355
356
|
```
|
|
356
357
|
|
|
357
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
358
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
358
359
|
|
|
359
360
|
## `saltcorn dev:post-release [TASK]`
|
|
360
361
|
|
|
@@ -371,7 +372,7 @@ DESCRIPTION
|
|
|
371
372
|
Post-release tasks: docker and vagrant builds
|
|
372
373
|
```
|
|
373
374
|
|
|
374
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
375
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
375
376
|
|
|
376
377
|
## `saltcorn dev:release VERSION`
|
|
377
378
|
|
|
@@ -391,7 +392,7 @@ DESCRIPTION
|
|
|
391
392
|
Release a new saltcorn version
|
|
392
393
|
```
|
|
393
394
|
|
|
394
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
395
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
395
396
|
|
|
396
397
|
## `saltcorn dev:test-plugin PATH`
|
|
397
398
|
|
|
@@ -410,7 +411,7 @@ DESCRIPTION
|
|
|
410
411
|
Extra documentation goes here
|
|
411
412
|
```
|
|
412
413
|
|
|
413
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
414
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
414
415
|
|
|
415
416
|
## `saltcorn fixtures`
|
|
416
417
|
|
|
@@ -430,7 +431,7 @@ DESCRIPTION
|
|
|
430
431
|
This manual step it is never required for users and rarely required for developers
|
|
431
432
|
```
|
|
432
433
|
|
|
433
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
434
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
434
435
|
|
|
435
436
|
## `saltcorn get-cfg [KEY]`
|
|
436
437
|
|
|
@@ -451,7 +452,7 @@ DESCRIPTION
|
|
|
451
452
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
452
453
|
```
|
|
453
454
|
|
|
454
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
455
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
455
456
|
|
|
456
457
|
## `saltcorn info`
|
|
457
458
|
|
|
@@ -474,7 +475,7 @@ ALIASES
|
|
|
474
475
|
$ saltcorn paths
|
|
475
476
|
```
|
|
476
477
|
|
|
477
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
478
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/info.js)_
|
|
478
479
|
|
|
479
480
|
## `saltcorn inspect TYPE [NAME]`
|
|
480
481
|
|
|
@@ -495,7 +496,7 @@ DESCRIPTION
|
|
|
495
496
|
Inspect an entity's JSON representation, or list entities
|
|
496
497
|
```
|
|
497
498
|
|
|
498
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
499
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
499
500
|
|
|
500
501
|
## `saltcorn install-pack`
|
|
501
502
|
|
|
@@ -514,7 +515,7 @@ DESCRIPTION
|
|
|
514
515
|
Install a pack or restore a snapshot
|
|
515
516
|
```
|
|
516
517
|
|
|
517
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
518
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
518
519
|
|
|
519
520
|
## `saltcorn install-plugin`
|
|
520
521
|
|
|
@@ -534,7 +535,7 @@ DESCRIPTION
|
|
|
534
535
|
Install a plugin
|
|
535
536
|
```
|
|
536
537
|
|
|
537
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
538
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
538
539
|
|
|
539
540
|
## `saltcorn list-tenants`
|
|
540
541
|
|
|
@@ -553,7 +554,7 @@ DESCRIPTION
|
|
|
553
554
|
List tenants in CSV format
|
|
554
555
|
```
|
|
555
556
|
|
|
556
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
557
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
557
558
|
|
|
558
559
|
## `saltcorn list-triggers`
|
|
559
560
|
|
|
@@ -572,7 +573,7 @@ DESCRIPTION
|
|
|
572
573
|
List triggers
|
|
573
574
|
```
|
|
574
575
|
|
|
575
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
576
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
576
577
|
|
|
577
578
|
## `saltcorn list-users`
|
|
578
579
|
|
|
@@ -590,7 +591,7 @@ DESCRIPTION
|
|
|
590
591
|
List users
|
|
591
592
|
```
|
|
592
593
|
|
|
593
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
594
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
594
595
|
|
|
595
596
|
## `saltcorn saltcorn migrate`
|
|
596
597
|
|
|
@@ -613,7 +614,7 @@ DESCRIPTION
|
|
|
613
614
|
servers and need to control when the migrations are run.
|
|
614
615
|
```
|
|
615
616
|
|
|
616
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
617
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
617
618
|
|
|
618
619
|
## `saltcorn modify-user USER_EMAIL`
|
|
619
620
|
|
|
@@ -644,7 +645,7 @@ DESCRIPTION
|
|
|
644
645
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
645
646
|
```
|
|
646
647
|
|
|
647
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
648
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
648
649
|
|
|
649
650
|
## `saltcorn paths`
|
|
650
651
|
|
|
@@ -696,7 +697,7 @@ EXAMPLES
|
|
|
696
697
|
plugins -u -f - force plugin update
|
|
697
698
|
```
|
|
698
699
|
|
|
699
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
700
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
700
701
|
|
|
701
702
|
## `saltcorn reset-schema`
|
|
702
703
|
|
|
@@ -716,7 +717,7 @@ DESCRIPTION
|
|
|
716
717
|
This will delete all existing information
|
|
717
718
|
```
|
|
718
719
|
|
|
719
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
720
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
720
721
|
|
|
721
722
|
## `saltcorn restore FILE`
|
|
722
723
|
|
|
@@ -736,7 +737,7 @@ DESCRIPTION
|
|
|
736
737
|
Restore a previously backed up database (zip or sqlc format)
|
|
737
738
|
```
|
|
738
739
|
|
|
739
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
740
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/restore.js)_
|
|
740
741
|
|
|
741
742
|
## `saltcorn rm-tenant`
|
|
742
743
|
|
|
@@ -756,7 +757,7 @@ DESCRIPTION
|
|
|
756
757
|
It recommended to make backup of tenant before perform this command.
|
|
757
758
|
```
|
|
758
759
|
|
|
759
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
760
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
760
761
|
|
|
761
762
|
## `saltcorn run-benchmark [BASEURL]`
|
|
762
763
|
|
|
@@ -778,7 +779,7 @@ DESCRIPTION
|
|
|
778
779
|
Run benchmark
|
|
779
780
|
```
|
|
780
781
|
|
|
781
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
782
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
782
783
|
|
|
783
784
|
## `saltcorn run-js`
|
|
784
785
|
|
|
@@ -797,7 +798,7 @@ DESCRIPTION
|
|
|
797
798
|
Run javascript code
|
|
798
799
|
```
|
|
799
800
|
|
|
800
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
801
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
801
802
|
|
|
802
803
|
## `saltcorn run-sql`
|
|
803
804
|
|
|
@@ -816,7 +817,7 @@ DESCRIPTION
|
|
|
816
817
|
Run sql expression
|
|
817
818
|
```
|
|
818
819
|
|
|
819
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
820
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
820
821
|
|
|
821
822
|
## `saltcorn run-tests [PACKAGE]`
|
|
822
823
|
|
|
@@ -843,7 +844,7 @@ DESCRIPTION
|
|
|
843
844
|
Run test suites
|
|
844
845
|
```
|
|
845
846
|
|
|
846
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
847
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
847
848
|
|
|
848
849
|
## `saltcorn run-trigger TRIGGER`
|
|
849
850
|
|
|
@@ -863,7 +864,7 @@ DESCRIPTION
|
|
|
863
864
|
Run a trigger
|
|
864
865
|
```
|
|
865
866
|
|
|
866
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
867
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
867
868
|
|
|
868
869
|
## `saltcorn scheduler`
|
|
869
870
|
|
|
@@ -880,7 +881,7 @@ DESCRIPTION
|
|
|
880
881
|
Run the Saltcorn scheduler
|
|
881
882
|
```
|
|
882
883
|
|
|
883
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
884
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
884
885
|
|
|
885
886
|
## `saltcorn serve`
|
|
886
887
|
|
|
@@ -904,7 +905,7 @@ DESCRIPTION
|
|
|
904
905
|
Start the Saltcorn server
|
|
905
906
|
```
|
|
906
907
|
|
|
907
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
908
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/serve.js)_
|
|
908
909
|
|
|
909
910
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
910
911
|
|
|
@@ -929,7 +930,7 @@ DESCRIPTION
|
|
|
929
930
|
stored as a string.
|
|
930
931
|
```
|
|
931
932
|
|
|
932
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
933
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
933
934
|
|
|
934
935
|
## `saltcorn set-daily-time [MINS]`
|
|
935
936
|
|
|
@@ -949,7 +950,7 @@ DESCRIPTION
|
|
|
949
950
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
950
951
|
```
|
|
951
952
|
|
|
952
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
953
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
953
954
|
|
|
954
955
|
## `saltcorn setup`
|
|
955
956
|
|
|
@@ -969,7 +970,7 @@ DESCRIPTION
|
|
|
969
970
|
configuration file
|
|
970
971
|
```
|
|
971
972
|
|
|
972
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
973
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/setup.js)_
|
|
973
974
|
|
|
974
975
|
## `saltcorn setup-benchmark`
|
|
975
976
|
|
|
@@ -987,7 +988,7 @@ DESCRIPTION
|
|
|
987
988
|
Setup an instance for benchmarking
|
|
988
989
|
```
|
|
989
990
|
|
|
990
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
991
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
991
992
|
|
|
992
993
|
## `saltcorn sync-upload-data`
|
|
993
994
|
|
|
@@ -1008,7 +1009,7 @@ DESCRIPTION
|
|
|
1008
1009
|
Runs a sync for data supplied by the mobile app
|
|
1009
1010
|
```
|
|
1010
1011
|
|
|
1011
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
1012
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1012
1013
|
|
|
1013
1014
|
## `saltcorn take-snapshot`
|
|
1014
1015
|
|
|
@@ -1026,7 +1027,7 @@ DESCRIPTION
|
|
|
1026
1027
|
Print a current snapshout to stdout
|
|
1027
1028
|
```
|
|
1028
1029
|
|
|
1029
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
1030
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1030
1031
|
|
|
1031
1032
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1032
1033
|
|
|
@@ -1046,5 +1047,5 @@ DESCRIPTION
|
|
|
1046
1047
|
transform an existing field by applying a calculated expression
|
|
1047
1048
|
```
|
|
1048
1049
|
|
|
1049
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.
|
|
1050
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.1.0-beta.10/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1050
1051
|
<!-- commandsstop -->
|