@saltcorn/cli 0.8.1-rc.2 → 0.8.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 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.1-rc.2 darwin-arm64 node-v16.18.1
23
+ @saltcorn/cli/0.8.1 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.1-rc.2/src/commands/add-schema.js)_
82
+ _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.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.8.1-rc.2/src/commands/backup.js)_
98
+ _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/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.1-rc.2/src/commands/build-app.js)_
127
+ _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/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.1-rc.2/src/commands/configuration-check.js)_
141
+ _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/configuration-check.js)_
141
142
 
142
143
  ## `saltcorn configuration-check-backups FILES`
143
144
 
@@ -149,9 +150,12 @@ USAGE
149
150
 
150
151
  ARGUMENTS
151
152
  FILES backup file to check. can be repeated, e.g. with *
153
+
154
+ OPTIONS
155
+ -d, --destructive destructive
152
156
  ```
153
157
 
154
- _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/configuration-check-backups.js)_
158
+ _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/configuration-check-backups.js)_
155
159
 
156
160
  ## `saltcorn create-tenant TENANT`
157
161
 
@@ -170,7 +174,7 @@ OPTIONS
170
174
  --url=url Url of tenant
171
175
  ```
172
176
 
173
- _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/create-tenant.js)_
177
+ _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/create-tenant.js)_
174
178
 
175
179
  ## `saltcorn create-user`
176
180
 
@@ -188,7 +192,7 @@ OPTIONS
188
192
  -t, --tenant=tenant tenant
189
193
  ```
190
194
 
191
- _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/create-user.js)_
195
+ _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/create-user.js)_
192
196
 
193
197
  ## `saltcorn delete-tenants`
194
198
 
@@ -199,7 +203,7 @@ USAGE
199
203
  $ saltcorn delete-tenants
200
204
  ```
201
205
 
202
- _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/delete-tenants.js)_
206
+ _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/delete-tenants.js)_
203
207
 
204
208
  ## `saltcorn delete-user USER_EMAIL`
205
209
 
@@ -220,7 +224,7 @@ DESCRIPTION
220
224
  Command deletes the user specified by USER_EMAIL.
221
225
  ```
222
226
 
223
- _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/delete-user.js)_
227
+ _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/delete-user.js)_
224
228
 
225
229
  ## `saltcorn fixtures`
226
230
 
@@ -239,7 +243,7 @@ DESCRIPTION
239
243
  This manual step it is never required for users and rarely required for developers
240
244
  ```
241
245
 
242
- _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/fixtures.js)_
246
+ _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/fixtures.js)_
243
247
 
244
248
  ## `saltcorn get-cfg KEY`
245
249
 
@@ -257,7 +261,7 @@ OPTIONS
257
261
  -t, --tenant=tenant tenant
258
262
  ```
259
263
 
260
- _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/get-cfg.js)_
264
+ _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/get-cfg.js)_
261
265
 
262
266
  ## `saltcorn help [COMMAND]`
263
267
 
@@ -295,7 +299,7 @@ ALIASES
295
299
  $ saltcorn paths
296
300
  ```
297
301
 
298
- _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/info.js)_
302
+ _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/info.js)_
299
303
 
300
304
  ## `saltcorn inspect TYPE [NAME]`
301
305
 
@@ -313,7 +317,7 @@ OPTIONS
313
317
  -t, --tenant=tenant tenant
314
318
  ```
315
319
 
316
- _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/inspect.js)_
320
+ _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/inspect.js)_
317
321
 
318
322
  ## `saltcorn install-pack`
319
323
 
@@ -329,7 +333,7 @@ OPTIONS
329
333
  -t, --tenant=tenant tenant
330
334
  ```
331
335
 
332
- _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/install-pack.js)_
336
+ _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/install-pack.js)_
333
337
 
334
338
  ## `saltcorn install-plugin`
335
339
 
@@ -345,7 +349,7 @@ OPTIONS
345
349
  -t, --tenant=tenant tenant
346
350
  ```
347
351
 
348
- _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/install-plugin.js)_
352
+ _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/install-plugin.js)_
349
353
 
350
354
  ## `saltcorn list-tenants`
351
355
 
@@ -356,7 +360,7 @@ USAGE
356
360
  $ saltcorn list-tenants
357
361
  ```
358
362
 
359
- _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/list-tenants.js)_
363
+ _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/list-tenants.js)_
360
364
 
361
365
  ## `saltcorn localize-plugin PLUGIN [PATH]`
362
366
 
@@ -375,7 +379,7 @@ OPTIONS
375
379
  -u, --unlocalize Unlocalize plugin (local to npm)
376
380
  ```
377
381
 
378
- _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/localize-plugin.js)_
382
+ _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/localize-plugin.js)_
379
383
 
380
384
  ## `saltcorn make-migration`
381
385
 
@@ -391,7 +395,7 @@ DESCRIPTION
391
395
  unless you are a developer.
392
396
  ```
393
397
 
