@saltcorn/cli 0.8.6-beta.1 → 0.8.6-beta.3

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.8.6-beta.1 linux-x64 node-v18.7.0
23
+ @saltcorn/cli/0.8.6-beta.3 linux-x64 node-v18.7.0
24
24
  $ saltcorn --help [COMMAND]
25
25
  USAGE
26
26
  $ saltcorn COMMAND
@@ -82,7 +82,7 @@ OPTIONS
82
82
  -f, --force force command execution
83
83
  ```
84
84
 
85
- _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/add-schema.js)_
85
+ _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/add-schema.js)_
86
86
 
87
87
  ## `saltcorn backup`
88
88
 
@@ -98,7 +98,7 @@ OPTIONS
98
98
  -z, --zip zip format
99
99
  ```
100
100
 
101
- _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/backup.js)_
101
+ _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/backup.js)_
102
102
 
103
103
  ## `saltcorn build-app`
104
104
 
@@ -120,6 +120,9 @@ OPTIONS
120
120
  -t, --entryPointType=entryPointType Type of the entry point ('view' or 'page'). The default is 'view'.
121
121
  -u, --userEmail=userEmail Email of the user building the app
122
122
 
123
+ --allowOfflineMode Switch to offline mode when there is no internet, sync the data when a
124
+ connection is available again.
125
+
123
126
  --buildForEmulator build without '--device', generates no .ipa file so that iOS apps can be
124
127
  build without developer accounts
125
128
 
@@ -127,7 +130,7 @@ OPTIONS
127
130
  tenant
128
131
  ```
129
132
 
130
- _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/build-app.js)_
133
+ _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/build-app.js)_
131
134
 
132
135
  ## `saltcorn build-cordova-builder`
133
136
 
@@ -138,7 +141,7 @@ USAGE
138
141
  $ saltcorn build-cordova-builder
139
142
  ```
140
143
 
141
- _See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/build-cordova-builder.js)_
144
+ _See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/build-cordova-builder.js)_
142
145
 
143
146
  ## `saltcorn configuration-check`
144
147
 
@@ -152,7 +155,7 @@ OPTIONS
152
155
  -t, --tenant=tenant tenant
153
156
  ```
154
157
 
155
- _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/configuration-check.js)_
158
+ _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/configuration-check.js)_
156
159
 
157
160
  ## `saltcorn configuration-check-backups FILES`
158
161
 
@@ -169,7 +172,7 @@ OPTIONS
169
172
  -d, --destructive destructive
170
173
  ```
171
174
 
172
- _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/configuration-check-backups.js)_
175
+ _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/configuration-check-backups.js)_
173
176
 
174
177
  ## `saltcorn create-tenant TENANT`
175
178
 
@@ -188,7 +191,7 @@ OPTIONS
188
191
  --url=url Url of tenant
189
192
  ```
190
193
 
191
- _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/create-tenant.js)_
194
+ _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/create-tenant.js)_
192
195
 
193
196
  ## `saltcorn create-user`
194
197
 
@@ -206,7 +209,7 @@ OPTIONS
206
209
  -t, --tenant=tenant tenant
207
210
  ```
208
211
 
209
- _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/create-user.js)_
212
+ _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/create-user.js)_
210
213
 
211
214
  ## `saltcorn delete-tenants`
212
215
 
@@ -217,7 +220,7 @@ USAGE
217
220
  $ saltcorn delete-tenants
218
221
  ```
219
222
 
220
- _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/delete-tenants.js)_
223
+ _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/delete-tenants.js)_
221
224
 
222
225
  ## `saltcorn delete-user USER_EMAIL`
223
226
 
@@ -238,7 +241,7 @@ DESCRIPTION
238
241
  Command deletes the user specified by USER_EMAIL.
239
242
  ```
240
243
 
241
- _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/delete-user.js)_
244
+ _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/delete-user.js)_
242
245
 
243
246
  ## `saltcorn fixtures`
244
247
 
@@ -257,7 +260,7 @@ DESCRIPTION
257
260
  This manual step it is never required for users and rarely required for developers
