@saltcorn/cli 0.8.1-rc.2 → 0.8.1-rc.3
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 +38 -35
- package/npm-shrinkwrap.json +18718 -10486
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/src/commands/configuration-check-backups.js +11 -2
- package/src/commands/configuration-check.js +5 -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.1-rc.
|
|
23
|
+
@saltcorn/cli/0.8.1-rc.3 darwin-arm64 node-v16.18.1
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -79,7 +79,7 @@ OPTIONS
|
|
|
79
79
|
-f, --force force command execution
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
82
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/add-schema.js)_
|
|
83
83
|
|
|
84
84
|
## `saltcorn backup`
|
|
85
85
|
|
|
@@ -95,7 +95,7 @@ OPTIONS
|
|
|
95
95
|
-z, --zip zip format
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
98
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/backup.js)_
|
|
99
99
|
|
|
100
100
|
## `saltcorn build-app`
|
|
101
101
|
|
|
@@ -123,7 +123,7 @@ OPTIONS
|
|
|
123
123
|
tenant
|
|
124
124
|
```
|
|
125
125
|
|
|
126
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
126
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/build-app.js)_
|
|
127
127
|
|
|
128
128
|
## `saltcorn configuration-check`
|
|
129
129
|
|
|
@@ -137,7 +137,7 @@ OPTIONS
|
|
|
137
137
|
-t, --tenant=tenant tenant
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
140
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/configuration-check.js)_
|
|
141
141
|
|
|
142
142
|
## `saltcorn configuration-check-backups FILES`
|
|
143
143
|
|
|
@@ -149,9 +149,12 @@ USAGE
|
|
|
149
149
|
|
|
150
150
|
ARGUMENTS
|
|
151
151
|
FILES backup file to check. can be repeated, e.g. with *
|
|
152
|
+
|
|
153
|
+
OPTIONS
|
|
154
|
+
-d, --destructive destructive
|
|
152
155
|
```
|
|
153
156
|
|
|
154
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
157
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/configuration-check-backups.js)_
|
|
155
158
|
|
|
156
159
|
## `saltcorn create-tenant TENANT`
|
|
157
160
|
|
|
@@ -170,7 +173,7 @@ OPTIONS
|
|
|
170
173
|
--url=url Url of tenant
|
|
171
174
|
```
|
|
172
175
|
|
|
173
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
176
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/create-tenant.js)_
|
|
174
177
|
|
|
175
178
|
## `saltcorn create-user`
|
|
176
179
|
|
|
@@ -188,7 +191,7 @@ OPTIONS
|
|
|
188
191
|
-t, --tenant=tenant tenant
|
|
189
192
|
```
|
|
190
193
|
|
|
191
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
194
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/create-user.js)_
|
|
192
195
|
|
|
193
196
|
## `saltcorn delete-tenants`
|
|
194
197
|
|
|
@@ -199,7 +202,7 @@ USAGE
|
|
|
199
202
|
$ saltcorn delete-tenants
|
|
200
203
|
```
|
|
201
204
|
|
|
202
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
205
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/delete-tenants.js)_
|
|
203
206
|
|
|
204
207
|
## `saltcorn delete-user USER_EMAIL`
|
|
205
208
|
|
|
@@ -220,7 +223,7 @@ DESCRIPTION
|
|
|
220
223
|
Command deletes the user specified by USER_EMAIL.
|
|
221
224
|
```
|
|
222
225
|
|
|
223
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
226
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/delete-user.js)_
|
|
224
227
|
|
|
225
228
|
## `saltcorn fixtures`
|
|
226
229
|
|
|
@@ -239,7 +242,7 @@ DESCRIPTION
|
|
|
239
242
|
This manual step it is never required for users and rarely required for developers
|
|
240
243
|
```
|
|
241
244
|
|
|
242
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
245
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/fixtures.js)_
|
|
243
246
|
|
|
244
247
|
## `saltcorn get-cfg KEY`
|
|
245
248
|
|
|
@@ -257,7 +260,7 @@ OPTIONS
|
|
|
257
260
|
-t, --tenant=tenant tenant
|
|
258
261
|
```
|
|
259
262
|
|
|
260
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
263
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/get-cfg.js)_
|
|
261
264
|
|
|
262
265
|
## `saltcorn help [COMMAND]`
|
|
263
266
|
|
|
@@ -295,7 +298,7 @@ ALIASES
|
|
|
295
298
|
$ saltcorn paths
|
|
296
299
|
```
|
|
297
300
|
|
|
298
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
301
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/info.js)_
|
|
299
302
|
|
|
300
303
|
## `saltcorn inspect TYPE [NAME]`
|
|
301
304
|
|
|
@@ -313,7 +316,7 @@ OPTIONS
|
|
|
313
316
|
-t, --tenant=tenant tenant
|
|
314
317
|
```
|
|
315
318
|
|
|
316
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
319
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/inspect.js)_
|
|
317
320
|
|
|
318
321
|
## `saltcorn install-pack`
|
|
319
322
|
|
|
@@ -329,7 +332,7 @@ OPTIONS
|
|
|
329
332
|
-t, --tenant=tenant tenant
|
|
330
333
|
```
|
|
331
334
|
|
|
332
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
335
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/install-pack.js)_
|
|
333
336
|
|
|
334
337
|
## `saltcorn install-plugin`
|
|
335
338
|
|
|
@@ -345,7 +348,7 @@ OPTIONS
|
|
|
345
348
|
-t, --tenant=tenant tenant
|
|
346
349
|
```
|
|
347
350
|
|
|
348
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
351
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/install-plugin.js)_
|
|
349
352
|
|
|
350
353
|
## `saltcorn list-tenants`
|
|
351
354
|
|
|
@@ -356,7 +359,7 @@ USAGE
|
|
|
356
359
|
$ saltcorn list-tenants
|
|
357
360
|
```
|
|
358
361
|
|
|
359
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
362
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/list-tenants.js)_
|
|
360
363
|
|
|
361
364
|
## `saltcorn localize-plugin PLUGIN [PATH]`
|
|
362
365
|
|
|
@@ -375,7 +378,7 @@ OPTIONS
|
|
|
375
378
|
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
376
379
|
```
|
|
377
380
|
|
|
378
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
381
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/localize-plugin.js)_
|
|
379
382
|
|
|
380
383
|
## `saltcorn make-migration`
|
|
381
384
|
|
|
@@ -391,7 +394,7 @@ DESCRIPTION
|
|
|
391
394
|
unless you are a developer.
|
|
392
395
|
```
|
|
393
396
|
|
|
394
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
397
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/make-migration.js)_
|
|
395
398
|
|
|
396
399
|
## `saltcorn saltcorn migrate`
|
|
397
400
|
|
|
@@ -413,7 +416,7 @@ DESCRIPTION
|
|
|
413
416
|
servers and need to control when the migrations are run.
|
|
414
417
|
```
|
|
415
418
|
|
|
416
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
419
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/migrate.js)_
|
|
417
420
|
|
|
418
421
|
## `saltcorn modify-user USER_EMAIL`
|
|
419
422
|
|
|
@@ -442,7 +445,7 @@ DESCRIPTION
|
|
|
442
445
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
443
446
|
```
|
|
444
447
|
|
|
445
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
448
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/modify-user.js)_
|
|
446
449
|
|
|
447
450
|
## `saltcorn plugins`
|
|
448
451
|
|
|
@@ -469,7 +472,7 @@ EXAMPLES
|
|
|
469
472
|
plugins -u -f - force plugin update
|
|
470
473
|
```
|
|
471
474
|
|
|
472
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
475
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/plugins.js)_
|
|
473
476
|
|
|
474
477
|
## `saltcorn release VERSION`
|
|
475
478
|
|
|
@@ -483,7 +486,7 @@ ARGUMENTS
|
|
|
483
486
|
VERSION New version number
|
|
484
487
|
```
|
|
485
488
|
|
|
486
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
489
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/release.js)_
|
|
487
490
|
|
|
488
491
|
## `saltcorn reset-schema`
|
|
489
492
|
|
|
@@ -502,7 +505,7 @@ DESCRIPTION
|
|
|
502
505
|
This will delete all existing information
|
|
503
506
|
```
|
|
504
507
|
|
|
505
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
508
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/reset-schema.js)_
|
|
506
509
|
|
|
507
510
|
## `saltcorn restore FILE`
|
|
508
511
|
|
|
@@ -519,7 +522,7 @@ OPTIONS
|
|
|
519
522
|
-t, --tenant=tenant tenant
|
|
520
523
|
```
|
|
521
524
|
|
|
522
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
525
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/restore.js)_
|
|
523
526
|
|
|
524
527
|
## `saltcorn rm-tenant`
|
|
525
528
|
|
|
@@ -538,7 +541,7 @@ DESCRIPTION
|
|
|
538
541
|
It recommended to make backup of tenant before perform this command.
|
|
539
542
|
```
|
|
540
543
|
|
|
541
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
544
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/rm-tenant.js)_
|
|
542
545
|
|
|
543
546
|
## `saltcorn run-benchmark [BASEURL]`
|
|
544
547
|
|
|
@@ -557,7 +560,7 @@ OPTIONS
|
|
|
557
560
|
-t, --token=token API Token for reporting results
|
|
558
561
|
```
|
|
559
562
|
|
|
560
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
563
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/run-benchmark.js)_
|
|
561
564
|
|
|
562
565
|
## `saltcorn run-tests [PACKAGE]`
|
|
563
566
|
|
|
@@ -580,7 +583,7 @@ OPTIONS
|
|
|
580
583
|
--watchAll Watch files for changes and rerun all tests.
|
|
581
584
|
```
|
|
582
585
|
|
|
583
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
586
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/run-tests.js)_
|
|
584
587
|
|
|
585
588
|
## `saltcorn scheduler`
|
|
586
589
|
|
|
@@ -594,7 +597,7 @@ OPTIONS
|
|
|
594
597
|
-v, --verbose Verbose
|
|
595
598
|
```
|
|
596
599
|
|
|
597
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
600
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/scheduler.js)_
|
|
598
601
|
|
|
599
602
|
## `saltcorn serve`
|
|
600
603
|
|
|
@@ -615,7 +618,7 @@ OPTIONS
|
|
|
615
618
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
616
619
|
```
|
|
617
620
|
|
|
618
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
621
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/serve.js)_
|
|
619
622
|
|
|
620
623
|
## `saltcorn set-cfg KEY [VALUE]`
|
|
621
624
|
|
|
@@ -636,7 +639,7 @@ OPTIONS
|
|
|
636
639
|
-t, --tenant=tenant tenant
|
|
637
640
|
```
|
|
638
641
|
|
|
639
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
642
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/set-cfg.js)_
|
|
640
643
|
|
|
641
644
|
## `saltcorn setup`
|
|
642
645
|
|
|
@@ -655,7 +658,7 @@ DESCRIPTION
|
|
|
655
658
|
configuration file
|
|
656
659
|
```
|
|
657
660
|
|
|
658
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
661
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/setup.js)_
|
|
659
662
|
|
|
660
663
|
## `saltcorn setup-benchmark`
|
|
661
664
|
|
|
@@ -669,7 +672,7 @@ OPTIONS
|
|
|
669
672
|
-t, --tenant=tenant tenant
|
|
670
673
|
```
|
|
671
674
|
|
|
672
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
675
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/setup-benchmark.js)_
|
|
673
676
|
|
|
674
677
|
## `saltcorn test-plugin PATH`
|
|
675
678
|
|
|
@@ -687,7 +690,7 @@ DESCRIPTION
|
|
|
687
690
|
Extra documentation goes here
|
|
688
691
|
```
|
|
689
692
|
|
|
690
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
693
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/test-plugin.js)_
|
|
691
694
|
|
|
692
695
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
693
696
|
|
|
@@ -704,5 +707,5 @@ ARGUMENTS
|
|
|
704
707
|
TENANT tenant name
|
|
705
708
|
```
|
|
706
709
|
|
|
707
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.
|
|
710
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.3/src/commands/transform-field.js)_
|
|
708
711
|
<!-- commandsstop -->
|