@saltcorn/cli 0.8.5-beta.7 → 0.8.5-rc.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.5-beta.7 linux-x64 node-v18.7.0
23
+ @saltcorn/cli/0.8.5-rc.1 linux-x64 node-v18.7.0
24
24
  $ saltcorn --help [COMMAND]
25
25
  USAGE
26
26
  $ saltcorn COMMAND
@@ -42,7 +42,7 @@ USAGE
42
42
  * [`saltcorn delete-tenants`](#saltcorn-delete-tenants)
43
43
  * [`saltcorn delete-user USER_EMAIL`](#saltcorn-delete-user-user_email)
44
44
  * [`saltcorn fixtures`](#saltcorn-fixtures)
45
- * [`saltcorn get-cfg KEY`](#saltcorn-get-cfg-key)
45
+ * [`saltcorn get-cfg [KEY]`](#saltcorn-get-cfg-key)
46
46
  * [`saltcorn help [COMMAND]`](#saltcorn-help-command)
47
47
  * [`saltcorn info`](#saltcorn-info)
48
48
  * [`saltcorn inspect TYPE [NAME]`](#saltcorn-inspect-type-name)
@@ -60,9 +60,10 @@ USAGE
60
60
  * [`saltcorn rm-tenant`](#saltcorn-rm-tenant)
61
61
  * [`saltcorn run-benchmark [BASEURL]`](#saltcorn-run-benchmark-baseurl)
62
62
  * [`saltcorn run-tests [PACKAGE]`](#saltcorn-run-tests-package)
63
+ * [`saltcorn run-trigger TRIGGER`](#saltcorn-run-trigger-trigger)
63
64
  * [`saltcorn scheduler`](#saltcorn-scheduler)
64
65
  * [`saltcorn serve`](#saltcorn-serve)
65
- * [`saltcorn set-cfg KEY [VALUE]`](#saltcorn-set-cfg-key-value)
66
+ * [`saltcorn set-cfg [KEY] [VALUE]`](#saltcorn-set-cfg-key-value)
66
67
  * [`saltcorn setup`](#saltcorn-setup)
67
68
  * [`saltcorn setup-benchmark`](#saltcorn-setup-benchmark)
68
69
  * [`saltcorn take-snapshot`](#saltcorn-take-snapshot)
@@ -81,7 +82,7 @@ OPTIONS
81
82
  -f, --force force command execution
82
83
  ```
83
84
 
84
- _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/add-schema.js)_
85
+ _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/add-schema.js)_
85
86
 
86
87
  ## `saltcorn backup`
87
88
 
@@ -97,7 +98,7 @@ OPTIONS
97
98
  -z, --zip zip format
98
99
  ```
99
100
 
100
- _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/backup.js)_
101
+ _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/backup.js)_
101
102
 
102
103
  ## `saltcorn build-app`
103
104
 
@@ -126,7 +127,7 @@ OPTIONS
126
127
  tenant
127
128
  ```
128
129
 
129
- _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/build-app.js)_
130
+ _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/build-app.js)_
130
131
 
131
132
  ## `saltcorn build-cordova-builder`
132
133
 
@@ -137,7 +138,7 @@ USAGE
137
138
  $ saltcorn build-cordova-builder
138
139
  ```
139
140
 
140
- _See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/build-cordova-builder.js)_
141
+ _See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/build-cordova-builder.js)_
141
142
 
142
143
  ## `saltcorn configuration-check`
143
144
 
@@ -151,7 +152,7 @@ OPTIONS
151
152
  -t, --tenant=tenant tenant
152
153
  ```
153
154
 
154
- _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/configuration-check.js)_
155
+ _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/configuration-check.js)_
155
156
 
156
157
  ## `saltcorn configuration-check-backups FILES`
157
158
 
@@ -168,7 +169,7 @@ OPTIONS
168
169
  -d, --destructive destructive
169
170
  ```
170
171
 
171
- _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/configuration-check-backups.js)_
172
+ _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/configuration-check-backups.js)_
172
173
 
173
174
  ## `saltcorn create-tenant TENANT`
174
175
 
@@ -187,7 +188,7 @@ OPTIONS
187
188
  --url=url Url of tenant
188
189
  ```
189
190
 
190
- _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/create-tenant.js)_
191
+ _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/create-tenant.js)_
191
192
 
192
193
  ## `saltcorn create-user`
193
194
 
@@ -205,7 +206,7 @@ OPTIONS
205
206
  -t, --tenant=tenant tenant
206
207
  ```
207
208
 
208
- _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/create-user.js)_
209
+ _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/create-user.js)_
209
210
 
210
211
  ## `saltcorn delete-tenants`
211
212
 
@@ -216,7 +217,7 @@ USAGE
216
217
  $ saltcorn delete-tenants
217
218
  ```
218
219
 
219
- _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/delete-tenants.js)_
220
+ _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/delete-tenants.js)_
220
221
 
221
222
  ## `saltcorn delete-user USER_EMAIL`
222
223
 
@@ -237,7 +238,7 @@ DESCRIPTION
237
238
  Command deletes the user specified by USER_EMAIL.
238
239
  ```
239
240
 
240
- _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/delete-user.js)_
241
+ _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/delete-user.js)_
241
242
 
242
243
  ## `saltcorn fixtures`
243
244
 
@@ -256,15 +257,15 @@ DESCRIPTION
256
257
  This manual step it is never required for users and rarely required for developers
257
258
  ```
258
259
 
259
- _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/fixtures.js)_
260
+ _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/fixtures.js)_
260
261
 
261
- ## `saltcorn get-cfg KEY`
262
+ ## `saltcorn get-cfg [KEY]`
262
263
 
263
264
  Get a configuration value. The value is printed to stdout as a JSON value
264
265
 
265
266
  ```
266
267
  USAGE
267
- $ saltcorn get-cfg KEY
268
+ $ saltcorn get-cfg [KEY]
268
269
 
269
270
  ARGUMENTS
270
271
  KEY Configuration key
@@ -274,7 +275,7 @@ OPTIONS
274
275
  -t, --tenant=tenant tenant
275
276
  ```
276
277
 
277
- _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/get-cfg.js)_
278
+ _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/get-cfg.js)_
278
279
 
279
280
  ## `saltcorn help [COMMAND]`
280
281
 
@@ -312,7 +313,7 @@ ALIASES
312
313
  $ saltcorn paths
313
314
  ```
314
315
 
315
- _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/info.js)_
316
+ _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/info.js)_
316
317
 
317
318
  ## `saltcorn inspect TYPE [NAME]`
318
319
 
@@ -330,7 +331,7 @@ OPTIONS
330
331
  -t, --tenant=tenant tenant
331
332
  ```
332
333
 
333
- _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/inspect.js)_
334
+ _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/inspect.js)_
334
335
 
335
336
  ## `saltcorn install-pack`
336
337
 
@@ -346,7 +347,7 @@ OPTIONS
346
347
  -t, --tenant=tenant tenant
347
348
  ```
348
349
 
349
- _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/install-pack.js)_
350
+ _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/install-pack.js)_
350
351
 
351
352
  ## `saltcorn install-plugin`
352
353
 
@@ -362,7 +363,7 @@ OPTIONS
362
363
  -t, --tenant=tenant tenant
363
364
  ```
364
365
 
365
- _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/install-plugin.js)_
366
+ _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/install-plugin.js)_
366
367
 
367
368
  ## `saltcorn list-tenants`
368
369
 
@@ -373,7 +374,7 @@ USAGE
373
374
  $ saltcorn list-tenants
374
375
  ```
375
376
 
376
- _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/list-tenants.js)_
377
+ _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/list-tenants.js)_
377
378
 
378
379
  ## `saltcorn localize-plugin PLUGIN [PATH]`
379
380
 
@@ -392,7 +393,7 @@ OPTIONS
392
393
  -u, --unlocalize Unlocalize plugin (local to npm)
393
394
  ```
394
395
 
395
- _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/localize-plugin.js)_
396
+ _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/localize-plugin.js)_
396
397
 
397
398
  ## `saltcorn make-migration`
398
399
 
@@ -408,7 +409,7 @@ DESCRIPTION
408
409
  unless you are a developer.
409
410
  ```
410
411
 
411
- _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/make-migration.js)_
412
+ _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/make-migration.js)_
412
413
 
413
414
  ## `saltcorn saltcorn migrate`
414
415
 
@@ -430,7 +431,7 @@ DESCRIPTION
430
431
  servers and need to control when the migrations are run.
431
432
  ```
432
433
 
433
- _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/migrate.js)_
434
+ _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/migrate.js)_
434
435
 
435
436
  ## `saltcorn modify-user USER_EMAIL`
436
437
 
@@ -459,7 +460,7 @@ DESCRIPTION
459
460
  NOTE that -a and -r role (--role=role) can give conflict.
460
461
  ```
461
462
 
462
- _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/modify-user.js)_
463
+ _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/modify-user.js)_
463
464
 
