@saltcorn/cli 0.7.1-beta.2 → 0.7.2-beta.0
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 +29 -29
- package/npm-shrinkwrap.json +1093 -686
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
- package/src/commands/configuration-check.js +3 -10
- package/src/common.js +19 -5
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.7.
|
|
23
|
+
@saltcorn/cli/0.7.2-beta.0 darwin-x64 node-v14.16.1
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -70,7 +70,7 @@ USAGE
|
|
|
70
70
|
$ saltcorn add-schema
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
73
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/add-schema.js)_
|
|
74
74
|
|
|
75
75
|
## `saltcorn backup`
|
|
76
76
|
|
|
@@ -86,7 +86,7 @@ OPTIONS
|
|
|
86
86
|
-z, --zip zip format
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
89
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/backup.js)_
|
|
90
90
|
|
|
91
91
|
## `saltcorn configuration-check`
|
|
92
92
|
|
|
@@ -100,7 +100,7 @@ OPTIONS
|
|
|
100
100
|
-t, --tenant=tenant tenant
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
103
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/configuration-check.js)_
|
|
104
104
|
|
|
105
105
|
## `saltcorn create-tenant TENANT`
|
|
106
106
|
|
|
@@ -118,7 +118,7 @@ OPTIONS
|
|
|
118
118
|
-e, --email=email Email of owner of tenant
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
121
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/create-tenant.js)_
|
|
122
122
|
|
|
123
123
|
## `saltcorn create-user`
|
|
124
124
|
|
|
@@ -136,7 +136,7 @@ OPTIONS
|
|
|
136
136
|
-t, --tenant=tenant tenant
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
139
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/create-user.js)_
|
|
140
140
|
|
|
141
141
|
## `saltcorn delete-tenants`
|
|
142
142
|
|
|
@@ -147,7 +147,7 @@ USAGE
|
|
|
147
147
|
$ saltcorn delete-tenants
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
150
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/delete-tenants.js)_
|
|
151
151
|
|
|
152
152
|
## `saltcorn fixtures`
|
|
153
153
|
|
|
@@ -166,7 +166,7 @@ DESCRIPTION
|
|
|
166
166
|
This manual step it is never required for users and rarely required for developers
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
169
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/fixtures.js)_
|
|
170
170
|
|
|
171
171
|
## `saltcorn help [COMMAND]`
|
|
172
172
|
|
|
@@ -204,7 +204,7 @@ ALIASES
|
|
|
204
204
|
$ saltcorn paths
|
|
205
205
|
```
|
|
206
206
|
|
|
207
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
207
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/info.js)_
|
|
208
208
|
|
|
209
209
|
## `saltcorn install-pack`
|
|
210
210
|
|
|
@@ -220,7 +220,7 @@ OPTIONS
|
|
|
220
220
|
-t, --tenant=tenant tenant
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
223
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/install-pack.js)_
|
|
224
224
|
|
|
225
225
|
## `saltcorn install-plugin`
|
|
226
226
|
|
|
@@ -236,7 +236,7 @@ OPTIONS
|
|
|
236
236
|
-t, --tenant=tenant tenant
|
|
237
237
|
```
|
|
238
238
|
|
|
239
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
239
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/install-plugin.js)_
|
|
240
240
|
|
|
241
241
|
## `saltcorn list-tenants`
|
|
242
242
|
|
|
@@ -247,7 +247,7 @@ USAGE
|
|
|
247
247
|
$ saltcorn list-tenants
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
250
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/list-tenants.js)_
|
|
251
251
|
|
|
252
252
|
## `saltcorn localize-plugin PLUGIN PATH`
|
|
253
253
|
|
|
@@ -265,7 +265,7 @@ OPTIONS
|
|
|
265
265
|
-t, --tenant=tenant tenant
|
|
266
266
|
```
|
|
267
267
|
|
|
268
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
268
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/localize-plugin.js)_
|
|
269
269
|
|
|
270
270
|
## `saltcorn make-migration`
|
|
271
271
|
|
|
@@ -281,7 +281,7 @@ DESCRIPTION
|
|
|
281
281
|
unless you are a developer.
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
284
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/make-migration.js)_
|
|
285
285
|
|
|
286
286
|
## `saltcorn saltcorn migrate`
|
|
287
287
|
|
|
@@ -303,7 +303,7 @@ DESCRIPTION
|
|
|
303
303
|
servers and need to control when the migrations are run.
|
|
304
304
|
```
|
|
305
305
|
|
|
306
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
306
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/migrate.js)_
|
|
307
307
|
|
|
308
308
|
## `saltcorn plugins`
|
|
309
309
|
|
|
@@ -330,7 +330,7 @@ EXAMPLES
|
|
|
330
330
|
plugins -u -f - force plugin update
|
|
331
331
|
```
|
|
332
332
|
|
|
333
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
333
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/plugins.js)_
|
|
334
334
|
|
|
335
335
|
## `saltcorn release VERSION`
|
|
336
336
|
|
|
@@ -344,7 +344,7 @@ ARGUMENTS
|
|
|
344
344
|
VERSION New version number
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
347
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/release.js)_
|
|
348
348
|
|
|
349
349
|
## `saltcorn reset-schema`
|
|
350
350
|
|
|
@@ -363,7 +363,7 @@ DESCRIPTION
|
|
|
363
363
|
This will delete all existing information
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
366
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/reset-schema.js)_
|
|
367
367
|
|
|
368
368
|
## `saltcorn restore FILE`
|
|
369
369
|
|
|
@@ -380,7 +380,7 @@ OPTIONS
|
|
|
380
380
|
-t, --tenant=tenant tenant
|
|
381
381
|
```
|
|
382
382
|
|
|
383
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
383
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/restore.js)_
|
|
384
384
|
|
|
385
385
|
## `saltcorn rm-tenant TENANT`
|
|
386
386
|
|
|
@@ -394,7 +394,7 @@ ARGUMENTS
|
|
|
394
394
|
TENANT Tenant to remove
|
|
395
395
|
```
|
|
396
396
|
|
|
397
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
397
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/rm-tenant.js)_
|
|
398
398
|
|
|
399
399
|
## `saltcorn run-benchmark [BASEURL]`
|
|
400
400
|
|
|
@@ -413,7 +413,7 @@ OPTIONS
|
|
|
413
413
|
-t, --token=token API Token for reporting results
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
416
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/run-benchmark.js)_
|
|
417
417
|
|
|
418
418
|
## `saltcorn run-tests [PACKAGE]`
|
|
419
419
|
|
|
@@ -433,7 +433,7 @@ OPTIONS
|
|
|
433
433
|
--watchAll Watch files for changes and rerun all tests.
|
|
434
434
|
```
|
|
435
435
|
|
|
436
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
436
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/run-tests.js)_
|
|
437
437
|
|
|
438
438
|
## `saltcorn scheduler`
|
|
439
439
|
|
|
@@ -447,7 +447,7 @@ OPTIONS
|
|
|
447
447
|
-v, --verbose Verbose
|
|
448
448
|
```
|
|
449
449
|
|
|
450
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
450
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/scheduler.js)_
|
|
451
451
|
|
|
452
452
|
## `saltcorn serve`
|
|
453
453
|
|
|
@@ -467,7 +467,7 @@ OPTIONS
|
|
|
467
467
|
-v, --verbose Verbose
|
|
468
468
|
```
|
|
469
469
|
|
|
470
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
470
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/serve.js)_
|
|
471
471
|
|
|
472
472
|
## `saltcorn set-cfg KEY VALUE`
|
|
473
473
|
|
|
@@ -486,7 +486,7 @@ OPTIONS
|
|
|
486
486
|
-t, --tenant=tenant tenant
|
|
487
487
|
```
|
|
488
488
|
|
|
489
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
489
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/set-cfg.js)_
|
|
490
490
|
|
|
491
491
|
## `saltcorn setup`
|
|
492
492
|
|
|
@@ -505,7 +505,7 @@ DESCRIPTION
|
|
|
505
505
|
configuration file
|
|
506
506
|
```
|
|
507
507
|
|
|
508
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
508
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/setup.js)_
|
|
509
509
|
|
|
510
510
|
## `saltcorn setup-benchmark`
|
|
511
511
|
|
|
@@ -519,7 +519,7 @@ OPTIONS
|
|
|
519
519
|
-t, --tenant=tenant tenant
|
|
520
520
|
```
|
|
521
521
|
|
|
522
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
522
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/setup-benchmark.js)_
|
|
523
523
|
|
|
524
524
|
## `saltcorn test-plugin PATH`
|
|
525
525
|
|
|
@@ -537,7 +537,7 @@ DESCRIPTION
|
|
|
537
537
|
Extra documentation goes here
|
|
538
538
|
```
|
|
539
539
|
|
|
540
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
540
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/test-plugin.js)_
|
|
541
541
|
|
|
542
542
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
543
543
|
|
|
@@ -554,5 +554,5 @@ ARGUMENTS
|
|
|
554
554
|
TENANT tenant name
|
|
555
555
|
```
|
|
556
556
|
|
|
557
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
557
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.2-beta.0/src/commands/transform-field.js)_
|
|
558
558
|
<!-- commandsstop -->
|