@saltcorn/cli 0.8.1-rc.3 → 0.8.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 +37 -36
- package/npm-shrinkwrap.json +309 -296
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/src/commands/build-app.js +20 -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.2-beta.0 darwin-arm64 node-v16.18.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.8.
|
|
82
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-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.8.
|
|
98
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/backup.js)_
|
|
99
99
|
|
|
100
100
|
## `saltcorn build-app`
|
|
101
101
|
|
|
@@ -108,13 +108,14 @@ USAGE
|
|
|
108
108
|
OPTIONS
|
|
109
109
|
-a, --appFileName=appFileName If set, the copied app will get this name
|
|
110
110
|
-b, --buildDirectory=buildDirectory A directory where the app should be build
|
|
111
|
-
-c, --copyAppDirectory=copyAppDirectory If set, the app file will be copied here
|
|
111
|
+
-c, --copyAppDirectory=copyAppDirectory If set, the app file will be copied here, please set 'user email', too
|
|
112
112
|
-d, --useDocker Use a docker container to build the app.
|
|
113
113
|
-e, --entryPoint=entryPoint This is the first view or page (see -t) after the login.
|
|
114
114
|
-l, --localUserTables=localUserTables user defined tables that should be replicated into the app
|
|
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
|
+
-u, --userEmail=userEmail Email of the user building the app
|
|
118
119
|
|
|
119
120
|
--buildForEmulator build without '--device', generates no .ipa file so that iOS apps can be
|
|
120
121
|
build without developer accounts
|
|
@@ -123,7 +124,7 @@ OPTIONS
|
|
|
123
124
|
tenant
|
|
124
125
|
```
|
|
125
126
|
|
|
126
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
127
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/build-app.js)_
|
|
127
128
|
|
|
128
129
|
## `saltcorn configuration-check`
|
|
129
130
|
|
|
@@ -137,7 +138,7 @@ OPTIONS
|
|
|
137
138
|
-t, --tenant=tenant tenant
|
|
138
139
|
```
|
|
139
140
|
|
|
140
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
141
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/configuration-check.js)_
|
|
141
142
|
|
|
142
143
|
## `saltcorn configuration-check-backups FILES`
|
|
143
144
|
|
|
@@ -154,7 +155,7 @@ OPTIONS
|
|
|
154
155
|
-d, --destructive destructive
|
|
155
156
|
```
|
|
156
157
|
|
|
157
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
158
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/configuration-check-backups.js)_
|
|
158
159
|
|
|
159
160
|
## `saltcorn create-tenant TENANT`
|
|
160
161
|
|
|
@@ -173,7 +174,7 @@ OPTIONS
|
|
|
173
174
|
--url=url Url of tenant
|
|
174
175
|
```
|
|
175
176
|
|
|
176
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
177
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/create-tenant.js)_
|
|
177
178
|
|
|
178
179
|
## `saltcorn create-user`
|
|
179
180
|
|
|
@@ -191,7 +192,7 @@ OPTIONS
|
|
|
191
192
|
-t, --tenant=tenant tenant
|
|
192
193
|
```
|
|
193
194
|
|
|
194
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
195
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/create-user.js)_
|
|
195
196
|
|
|
196
197
|
## `saltcorn delete-tenants`
|
|
197
198
|
|
|
@@ -202,7 +203,7 @@ USAGE
|
|
|
202
203
|
$ saltcorn delete-tenants
|
|
203
204
|
```
|
|
204
205
|
|
|
205
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
206
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/delete-tenants.js)_
|
|
206
207
|
|
|
207
208
|
## `saltcorn delete-user USER_EMAIL`
|
|
208
209
|
|
|
@@ -223,7 +224,7 @@ DESCRIPTION
|
|
|
223
224
|
Command deletes the user specified by USER_EMAIL.
|
|
224
225
|
```
|
|
225
226
|
|
|
226
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
227
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/delete-user.js)_
|
|
227
228
|
|
|
228
229
|
## `saltcorn fixtures`
|
|
229
230
|
|
|
@@ -242,7 +243,7 @@ DESCRIPTION
|
|
|
242
243
|
This manual step it is never required for users and rarely required for developers
|
|
243
244
|
```
|
|
244
245
|
|
|
245
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
246
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/fixtures.js)_
|
|
246
247
|
|
|
247
248
|
## `saltcorn get-cfg KEY`
|
|
248
249
|
|
|
@@ -260,7 +261,7 @@ OPTIONS
|
|
|
260
261
|
-t, --tenant=tenant tenant
|
|
261
262
|
```
|
|
262
263
|
|
|
263
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
264
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/get-cfg.js)_
|
|
264
265
|
|
|
265
266
|
## `saltcorn help [COMMAND]`
|
|
266
267
|
|
|
@@ -298,7 +299,7 @@ ALIASES
|
|
|
298
299
|
$ saltcorn paths
|
|
299
300
|
```
|
|
300
301
|
|
|
301
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
302
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/info.js)_
|
|
302
303
|
|
|
303
304
|
## `saltcorn inspect TYPE [NAME]`
|
|
304
305
|
|
|
@@ -316,7 +317,7 @@ OPTIONS
|
|
|
316
317
|
-t, --tenant=tenant tenant
|
|
317
318
|
```
|
|
318
319
|
|
|
319
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
320
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/inspect.js)_
|
|
320
321
|
|
|
321
322
|
## `saltcorn install-pack`
|
|
322
323
|
|
|
@@ -332,7 +333,7 @@ OPTIONS
|
|
|
332
333
|
-t, --tenant=tenant tenant
|
|
333
334
|
```
|
|
334
335
|
|
|
335
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
336
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/install-pack.js)_
|
|
336
337
|
|
|
337
338
|
## `saltcorn install-plugin`
|
|
338
339
|
|
|
@@ -348,7 +349,7 @@ OPTIONS
|
|
|
348
349
|
-t, --tenant=tenant tenant
|
|
349
350
|
```
|
|
350
351
|
|
|
351
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
352
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/install-plugin.js)_
|
|
352
353
|
|
|
353
354
|
## `saltcorn list-tenants`
|
|
354
355
|
|
|
@@ -359,7 +360,7 @@ USAGE
|
|
|
359
360
|
$ saltcorn list-tenants
|
|
360
361
|
```
|
|
361
362
|
|
|
362
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
363
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/list-tenants.js)_
|
|
363
364
|
|
|
364
365
|
## `saltcorn localize-plugin PLUGIN [PATH]`
|
|
365
366
|
|
|
@@ -378,7 +379,7 @@ OPTIONS
|
|
|
378
379
|
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
379
380
|
```
|
|
380
381
|
|
|
381
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
382
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/localize-plugin.js)_
|
|
382
383
|
|
|
383
384
|
## `saltcorn make-migration`
|
|
384
385
|
|
|
@@ -394,7 +395,7 @@ DESCRIPTION
|
|
|
394
395
|
unless you are a developer.
|
|
395
396
|
```
|
|
396
397
|
|
|
397
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
398
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/make-migration.js)_
|
|
398
399
|
|
|
399
400
|
## `saltcorn saltcorn migrate`
|
|
400
401
|
|
|
@@ -416,7 +417,7 @@ DESCRIPTION
|
|
|
416
417
|
servers and need to control when the migrations are run.
|
|
417
418
|
```
|
|
418
419
|
|
|
419
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
420
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/migrate.js)_
|
|
420
421
|
|
|
421
422
|
## `saltcorn modify-user USER_EMAIL`
|
|
422
423
|
|
|
@@ -445,7 +446,7 @@ DESCRIPTION
|
|
|
445
446
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
446
447
|
```
|
|
447
448
|
|
|
448
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
449
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/modify-user.js)_
|
|
449
450
|
|
|
450
451
|
## `saltcorn plugins`
|
|
451
452
|
|
|
@@ -472,7 +473,7 @@ EXAMPLES
|
|
|
472
473
|
plugins -u -f - force plugin update
|
|
473
474
|
```
|
|
474
475
|
|
|
475
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
476
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/plugins.js)_
|
|
476
477
|
|
|
477
478
|
## `saltcorn release VERSION`
|
|
478
479
|
|
|
@@ -486,7 +487,7 @@ ARGUMENTS
|
|
|
486
487
|
VERSION New version number
|
|
487
488
|
```
|
|
488
489
|
|
|
489
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
490
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/release.js)_
|
|
490
491
|
|
|
491
492
|
## `saltcorn reset-schema`
|
|
492
493
|
|
|
@@ -505,7 +506,7 @@ DESCRIPTION
|
|
|
505
506
|
This will delete all existing information
|
|
506
507
|
```
|
|
507
508
|
|
|
508
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
509
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/reset-schema.js)_
|
|
509
510
|
|
|
510
511
|
## `saltcorn restore FILE`
|
|
511
512
|
|
|
@@ -522,7 +523,7 @@ OPTIONS
|
|
|
522
523
|
-t, --tenant=tenant tenant
|
|
523
524
|
```
|
|
524
525
|
|
|
525
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
526
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/restore.js)_
|
|
526
527
|
|
|
527
528
|
## `saltcorn rm-tenant`
|
|
528
529
|
|
|
@@ -541,7 +542,7 @@ DESCRIPTION
|
|
|
541
542
|
It recommended to make backup of tenant before perform this command.
|
|
542
543
|
```
|
|
543
544
|
|
|
544
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
545
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/rm-tenant.js)_
|
|
545
546
|
|
|
546
547
|
## `saltcorn run-benchmark [BASEURL]`
|
|
547
548
|
|
|
@@ -560,7 +561,7 @@ OPTIONS
|
|
|
560
561
|
-t, --token=token API Token for reporting results
|
|
561
562
|
```
|
|
562
563
|
|
|
563
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
564
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/run-benchmark.js)_
|
|
564
565
|
|
|
565
566
|
## `saltcorn run-tests [PACKAGE]`
|
|
566
567
|
|
|
@@ -583,7 +584,7 @@ OPTIONS
|
|
|
583
584
|
--watchAll Watch files for changes and rerun all tests.
|
|
584
585
|
```
|
|
585
586
|
|
|
586
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
587
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/run-tests.js)_
|
|
587
588
|
|
|
588
589
|
## `saltcorn scheduler`
|
|
589
590
|
|
|
@@ -597,7 +598,7 @@ OPTIONS
|
|
|
597
598
|
-v, --verbose Verbose
|
|
598
599
|
```
|
|
599
600
|
|
|
600
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
601
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/scheduler.js)_
|
|
601
602
|
|
|
602
603
|
## `saltcorn serve`
|
|
603
604
|
|
|
@@ -618,7 +619,7 @@ OPTIONS
|
|
|
618
619
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
619
620
|
```
|
|
620
621
|
|
|
621
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
622
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/serve.js)_
|
|
622
623
|
|
|
623
624
|
## `saltcorn set-cfg KEY [VALUE]`
|
|
624
625
|
|
|
@@ -639,7 +640,7 @@ OPTIONS
|
|
|
639
640
|
-t, --tenant=tenant tenant
|
|
640
641
|
```
|
|
641
642
|
|
|
642
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
643
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/set-cfg.js)_
|
|
643
644
|
|
|
644
645
|
## `saltcorn setup`
|
|
645
646
|
|
|
@@ -658,7 +659,7 @@ DESCRIPTION
|
|
|
658
659
|
configuration file
|
|
659
660
|
```
|
|
660
661
|
|
|
661
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
662
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/setup.js)_
|
|
662
663
|
|
|
663
664
|
## `saltcorn setup-benchmark`
|
|
664
665
|
|
|
@@ -672,7 +673,7 @@ OPTIONS
|
|
|
672
673
|
-t, --tenant=tenant tenant
|
|
673
674
|
```
|
|
674
675
|
|
|
675
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
676
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/setup-benchmark.js)_
|
|
676
677
|
|
|
677
678
|
## `saltcorn test-plugin PATH`
|
|
678
679
|
|
|
@@ -690,7 +691,7 @@ DESCRIPTION
|
|
|
690
691
|
Extra documentation goes here
|
|
691
692
|
```
|
|
692
693
|
|
|
693
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
694
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/test-plugin.js)_
|
|
694
695
|
|
|
695
696
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
696
697
|
|
|
@@ -707,5 +708,5 @@ ARGUMENTS
|
|
|
707
708
|
TENANT tenant name
|
|
708
709
|
```
|
|
709
710
|
|
|
710
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.
|
|
711
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.2-beta.0/src/commands/transform-field.js)_
|
|
711
712
|
<!-- commandsstop -->
|