394
- _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/make-migration.js)_
398
+ _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/make-migration.js)_
395
399
 
396
400
  ## `saltcorn saltcorn migrate`
397
401
 
@@ -413,7 +417,7 @@ DESCRIPTION
413
417
  servers and need to control when the migrations are run.
414
418
  ```
415
419
 
416
- _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/migrate.js)_
420
+ _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/migrate.js)_
417
421
 
418
422
  ## `saltcorn modify-user USER_EMAIL`
419
423
 
@@ -442,7 +446,7 @@ DESCRIPTION
442
446
  NOTE that -a and -r role (--role=role) can give conflict.
443
447
  ```
444
448
 
445
- _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/modify-user.js)_
449
+ _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/modify-user.js)_
446
450
 
447
451
  ## `saltcorn plugins`
448
452
 
@@ -469,7 +473,7 @@ EXAMPLES
469
473
  plugins -u -f - force plugin update
470
474
  ```
471
475
 
472
- _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/plugins.js)_
476
+ _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/plugins.js)_
473
477
 
474
478
  ## `saltcorn release VERSION`
475
479
 
@@ -483,7 +487,7 @@ ARGUMENTS
483
487
  VERSION New version number
484
488
  ```
485
489
 
486
- _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/release.js)_
490
+ _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/release.js)_
487
491
 
488
492
  ## `saltcorn reset-schema`
489
493
 
@@ -502,7 +506,7 @@ DESCRIPTION
502
506
  This will delete all existing information
503
507
  ```
504
508
 
505
- _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/reset-schema.js)_
509
+ _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/reset-schema.js)_
506
510
 
507
511
  ## `saltcorn restore FILE`
508
512
 
@@ -519,7 +523,7 @@ OPTIONS
519
523
  -t, --tenant=tenant tenant
520
524
  ```
521
525
 
522
- _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/restore.js)_
526
+ _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/restore.js)_
523
527
 
524
528
  ## `saltcorn rm-tenant`
525
529
 
@@ -538,7 +542,7 @@ DESCRIPTION
538
542
  It recommended to make backup of tenant before perform this command.
539
543
  ```
540
544
 
541
- _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/rm-tenant.js)_
545
+ _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/rm-tenant.js)_
542
546
 
543
547
  ## `saltcorn run-benchmark [BASEURL]`
544
548
 
@@ -557,7 +561,7 @@ OPTIONS
557
561
  -t, --token=token API Token for reporting results
558
562
  ```
559
563
 
560
- _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/run-benchmark.js)_
564
+ _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/run-benchmark.js)_
561
565
 
562
566
  ## `saltcorn run-tests [PACKAGE]`
563
567
 
@@ -580,7 +584,7 @@ OPTIONS
580
584
  --watchAll Watch files for changes and rerun all tests.
581
585
  ```
582
586
 
583
- _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/run-tests.js)_
587
+ _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/run-tests.js)_
584
588
 
585
589
  ## `saltcorn scheduler`
586
590
 
@@ -594,7 +598,7 @@ OPTIONS
594
598
  -v, --verbose Verbose
595
599
  ```
596
600
 
597
- _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/scheduler.js)_
601
+ _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/scheduler.js)_
598
602
 
599
603
  ## `saltcorn serve`
600
604
 
@@ -615,7 +619,7 @@ OPTIONS
615
619
  --subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
616
620
  ```
617
621
 
618
- _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/serve.js)_
622
+ _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/serve.js)_
619
623
 
620
624
  ## `saltcorn set-cfg KEY [VALUE]`
621
625
 
@@ -636,7 +640,7 @@ OPTIONS
636
640
  -t, --tenant=tenant tenant
637
641
  ```
638
642
 
639
- _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/set-cfg.js)_
643
+ _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/set-cfg.js)_
640
644
 
641
645
  ## `saltcorn setup`
642
646
 
@@ -655,7 +659,7 @@ DESCRIPTION
655
659
  configuration file
656
660
  ```
657
661
 
658
- _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/setup.js)_
662
+ _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/setup.js)_
659
663
 
660
664
  ## `saltcorn setup-benchmark`
661
665
 
@@ -669,7 +673,7 @@ OPTIONS
669
673
  -t, --tenant=tenant tenant
670
674
  ```
671
675
 
672
- _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/setup-benchmark.js)_
676
+ _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/setup-benchmark.js)_
673
677
 
674
678
  ## `saltcorn test-plugin PATH`
675
679
 
@@ -687,7 +691,7 @@ DESCRIPTION
687
691
  Extra documentation goes here
688
692
  ```
689
693
 
690
- _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/test-plugin.js)_
694
+ _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/test-plugin.js)_
691
695
 
692
696
  ## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
693
697
 
@@ -704,5 +708,5 @@ ARGUMENTS
704
708
  TENANT tenant name
705
709
  ```
706
710
 
707
- _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1-rc.2/src/commands/transform-field.js)_
711
+ _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.1/src/commands/transform-field.js)_
708
712
  <!-- commandsstop -->