258
261
  ```
259
262
 
260
- _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/fixtures.js)_
263
+ _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/fixtures.js)_
261
264
 
262
265
  ## `saltcorn get-cfg [KEY]`
263
266
 
@@ -275,7 +278,7 @@ OPTIONS
275
278
  -t, --tenant=tenant tenant
276
279
  ```
277
280
 
278
- _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/get-cfg.js)_
281
+ _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/get-cfg.js)_
279
282
 
280
283
  ## `saltcorn help [COMMAND]`
281
284
 
@@ -313,7 +316,7 @@ ALIASES
313
316
  $ saltcorn paths
314
317
  ```
315
318
 
316
- _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/info.js)_
319
+ _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/info.js)_
317
320
 
318
321
  ## `saltcorn inspect TYPE [NAME]`
319
322
 
@@ -331,7 +334,7 @@ OPTIONS
331
334
  -t, --tenant=tenant tenant
332
335
  ```
333
336
 
334
- _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/inspect.js)_
337
+ _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/inspect.js)_
335
338
 
336
339
  ## `saltcorn install-pack`
337
340
 
@@ -347,7 +350,7 @@ OPTIONS
347
350
  -t, --tenant=tenant tenant
348
351
  ```
349
352
 
350
- _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/install-pack.js)_
353
+ _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/install-pack.js)_
351
354
 
352
355
  ## `saltcorn install-plugin`
353
356
 
@@ -363,7 +366,7 @@ OPTIONS
363
366
  -t, --tenant=tenant tenant
364
367
  ```
365
368
 
366
- _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/install-plugin.js)_
369
+ _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/install-plugin.js)_
367
370
 
368
371
  ## `saltcorn list-tenants`
369
372
 
@@ -374,7 +377,7 @@ USAGE
374
377
  $ saltcorn list-tenants
375
378
  ```
376
379
 
377
- _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/list-tenants.js)_
380
+ _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/list-tenants.js)_
378
381
 
379
382
  ## `saltcorn localize-plugin PLUGIN [PATH]`
380
383
 
@@ -393,7 +396,7 @@ OPTIONS
393
396
  -u, --unlocalize Unlocalize plugin (local to npm)
394
397
  ```
395
398
 
396
- _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/localize-plugin.js)_
399
+ _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/localize-plugin.js)_
397
400
 
398
401
  ## `saltcorn make-migration`
399
402
 
@@ -409,7 +412,7 @@ DESCRIPTION
409
412
  unless you are a developer.
410
413
  ```
411
414
 
412
- _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/make-migration.js)_
415
+ _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/make-migration.js)_
413
416
 
414
417
  ## `saltcorn saltcorn migrate`
415
418
 
@@ -431,7 +434,7 @@ DESCRIPTION
431
434
  servers and need to control when the migrations are run.
432
435
  ```
433
436
 
434
- _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/migrate.js)_
437
+ _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/migrate.js)_
435
438
 
436
439
  ## `saltcorn modify-user USER_EMAIL`
437
440
 
@@ -460,7 +463,7 @@ DESCRIPTION
460
463
  NOTE that -a and -r role (--role=role) can give conflict.
461
464
  ```
462
465
 
463
- _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/modify-user.js)_
466
+ _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/modify-user.js)_
464
467
 
465
468
  ## `saltcorn plugins`
466
469
 
@@ -487,7 +490,7 @@ EXAMPLES
487
490
  plugins -u -f - force plugin update
488
491
  ```
489
492
 
490
- _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/plugins.js)_
493
+ _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/plugins.js)_
491
494
 
492
495
  ## `saltcorn release VERSION`
493
496
 
@@ -501,7 +504,7 @@ ARGUMENTS
501
504
  VERSION New version number
502
505
  ```
503
506
 
504
- _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/release.js)_
507
+ _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/release.js)_
505
508
 
506
509
  ## `saltcorn reset-schema`
507
510
 
@@ -520,7 +523,7 @@ DESCRIPTION
520
523
  This will delete all existing information
521
524
  ```
522
525
 
523
- _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/reset-schema.js)_
526
+ _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/reset-schema.js)_
524
527
 
525
528
  ## `saltcorn restore FILE`
526
529
 
@@ -537,7 +540,7 @@ OPTIONS
537
540
  -t, --tenant=tenant tenant
