@saltcorn/cli 0.8.3-beta.1 → 0.8.3-beta.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 +52 -37
- package/npm-shrinkwrap.json +655 -670
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/src/commands/install-pack.js +1 -1
- package/src/commands/take-snapshot.js +46 -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 (-v|--version|version)
|
|
23
|
-
@saltcorn/cli/0.8.3-beta.
|
|
23
|
+
@saltcorn/cli/0.8.3-beta.2 darwin-arm64 node-v16.18.1
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -65,6 +65,7 @@ USAGE
|
|
|
65
65
|
* [`saltcorn set-cfg KEY [VALUE]`](#saltcorn-set-cfg-key-value)
|
|
66
66
|
* [`saltcorn setup`](#saltcorn-setup)
|
|
67
67
|
* [`saltcorn setup-benchmark`](#saltcorn-setup-benchmark)
|
|
68
|
+
* [`saltcorn take-snapshot`](#saltcorn-take-snapshot)
|
|
68
69
|
* [`saltcorn test-plugin PATH`](#saltcorn-test-plugin-path)
|
|
69
70
|
* [`saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`](#saltcorn-transform-field-expression-field-table-tenant)
|
|
70
71
|
|
|
@@ -80,7 +81,7 @@ OPTIONS
|
|
|
80
81
|
-f, --force force command execution
|
|
81
82
|
```
|
|
82
83
|
|
|
83
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
84
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/add-schema.js)_
|
|
84
85
|
|
|
85
86
|
## `saltcorn backup`
|
|
86
87
|
|
|
@@ -96,7 +97,7 @@ OPTIONS
|
|
|
96
97
|
-z, --zip zip format
|
|
97
98
|
```
|
|
98
99
|
|
|
99
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
100
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/backup.js)_
|
|
100
101
|
|
|
101
102
|
## `saltcorn build-app`
|
|
102
103
|
|
|
@@ -125,7 +126,7 @@ OPTIONS
|
|
|
125
126
|
tenant
|
|
126
127
|
```
|
|
127
128
|
|
|
128
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
129
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/build-app.js)_
|
|
129
130
|
|
|
130
131
|
## `saltcorn build-cordova-builder`
|
|
131
132
|
|
|
@@ -136,7 +137,7 @@ USAGE
|
|
|
136
137
|
$ saltcorn build-cordova-builder
|
|
137
138
|
```
|
|
138
139
|
|
|
139
|
-
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
140
|
+
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/build-cordova-builder.js)_
|
|
140
141
|
|
|
141
142
|
## `saltcorn configuration-check`
|
|
142
143
|
|
|
@@ -150,7 +151,7 @@ OPTIONS
|
|
|
150
151
|
-t, --tenant=tenant tenant
|
|
151
152
|
```
|
|
152
153
|
|
|
153
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
154
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/configuration-check.js)_
|
|
154
155
|
|
|
155
156
|
## `saltcorn configuration-check-backups FILES`
|
|
156
157
|
|
|
@@ -167,7 +168,7 @@ OPTIONS
|
|
|
167
168
|
-d, --destructive destructive
|
|
168
169
|
```
|
|
169
170
|
|
|
170
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
171
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/configuration-check-backups.js)_
|
|
171
172
|
|
|
172
173
|
## `saltcorn create-tenant TENANT`
|
|
173
174
|
|
|
@@ -186,7 +187,7 @@ OPTIONS
|
|
|
186
187
|
--url=url Url of tenant
|
|
187
188
|
```
|
|
188
189
|
|
|
189
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
190
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/create-tenant.js)_
|
|
190
191
|
|
|
191
192
|
## `saltcorn create-user`
|
|
192
193
|
|
|
@@ -204,7 +205,7 @@ OPTIONS
|
|
|
204
205
|
-t, --tenant=tenant tenant
|
|
205
206
|
```
|
|
206
207
|
|
|
207
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
208
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/create-user.js)_
|
|
208
209
|
|
|
209
210
|
## `saltcorn delete-tenants`
|
|
210
211
|
|
|
@@ -215,7 +216,7 @@ USAGE
|
|
|
215
216
|
$ saltcorn delete-tenants
|
|
216
217
|
```
|
|
217
218
|
|
|
218
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
219
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/delete-tenants.js)_
|
|
219
220
|
|
|
220
221
|
## `saltcorn delete-user USER_EMAIL`
|
|
221
222
|
|
|
@@ -236,7 +237,7 @@ DESCRIPTION
|
|
|
236
237
|
Command deletes the user specified by USER_EMAIL.
|
|
237
238
|
```
|
|
238
239
|
|
|
239
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
240
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/delete-user.js)_
|
|
240
241
|
|
|
241
242
|
## `saltcorn fixtures`
|
|
242
243
|
|
|
@@ -255,7 +256,7 @@ DESCRIPTION
|
|
|
255
256
|
This manual step it is never required for users and rarely required for developers
|
|
256
257
|
```
|
|
257
258
|
|
|
258
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
259
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/fixtures.js)_
|
|
259
260
|
|
|
260
261
|
## `saltcorn get-cfg KEY`
|
|
261
262
|
|
|
@@ -273,7 +274,7 @@ OPTIONS
|
|
|
273
274
|
-t, --tenant=tenant tenant
|
|
274
275
|
```
|
|
275
276
|
|
|
276
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
277
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/get-cfg.js)_
|
|
277
278
|
|
|
278
279
|
## `saltcorn help [COMMAND]`
|
|
279
280
|
|
|
@@ -311,7 +312,7 @@ ALIASES
|
|
|
311
312
|
$ saltcorn paths
|
|
312
313
|
```
|
|
313
314
|
|
|
314
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
315
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/info.js)_
|
|
315
316
|
|
|
316
317
|
## `saltcorn inspect TYPE [NAME]`
|
|
317
318
|
|
|
@@ -329,11 +330,11 @@ OPTIONS
|
|
|
329
330
|
-t, --tenant=tenant tenant
|
|
330
331
|
```
|
|
331
332
|
|
|
332
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
333
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/inspect.js)_
|
|
333
334
|
|
|
334
335
|
## `saltcorn install-pack`
|
|
335
336
|
|
|
336
|
-
Install a pack
|
|
337
|
+
Install a pack or restore a snapshot
|
|
337
338
|
|
|
338
339
|
```
|
|
339
340
|
USAGE
|
|
@@ -345,7 +346,7 @@ OPTIONS
|
|
|
345
346
|
-t, --tenant=tenant tenant
|
|
346
347
|
```
|
|
347
348
|
|
|
348
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
349
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/install-pack.js)_
|
|
349
350
|
|
|
350
351
|
## `saltcorn install-plugin`
|
|
351
352
|
|
|
@@ -361,7 +362,7 @@ OPTIONS
|
|
|
361
362
|
-t, --tenant=tenant tenant
|
|
362
363
|
```
|
|
363
364
|
|
|
364
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
365
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/install-plugin.js)_
|
|
365
366
|
|
|
366
367
|
## `saltcorn list-tenants`
|
|
367
368
|
|
|
@@ -372,7 +373,7 @@ USAGE
|
|
|
372
373
|
$ saltcorn list-tenants
|
|
373
374
|
```
|
|
374
375
|
|
|
375
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
376
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/list-tenants.js)_
|
|
376
377
|
|
|
377
378
|
## `saltcorn localize-plugin PLUGIN [PATH]`
|
|
378
379
|
|
|
@@ -391,7 +392,7 @@ OPTIONS
|
|
|
391
392
|
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
392
393
|
```
|
|
393
394
|
|
|
394
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
395
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/localize-plugin.js)_
|
|
395
396
|
|
|
396
397
|
## `saltcorn make-migration`
|
|
397
398
|
|
|
@@ -407,7 +408,7 @@ DESCRIPTION
|
|
|
407
408
|
unless you are a developer.
|
|
408
409
|
```
|
|
409
410
|
|
|
410
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
411
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/make-migration.js)_
|
|
411
412
|
|
|
412
413
|
## `saltcorn saltcorn migrate`
|
|
413
414
|
|
|
@@ -429,7 +430,7 @@ DESCRIPTION
|
|
|
429
430
|
servers and need to control when the migrations are run.
|
|
430
431
|
```
|
|
431
432
|
|
|
432
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
433
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/migrate.js)_
|
|
433
434
|
|
|
434
435
|
## `saltcorn modify-user USER_EMAIL`
|
|
435
436
|
|
|
@@ -458,7 +459,7 @@ DESCRIPTION
|
|
|
458
459
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
459
460
|
```
|
|
460
461
|
|
|
461
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
462
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/modify-user.js)_
|
|
462
463
|
|
|
463
464
|
## `saltcorn plugins`
|
|
464
465
|
|
|
@@ -485,7 +486,7 @@ EXAMPLES
|
|
|
485
486
|
plugins -u -f - force plugin update
|
|
486
487
|
```
|
|
487
488
|
|
|
488
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
489
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/plugins.js)_
|
|
489
490
|
|
|
490
491
|
## `saltcorn release VERSION`
|
|
491
492
|
|
|
@@ -499,7 +500,7 @@ ARGUMENTS
|
|
|
499
500
|
VERSION New version number
|
|
500
501
|
```
|
|
501
502
|
|
|
502
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
503
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/release.js)_
|
|
503
504
|
|
|
504
505
|
## `saltcorn reset-schema`
|
|
505
506
|
|
|
@@ -518,7 +519,7 @@ DESCRIPTION
|
|
|
518
519
|
This will delete all existing information
|
|
519
520
|
```
|
|
520
521
|
|
|
521
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
522
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/reset-schema.js)_
|
|
522
523
|
|
|
523
524
|
## `saltcorn restore FILE`
|
|
524
525
|
|
|
@@ -535,7 +536,7 @@ OPTIONS
|
|
|
535
536
|
-t, --tenant=tenant tenant
|
|
536
537
|
```
|
|
537
538
|
|
|
538
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
539
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/restore.js)_
|
|
539
540
|
|
|
540
541
|
## `saltcorn rm-tenant`
|
|
541
542
|
|
|
@@ -554,7 +555,7 @@ DESCRIPTION
|
|
|
554
555
|
It recommended to make backup of tenant before perform this command.
|
|
555
556
|
```
|
|
556
557
|
|
|
557
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
558
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/rm-tenant.js)_
|
|
558
559
|
|
|
559
560
|
## `saltcorn run-benchmark [BASEURL]`
|
|
560
561
|
|
|
@@ -573,7 +574,7 @@ OPTIONS
|
|
|
573
574
|
-t, --token=token API Token for reporting results
|
|
574
575
|
```
|
|
575
576
|
|
|
576
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
577
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/run-benchmark.js)_
|
|
577
578
|
|
|
578
579
|
## `saltcorn run-tests [PACKAGE]`
|
|
579
580
|
|
|
@@ -596,7 +597,7 @@ OPTIONS
|
|
|
596
597
|
--watchAll Watch files for changes and rerun all tests.
|
|
597
598
|
```
|
|
598
599
|
|
|
599
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
600
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/run-tests.js)_
|
|
600
601
|
|
|
601
602
|
## `saltcorn scheduler`
|
|
602
603
|
|
|
@@ -610,7 +611,7 @@ OPTIONS
|
|
|
610
611
|
-v, --verbose Verbose
|
|
611
612
|
```
|
|
612
613
|
|
|
613
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
614
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/scheduler.js)_
|
|
614
615
|
|
|
615
616
|
## `saltcorn serve`
|
|
616
617
|
|
|
@@ -631,7 +632,7 @@ OPTIONS
|
|
|
631
632
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
632
633
|
```
|
|
633
634
|
|
|
634
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
635
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/serve.js)_
|
|
635
636
|
|
|
636
637
|
## `saltcorn set-cfg KEY [VALUE]`
|
|
637
638
|
|
|
@@ -652,7 +653,7 @@ OPTIONS
|
|
|
652
653
|
-t, --tenant=tenant tenant
|
|
653
654
|
```
|
|
654
655
|
|
|
655
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
656
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/set-cfg.js)_
|
|
656
657
|
|
|
657
658
|
## `saltcorn setup`
|
|
658
659
|
|
|
@@ -671,7 +672,7 @@ DESCRIPTION
|
|
|
671
672
|
configuration file
|
|
672
673
|
```
|
|
673
674
|
|
|
674
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
675
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/setup.js)_
|
|
675
676
|
|
|
676
677
|
## `saltcorn setup-benchmark`
|
|
677
678
|
|
|
@@ -685,7 +686,21 @@ OPTIONS
|
|
|
685
686
|
-t, --tenant=tenant tenant
|
|
686
687
|
```
|
|
687
688
|
|
|
688
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
689
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/setup-benchmark.js)_
|
|
690
|
+
|
|
691
|
+
## `saltcorn take-snapshot`
|
|
692
|
+
|
|
693
|
+
Print a current snapshout to stdout
|
|
694
|
+
|
|
695
|
+
```
|
|
696
|
+
USAGE
|
|
697
|
+
$ saltcorn take-snapshot
|
|
698
|
+
|
|
699
|
+
OPTIONS
|
|
700
|
+
-t, --tenant=tenant tenant
|
|
701
|
+
```
|
|
702
|
+
|
|
703
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/take-snapshot.js)_
|
|
689
704
|
|
|
690
705
|
## `saltcorn test-plugin PATH`
|
|
691
706
|
|
|
@@ -703,7 +718,7 @@ DESCRIPTION
|
|
|
703
718
|
Extra documentation goes here
|
|
704
719
|
```
|
|
705
720
|
|
|
706
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
721
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/test-plugin.js)_
|
|
707
722
|
|
|
708
723
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
709
724
|
|
|
@@ -720,5 +735,5 @@ ARGUMENTS
|
|
|
720
735
|
TENANT tenant name
|
|
721
736
|
```
|
|
722
737
|
|
|
723
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.
|
|
738
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-beta.2/src/commands/transform-field.js)_
|
|
724
739
|
<!-- commandsstop -->
|