@saltcorn/cli 0.7.4-beta.0 → 0.7.4-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 +38 -35
- package/npm-shrinkwrap.json +325 -236
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/src/commands/build-app.js +5 -0
- package/src/commands/run-tests.js +1 -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.7.4-beta.
|
|
23
|
+
@saltcorn/cli/0.7.4-beta.1 darwin-arm64 node-v16.15.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.7.4-beta.
|
|
82
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-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.7.4-beta.
|
|
98
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/backup.js)_
|
|
99
99
|
|
|
100
100
|
## `saltcorn build-app`
|
|
101
101
|
|
|
@@ -115,9 +115,12 @@ OPTIONS
|
|
|
115
115
|
-p, --platforms=platforms Platforms to build for space separated list
|
|
116
116
|
-s, --serverURL=serverURL URL to a saltcorn server
|
|
117
117
|
-t, --entryPointType=entryPointType Type of the entry point ('view' or 'page'). The default is 'view'.
|
|
118
|
+
|
|
119
|
+
--buildForEmulator build without '--device', generates no .ipa file so that iOS apps can be
|
|
120
|
+
build without developer accounts
|
|
118
121
|
```
|
|
119
122
|
|
|
120
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
123
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/build-app.js)_
|
|
121
124
|
|
|
122
125
|
## `saltcorn configuration-check`
|
|
123
126
|
|
|
@@ -131,7 +134,7 @@ OPTIONS
|
|
|
131
134
|
-t, --tenant=tenant tenant
|
|
132
135
|
```
|
|
133
136
|
|
|
134
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
137
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/configuration-check.js)_
|
|
135
138
|
|
|
136
139
|
## `saltcorn configuration-check-backups FILES`
|
|
137
140
|
|
|
@@ -145,7 +148,7 @@ ARGUMENTS
|
|
|
145
148
|
FILES backup file to check. can be repeated, e.g. with *
|
|
146
149
|
```
|
|
147
150
|
|
|
148
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
151
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/configuration-check-backups.js)_
|
|
149
152
|
|
|
150
153
|
## `saltcorn create-tenant TENANT`
|
|
151
154
|
|
|
@@ -163,7 +166,7 @@ OPTIONS
|
|
|
163
166
|
-e, --email=email Email of owner of tenant
|
|
164
167
|
```
|
|
165
168
|
|
|
166
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
169
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/create-tenant.js)_
|
|
167
170
|
|
|
168
171
|
## `saltcorn create-user`
|
|
169
172
|
|
|
@@ -181,7 +184,7 @@ OPTIONS
|
|
|
181
184
|
-t, --tenant=tenant tenant
|
|
182
185
|
```
|
|
183
186
|
|
|
184
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
187
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/create-user.js)_
|
|
185
188
|
|
|
186
189
|
## `saltcorn delete-tenants`
|
|
187
190
|
|
|
@@ -192,7 +195,7 @@ USAGE
|
|
|
192
195
|
$ saltcorn delete-tenants
|
|
193
196
|
```
|
|
194
197
|
|
|
195
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
198
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/delete-tenants.js)_
|
|
196
199
|
|
|
197
200
|
## `saltcorn delete-user USER_EMAIL`
|
|
198
201
|
|
|
@@ -213,7 +216,7 @@ DESCRIPTION
|
|
|
213
216
|
Command deletes the user specified by USER_EMAIL.
|
|
214
217
|
```
|
|
215
218
|
|
|
216
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
219
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/delete-user.js)_
|
|
217
220
|
|
|
218
221
|
## `saltcorn fixtures`
|
|
219
222
|
|
|
@@ -232,7 +235,7 @@ DESCRIPTION
|
|
|
232
235
|
This manual step it is never required for users and rarely required for developers
|
|
233
236
|
```
|
|
234
237
|
|
|
235
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
238
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/fixtures.js)_
|
|
236
239
|
|
|
237
240
|
## `saltcorn get-cfg KEY`
|
|
238
241
|
|
|
@@ -250,7 +253,7 @@ OPTIONS
|
|
|
250
253
|
-t, --tenant=tenant tenant
|
|
251
254
|
```
|
|
252
255
|
|
|
253
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
256
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/get-cfg.js)_
|
|
254
257
|
|
|
255
258
|
## `saltcorn help [COMMAND]`
|
|
256
259
|
|
|
@@ -288,7 +291,7 @@ ALIASES
|
|
|
288
291
|
$ saltcorn paths
|
|
289
292
|
```
|
|
290
293
|
|
|
291
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
294
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/info.js)_
|
|
292
295
|
|
|
293
296
|
## `saltcorn inspect TYPE [NAME]`
|
|
294
297
|
|
|
@@ -306,7 +309,7 @@ OPTIONS
|
|
|
306
309
|
-t, --tenant=tenant tenant
|
|
307
310
|
```
|
|
308
311
|
|
|
309
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
312
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/inspect.js)_
|
|
310
313
|
|
|
311
314
|
## `saltcorn install-pack`
|
|
312
315
|
|
|
@@ -322,7 +325,7 @@ OPTIONS
|
|
|
322
325
|
-t, --tenant=tenant tenant
|
|
323
326
|
```
|
|
324
327
|
|
|
325
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
328
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/install-pack.js)_
|
|
326
329
|
|
|
327
330
|
## `saltcorn install-plugin`
|
|
328
331
|
|
|
@@ -338,7 +341,7 @@ OPTIONS
|
|
|
338
341
|
-t, --tenant=tenant tenant
|
|
339
342
|
```
|
|
340
343
|
|
|
341
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
344
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/install-plugin.js)_
|
|
342
345
|
|
|
343
346
|
## `saltcorn list-tenants`
|
|
344
347
|
|
|
@@ -349,7 +352,7 @@ USAGE
|
|
|
349
352
|
$ saltcorn list-tenants
|
|
350
353
|
```
|
|
351
354
|
|
|
352
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
355
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/list-tenants.js)_
|
|
353
356
|
|
|
354
357
|
## `saltcorn localize-plugin PLUGIN PATH`
|
|
355
358
|
|
|
@@ -367,7 +370,7 @@ OPTIONS
|
|
|
367
370
|
-t, --tenant=tenant tenant
|
|
368
371
|
```
|
|
369
372
|
|
|
370
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
373
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/localize-plugin.js)_
|
|
371
374
|
|
|
372
375
|
## `saltcorn make-migration`
|
|
373
376
|
|
|
@@ -383,7 +386,7 @@ DESCRIPTION
|
|
|
383
386
|
unless you are a developer.
|
|
384
387
|
```
|
|
385
388
|
|
|
386
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
389
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/make-migration.js)_
|
|
387
390
|
|
|
388
391
|
## `saltcorn saltcorn migrate`
|
|
389
392
|
|
|
@@ -405,7 +408,7 @@ DESCRIPTION
|
|
|
405
408
|
servers and need to control when the migrations are run.
|
|
406
409
|
```
|
|
407
410
|
|
|
408
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
411
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/migrate.js)_
|
|
409
412
|
|
|
410
413
|
## `saltcorn modify-user USER_EMAIL`
|
|
411
414
|
|
|
@@ -434,7 +437,7 @@ DESCRIPTION
|
|
|
434
437
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
435
438
|
```
|
|
436
439
|
|
|
437
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
440
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/modify-user.js)_
|
|
438
441
|
|
|
439
442
|
## `saltcorn plugins`
|
|
440
443
|
|
|
@@ -461,7 +464,7 @@ EXAMPLES
|
|
|
461
464
|
plugins -u -f - force plugin update
|
|
462
465
|
```
|
|
463
466
|
|
|
464
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
467
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/plugins.js)_
|
|
465
468
|
|
|
466
469
|
## `saltcorn release VERSION`
|
|
467
470
|
|
|
@@ -475,7 +478,7 @@ ARGUMENTS
|
|
|
475
478
|
VERSION New version number
|
|
476
479
|
```
|
|
477
480
|
|
|
478
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
481
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/release.js)_
|
|
479
482
|
|
|
480
483
|
## `saltcorn reset-schema`
|
|
481
484
|
|
|
@@ -494,7 +497,7 @@ DESCRIPTION
|
|
|
494
497
|
This will delete all existing information
|
|
495
498
|
```
|
|
496
499
|
|
|
497
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
500
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/reset-schema.js)_
|
|
498
501
|
|
|
499
502
|
## `saltcorn restore FILE`
|
|
500
503
|
|
|
@@ -511,7 +514,7 @@ OPTIONS
|
|
|
511
514
|
-t, --tenant=tenant tenant
|
|
512
515
|
```
|
|
513
516
|
|
|
514
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
517
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/restore.js)_
|
|
515
518
|
|
|
516
519
|
## `saltcorn rm-tenant`
|
|
517
520
|
|
|
@@ -530,7 +533,7 @@ DESCRIPTION
|
|
|
530
533
|
It recommended to make backup of tenant before perform this command.
|
|
531
534
|
```
|
|
532
535
|
|
|
533
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
536
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/rm-tenant.js)_
|
|
534
537
|
|
|
535
538
|
## `saltcorn run-benchmark [BASEURL]`
|
|
536
539
|
|
|
@@ -549,7 +552,7 @@ OPTIONS
|
|
|
549
552
|
-t, --token=token API Token for reporting results
|
|
550
553
|
```
|
|
551
554
|
|
|
552
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
555
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/run-benchmark.js)_
|
|
553
556
|
|
|
554
557
|
## `saltcorn run-tests [PACKAGE]`
|
|
555
558
|
|
|
@@ -569,7 +572,7 @@ OPTIONS
|
|
|
569
572
|
--watchAll Watch files for changes and rerun all tests.
|
|
570
573
|
```
|
|
571
574
|
|
|
572
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
575
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/run-tests.js)_
|
|
573
576
|
|
|
574
577
|
## `saltcorn scheduler`
|
|
575
578
|
|
|
@@ -583,7 +586,7 @@ OPTIONS
|
|
|
583
586
|
-v, --verbose Verbose
|
|
584
587
|
```
|
|
585
588
|
|
|
586
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
589
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/scheduler.js)_
|
|
587
590
|
|
|
588
591
|
## `saltcorn serve`
|
|
589
592
|
|
|
@@ -603,7 +606,7 @@ OPTIONS
|
|
|
603
606
|
-v, --verbose Verbose
|
|
604
607
|
```
|
|
605
608
|
|
|
606
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
609
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/serve.js)_
|
|
607
610
|
|
|
608
611
|
## `saltcorn set-cfg KEY [VALUE]`
|
|
609
612
|
|
|
@@ -624,7 +627,7 @@ OPTIONS
|
|
|
624
627
|
-t, --tenant=tenant tenant
|
|
625
628
|
```
|
|
626
629
|
|
|
627
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
630
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/set-cfg.js)_
|
|
628
631
|
|
|
629
632
|
## `saltcorn setup`
|
|
630
633
|
|
|
@@ -643,7 +646,7 @@ DESCRIPTION
|
|
|
643
646
|
configuration file
|
|
644
647
|
```
|
|
645
648
|
|
|
646
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
649
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/setup.js)_
|
|
647
650
|
|
|
648
651
|
## `saltcorn setup-benchmark`
|
|
649
652
|
|
|
@@ -657,7 +660,7 @@ OPTIONS
|
|
|
657
660
|
-t, --tenant=tenant tenant
|
|
658
661
|
```
|
|
659
662
|
|
|
660
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
663
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/setup-benchmark.js)_
|
|
661
664
|
|
|
662
665
|
## `saltcorn test-plugin PATH`
|
|
663
666
|
|
|
@@ -675,7 +678,7 @@ DESCRIPTION
|
|
|
675
678
|
Extra documentation goes here
|
|
676
679
|
```
|
|
677
680
|
|
|
678
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
681
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/test-plugin.js)_
|
|
679
682
|
|
|
680
683
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
681
684
|
|
|
@@ -692,5 +695,5 @@ ARGUMENTS
|
|
|
692
695
|
TENANT tenant name
|
|
693
696
|
```
|
|
694
697
|
|
|
695
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.
|
|
698
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.1/src/commands/transform-field.js)_
|
|
696
699
|
<!-- commandsstop -->
|