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