@saltcorn/cli 0.7.3-beta.6 → 0.7.4-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 +37 -36
- package/npm-shrinkwrap.json +485 -503
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/src/commands/build-app.js +9 -2
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.0 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.0/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.0/src/commands/backup.js)_
|
|
99
99
|
|
|
100
100
|
## `saltcorn build-app`
|
|
101
101
|
|
|
@@ -110,13 +110,14 @@ 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'.
|
|
117
118
|
```
|
|
118
119
|
|
|
119
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
120
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/build-app.js)_
|
|
120
121
|
|
|
121
122
|
## `saltcorn configuration-check`
|
|
122
123
|
|
|
@@ -130,7 +131,7 @@ OPTIONS
|
|
|
130
131
|
-t, --tenant=tenant tenant
|
|
131
132
|
```
|
|
132
133
|
|
|
133
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
134
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/configuration-check.js)_
|
|
134
135
|
|
|
135
136
|
## `saltcorn configuration-check-backups FILES`
|
|
136
137
|
|
|
@@ -144,7 +145,7 @@ ARGUMENTS
|
|
|
144
145
|
FILES backup file to check. can be repeated, e.g. with *
|
|
145
146
|
```
|
|
146
147
|
|
|
147
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
148
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/configuration-check-backups.js)_
|
|
148
149
|
|
|
149
150
|
## `saltcorn create-tenant TENANT`
|
|
150
151
|
|
|
@@ -162,7 +163,7 @@ OPTIONS
|
|
|
162
163
|
-e, --email=email Email of owner of tenant
|
|
163
164
|
```
|
|
164
165
|
|
|
165
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
166
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/create-tenant.js)_
|
|
166
167
|
|
|
167
168
|
## `saltcorn create-user`
|
|
168
169
|
|
|
@@ -180,7 +181,7 @@ OPTIONS
|
|
|
180
181
|
-t, --tenant=tenant tenant
|
|
181
182
|
```
|
|
182
183
|
|
|
183
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
184
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/create-user.js)_
|
|
184
185
|
|
|
185
186
|
## `saltcorn delete-tenants`
|
|
186
187
|
|
|
@@ -191,7 +192,7 @@ USAGE
|
|
|
191
192
|
$ saltcorn delete-tenants
|
|
192
193
|
```
|
|
193
194
|
|
|
194
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
195
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/delete-tenants.js)_
|
|
195
196
|
|
|
196
197
|
## `saltcorn delete-user USER_EMAIL`
|
|
197
198
|
|
|
@@ -212,7 +213,7 @@ DESCRIPTION
|
|
|
212
213
|
Command deletes the user specified by USER_EMAIL.
|
|
213
214
|
```
|
|
214
215
|
|
|
215
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
216
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/delete-user.js)_
|
|
216
217
|
|
|
217
218
|
## `saltcorn fixtures`
|
|
218
219
|
|
|
@@ -231,7 +232,7 @@ DESCRIPTION
|
|
|
231
232
|
This manual step it is never required for users and rarely required for developers
|
|
232
233
|
```
|
|
233
234
|
|
|
234
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
235
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/fixtures.js)_
|
|
235
236
|
|
|
236
237
|
## `saltcorn get-cfg KEY`
|
|
237
238
|
|
|
@@ -249,7 +250,7 @@ OPTIONS
|
|
|
249
250
|
-t, --tenant=tenant tenant
|
|
250
251
|
```
|
|
251
252
|
|
|
252
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
253
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/get-cfg.js)_
|
|
253
254
|
|
|
254
255
|
## `saltcorn help [COMMAND]`
|
|
255
256
|
|
|
@@ -287,7 +288,7 @@ ALIASES
|
|
|
287
288
|
$ saltcorn paths
|
|
288
289
|
```
|
|
289
290
|
|
|
290
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
291
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/info.js)_
|
|
291
292
|
|
|
292
293
|
## `saltcorn inspect TYPE [NAME]`
|
|
293
294
|
|
|
@@ -305,7 +306,7 @@ OPTIONS
|
|
|
305
306
|
-t, --tenant=tenant tenant
|
|
306
307
|
```
|
|
307
308
|
|
|
308
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
309
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/inspect.js)_
|
|
309
310
|
|
|
310
311
|
## `saltcorn install-pack`
|
|
311
312
|
|
|
@@ -321,7 +322,7 @@ OPTIONS
|
|
|
321
322
|
-t, --tenant=tenant tenant
|
|
322
323
|
```
|
|
323
324
|
|
|
324
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
325
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/install-pack.js)_
|
|
325
326
|
|
|
326
327
|
## `saltcorn install-plugin`
|
|
327
328
|
|
|
@@ -337,7 +338,7 @@ OPTIONS
|
|
|
337
338
|
-t, --tenant=tenant tenant
|
|
338
339
|
```
|
|
339
340
|
|
|
340
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
341
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/install-plugin.js)_
|
|
341
342
|
|
|
342
343
|
## `saltcorn list-tenants`
|
|
343
344
|
|
|
@@ -348,7 +349,7 @@ USAGE
|
|
|
348
349
|
$ saltcorn list-tenants
|
|
349
350
|
```
|
|
350
351
|
|
|
351
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
352
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/list-tenants.js)_
|
|
352
353
|
|
|
353
354
|
## `saltcorn localize-plugin PLUGIN PATH`
|
|
354
355
|
|
|
@@ -366,7 +367,7 @@ OPTIONS
|
|
|
366
367
|
-t, --tenant=tenant tenant
|
|
367
368
|
```
|
|
368
369
|
|
|
369
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
370
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/localize-plugin.js)_
|
|
370
371
|
|
|
371
372
|
## `saltcorn make-migration`
|
|
372
373
|
|
|
@@ -382,7 +383,7 @@ DESCRIPTION
|
|
|
382
383
|
unless you are a developer.
|
|
383
384
|
```
|
|
384
385
|
|
|
385
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
386
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/make-migration.js)_
|
|
386
387
|
|
|
387
388
|
## `saltcorn saltcorn migrate`
|
|
388
389
|
|
|
@@ -404,7 +405,7 @@ DESCRIPTION
|
|
|
404
405
|
servers and need to control when the migrations are run.
|
|
405
406
|
```
|
|
406
407
|
|
|
407
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
408
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/migrate.js)_
|
|
408
409
|
|
|
409
410
|
## `saltcorn modify-user USER_EMAIL`
|
|
410
411
|
|
|
@@ -433,7 +434,7 @@ DESCRIPTION
|
|
|
433
434
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
434
435
|
```
|
|
435
436
|
|
|
436
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
437
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/modify-user.js)_
|
|
437
438
|
|
|
438
439
|
## `saltcorn plugins`
|
|
439
440
|
|
|
@@ -460,7 +461,7 @@ EXAMPLES
|
|
|
460
461
|
plugins -u -f - force plugin update
|
|
461
462
|
```
|
|
462
463
|
|
|
463
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
464
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/plugins.js)_
|
|
464
465
|
|
|
465
466
|
## `saltcorn release VERSION`
|
|
466
467
|
|
|
@@ -474,7 +475,7 @@ ARGUMENTS
|
|
|
474
475
|
VERSION New version number
|
|
475
476
|
```
|
|
476
477
|
|
|
477
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
478
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/release.js)_
|
|
478
479
|
|
|
479
480
|
## `saltcorn reset-schema`
|
|
480
481
|
|
|
@@ -493,7 +494,7 @@ DESCRIPTION
|
|
|
493
494
|
This will delete all existing information
|
|
494
495
|
```
|
|
495
496
|
|
|
496
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
497
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/reset-schema.js)_
|
|
497
498
|
|
|
498
499
|
## `saltcorn restore FILE`
|
|
499
500
|
|
|
@@ -510,7 +511,7 @@ OPTIONS
|
|
|
510
511
|
-t, --tenant=tenant tenant
|
|
511
512
|
```
|
|
512
513
|
|
|
513
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
514
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/restore.js)_
|
|
514
515
|
|
|
515
516
|
## `saltcorn rm-tenant`
|
|
516
517
|
|
|
@@ -529,7 +530,7 @@ DESCRIPTION
|
|
|
529
530
|
It recommended to make backup of tenant before perform this command.
|
|
530
531
|
```
|
|
531
532
|
|
|
532
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
533
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/rm-tenant.js)_
|
|
533
534
|
|
|
534
535
|
## `saltcorn run-benchmark [BASEURL]`
|
|
535
536
|
|
|
@@ -548,7 +549,7 @@ OPTIONS
|
|
|
548
549
|
-t, --token=token API Token for reporting results
|
|
549
550
|
```
|
|
550
551
|
|
|
551
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
552
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/run-benchmark.js)_
|
|
552
553
|
|
|
553
554
|
## `saltcorn run-tests [PACKAGE]`
|
|
554
555
|
|
|
@@ -568,7 +569,7 @@ OPTIONS
|
|
|
568
569
|
--watchAll Watch files for changes and rerun all tests.
|
|
569
570
|
```
|
|
570
571
|
|
|
571
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
572
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/run-tests.js)_
|
|
572
573
|
|
|
573
574
|
## `saltcorn scheduler`
|
|
574
575
|
|
|
@@ -582,7 +583,7 @@ OPTIONS
|
|
|
582
583
|
-v, --verbose Verbose
|
|
583
584
|
```
|
|
584
585
|
|
|
585
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
586
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/scheduler.js)_
|
|
586
587
|
|
|
587
588
|
## `saltcorn serve`
|
|
588
589
|
|
|
@@ -602,7 +603,7 @@ OPTIONS
|
|
|
602
603
|
-v, --verbose Verbose
|
|
603
604
|
```
|
|
604
605
|
|
|
605
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
606
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/serve.js)_
|
|
606
607
|
|
|
607
608
|
## `saltcorn set-cfg KEY [VALUE]`
|
|
608
609
|
|
|
@@ -623,7 +624,7 @@ OPTIONS
|
|
|
623
624
|
-t, --tenant=tenant tenant
|
|
624
625
|
```
|
|
625
626
|
|
|
626
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
627
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/set-cfg.js)_
|
|
627
628
|
|
|
628
629
|
## `saltcorn setup`
|
|
629
630
|
|
|
@@ -642,7 +643,7 @@ DESCRIPTION
|
|
|
642
643
|
configuration file
|
|
643
644
|
```
|
|
644
645
|
|
|
645
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
646
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/setup.js)_
|
|
646
647
|
|
|
647
648
|
## `saltcorn setup-benchmark`
|
|
648
649
|
|
|
@@ -656,7 +657,7 @@ OPTIONS
|
|
|
656
657
|
-t, --tenant=tenant tenant
|
|
657
658
|
```
|
|
658
659
|
|
|
659
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
660
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/setup-benchmark.js)_
|
|
660
661
|
|
|
661
662
|
## `saltcorn test-plugin PATH`
|
|
662
663
|
|
|
@@ -674,7 +675,7 @@ DESCRIPTION
|
|
|
674
675
|
Extra documentation goes here
|
|
675
676
|
```
|
|
676
677
|
|
|
677
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
678
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/test-plugin.js)_
|
|
678
679
|
|
|
679
680
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
680
681
|
|
|
@@ -691,5 +692,5 @@ ARGUMENTS
|
|
|
691
692
|
TENANT tenant name
|
|
692
693
|
```
|
|
693
694
|
|
|
694
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.
|
|
695
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.0/src/commands/transform-field.js)_
|
|
695
696
|
<!-- commandsstop -->
|