464
465
  ## `saltcorn plugins`
465
466
 
@@ -486,7 +487,7 @@ EXAMPLES
486
487
  plugins -u -f - force plugin update
487
488
  ```
488
489
 
489
- _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/plugins.js)_
490
+ _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/plugins.js)_
490
491
 
491
492
  ## `saltcorn release VERSION`
492
493
 
@@ -500,7 +501,7 @@ ARGUMENTS
500
501
  VERSION New version number
501
502
  ```
502
503
 
503
- _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/release.js)_
504
+ _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/release.js)_
504
505
 
505
506
  ## `saltcorn reset-schema`
506
507
 
@@ -519,7 +520,7 @@ DESCRIPTION
519
520
  This will delete all existing information
520
521
  ```
521
522
 
522
- _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/reset-schema.js)_
523
+ _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/reset-schema.js)_
523
524
 
524
525
  ## `saltcorn restore FILE`
525
526
 
@@ -536,7 +537,7 @@ OPTIONS
536
537
  -t, --tenant=tenant tenant
537
538
  ```
538
539
 
539
- _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/restore.js)_
540
+ _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/restore.js)_
540
541
 
541
542
  ## `saltcorn rm-tenant`
542
543
 
@@ -555,7 +556,7 @@ DESCRIPTION
555
556
  It recommended to make backup of tenant before perform this command.
