@saltcorn/cli 0.8.1-beta.3 → 0.8.1-beta.5
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 +35 -35
- package/bin/saltcorn +11 -3
- package/npm-shrinkwrap.json +236 -236
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
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-beta.
|
|
23
|
+
@saltcorn/cli/0.8.1-beta.5 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-beta.
|
|
82
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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-beta.
|
|
98
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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-beta.
|
|
126
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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-beta.
|
|
140
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
154
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
173
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
191
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
202
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
223
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
242
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
260
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
298
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
316
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
332
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/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.1-beta.
|
|
348
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/install-plugin.js)_
|
|
349
349
|
|
|
350
350
|
## `saltcorn list-tenants`
|
|
351
351
|
|
|
@@ -356,7 +356,7 @@ 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.1-beta.
|
|
359
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/list-tenants.js)_
|
|
360
360
|
|
|
361
361
|
## `saltcorn localize-plugin PLUGIN [PATH]`
|
|
362
362
|
|
|
@@ -375,7 +375,7 @@ OPTIONS
|
|
|
375
375
|
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
376
376
|
```
|
|
377
377
|
|
|
378
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
378
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/localize-plugin.js)_
|
|
379
379
|
|
|
380
380
|
## `saltcorn make-migration`
|
|
381
381
|
|
|
@@ -391,7 +391,7 @@ DESCRIPTION
|
|
|
391
391
|
unless you are a developer.
|
|
392
392
|
```
|
|
393
393
|
|
|
394
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
394
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/make-migration.js)_
|
|
395
395
|
|
|
396
396
|
## `saltcorn saltcorn migrate`
|
|
397
397
|
|
|
@@ -413,7 +413,7 @@ DESCRIPTION
|
|
|
413
413
|
servers and need to control when the migrations are run.
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
416
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/migrate.js)_
|
|
417
417
|
|
|
418
418
|
## `saltcorn modify-user USER_EMAIL`
|
|
419
419
|
|
|
@@ -442,7 +442,7 @@ DESCRIPTION
|
|
|
442
442
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
443
443
|
```
|
|
444
444
|
|
|
445
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
445
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/modify-user.js)_
|
|
446
446
|
|
|
447
447
|
## `saltcorn plugins`
|
|
448
448
|
|
|
@@ -469,7 +469,7 @@ EXAMPLES
|
|
|
469
469
|
plugins -u -f - force plugin update
|
|
470
470
|
```
|
|
471
471
|
|
|
472
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
472
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/plugins.js)_
|
|
473
473
|
|
|
474
474
|
## `saltcorn release VERSION`
|
|
475
475
|
|
|
@@ -483,7 +483,7 @@ ARGUMENTS
|
|
|
483
483
|
VERSION New version number
|
|
484
484
|
```
|
|
485
485
|
|
|
486
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
486
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/release.js)_
|
|
487
487
|
|
|
488
488
|
## `saltcorn reset-schema`
|
|
489
489
|
|
|
@@ -502,7 +502,7 @@ DESCRIPTION
|
|
|
502
502
|
This will delete all existing information
|
|
503
503
|
```
|
|
504
504
|
|
|
505
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
505
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/reset-schema.js)_
|
|
506
506
|
|
|
507
507
|
## `saltcorn restore FILE`
|
|
508
508
|
|
|
@@ -519,7 +519,7 @@ OPTIONS
|
|
|
519
519
|
-t, --tenant=tenant tenant
|
|
520
520
|
```
|
|
521
521
|
|
|
522
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
522
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/restore.js)_
|
|
523
523
|
|
|
524
524
|
## `saltcorn rm-tenant`
|
|
525
525
|
|
|
@@ -538,7 +538,7 @@ DESCRIPTION
|
|
|
538
538
|
It recommended to make backup of tenant before perform this command.
|
|
539
539
|
```
|
|
540
540
|
|
|
541
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
541
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/rm-tenant.js)_
|
|
542
542
|
|
|
543
543
|
## `saltcorn run-benchmark [BASEURL]`
|
|
544
544
|
|
|
@@ -557,7 +557,7 @@ OPTIONS
|
|
|
557
557
|
-t, --token=token API Token for reporting results
|
|
558
558
|
```
|
|
559
559
|
|
|
560
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
560
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/run-benchmark.js)_
|
|
561
561
|
|
|
562
562
|
## `saltcorn run-tests [PACKAGE]`
|
|
563
563
|
|
|
@@ -580,7 +580,7 @@ OPTIONS
|
|
|
580
580
|
--watchAll Watch files for changes and rerun all tests.
|
|
581
581
|
```
|
|
582
582
|
|
|
583
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
583
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/run-tests.js)_
|
|
584
584
|
|
|
585
585
|
## `saltcorn scheduler`
|
|
586
586
|
|
|
@@ -594,7 +594,7 @@ OPTIONS
|
|
|
594
594
|
-v, --verbose Verbose
|
|
595
595
|
```
|
|
596
596
|
|
|
597
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
597
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/scheduler.js)_
|
|
598
598
|
|
|
599
599
|
## `saltcorn serve`
|
|
600
600
|
|
|
@@ -615,7 +615,7 @@ OPTIONS
|
|
|
615
615
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
616
616
|
```
|
|
617
617
|
|
|
618
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
618
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/serve.js)_
|
|
619
619
|
|
|
620
620
|
## `saltcorn set-cfg KEY [VALUE]`
|
|
621
621
|
|
|
@@ -636,7 +636,7 @@ OPTIONS
|
|
|
636
636
|
-t, --tenant=tenant tenant
|
|
637
637
|
```
|
|
638
638
|
|
|
639
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
639
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/set-cfg.js)_
|
|
640
640
|
|
|
641
641
|
## `saltcorn setup`
|
|
642
642
|
|
|
@@ -655,7 +655,7 @@ DESCRIPTION
|
|
|
655
655
|
configuration file
|
|
656
656
|
```
|
|
657
657
|
|
|
658
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
658
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/setup.js)_
|
|
659
659
|
|
|
660
660
|
## `saltcorn setup-benchmark`
|
|
661
661
|
|
|
@@ -669,7 +669,7 @@ OPTIONS
|
|
|
669
669
|
-t, --tenant=tenant tenant
|
|
670
670
|
```
|
|
671
671
|
|
|
672
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
672
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/setup-benchmark.js)_
|
|
673
673
|
|
|
674
674
|
## `saltcorn test-plugin PATH`
|
|
675
675
|
|
|
@@ -687,7 +687,7 @@ DESCRIPTION
|
|
|
687
687
|
Extra documentation goes here
|
|
688
688
|
```
|
|
689
689
|
|
|
690
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
690
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/test-plugin.js)_
|
|
691
691
|
|
|
692
692
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
693
693
|
|
|
@@ -704,5 +704,5 @@ ARGUMENTS
|
|
|
704
704
|
TENANT tenant name
|
|
705
705
|
```
|
|
706
706
|
|
|
707
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.
|
|
707
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-beta.5/src/commands/transform-field.js)_
|
|
708
708
|
<!-- commandsstop -->
|
package/bin/saltcorn
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
try {
|
|
4
|
+
require("source-map-support").install({
|
|
5
|
+
handleUncaughtExceptions: false,
|
|
6
|
+
});
|
|
7
|
+
} catch (error) {
|
|
8
|
+
console.log(
|
|
9
|
+
"Warning: Unable to init the 'source-map-support' module. " +
|
|
10
|
+
"I will run without it."
|
|
11
|
+
);
|
|
12
|
+
console.log("Stack traces of source-mapped files won't be formatted.");
|
|
13
|
+
}
|
|
6
14
|
|
|
7
15
|
require("@oclif/command")
|
|
8
16
|
.run()
|