@saltcorn/cli 0.7.4-beta.3 → 0.8.0-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 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.3 darwin-arm64 node-v16.15.1
23
+ @saltcorn/cli/0.8.0-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.7.4-beta.3/src/commands/add-schema.js)_
82
+ _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-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.4-beta.3/src/commands/backup.js)_
98
+ _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/backup.js)_
99
99
 
100
100
  ## `saltcorn build-app`
101
101
 
@@ -112,15 +112,18 @@ OPTIONS
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
- -p, --platforms=platforms Platforms to build for space separated list
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
118
 
119
119
  --buildForEmulator build without '--device', generates no .ipa file so that iOS apps can be
120
120
  build without developer accounts
121
+
122
+ --tenantAppName=tenantAppName Optional name of a tenant application, if set, the app will be build for this
123
+ tenant
121
124
  ```
122
125
 
123
- _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/build-app.js)_
126
+ _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/build-app.js)_
124
127
 
125
128
  ## `saltcorn configuration-check`
126
129
 
@@ -134,7 +137,7 @@ OPTIONS
134
137
  -t, --tenant=tenant tenant
135
138
  ```
136
139
 
137
- _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/configuration-check.js)_
140
+ _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/configuration-check.js)_
138
141
 
139
142
  ## `saltcorn configuration-check-backups FILES`
140
143
 
@@ -148,7 +151,7 @@ ARGUMENTS
148
151
  FILES backup file to check. can be repeated, e.g. with *
149
152
  ```
150
153
 
151
- _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/configuration-check-backups.js)_
154
+ _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/configuration-check-backups.js)_
152
155
 
153
156
  ## `saltcorn create-tenant TENANT`
154
157
 
@@ -166,7 +169,7 @@ OPTIONS
166
169
  -e, --email=email Email of owner of tenant
167
170
  ```
168
171
 
169
- _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/create-tenant.js)_
172
+ _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/create-tenant.js)_
170
173
 
171
174
  ## `saltcorn create-user`
172
175
 
@@ -184,7 +187,7 @@ OPTIONS
184
187
  -t, --tenant=tenant tenant
185
188
  ```
186
189
 
187
- _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/create-user.js)_
190
+ _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/create-user.js)_
188
191
 
189
192
  ## `saltcorn delete-tenants`
190
193
 
@@ -195,7 +198,7 @@ USAGE
195
198
  $ saltcorn delete-tenants
196
199
  ```
197
200
 
198
- _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/delete-tenants.js)_
201
+ _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/delete-tenants.js)_
199
202
 
200
203
  ## `saltcorn delete-user USER_EMAIL`
201
204
 
@@ -216,7 +219,7 @@ DESCRIPTION
216
219
  Command deletes the user specified by USER_EMAIL.
217
220
  ```
218
221
 
219
- _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/delete-user.js)_
222
+ _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/delete-user.js)_
220
223
 
221
224
  ## `saltcorn fixtures`
222
225
 
@@ -235,7 +238,7 @@ DESCRIPTION
235
238
  This manual step it is never required for users and rarely required for developers
236
239
  ```
237
240
 
238
- _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/fixtures.js)_
241
+ _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/fixtures.js)_
239
242
 
240
243
  ## `saltcorn get-cfg KEY`
241
244
 
@@ -253,7 +256,7 @@ OPTIONS
253
256
  -t, --tenant=tenant tenant
254
257
  ```
255
258
 
256
- _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/get-cfg.js)_
259
+ _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/get-cfg.js)_
257
260
 
258
261
  ## `saltcorn help [COMMAND]`
259
262
 
@@ -291,7 +294,7 @@ ALIASES
291
294
  $ saltcorn paths
292
295
  ```
293
296
 
294
- _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/info.js)_
297
+ _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/info.js)_
295
298
 
296
299
  ## `saltcorn inspect TYPE [NAME]`
297
300
 
@@ -309,7 +312,7 @@ OPTIONS
309
312
  -t, --tenant=tenant tenant
310
313
  ```
311
314
 
312
- _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/inspect.js)_
315
+ _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/inspect.js)_
313
316
 
314
317
  ## `saltcorn install-pack`
315
318
 
@@ -325,7 +328,7 @@ OPTIONS
325
328
  -t, --tenant=tenant tenant
326
329
  ```
327
330
 
328
- _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/install-pack.js)_
331
+ _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/install-pack.js)_
329
332
 
330
333
  ## `saltcorn install-plugin`
331
334
 
@@ -341,7 +344,7 @@ OPTIONS
341
344
  -t, --tenant=tenant tenant
342
345
  ```
343
346
 
344
- _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/install-plugin.js)_
347
+ _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/install-plugin.js)_
345
348
 
346
349
  ## `saltcorn list-tenants`
347
350
 
@@ -352,7 +355,7 @@ USAGE
352
355
  $ saltcorn list-tenants
353
356
  ```
354
357
 
355
- _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/list-tenants.js)_
358
+ _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/list-tenants.js)_
356
359
 
357
360
  ## `saltcorn localize-plugin PLUGIN PATH`
358
361
 
@@ -370,7 +373,7 @@ OPTIONS
370
373
  -t, --tenant=tenant tenant
371
374
  ```
372
375
 
373
- _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/localize-plugin.js)_
376
+ _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/localize-plugin.js)_
374
377
 
375
378
  ## `saltcorn make-migration`
376
379
 
@@ -386,7 +389,7 @@ DESCRIPTION
386
389
  unless you are a developer.
387
390
  ```
388
391
 
389
- _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/make-migration.js)_
392
+ _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/make-migration.js)_
390
393
 
391
394
  ## `saltcorn saltcorn migrate`
