@saltcorn/cli 0.8.2 → 0.8.3-alpha.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 +48 -36
- package/npm-shrinkwrap.json +985 -850
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/src/commands/build-app.js +6 -6
- package/src/commands/build-cordova-builder.js +44 -0
- package/src/commands/create-tenant.js +7 -3
- package/src/commands/release.js +21 -1
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.3-alpha.1 darwin-arm64 node-v16.18.1
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -34,6 +34,7 @@ USAGE
|
|
|
34
34
|
* [`saltcorn add-schema`](#saltcorn-add-schema)
|
|
35
35
|
* [`saltcorn backup`](#saltcorn-backup)
|
|
36
36
|
* [`saltcorn build-app`](#saltcorn-build-app)
|
|
37
|
+
* [`saltcorn build-cordova-builder`](#saltcorn-build-cordova-builder)
|
|
37
38
|
* [`saltcorn configuration-check`](#saltcorn-configuration-check)
|
|
38
39
|
* [`saltcorn configuration-check-backups FILES`](#saltcorn-configuration-check-backups-files)
|
|
39
40
|
* [`saltcorn create-tenant TENANT`](#saltcorn-create-tenant-tenant)
|
|
@@ -79,7 +80,7 @@ OPTIONS
|
|
|
79
80
|
-f, --force force command execution
|
|
80
81
|
```
|
|
81
82
|
|
|
82
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
83
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/add-schema.js)_
|
|
83
84
|
|
|
84
85
|
## `saltcorn backup`
|
|
85
86
|
|
|
@@ -95,11 +96,11 @@ OPTIONS
|
|
|
95
96
|
-z, --zip zip format
|
|
96
97
|
```
|
|
97
98
|
|
|
98
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
99
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/backup.js)_
|
|
99
100
|
|
|
100
101
|
## `saltcorn build-app`
|
|
101
102
|
|
|
102
|
-
|
|
103
|
+
Build mobile app
|
|
103
104
|
|
|
104
105
|
```
|
|
105
106
|
USAGE
|
|
@@ -124,7 +125,18 @@ OPTIONS
|
|
|
124
125
|
tenant
|
|
125
126
|
```
|
|
126
127
|
|
|
127
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
128
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/build-app.js)_
|
|
129
|
+
|
|
130
|
+
## `saltcorn build-cordova-builder`
|
|
131
|
+
|
|
132
|
+
Build the 'saltcorn/cordova-builder' docker image
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
USAGE
|
|
136
|
+
$ saltcorn build-cordova-builder
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/build-cordova-builder.js)_
|
|
128
140
|
|
|
129
141
|
## `saltcorn configuration-check`
|
|
130
142
|
|
|
@@ -138,7 +150,7 @@ OPTIONS
|
|
|
138
150
|
-t, --tenant=tenant tenant
|
|
139
151
|
```
|
|
140
152
|
|
|
141
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
153
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/configuration-check.js)_
|
|
142
154
|
|
|
143
155
|
## `saltcorn configuration-check-backups FILES`
|
|
144
156
|
|
|
@@ -155,7 +167,7 @@ OPTIONS
|
|
|
155
167
|
-d, --destructive destructive
|
|
156
168
|
```
|
|
157
169
|
|
|
158
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
170
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/configuration-check-backups.js)_
|
|
159
171
|
|
|
160
172
|
## `saltcorn create-tenant TENANT`
|
|
161
173
|
|
|
@@ -174,7 +186,7 @@ OPTIONS
|
|
|
174
186
|
--url=url Url of tenant
|
|
175
187
|
```
|
|
176
188
|
|
|
177
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
189
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/create-tenant.js)_
|
|
178
190
|
|
|
179
191
|
## `saltcorn create-user`
|
|
180
192
|
|
|
@@ -192,7 +204,7 @@ OPTIONS
|
|
|
192
204
|
-t, --tenant=tenant tenant
|
|
193
205
|
```
|
|
194
206
|
|
|
195
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
207
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/create-user.js)_
|
|
196
208
|
|
|
197
209
|
## `saltcorn delete-tenants`
|
|
198
210
|
|
|
@@ -203,7 +215,7 @@ USAGE
|
|
|
203
215
|
$ saltcorn delete-tenants
|
|
204
216
|
```
|
|
205
217
|
|
|
206
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
218
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/delete-tenants.js)_
|
|
207
219
|
|
|
208
220
|
## `saltcorn delete-user USER_EMAIL`
|
|
209
221
|
|
|
@@ -224,7 +236,7 @@ DESCRIPTION
|
|
|
224
236
|
Command deletes the user specified by USER_EMAIL.
|
|
225
237
|
```
|
|
226
238
|
|
|
227
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
239
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/delete-user.js)_
|
|
228
240
|
|
|
229
241
|
## `saltcorn fixtures`
|
|
230
242
|
|
|
@@ -243,7 +255,7 @@ DESCRIPTION
|
|
|
243
255
|
This manual step it is never required for users and rarely required for developers
|
|
244
256
|
```
|
|
245
257
|
|
|
246
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
258
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/fixtures.js)_
|
|
247
259
|
|
|
248
260
|
## `saltcorn get-cfg KEY`
|
|
249
261
|
|
|
@@ -261,7 +273,7 @@ OPTIONS
|
|
|
261
273
|
-t, --tenant=tenant tenant
|
|
262
274
|
```
|
|
263
275
|
|
|
264
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
276
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/get-cfg.js)_
|
|
265
277
|
|
|
266
278
|
## `saltcorn help [COMMAND]`
|
|
267
279
|
|
|
@@ -299,7 +311,7 @@ ALIASES
|
|
|
299
311
|
$ saltcorn paths
|
|
300
312
|
```
|
|
301
313
|
|
|
302
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
314
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/info.js)_
|
|
303
315
|
|
|
304
316
|
## `saltcorn inspect TYPE [NAME]`
|
|
305
317
|
|
|
@@ -317,7 +329,7 @@ OPTIONS
|
|
|
317
329
|
-t, --tenant=tenant tenant
|
|
318
330
|
```
|
|
319
331
|
|
|
320
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
332
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/inspect.js)_
|
|
321
333
|
|
|
322
334
|
## `saltcorn install-pack`
|
|
323
335
|
|
|
@@ -333,7 +345,7 @@ OPTIONS
|
|
|
333
345
|
-t, --tenant=tenant tenant
|
|
334
346
|
```
|
|
335
347
|
|
|
336
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
348
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/install-pack.js)_
|
|
337
349
|
|
|
338
350
|
## `saltcorn install-plugin`
|
|
339
351
|
|
|
@@ -349,7 +361,7 @@ OPTIONS
|
|
|
349
361
|
-t, --tenant=tenant tenant
|
|
350
362
|
```
|
|
351
363
|
|
|
352
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
364
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/install-plugin.js)_
|
|
353
365
|
|
|
354
366
|
## `saltcorn list-tenants`
|
|
355
367
|
|
|
@@ -360,7 +372,7 @@ USAGE
|
|
|
360
372
|
$ saltcorn list-tenants
|
|
361
373
|
```
|
|
362
374
|
|
|
363
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
375
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/list-tenants.js)_
|
|
364
376
|
|
|
365
377
|
## `saltcorn localize-plugin PLUGIN [PATH]`
|
|
366
378
|
|
|
@@ -379,7 +391,7 @@ OPTIONS
|
|
|
379
391
|
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
380
392
|
```
|
|
381
393
|
|
|
382
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
394
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/localize-plugin.js)_
|
|
383
395
|
|
|
384
396
|
## `saltcorn make-migration`
|
|
385
397
|
|
|
@@ -395,7 +407,7 @@ DESCRIPTION
|
|
|
395
407
|
unless you are a developer.
|
|
396
408
|
```
|
|
397
409
|
|
|
398
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
410
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/make-migration.js)_
|
|
399
411
|
|
|
400
412
|
## `saltcorn saltcorn migrate`
|
|
401
413
|
|
|
@@ -417,7 +429,7 @@ DESCRIPTION
|
|
|
417
429
|
servers and need to control when the migrations are run.
|
|
418
430
|
```
|
|
419
431
|
|
|
420
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
432
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/migrate.js)_
|
|
421
433
|
|
|
422
434
|
## `saltcorn modify-user USER_EMAIL`
|
|
423
435
|
|
|
@@ -446,7 +458,7 @@ DESCRIPTION
|
|
|
446
458
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
447
459
|
```
|
|
448
460
|
|
|
449
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
461
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/modify-user.js)_
|
|
450
462
|
|
|
451
463
|
## `saltcorn plugins`
|
|
452
464
|
|
|
@@ -473,7 +485,7 @@ EXAMPLES
|
|
|
473
485
|
plugins -u -f - force plugin update
|
|
474
486
|
```
|
|
475
487
|
|
|
476
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
488
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/plugins.js)_
|
|
477
489
|
|
|
478
490
|
## `saltcorn release VERSION`
|
|
479
491
|
|
|
@@ -487,7 +499,7 @@ ARGUMENTS
|
|
|
487
499
|
VERSION New version number
|
|
488
500
|
```
|
|
489
501
|
|
|
490
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
502
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/release.js)_
|
|
491
503
|
|
|
492
504
|
## `saltcorn reset-schema`
|
|
493
505
|
|
|
@@ -506,7 +518,7 @@ DESCRIPTION
|
|
|
506
518
|
This will delete all existing information
|
|
507
519
|
```
|
|
508
520
|
|
|
509
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
521
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/reset-schema.js)_
|
|
510
522
|
|
|
511
523
|
## `saltcorn restore FILE`
|
|
512
524
|
|
|
@@ -523,7 +535,7 @@ OPTIONS
|
|
|
523
535
|
-t, --tenant=tenant tenant
|
|
524
536
|
```
|
|
525
537
|
|
|
526
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
538
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/restore.js)_
|
|
527
539
|
|
|
528
540
|
## `saltcorn rm-tenant`
|
|
529
541
|
|
|
@@ -542,7 +554,7 @@ DESCRIPTION
|
|
|
542
554
|
It recommended to make backup of tenant before perform this command.
|
|
543
555
|
```
|
|
544
556
|
|
|
545
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
557
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/rm-tenant.js)_
|
|
546
558
|
|
|
547
559
|
## `saltcorn run-benchmark [BASEURL]`
|
|
548
560
|
|
|
@@ -561,7 +573,7 @@ OPTIONS
|
|
|
561
573
|
-t, --token=token API Token for reporting results
|
|
562
574
|
```
|
|
563
575
|
|
|
564
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
576
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/run-benchmark.js)_
|
|
565
577
|
|
|
566
578
|
## `saltcorn run-tests [PACKAGE]`
|
|
567
579
|
|
|
@@ -584,7 +596,7 @@ OPTIONS
|
|
|
584
596
|
--watchAll Watch files for changes and rerun all tests.
|
|
585
597
|
```
|
|
586
598
|
|
|
587
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
599
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/run-tests.js)_
|
|
588
600
|
|
|
589
601
|
## `saltcorn scheduler`
|
|
590
602
|
|
|
@@ -598,7 +610,7 @@ OPTIONS
|
|
|
598
610
|
-v, --verbose Verbose
|
|
599
611
|
```
|
|
600
612
|
|
|
601
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
613
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/scheduler.js)_
|
|
602
614
|
|
|
603
615
|
## `saltcorn serve`
|
|
604
616
|
|
|
@@ -619,7 +631,7 @@ OPTIONS
|
|
|
619
631
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
620
632
|
```
|
|
621
633
|
|
|
622
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
634
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/serve.js)_
|
|
623
635
|
|
|
624
636
|
## `saltcorn set-cfg KEY [VALUE]`
|
|
625
637
|
|
|
@@ -640,7 +652,7 @@ OPTIONS
|
|
|
640
652
|
-t, --tenant=tenant tenant
|
|
641
653
|
```
|
|
642
654
|
|
|
643
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
655
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/set-cfg.js)_
|
|
644
656
|
|
|
645
657
|
## `saltcorn setup`
|
|
646
658
|
|
|
@@ -659,7 +671,7 @@ DESCRIPTION
|
|
|
659
671
|
configuration file
|
|
660
672
|
```
|
|
661
673
|
|
|
662
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
674
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/setup.js)_
|
|
663
675
|
|
|
664
676
|
## `saltcorn setup-benchmark`
|
|
665
677
|
|
|
@@ -673,7 +685,7 @@ OPTIONS
|
|
|
673
685
|
-t, --tenant=tenant tenant
|
|
674
686
|
```
|
|
675
687
|
|
|
676
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
688
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/setup-benchmark.js)_
|
|
677
689
|
|
|
678
690
|
## `saltcorn test-plugin PATH`
|
|
679
691
|
|
|
@@ -691,7 +703,7 @@ DESCRIPTION
|
|
|
691
703
|
Extra documentation goes here
|
|
692
704
|
```
|
|
693
705
|
|
|
694
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
706
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/test-plugin.js)_
|
|
695
707
|
|
|
696
708
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
697
709
|
|
|
@@ -708,5 +720,5 @@ ARGUMENTS
|
|
|
708
720
|
TENANT tenant name
|
|
709
721
|
```
|
|
710
722
|
|
|
711
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
723
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.3-alpha.1/src/commands/transform-field.js)_
|
|
712
724
|
<!-- commandsstop -->
|