@saltcorn/cli 0.8.0 → 0.8.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 +39 -38
- package/npm-shrinkwrap.json +278 -276
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/src/commands/localize-plugin.js +29 -7
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.
|
|
23
|
+
@saltcorn/cli/0.8.1-beta.1 darwin-arm64 node-v16.18.1
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -48,7 +48,7 @@ USAGE
|
|
|
48
48
|
* [`saltcorn install-pack`](#saltcorn-install-pack)
|
|
49
49
|
* [`saltcorn install-plugin`](#saltcorn-install-plugin)
|
|
50
50
|
* [`saltcorn list-tenants`](#saltcorn-list-tenants)
|
|
51
|
-
* [`saltcorn localize-plugin PLUGIN PATH`](#saltcorn-localize-plugin-plugin-path)
|
|
51
|
+
* [`saltcorn localize-plugin PLUGIN [PATH]`](#saltcorn-localize-plugin-plugin-path)
|
|
52
52
|
* [`saltcorn make-migration`](#saltcorn-make-migration)
|
|
53
53
|
* [`saltcorn saltcorn migrate`](#saltcorn-saltcorn-migrate)
|
|
54
54
|
* [`saltcorn modify-user USER_EMAIL`](#saltcorn-modify-user-user_email)
|
|
@@ -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.
|
|
82
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/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.
|
|
98
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/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.
|
|
126
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/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.
|
|
140
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/configuration-check.js)_
|
|
141
141
|
|
|
142
142
|
## `saltcorn configuration-check-backups FILES`
|
|
143
143
|
|
|
@@ -151,7 +151,7 @@ ARGUMENTS
|
|
|
151
151
|
FILES backup file to check. can be repeated, e.g. with *
|
|
152
152
|
```
|
|
153
153
|
|
|
154
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
154
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/configuration-check-backups.js)_
|
|
155
155
|
|
|
156
156
|
## `saltcorn create-tenant TENANT`
|
|
157
157
|
|
|
@@ -170,7 +170,7 @@ OPTIONS
|
|
|
170
170
|
--url=url Url of tenant
|
|
171
171
|
```
|
|
172
172
|
|
|
173
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
173
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/create-tenant.js)_
|
|
174
174
|
|
|
175
175
|
## `saltcorn create-user`
|
|
176
176
|
|
|
@@ -188,7 +188,7 @@ OPTIONS
|
|
|
188
188
|
-t, --tenant=tenant tenant
|
|
189
189
|
```
|
|
190
190
|
|
|
191
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
191
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/create-user.js)_
|
|
192
192
|
|
|
193
193
|
## `saltcorn delete-tenants`
|
|
194
194
|
|
|
@@ -199,7 +199,7 @@ USAGE
|
|
|
199
199
|
$ saltcorn delete-tenants
|
|
200
200
|
```
|
|
201
201
|
|
|
202
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
202
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/delete-tenants.js)_
|
|
203
203
|
|
|
204
204
|
## `saltcorn delete-user USER_EMAIL`
|
|
205
205
|
|
|
@@ -220,7 +220,7 @@ DESCRIPTION
|
|
|
220
220
|
Command deletes the user specified by USER_EMAIL.
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
223
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/delete-user.js)_
|
|
224
224
|
|
|
225
225
|
## `saltcorn fixtures`
|
|
226
226
|
|
|
@@ -239,7 +239,7 @@ DESCRIPTION
|
|
|
239
239
|
This manual step it is never required for users and rarely required for developers
|
|
240
240
|
```
|
|
241
241
|
|
|
242
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
242
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/fixtures.js)_
|
|
243
243
|
|
|
244
244
|
## `saltcorn get-cfg KEY`
|
|
245
245
|
|
|
@@ -257,7 +257,7 @@ OPTIONS
|
|
|
257
257
|
-t, --tenant=tenant tenant
|
|
258
258
|
```
|
|
259
259
|
|
|
260
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
260
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/get-cfg.js)_
|
|
261
261
|
|
|
262
262
|
## `saltcorn help [COMMAND]`
|
|
263
263
|
|
|
@@ -295,7 +295,7 @@ ALIASES
|
|
|
295
295
|
$ saltcorn paths
|
|
296
296
|
```
|
|
297
297
|
|
|
298
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
298
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/info.js)_
|
|
299
299
|
|
|
300
300
|
## `saltcorn inspect TYPE [NAME]`
|
|
301
301
|
|
|
@@ -313,7 +313,7 @@ OPTIONS
|
|
|
313
313
|
-t, --tenant=tenant tenant
|
|
314
314
|
```
|
|
315
315
|
|
|
316
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
316
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/inspect.js)_
|
|
317
317
|
|
|
318
318
|
## `saltcorn install-pack`
|
|
319
319
|
|
|
@@ -329,7 +329,7 @@ OPTIONS
|
|
|
329
329
|
-t, --tenant=tenant tenant
|
|
330
330
|
```
|
|
331
331
|
|
|
332
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
332
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/install-pack.js)_
|
|
333
333
|
|
|
334
334
|
## `saltcorn install-plugin`
|
|
335
335
|
|
|
@@ -345,7 +345,7 @@ OPTIONS
|
|
|
345
345
|
-t, --tenant=tenant tenant
|
|
346
346
|
```
|
|
347
347
|
|
|
348
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
348
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/install-plugin.js)_
|
|
349
349
|
|
|
350
350
|
## `saltcorn list-tenants`
|
|
351
351
|
|
|
@@ -356,15 +356,15 @@ USAGE
|
|
|
356
356
|
$ saltcorn list-tenants
|
|
357
357
|
```
|
|
358
358
|
|
|
359
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
359
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/list-tenants.js)_
|
|
360
360
|
|
|
361
|
-
## `saltcorn localize-plugin PLUGIN PATH`
|
|
361
|
+
## `saltcorn localize-plugin PLUGIN [PATH]`
|
|
362
362
|
|
|
363
363
|
Convert plugin to local plugin
|
|
364
364
|
|
|
365
365
|
```
|
|
366
366
|
USAGE
|
|
367
|
-
$ saltcorn localize-plugin PLUGIN PATH
|
|
367
|
+
$ saltcorn localize-plugin PLUGIN [PATH]
|
|
368
368
|
|
|
369
369
|
ARGUMENTS
|
|
370
370
|
PLUGIN Current plugin name
|
|
@@ -372,9 +372,10 @@ ARGUMENTS
|
|
|
372
372
|
|
|
373
373
|
OPTIONS
|
|
374
374
|
-t, --tenant=tenant tenant
|
|
375
|
+
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
375
376
|
```
|
|
376
377
|
|
|
377
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
378
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/localize-plugin.js)_
|
|
378
379
|
|
|
379
380
|
## `saltcorn make-migration`
|
|
380
381
|
|
|
@@ -390,7 +391,7 @@ DESCRIPTION
|
|
|
390
391
|
unless you are a developer.
|
|
391
392
|
```
|
|
392
393
|
|
|
393
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
394
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/make-migration.js)_
|
|
394
395
|
|
|
395
396
|
## `saltcorn saltcorn migrate`
|
|
396
397
|
|
|
@@ -412,7 +413,7 @@ DESCRIPTION
|
|
|
412
413
|
servers and need to control when the migrations are run.
|
|
413
414
|
```
|
|
414
415
|
|
|
415
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
416
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/migrate.js)_
|
|
416
417
|
|
|
417
418
|
## `saltcorn modify-user USER_EMAIL`
|
|
418
419
|
|
|
@@ -441,7 +442,7 @@ DESCRIPTION
|
|
|
441
442
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
442
443
|
```
|
|
443
444
|
|
|
444
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
445
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/modify-user.js)_
|
|
445
446
|
|
|
446
447
|
## `saltcorn plugins`
|
|
447
448
|
|
|
@@ -468,7 +469,7 @@ EXAMPLES
|
|
|
468
469
|
plugins -u -f - force plugin update
|
|
469
470
|
```
|
|
470
471
|
|
|
471
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
472
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/plugins.js)_
|
|
472
473
|
|
|
473
474
|
## `saltcorn release VERSION`
|
|
474
475
|
|
|
@@ -482,7 +483,7 @@ ARGUMENTS
|
|
|
482
483
|
VERSION New version number
|
|
483
484
|
```
|
|
484
485
|
|
|
485
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
486
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/release.js)_
|
|
486
487
|
|
|
487
488
|
## `saltcorn reset-schema`
|
|
488
489
|
|
|
@@ -501,7 +502,7 @@ DESCRIPTION
|
|
|
501
502
|
This will delete all existing information
|
|
502
503
|
```
|
|
503
504
|
|
|
504
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
505
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/reset-schema.js)_
|
|
505
506
|
|
|
506
507
|
## `saltcorn restore FILE`
|
|
507
508
|
|
|
@@ -518,7 +519,7 @@ OPTIONS
|
|
|
518
519
|
-t, --tenant=tenant tenant
|
|
519
520
|
```
|
|
520
521
|
|
|
521
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
522
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/restore.js)_
|
|
522
523
|
|
|
523
524
|
## `saltcorn rm-tenant`
|
|
524
525
|
|
|
@@ -537,7 +538,7 @@ DESCRIPTION
|
|
|
537
538
|
It recommended to make backup of tenant before perform this command.
|
|
538
539
|
```
|
|
539
540
|
|
|
540
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
541
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/rm-tenant.js)_
|
|
541
542
|
|
|
542
543
|
## `saltcorn run-benchmark [BASEURL]`
|
|
543
544
|
|
|
@@ -556,7 +557,7 @@ OPTIONS
|
|
|
556
557
|
-t, --token=token API Token for reporting results
|
|
557
558
|
```
|
|
558
559
|
|
|
559
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
560
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/run-benchmark.js)_
|
|
560
561
|
|
|
561
562
|
## `saltcorn run-tests [PACKAGE]`
|
|
562
563
|
|
|
@@ -579,7 +580,7 @@ OPTIONS
|
|
|
579
580
|
--watchAll Watch files for changes and rerun all tests.
|
|
580
581
|
```
|
|
581
582
|
|
|
582
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
583
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/run-tests.js)_
|
|
583
584
|
|
|
584
585
|
## `saltcorn scheduler`
|
|
585
586
|
|
|
@@ -593,7 +594,7 @@ OPTIONS
|
|
|
593
594
|
-v, --verbose Verbose
|
|
594
595
|
```
|
|
595
596
|
|
|
596
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
597
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/scheduler.js)_
|
|
597
598
|
|
|
598
599
|
## `saltcorn serve`
|
|
599
600
|
|
|
@@ -614,7 +615,7 @@ OPTIONS
|
|
|
614
615
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
615
616
|
```
|
|
616
617
|
|
|
617
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
618
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/serve.js)_
|
|
618
619
|
|
|
619
620
|
## `saltcorn set-cfg KEY [VALUE]`
|
|
620
621
|
|
|
@@ -635,7 +636,7 @@ OPTIONS
|
|
|
635
636
|
-t, --tenant=tenant tenant
|
|
636
637
|
```
|
|
637
638
|
|
|
638
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
639
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/set-cfg.js)_
|
|
639
640
|
|
|
640
641
|
## `saltcorn setup`
|
|
641
642
|
|
|
@@ -654,7 +655,7 @@ DESCRIPTION
|
|
|
654
655
|
configuration file
|
|
655
656
|
```
|
|
656
657
|
|
|
657
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
658
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/setup.js)_
|
|
658
659
|
|
|
659
660
|
## `saltcorn setup-benchmark`
|
|
660
661
|
|
|
@@ -668,7 +669,7 @@ OPTIONS
|
|
|
668
669
|
-t, --tenant=tenant tenant
|
|
669
670
|
```
|
|
670
671
|
|
|
671
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
672
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/setup-benchmark.js)_
|
|
672
673
|
|
|
673
674
|
## `saltcorn test-plugin PATH`
|
|
674
675
|
|
|
@@ -686,7 +687,7 @@ DESCRIPTION
|
|
|
686
687
|
Extra documentation goes here
|
|
687
688
|
```
|
|
688
689
|
|
|
689
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
690
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/test-plugin.js)_
|
|
690
691
|
|
|
691
692
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
692
693
|
|
|
@@ -703,5 +704,5 @@ ARGUMENTS
|
|
|
703
704
|
TENANT tenant name
|
|
704
705
|
```
|
|
705
706
|
|
|
706
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
707
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.1/src/commands/transform-field.js)_
|
|
707
708
|
<!-- commandsstop -->
|