556
557
  ```
557
558
 
558
- _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/rm-tenant.js)_
559
+ _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/rm-tenant.js)_
559
560
 
560
561
  ## `saltcorn run-benchmark [BASEURL]`
561
562
 
@@ -574,7 +575,7 @@ OPTIONS
574
575
  -t, --token=token API Token for reporting results
575
576
  ```
576
577
 
577
- _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/run-benchmark.js)_
578
+ _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/run-benchmark.js)_
578
579
 
579
580
  ## `saltcorn run-tests [PACKAGE]`
580
581
 
@@ -597,7 +598,24 @@ OPTIONS
597
598
  --watchAll Watch files for changes and rerun all tests.
598
599
  ```
599
600
 
600
- _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/run-tests.js)_
601
+ _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/run-tests.js)_
602
+
603
+ ## `saltcorn run-trigger TRIGGER`
604
+
605
+ Run a trigger
606
+
607
+ ```
608
+ USAGE
609
+ $ saltcorn run-trigger TRIGGER
610
+
611
+ ARGUMENTS
612
+ TRIGGER trigger name
613
+
614
+ OPTIONS
615
+ -t, --tenant=tenant tenant
616
+ ```
617
+
618
+ _See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/run-trigger.js)_
601
619
 
602
620
  ## `saltcorn scheduler`
603
621
 
@@ -611,7 +629,7 @@ OPTIONS
611
629
  -v, --verbose Verbose
612
630
  ```
613
631
 
614
- _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/scheduler.js)_
632
+ _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/scheduler.js)_
615
633
 
616
634
  ## `saltcorn serve`
617
635
 
@@ -632,15 +650,15 @@ OPTIONS
632
650
  --subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
633
651
  ```
634
652
 
635
- _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/serve.js)_
653
+ _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/serve.js)_
636
654
 
637
- ## `saltcorn set-cfg KEY [VALUE]`
655
+ ## `saltcorn set-cfg [KEY] [VALUE]`
638
656
 
639
657
  Set a configuration value. The supplied value (argument, or file stdin) will be parsed as JSON. If this fails, it is stored as a string.
640
658
 
641
659
  ```
642
660
  USAGE
643
- $ saltcorn set-cfg KEY [VALUE]
661
+ $ saltcorn set-cfg [KEY] [VALUE]
644
662
 
645
663
  ARGUMENTS
646
664
  KEY Configuration key
@@ -653,7 +671,7 @@ OPTIONS
653
671
  -t, --tenant=tenant tenant
654
672
  ```
655
673
 
656
- _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/set-cfg.js)_
674
+ _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/set-cfg.js)_
657
675
 
658
676
  ## `saltcorn setup`
659
677
 
@@ -672,7 +690,7 @@ DESCRIPTION
672
690
  configuration file
673
691
  ```
674
692
 
675
- _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/setup.js)_
693
+ _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/setup.js)_
676
694
 
677
695
  ## `saltcorn setup-benchmark`
678
696
 
@@ -686,7 +704,7 @@ OPTIONS
686
704
  -t, --tenant=tenant tenant
687
705
  ```
688
706
 
689
- _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/setup-benchmark.js)_
707
+ _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/setup-benchmark.js)_
690
708
 
691
709
  ## `saltcorn take-snapshot`
692
710
 
@@ -700,7 +718,7 @@ OPTIONS
700
718
  -t, --tenant=tenant tenant
701
719
  ```
702
720
 
703
- _See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/take-snapshot.js)_
721
+ _See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/take-snapshot.js)_
704
722
 
705
723
  ## `saltcorn test-plugin PATH`
706
724
 
@@ -718,7 +736,7 @@ DESCRIPTION
718
736
  Extra documentation goes here
719
737
  ```
720
738
 
721
- _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/test-plugin.js)_
739
+ _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/test-plugin.js)_
722
740
 
723
741
  ## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
724
742
 
@@ -735,5 +753,5 @@ ARGUMENTS
735
753
  TENANT tenant name
736
754
  ```
737
755
 
738
- _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-beta.7/src/commands/transform-field.js)_
756
+ _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.5-rc.1/src/commands/transform-field.js)_
739
757
  <!-- commandsstop -->