538
541
  ```
539
542
 
540
- _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/restore.js)_
543
+ _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/restore.js)_
541
544
 
542
545
  ## `saltcorn rm-tenant`
543
546
 
@@ -556,7 +559,7 @@ DESCRIPTION
556
559
  It recommended to make backup of tenant before perform this command.
557
560
  ```
558
561
 
559
- _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/rm-tenant.js)_
562
+ _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/rm-tenant.js)_
560
563
 
561
564
  ## `saltcorn run-benchmark [BASEURL]`
562
565
 
@@ -575,7 +578,7 @@ OPTIONS
575
578
  -t, --token=token API Token for reporting results
576
579
  ```
577
580
 
578
- _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/run-benchmark.js)_
581
+ _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/run-benchmark.js)_
579
582
 
580
583
  ## `saltcorn run-tests [PACKAGE]`
581
584
 
@@ -594,11 +597,12 @@ OPTIONS
594
597
  -l, --listTests List tests
595
598
  -t, --testFilter=testFilter Filter tests by suite or test name
596
599
  -v, --verbose Verbose
600
+ --database=database Run on specified database. Default is saltcorn_test
597
601
  --watch Watch files for changes and rerun tests related to changed files.
598
602
  --watchAll Watch files for changes and rerun all tests.
599
603
  ```
600
604
 
601
- _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/run-tests.js)_
605
+ _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/run-tests.js)_
602
606
 
603
607
  ## `saltcorn run-trigger TRIGGER`
604
608
 
@@ -615,7 +619,7 @@ OPTIONS
615
619
  -t, --tenant=tenant tenant
616
620
  ```
617
621
 
618
- _See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/run-trigger.js)_
622
+ _See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/run-trigger.js)_
619
623
 
620
624
  ## `saltcorn scheduler`
621
625
 
@@ -629,7 +633,7 @@ OPTIONS
629
633
  -v, --verbose Verbose
630
634
  ```
631
635
 
632
- _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/scheduler.js)_
636
+ _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/scheduler.js)_
633
637
 
634
638
  ## `saltcorn serve`
635
639
 
@@ -650,7 +654,7 @@ OPTIONS
650
654
  --subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
651
655
  ```
652
656
 
653
- _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/serve.js)_
657
+ _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/serve.js)_
654
658
 
655
659
  ## `saltcorn set-cfg [KEY] [VALUE]`
656
660
 
@@ -671,7 +675,7 @@ OPTIONS
671
675
  -t, --tenant=tenant tenant
672
676
  ```
673
677
 
674
- _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/set-cfg.js)_
678
+ _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/set-cfg.js)_
675
679
 
676
680
  ## `saltcorn setup`
677
681
 
@@ -690,7 +694,7 @@ DESCRIPTION
690
694
  configuration file
691
695
  ```
692
696
 
693
- _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/setup.js)_
697
+ _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/setup.js)_
694
698
 
695
699
  ## `saltcorn setup-benchmark`
696
700
 
@@ -704,7 +708,7 @@ OPTIONS
704
708
  -t, --tenant=tenant tenant
705
709
  ```
706
710
 
707
- _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/setup-benchmark.js)_
711
+ _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/setup-benchmark.js)_
708
712
 
709
713
  ## `saltcorn take-snapshot`
710
714
 
@@ -715,10 +719,11 @@ USAGE
715
719
  $ saltcorn take-snapshot
716
720
 
717
721
  OPTIONS
722
+ -f, --fresh fresh
718
723
  -t, --tenant=tenant tenant
719
724
  ```
720
725
 
721
- _See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/take-snapshot.js)_
726
+ _See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/take-snapshot.js)_
722
727
 
723
728
  ## `saltcorn test-plugin PATH`
724
729
 
@@ -736,7 +741,7 @@ DESCRIPTION
736
741
  Extra documentation goes here
737
742
  ```
738
743
 
739
- _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/test-plugin.js)_
744
+ _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/test-plugin.js)_
740
745
 
741
746
  ## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
742
747
 
@@ -753,5 +758,5 @@ ARGUMENTS
753
758
  TENANT tenant name
754
759
  ```
755
760
 
756
- _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.1/src/commands/transform-field.js)_
761
+ _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.3/src/commands/transform-field.js)_
757
762
  <!-- commandsstop -->