392
395
 
@@ -408,7 +411,7 @@ DESCRIPTION
408
411
  servers and need to control when the migrations are run.
409
412
  ```
410
413
 
411
- _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/migrate.js)_
414
+ _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/migrate.js)_
412
415
 
413
416
  ## `saltcorn modify-user USER_EMAIL`
414
417
 
@@ -437,7 +440,7 @@ DESCRIPTION
437
440
  NOTE that -a and -r role (--role=role) can give conflict.
438
441
  ```
439
442
 
440
- _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/modify-user.js)_
443
+ _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/modify-user.js)_
441
444
 
442
445
  ## `saltcorn plugins`
443
446
 
@@ -464,7 +467,7 @@ EXAMPLES
464
467
  plugins -u -f - force plugin update
465
468
  ```
466
469
 
467
- _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/plugins.js)_
470
+ _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/plugins.js)_
468
471
 
469
472
  ## `saltcorn release VERSION`
470
473
 
@@ -478,7 +481,7 @@ ARGUMENTS
478
481
  VERSION New version number
479
482
  ```
480
483
 
481
- _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/release.js)_
484
+ _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/release.js)_
482
485
 
483
486
  ## `saltcorn reset-schema`
484
487
 
@@ -497,7 +500,7 @@ DESCRIPTION
497
500
  This will delete all existing information
498
501
  ```
499
502
 
500
- _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/reset-schema.js)_
503
+ _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/reset-schema.js)_
501
504
 
502
505
  ## `saltcorn restore FILE`
503
506
 
@@ -514,7 +517,7 @@ OPTIONS
514
517
  -t, --tenant=tenant tenant
515
518
  ```
516
519
 
517
- _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/restore.js)_
520
+ _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/restore.js)_
518
521
 
519
522
  ## `saltcorn rm-tenant`
520
523
 
@@ -533,7 +536,7 @@ DESCRIPTION
533
536
  It recommended to make backup of tenant before perform this command.
534
537
  ```
535
538
 
536
- _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/rm-tenant.js)_
539
+ _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/rm-tenant.js)_
537
540
 
538
541
  ## `saltcorn run-benchmark [BASEURL]`
539
542
 
@@ -552,7 +555,7 @@ OPTIONS
552
555
  -t, --token=token API Token for reporting results
553
556
  ```
554
557
 
555
- _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/run-benchmark.js)_
558
+ _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/run-benchmark.js)_
556
559
 
557
560
  ## `saltcorn run-tests [PACKAGE]`
558
561
 
@@ -572,7 +575,7 @@ OPTIONS
572
575
  --watchAll Watch files for changes and rerun all tests.
573
576
  ```
574
577
 
575
- _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/run-tests.js)_
578
+ _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/run-tests.js)_
576
579
 
577
580
  ## `saltcorn scheduler`
578
581
 
@@ -586,7 +589,7 @@ OPTIONS
586
589
  -v, --verbose Verbose
587
590
  ```
588
591
 
589
- _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/scheduler.js)_
592
+ _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/scheduler.js)_
590
593
 
591
594
  ## `saltcorn serve`
592
595
 
@@ -597,16 +600,17 @@ USAGE
597
600
  $ saltcorn serve
598
601
 
599
602
  OPTIONS
600
- -a, --addschema Add schema if missing
601
- -d, --dev Run in dev mode and re-start on file changes
602
- -n, --nomigrate No migrations
603
- -p, --port=port [default: 3000] port
604
- -r, --watchReaper Watch reaper
605
- -s, --noscheduler No scheduler
606
- -v, --verbose Verbose
603
+ -a, --addschema Add schema if missing
604
+ -d, --dev Run in dev mode and re-start on file changes
605
+ -n, --nomigrate No migrations
606
+ -p, --port=port [default: 3000] port
607
+ -r, --watchReaper Watch reaper
608
+ -s, --noscheduler No scheduler
609
+ -v, --verbose Verbose
610
+ --subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
607
611
  ```
608
612
 
609
- _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/serve.js)_
613
+ _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/serve.js)_
610
614
 
611
615
  ## `saltcorn set-cfg KEY [VALUE]`
612
616
 
@@ -627,7 +631,7 @@ OPTIONS
627
631
  -t, --tenant=tenant tenant
628
632
  ```
629
633
 
630
- _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/set-cfg.js)_
634
+ _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/set-cfg.js)_
631
635
 
632
636
  ## `saltcorn setup`
633
637
 
@@ -646,7 +650,7 @@ DESCRIPTION
646
650
  configuration file
647
651
  ```
648
652
 
649
- _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/setup.js)_
653
+ _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/setup.js)_
650
654
 
651
655
  ## `saltcorn setup-benchmark`
652
656
 
@@ -660,7 +664,7 @@ OPTIONS
660
664
  -t, --tenant=tenant tenant
661
665
  ```
662
666
 
663
- _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/setup-benchmark.js)_
667
+ _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/setup-benchmark.js)_
664
668
 
665
669
  ## `saltcorn test-plugin PATH`
666
670
 
@@ -678,7 +682,7 @@ DESCRIPTION
678
682
  Extra documentation goes here
679
683
  ```
680
684
 
681
- _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/test-plugin.js)_
685
+ _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/test-plugin.js)_
682
686
 
683
687
  ## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
684
688
 
@@ -695,5 +699,5 @@ ARGUMENTS
695
699
  TENANT tenant name
696
700
  ```
697
701
 
698
- _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.4-beta.3/src/commands/transform-field.js)_
702
+ _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.0-beta.0/src/commands/transform-field.js)_
699
703
  <!-- commandsstop -->