@saltcorn/cli 1.0.0-beta.0 → 1.0.0-beta.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 +46 -46
- package/oclif.manifest.json +1 -1
- package/package.json +8 -8
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/1.0.0-beta.
|
|
23
|
+
@saltcorn/cli/1.0.0-beta.1 linux-x64 node-v18.19.0
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -90,7 +90,7 @@ OPTIONS
|
|
|
90
90
|
-f, --force force command execution
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
93
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
94
94
|
|
|
95
95
|
## `saltcorn backup`
|
|
96
96
|
|
|
@@ -107,7 +107,7 @@ OPTIONS
|
|
|
107
107
|
-z, --zip Backup public in saltcorn zip format
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
110
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/backup.js)_
|
|
111
111
|
|
|
112
112
|
## `saltcorn build-app`
|
|
113
113
|
|
|
@@ -174,7 +174,7 @@ OPTIONS
|
|
|
174
174
|
build for this tenant
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
177
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
178
178
|
|
|
179
179
|
## `saltcorn build-cordova-builder`
|
|
180
180
|
|
|
@@ -188,7 +188,7 @@ OPTIONS
|
|
|
188
188
|
--buildClean run a clean build with --no-cache
|
|
189
189
|
```
|
|
190
190
|
|
|
191
|
-
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
191
|
+
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/build-cordova-builder.js)_
|
|
192
192
|
|
|
193
193
|
## `saltcorn configuration-check`
|
|
194
194
|
|
|
@@ -202,7 +202,7 @@ OPTIONS
|
|
|
202
202
|
-t, --tenant=tenant tenant
|
|
203
203
|
```
|
|
204
204
|
|
|
205
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
205
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
206
206
|
|
|
207
207
|
## `saltcorn configuration-check-backups FILES`
|
|
208
208
|
|
|
@@ -219,7 +219,7 @@ OPTIONS
|
|
|
219
219
|
-d, --destructive destructive
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
222
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
223
223
|
|
|
224
224
|
## `saltcorn create-tenant TENANT`
|
|
225
225
|
|
|
@@ -238,7 +238,7 @@ OPTIONS
|
|
|
238
238
|
--url=url Url of tenant
|
|
239
239
|
```
|
|
240
240
|
|
|
241
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
241
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
242
242
|
|
|
243
243
|
## `saltcorn create-user`
|
|
244
244
|
|
|
@@ -256,7 +256,7 @@ OPTIONS
|
|
|
256
256
|
-t, --tenant=tenant tenant
|
|
257
257
|
```
|
|
258
258
|
|
|
259
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
259
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
260
260
|
|
|
261
261
|
## `saltcorn delete-tenants`
|
|
262
262
|
|
|
@@ -267,7 +267,7 @@ USAGE
|
|
|
267
267
|
$ saltcorn delete-tenants
|
|
268
268
|
```
|
|
269
269
|
|
|
270
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
270
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
271
271
|
|
|
272
272
|
## `saltcorn delete-user USER_EMAIL`
|
|
273
273
|
|
|
@@ -288,7 +288,7 @@ DESCRIPTION
|
|
|
288
288
|
Command deletes the user specified by USER_EMAIL.
|
|
289
289
|
```
|
|
290
290
|
|
|
291
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
291
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
292
292
|
|
|
293
293
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
294
294
|
|
|
@@ -307,7 +307,7 @@ OPTIONS
|
|
|
307
307
|
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
308
308
|
```
|
|
309
309
|
|
|
310
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
310
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
311
311
|
|
|
312
312
|
## `saltcorn make-migration`
|
|
313
313
|
|
|
@@ -323,7 +323,7 @@ DESCRIPTION
|
|
|
323
323
|
unless you are a developer.
|
|
324
324
|
```
|
|
325
325
|
|
|
326
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
326
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
327
327
|
|
|
328
328
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
329
329
|
|
|
@@ -344,7 +344,7 @@ OPTIONS
|
|
|
344
344
|
--database=database Run on specified database. Default is 'saltcorn_test''
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
347
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
348
348
|
|
|
349
349
|
## `saltcorn dev:post-release [TASK]`
|
|
350
350
|
|
|
@@ -358,7 +358,7 @@ ARGUMENTS
|
|
|
358
358
|
TASK (docker|vagrant|all|none) What to do
|
|
359
359
|
```
|
|
360
360
|
|
|
361
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
361
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
362
362
|
|
|
363
363
|
## `saltcorn dev:release VERSION`
|
|
364
364
|
|
|
@@ -375,7 +375,7 @@ OPTIONS
|
|
|
375
375
|
-t, --tag=tag NPM tag
|
|
376
376
|
```
|
|
377
377
|
|
|
378
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
378
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
379
379
|
|
|
380
380
|
## `saltcorn dev:test-plugin PATH`
|
|
381
381
|
|
|
@@ -393,7 +393,7 @@ DESCRIPTION
|
|
|
393
393
|
Extra documentation goes here
|
|
394
394
|
```
|
|
395
395
|
|
|
396
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
396
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
397
397
|
|
|
398
398
|
## `saltcorn fixtures`
|
|
399
399
|
|
|
@@ -412,7 +412,7 @@ DESCRIPTION
|
|
|
412
412
|
This manual step it is never required for users and rarely required for developers
|
|
413
413
|
```
|
|
414
414
|
|
|
415
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
415
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
416
416
|
|
|
417
417
|
## `saltcorn get-cfg [KEY]`
|
|
418
418
|
|
|
@@ -430,7 +430,7 @@ OPTIONS
|
|
|
430
430
|
-t, --tenant=tenant tenant
|
|
431
431
|
```
|
|
432
432
|
|
|
433
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
433
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
434
434
|
|
|
435
435
|
## `saltcorn help [COMMAND]`
|
|
436
436
|
|
|
@@ -468,7 +468,7 @@ ALIASES
|
|
|
468
468
|
$ saltcorn paths
|
|
469
469
|
```
|
|
470
470
|
|
|
471
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
471
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/info.js)_
|
|
472
472
|
|
|
473
473
|
## `saltcorn inspect TYPE [NAME]`
|
|
474
474
|
|
|
@@ -486,7 +486,7 @@ OPTIONS
|
|
|
486
486
|
-t, --tenant=tenant tenant
|
|
487
487
|
```
|
|
488
488
|
|
|
489
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
489
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
490
490
|
|
|
491
491
|
## `saltcorn install-pack`
|
|
492
492
|
|
|
@@ -502,7 +502,7 @@ OPTIONS
|
|
|
502
502
|
-t, --tenant=tenant tenant
|
|
503
503
|
```
|
|
504
504
|
|
|
505
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
505
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
506
506
|
|
|
507
507
|
## `saltcorn install-plugin`
|
|
508
508
|
|
|
@@ -519,7 +519,7 @@ OPTIONS
|
|
|
519
519
|
-u, --unsafe Allow unsafe plugins on tenants
|
|
520
520
|
```
|
|
521
521
|
|
|
522
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
522
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
523
523
|
|
|
524
524
|
## `saltcorn list-tenants`
|
|
525
525
|
|
|
@@ -535,7 +535,7 @@ OPTIONS
|
|
|
535
535
|
-v, --verbose verbose output
|
|
536
536
|
```
|
|
537
537
|
|
|
538
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
538
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
539
539
|
|
|
540
540
|
## `saltcorn list-triggers`
|
|
541
541
|
|
|
@@ -551,7 +551,7 @@ OPTIONS
|
|
|
551
551
|
-v, --verbose verbose output
|
|
552
552
|
```
|
|
553
553
|
|
|
554
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
554
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
555
555
|
|
|
556
556
|
## `saltcorn list-users`
|
|
557
557
|
|
|
@@ -566,7 +566,7 @@ OPTIONS
|
|
|
566
566
|
-v, --verbose verbose output
|
|
567
567
|
```
|
|
568
568
|
|
|
569
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
569
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
570
570
|
|
|
571
571
|
## `saltcorn saltcorn migrate`
|
|
572
572
|
|
|
@@ -588,7 +588,7 @@ DESCRIPTION
|
|
|
588
588
|
servers and need to control when the migrations are run.
|
|
589
589
|
```
|
|
590
590
|
|
|
591
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
591
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
592
592
|
|
|
593
593
|
## `saltcorn modify-user USER_EMAIL`
|
|
594
594
|
|
|
@@ -617,7 +617,7 @@ DESCRIPTION
|
|
|
617
617
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
618
618
|
```
|
|
619
619
|
|
|
620
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
620
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
621
621
|
|
|
622
622
|
## `saltcorn plugins`
|
|
623
623
|
|
|
@@ -644,7 +644,7 @@ EXAMPLES
|
|
|
644
644
|
plugins -u -f - force plugin update
|
|
645
645
|
```
|
|
646
646
|
|
|
647
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
647
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
648
648
|
|
|
649
649
|
## `saltcorn reset-schema`
|
|
650
650
|
|
|
@@ -663,7 +663,7 @@ DESCRIPTION
|
|
|
663
663
|
This will delete all existing information
|
|
664
664
|
```
|
|
665
665
|
|
|
666
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
666
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
667
667
|
|
|
668
668
|
## `saltcorn restore FILE`
|
|
669
669
|
|
|
@@ -680,7 +680,7 @@ OPTIONS
|
|
|
680
680
|
-t, --tenant=tenant tenant
|
|
681
681
|
```
|
|
682
682
|
|
|
683
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
683
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/restore.js)_
|
|
684
684
|
|
|
685
685
|
## `saltcorn rm-tenant`
|
|
686
686
|
|
|
@@ -699,7 +699,7 @@ DESCRIPTION
|
|
|
699
699
|
It recommended to make backup of tenant before perform this command.
|
|
700
700
|
```
|
|
701
701
|
|
|
702
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
702
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
703
703
|
|
|
704
704
|
## `saltcorn run-benchmark [BASEURL]`
|
|
705
705
|
|
|
@@ -718,7 +718,7 @@ OPTIONS
|
|
|
718
718
|
-t, --token=token API Token for reporting results
|
|
719
719
|
```
|
|
720
720
|
|
|
721
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
721
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
722
722
|
|
|
723
723
|
## `saltcorn run-js`
|
|
724
724
|
|
|
@@ -734,7 +734,7 @@ OPTIONS
|
|
|
734
734
|
-t, --tenant=tenant tenant name
|
|
735
735
|
```
|
|
736
736
|
|
|
737
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
737
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
738
738
|
|
|
739
739
|
## `saltcorn run-sql`
|
|
740
740
|
|
|
@@ -750,7 +750,7 @@ OPTIONS
|
|
|
750
750
|
-t, --tenant=tenant tenant name
|
|
751
751
|
```
|
|
752
752
|
|
|
753
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
753
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
754
754
|
|
|
755
755
|
## `saltcorn run-tests [PACKAGE]`
|
|
756
756
|
|
|
@@ -774,7 +774,7 @@ OPTIONS
|
|
|
774
774
|
--watchAll Watch files for changes and rerun all tests.
|
|
775
775
|
```
|
|
776
776
|
|
|
777
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
777
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
778
778
|
|
|
779
779
|
## `saltcorn run-trigger TRIGGER`
|
|
780
780
|
|
|
@@ -791,7 +791,7 @@ OPTIONS
|
|
|
791
791
|
-t, --tenant=tenant tenant
|
|
792
792
|
```
|
|
793
793
|
|
|
794
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
794
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
795
795
|
|
|
796
796
|
## `saltcorn scheduler`
|
|
797
797
|
|
|
@@ -805,7 +805,7 @@ OPTIONS
|
|
|
805
805
|
-v, --verbose Verbose
|
|
806
806
|
```
|
|
807
807
|
|
|
808
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
808
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
809
809
|
|
|
810
810
|
## `saltcorn serve`
|
|
811
811
|
|
|
@@ -826,7 +826,7 @@ OPTIONS
|
|
|
826
826
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
827
827
|
```
|
|
828
828
|
|
|
829
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
829
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/serve.js)_
|
|
830
830
|
|
|
831
831
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
832
832
|
|
|
@@ -847,7 +847,7 @@ OPTIONS
|
|
|
847
847
|
-t, --tenant=tenant tenant
|
|
848
848
|
```
|
|
849
849
|
|
|
850
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
850
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
851
851
|
|
|
852
852
|
## `saltcorn set-daily-time [MINS]`
|
|
853
853
|
|
|
@@ -864,7 +864,7 @@ OPTIONS
|
|
|
864
864
|
-t, --tenant=tenant tenant
|
|
865
865
|
```
|
|
866
866
|
|
|
867
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
867
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
868
868
|
|
|
869
869
|
## `saltcorn setup`
|
|
870
870
|
|
|
@@ -883,7 +883,7 @@ DESCRIPTION
|
|
|
883
883
|
configuration file
|
|
884
884
|
```
|
|
885
885
|
|
|
886
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
886
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/setup.js)_
|
|
887
887
|
|
|
888
888
|
## `saltcorn setup-benchmark`
|
|
889
889
|
|
|
@@ -897,7 +897,7 @@ OPTIONS
|
|
|
897
897
|
-t, --tenant=tenant tenant
|
|
898
898
|
```
|
|
899
899
|
|
|
900
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
900
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
901
901
|
|
|
902
902
|
## `saltcorn sync-upload-data`
|
|
903
903
|
|
|
@@ -914,7 +914,7 @@ OPTIONS
|
|
|
914
914
|
--userEmail=userEmail email of the user running the sync
|
|
915
915
|
```
|
|
916
916
|
|
|
917
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
917
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
918
918
|
|
|
919
919
|
## `saltcorn take-snapshot`
|
|
920
920
|
|
|
@@ -929,7 +929,7 @@ OPTIONS
|
|
|
929
929
|
-t, --tenant=tenant tenant
|
|
930
930
|
```
|
|
931
931
|
|
|
932
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
932
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
933
933
|
|
|
934
934
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
935
935
|
|
|
@@ -946,5 +946,5 @@ ARGUMENTS
|
|
|
946
946
|
TENANT tenant name
|
|
947
947
|
```
|
|
948
948
|
|
|
949
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.
|
|
949
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.1/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
950
950
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.0-beta.0","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false}},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"Backup tenant in saltcorn zip format"},"zip":{"name":"zip","type":"boolean","char":"z","description":"Backup public in saltcorn zip format","allowNo":false}},"args":[]},"build-app":{"id":"build-app","description":"Build mobile app","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenantAppName":{"name":"tenantAppName","type":"option","description":"Optional name of a tenant application, if set, the app will be build for this tenant"},"platforms":{"name":"platforms","type":"option","char":"p","description":"Platforms to build for, space separated list"},"entryPoint":{"name":"entryPoint","type":"option","char":"e","description":"This is the first view or page (see -t) after the login."},"entryPointType":{"name":"entryPointType","type":"option","char":"t","description":"Type of the entry point ('view' or 'page'). The default is 'view'."},"localUserTables":{"name":"localUserTables","type":"option","char":"l","description":"user defined tables that should be replicated into the app"},"synchedTables":{"name":"synchedTables","type":"option","description":"Table names for which the offline should be synchronized with the saltcorn server"},"includedPlugins":{"name":"includedPlugins","type":"option","description":"Names of plugins that should be bundled into the app.If empty, no modules are used."},"useDocker":{"name":"useDocker","type":"boolean","char":"d","description":"Use a docker container to build the app.","allowNo":false},"buildDirectory":{"name":"buildDirectory","type":"option","char":"b","description":"A directory where the app should be build"},"copyAppDirectory":{"name":"copyAppDirectory","type":"option","char":"c","description":"If set, the app file will be copied here, please set 'user email', too"},"userEmail":{"name":"userEmail","type":"option","char":"u","description":"Email of the user building the app"},"appName":{"name":"appName","type":"option","description":"Name of the mobile app (default SaltcornMobileApp)"},"appId":{"name":"appId","type":"option","description":"Id of the mobile app (default com.saltcorn.mobileapp)"},"appVersion":{"name":"appVersion","type":"option","description":"Version of the mobile app (default 1.0.0)"},"appIcon":{"name":"appIcon","type":"option","description":"A png that will be used as launcher icon. The default is a png of a saltcorn symbol."},"serverURL":{"name":"serverURL","type":"option","char":"s","description":"URL to a saltcorn server"},"splashPage":{"name":"splashPage","type":"option","description":"Name of a page that should be shown while the app is loading."},"autoPublicLogin":{"name":"autoPublicLogin","type":"boolean","description":"Show public entry points before the login as a public user.","allowNo":false},"allowOfflineMode":{"name":"allowOfflineMode","type":"boolean","description":"Switch to offline mode when there is no internet, sync the data when a connection is available again.","allowNo":false},"provisioningProfile":{"name":"provisioningProfile","type":"option","description":"This profile will be used to sign your app"},"buildType":{"name":"buildType","type":"option","description":"debug or release build"},"androidKeystore":{"name":"androidKeystore","type":"option","description":"A self-signed certificate that includes the private key used to sign your app."},"androidKeyStoreAlias":{"name":"androidKeyStoreAlias","type":"option","description":"A unique name to identify the key within the keystore file."},"androidKeystorePassword":{"name":"androidKeystorePassword","type":"option","description":"he password to access the keystore file."}},"args":[]},"build-cordova-builder":{"id":"build-cordova-builder","description":"Build the 'saltcorn/cordova-builder' docker image","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"buildClean":{"name":"buildClean","type":"boolean","description":"run a clean build with --no-cache","allowNo":false}},"args":[]},"configuration-check-backups":{"id":"configuration-check-backups","description":"Check configuration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"destructive":{"name":"destructive","type":"boolean","char":"d","description":"destructive","allowNo":false}},"args":[{"name":"files","description":"backup file to check. can be repeated, e.g. with *","required":true}]},"configuration-check":{"id":"configuration-check","description":"Check configuration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"create-tenant":{"id":"create-tenant","description":"Create a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","description":"Url of tenant"},"email":{"name":"email","type":"option","char":"e","description":"Email of owner of tenant"},"description":{"name":"description","type":"option","char":"d","description":"Description of tenant"}},"args":[{"name":"tenant","description":"Tenant subdomain to create","required":true}]},"create-user":{"id":"create-user","description":"Create a new user","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"Admin user","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"email"},"role":{"name":"role","type":"option","char":"r","description":"role"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"delete-tenants":{"id":"delete-tenants","description":"Delete inactive tenants","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"delete-user":{"id":"delete-user","description":"Delete user.\n\nCommand deletes the user specified by USER_EMAIL.\n\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"user_email","description":"User to delete","required":true}]},"fixtures":{"id":"fixtures","description":"Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"reset":{"name":"reset","type":"boolean","char":"r","description":"Also reset schema","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"get-cfg":{"id":"get-cfg","description":"Get a configuration value. The value is printed to stdout as a JSON value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":false}]},"info":{"id":"info","description":"Show paths\n...\nShow configuration and file store paths\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":["paths"],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"inspect":{"id":"inspect","description":"Inspect an entity's JSON representation, or list entities","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"type","description":"Entity type","required":true,"options":["view","page","trigger","table"]},{"name":"name","description":"Entity name. If not supplied, list all names"}]},"install-pack":{"id":"install-pack","description":"Install a pack or restore a snapshot","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Pack name in store"},"file":{"name":"file","type":"option","char":"f","description":"File with pack JSON"}},"args":[]},"install-plugin":{"id":"install-plugin","description":"Install a plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store"},"directory":{"name":"directory","type":"option","char":"d","description":"Directory with local plugin"},"unsafe":{"name":"unsafe","type":"boolean","char":"u","description":"Allow unsafe plugins on tenants","allowNo":false}},"args":[]},"list-tenants":{"id":"list-tenants","description":"List tenants in CSV format","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose output","required":false,"allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"list-triggers":{"id":"list-triggers","description":"List triggers","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose output","required":false,"allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"list-users":{"id":"list-users","description":"List users","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose output","required":false,"allowNo":false}},"args":[]},"migrate":{"id":"migrate","description":"Run Database structure migrations\n...\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n\nThis is not normally required as migrations will be run when the server starts.\nHowever, this command may be useful if you are running multiple application\nservers and need to control when the migrations are run.\n","usage":"saltcorn migrate","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"modify-user":{"id":"modify-user","description":"Modify (update) user.\n\nCommand changes the user specified by USER_EMAIL.\n\nYou can change the user group, password and email.\n\nNOTE that -a and -r role (--role=role) can give conflict.\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"make user be Admin","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"new email"},"role":{"name":"role","type":"option","char":"r","description":"new role (can conflict with -a option)"},"password":{"name":"password","type":"option","char":"p","description":"new password"},"imode":{"name":"imode","type":"boolean","char":"i","description":"interactive mode","allowNo":false}},"args":[{"name":"user_email","description":"User to modify","required":true}]},"plugins":{"id":"plugins","description":"List and upgrade plugins for tenants\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"examples":["plugins -v - verbose output of commands","plugins -u -d - dry-run for plugin update","plugins -u -f - force plugin update"],"flags":{"upgrade":{"name":"upgrade","type":"boolean","char":"u","description":"Upgrade","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"Upgrade dry-run","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Force update","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"Plugin name"}},"args":[]},"reset-schema":{"id":"reset-schema","description":"Reset the database\n...\nThis will delete all existing information\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"restore":{"id":"restore","description":"Restore a previously backed up database (zip or sqlc format)","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"file","description":"backup file to restore","required":true}]},"rm-tenant":{"id":"rm-tenant","description":"Remove a tenant.\nAttention! All tenant data will be lost!\nIt recommended to make backup of tenant before perform this command.\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":true}},"args":[]},"run-benchmark":{"id":"run-benchmark","description":"Run benchmark","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"API Token for reporting results"},"benchmark":{"name":"benchmark","type":"option","char":"b","description":"Which benchmark to run"},"delay":{"name":"delay","type":"option","char":"d","description":"delay between runs (s)","default":30}},"args":[{"name":"baseurl","description":"Base URL","required":false}]},"run-js":{"id":"run-js","description":"Run javascript code","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant name"},"code":{"name":"code","type":"option","char":"c","description":"js code"},"file":{"name":"file","type":"option","char":"f","description":"path to script file"}},"args":[]},"run-sql":{"id":"run-sql","description":"Run sql expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant name"},"sql":{"name":"sql","type":"option","char":"s","description":"sql statement"},"file":{"name":"file","type":"option","char":"f","description":"path to sql file name"}},"args":[]},"run-tests":{"id":"run-tests","description":"Run test suites","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false},"listTests":{"name":"listTests","type":"boolean","char":"l","description":"List tests","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"detectOpenHandles":{"name":"detectOpenHandles","type":"boolean","char":"d","description":"Detect Open Handles","allowNo":false},"testFilter":{"name":"testFilter","type":"option","char":"t","description":"Filter tests by suite or test name"},"watch":{"name":"watch","type":"boolean","description":"Watch files for changes and rerun tests related to changed files.","allowNo":false},"watchAll":{"name":"watchAll","type":"boolean","description":"Watch files for changes and rerun all tests.","allowNo":false},"database":{"name":"database","type":"option","description":"Run on specified database. Default is saltcorn_test"}},"args":[{"name":"package","description":"which package to run tests for"}]},"run-trigger":{"id":"run-trigger","description":"Run a trigger","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":false}},"args":[{"name":"trigger","description":"trigger name","required":true}]},"scheduler":{"id":"scheduler","description":"Run the Saltcorn scheduler","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Start the Saltcorn server","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"port":{"name":"port","type":"option","char":"p","description":"port","default":3000},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"watchReaper":{"name":"watchReaper","type":"boolean","char":"r","description":"Watch reaper","allowNo":false},"dev":{"name":"dev","type":"boolean","char":"d","description":"Run in dev mode and re-start on file changes","allowNo":false},"addschema":{"name":"addschema","type":"boolean","char":"a","description":"Add schema if missing","allowNo":false},"nomigrate":{"name":"nomigrate","type":"boolean","char":"n","description":"No migrations","allowNo":false},"noscheduler":{"name":"noscheduler","type":"boolean","char":"s","description":"No scheduler","allowNo":false},"subdomain_offset":{"name":"subdomain_offset","type":"option","description":"Number of parts to remove to access subdomain in 'multi_tenant' mode"}},"args":[]},"set-cfg":{"id":"set-cfg","description":"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.","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"},"file":{"name":"file","type":"option","char":"f","description":"file"},"stdin":{"name":"stdin","type":"boolean","char":"i","description":"read value from stdin","allowNo":false}},"args":[{"name":"key","description":"Configuration key","required":false},{"name":"value","description":"Configuration value (JSON or string)"}]},"set-daily-time":{"id":"set-daily-time","description":"Set the time the default daily event will run, offset in minutes from the current time. Restart required.","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"mins","description":"Number of minutes in the futute (negative for past)"}]},"setup-benchmark":{"id":"setup-benchmark","description":"Setup an instance for benchmarking","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"setup":{"id":"setup","description":"Set up a new system\n...\nThis will attempt to install or connect a database, and set up a\nconfiguration file\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false}},"args":[]},"sync-upload-data":{"id":"sync-upload-data","description":"Runs a sync for data supplied by the mobile app","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenantAppName":{"name":"tenantAppName","type":"option","description":"Optional name of a tenant application"},"userEmail":{"name":"userEmail","type":"option","description":"email of the user running the sync"},"directory":{"name":"directory","type":"option","description":"directory name for input output data"},"syncTimestamp":{"name":"syncTimestamp","type":"option","description":"new timestamp for the sync_info rows"}},"args":[]},"take-snapshot":{"id":"take-snapshot","description":"Print a current snapshout to stdout","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"fresh":{"name":"fresh","type":"boolean","char":"f","description":"fresh","allowNo":false}},"args":[]},"transform-field":{"id":"transform-field","description":"transform an existing field by applying a calculated expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"expression","description":"expression to calculate field","required":true},{"name":"field","description":"field name","required":true},{"name":"table","description":"table name","required":true},{"name":"tenant","description":"tenant name","required":false}]},"dev:localize-plugin":{"id":"dev:localize-plugin","description":"Convert plugin to local plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"unlocalize":{"name":"unlocalize","type":"boolean","char":"u","description":"Unlocalize plugin (local to npm)","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"plugin","description":"Current plugin name","required":true},{"name":"path","description":"Absolute path to local plugin"}]},"dev:make-migration":{"id":"dev:make-migration","description":"Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n","usage":"make-migration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"dev:plugin-test":{"id":"dev:plugin-test","description":"Install a plugin, spawn 'npm run test' in the install directory and check the return code.","usage":"saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"Directory of local plugin"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store of a released plugin"},"backupFile":{"name":"backupFile","type":"option","char":"f","description":"Optional name of a backup file in the tests folder. If you ommit this, then the test has to create its own data."},"database":{"name":"database","type":"option","description":"Run on specified database. Default is 'saltcorn_test''"}},"args":[]},"dev:post-release":{"id":"dev:post-release","description":"Post-release tasks: docker and vagrant builds","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"task","description":"What to do","options":["docker","vagrant","all","none"]}]},"dev:release":{"id":"dev:release","description":"Release a new saltcorn version","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tag":{"name":"tag","type":"option","char":"t","description":"NPM tag"}},"args":[{"name":"version","description":"New version number","required":true}]},"dev:test-plugin":{"id":"dev:test-plugin","description":"Test a plugin\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"path to plugin package","required":true}]}}}
|
|
1
|
+
{"version":"1.0.0-beta.1","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false}},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"Backup tenant in saltcorn zip format"},"zip":{"name":"zip","type":"boolean","char":"z","description":"Backup public in saltcorn zip format","allowNo":false}},"args":[]},"build-app":{"id":"build-app","description":"Build mobile app","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenantAppName":{"name":"tenantAppName","type":"option","description":"Optional name of a tenant application, if set, the app will be build for this tenant"},"platforms":{"name":"platforms","type":"option","char":"p","description":"Platforms to build for, space separated list"},"entryPoint":{"name":"entryPoint","type":"option","char":"e","description":"This is the first view or page (see -t) after the login."},"entryPointType":{"name":"entryPointType","type":"option","char":"t","description":"Type of the entry point ('view' or 'page'). The default is 'view'."},"localUserTables":{"name":"localUserTables","type":"option","char":"l","description":"user defined tables that should be replicated into the app"},"synchedTables":{"name":"synchedTables","type":"option","description":"Table names for which the offline should be synchronized with the saltcorn server"},"includedPlugins":{"name":"includedPlugins","type":"option","description":"Names of plugins that should be bundled into the app.If empty, no modules are used."},"useDocker":{"name":"useDocker","type":"boolean","char":"d","description":"Use a docker container to build the app.","allowNo":false},"buildDirectory":{"name":"buildDirectory","type":"option","char":"b","description":"A directory where the app should be build"},"copyAppDirectory":{"name":"copyAppDirectory","type":"option","char":"c","description":"If set, the app file will be copied here, please set 'user email', too"},"userEmail":{"name":"userEmail","type":"option","char":"u","description":"Email of the user building the app"},"appName":{"name":"appName","type":"option","description":"Name of the mobile app (default SaltcornMobileApp)"},"appId":{"name":"appId","type":"option","description":"Id of the mobile app (default com.saltcorn.mobileapp)"},"appVersion":{"name":"appVersion","type":"option","description":"Version of the mobile app (default 1.0.0)"},"appIcon":{"name":"appIcon","type":"option","description":"A png that will be used as launcher icon. The default is a png of a saltcorn symbol."},"serverURL":{"name":"serverURL","type":"option","char":"s","description":"URL to a saltcorn server"},"splashPage":{"name":"splashPage","type":"option","description":"Name of a page that should be shown while the app is loading."},"autoPublicLogin":{"name":"autoPublicLogin","type":"boolean","description":"Show public entry points before the login as a public user.","allowNo":false},"allowOfflineMode":{"name":"allowOfflineMode","type":"boolean","description":"Switch to offline mode when there is no internet, sync the data when a connection is available again.","allowNo":false},"provisioningProfile":{"name":"provisioningProfile","type":"option","description":"This profile will be used to sign your app"},"buildType":{"name":"buildType","type":"option","description":"debug or release build"},"androidKeystore":{"name":"androidKeystore","type":"option","description":"A self-signed certificate that includes the private key used to sign your app."},"androidKeyStoreAlias":{"name":"androidKeyStoreAlias","type":"option","description":"A unique name to identify the key within the keystore file."},"androidKeystorePassword":{"name":"androidKeystorePassword","type":"option","description":"he password to access the keystore file."}},"args":[]},"build-cordova-builder":{"id":"build-cordova-builder","description":"Build the 'saltcorn/cordova-builder' docker image","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"buildClean":{"name":"buildClean","type":"boolean","description":"run a clean build with --no-cache","allowNo":false}},"args":[]},"configuration-check-backups":{"id":"configuration-check-backups","description":"Check configuration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"destructive":{"name":"destructive","type":"boolean","char":"d","description":"destructive","allowNo":false}},"args":[{"name":"files","description":"backup file to check. can be repeated, e.g. with *","required":true}]},"configuration-check":{"id":"configuration-check","description":"Check configuration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"create-tenant":{"id":"create-tenant","description":"Create a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"url":{"name":"url","type":"option","description":"Url of tenant"},"email":{"name":"email","type":"option","char":"e","description":"Email of owner of tenant"},"description":{"name":"description","type":"option","char":"d","description":"Description of tenant"}},"args":[{"name":"tenant","description":"Tenant subdomain to create","required":true}]},"create-user":{"id":"create-user","description":"Create a new user","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"Admin user","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"email"},"role":{"name":"role","type":"option","char":"r","description":"role"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"delete-tenants":{"id":"delete-tenants","description":"Delete inactive tenants","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"delete-user":{"id":"delete-user","description":"Delete user.\n\nCommand deletes the user specified by USER_EMAIL.\n\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"user_email","description":"User to delete","required":true}]},"fixtures":{"id":"fixtures","description":"Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"reset":{"name":"reset","type":"boolean","char":"r","description":"Also reset schema","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"get-cfg":{"id":"get-cfg","description":"Get a configuration value. The value is printed to stdout as a JSON value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":false}]},"info":{"id":"info","description":"Show paths\n...\nShow configuration and file store paths\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":["paths"],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"inspect":{"id":"inspect","description":"Inspect an entity's JSON representation, or list entities","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"type","description":"Entity type","required":true,"options":["view","page","trigger","table"]},{"name":"name","description":"Entity name. If not supplied, list all names"}]},"install-pack":{"id":"install-pack","description":"Install a pack or restore a snapshot","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Pack name in store"},"file":{"name":"file","type":"option","char":"f","description":"File with pack JSON"}},"args":[]},"install-plugin":{"id":"install-plugin","description":"Install a plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store"},"directory":{"name":"directory","type":"option","char":"d","description":"Directory with local plugin"},"unsafe":{"name":"unsafe","type":"boolean","char":"u","description":"Allow unsafe plugins on tenants","allowNo":false}},"args":[]},"list-tenants":{"id":"list-tenants","description":"List tenants in CSV format","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose output","required":false,"allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"list-triggers":{"id":"list-triggers","description":"List triggers","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose output","required":false,"allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"list-users":{"id":"list-users","description":"List users","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose output","required":false,"allowNo":false}},"args":[]},"migrate":{"id":"migrate","description":"Run Database structure migrations\n...\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n\nThis is not normally required as migrations will be run when the server starts.\nHowever, this command may be useful if you are running multiple application\nservers and need to control when the migrations are run.\n","usage":"saltcorn migrate","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"modify-user":{"id":"modify-user","description":"Modify (update) user.\n\nCommand changes the user specified by USER_EMAIL.\n\nYou can change the user group, password and email.\n\nNOTE that -a and -r role (--role=role) can give conflict.\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"make user be Admin","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"new email"},"role":{"name":"role","type":"option","char":"r","description":"new role (can conflict with -a option)"},"password":{"name":"password","type":"option","char":"p","description":"new password"},"imode":{"name":"imode","type":"boolean","char":"i","description":"interactive mode","allowNo":false}},"args":[{"name":"user_email","description":"User to modify","required":true}]},"plugins":{"id":"plugins","description":"List and upgrade plugins for tenants\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"examples":["plugins -v - verbose output of commands","plugins -u -d - dry-run for plugin update","plugins -u -f - force plugin update"],"flags":{"upgrade":{"name":"upgrade","type":"boolean","char":"u","description":"Upgrade","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"Upgrade dry-run","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Force update","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"Plugin name"}},"args":[]},"reset-schema":{"id":"reset-schema","description":"Reset the database\n...\nThis will delete all existing information\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"restore":{"id":"restore","description":"Restore a previously backed up database (zip or sqlc format)","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"file","description":"backup file to restore","required":true}]},"rm-tenant":{"id":"rm-tenant","description":"Remove a tenant.\nAttention! All tenant data will be lost!\nIt recommended to make backup of tenant before perform this command.\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":true}},"args":[]},"run-benchmark":{"id":"run-benchmark","description":"Run benchmark","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"API Token for reporting results"},"benchmark":{"name":"benchmark","type":"option","char":"b","description":"Which benchmark to run"},"delay":{"name":"delay","type":"option","char":"d","description":"delay between runs (s)","default":30}},"args":[{"name":"baseurl","description":"Base URL","required":false}]},"run-js":{"id":"run-js","description":"Run javascript code","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant name"},"code":{"name":"code","type":"option","char":"c","description":"js code"},"file":{"name":"file","type":"option","char":"f","description":"path to script file"}},"args":[]},"run-sql":{"id":"run-sql","description":"Run sql expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant name"},"sql":{"name":"sql","type":"option","char":"s","description":"sql statement"},"file":{"name":"file","type":"option","char":"f","description":"path to sql file name"}},"args":[]},"run-tests":{"id":"run-tests","description":"Run test suites","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false},"listTests":{"name":"listTests","type":"boolean","char":"l","description":"List tests","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"detectOpenHandles":{"name":"detectOpenHandles","type":"boolean","char":"d","description":"Detect Open Handles","allowNo":false},"testFilter":{"name":"testFilter","type":"option","char":"t","description":"Filter tests by suite or test name"},"watch":{"name":"watch","type":"boolean","description":"Watch files for changes and rerun tests related to changed files.","allowNo":false},"watchAll":{"name":"watchAll","type":"boolean","description":"Watch files for changes and rerun all tests.","allowNo":false},"database":{"name":"database","type":"option","description":"Run on specified database. Default is saltcorn_test"}},"args":[{"name":"package","description":"which package to run tests for"}]},"run-trigger":{"id":"run-trigger","description":"Run a trigger","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":false}},"args":[{"name":"trigger","description":"trigger name","required":true}]},"scheduler":{"id":"scheduler","description":"Run the Saltcorn scheduler","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Start the Saltcorn server","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"port":{"name":"port","type":"option","char":"p","description":"port","default":3000},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"watchReaper":{"name":"watchReaper","type":"boolean","char":"r","description":"Watch reaper","allowNo":false},"dev":{"name":"dev","type":"boolean","char":"d","description":"Run in dev mode and re-start on file changes","allowNo":false},"addschema":{"name":"addschema","type":"boolean","char":"a","description":"Add schema if missing","allowNo":false},"nomigrate":{"name":"nomigrate","type":"boolean","char":"n","description":"No migrations","allowNo":false},"noscheduler":{"name":"noscheduler","type":"boolean","char":"s","description":"No scheduler","allowNo":false},"subdomain_offset":{"name":"subdomain_offset","type":"option","description":"Number of parts to remove to access subdomain in 'multi_tenant' mode"}},"args":[]},"set-cfg":{"id":"set-cfg","description":"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.","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"},"file":{"name":"file","type":"option","char":"f","description":"file"},"stdin":{"name":"stdin","type":"boolean","char":"i","description":"read value from stdin","allowNo":false}},"args":[{"name":"key","description":"Configuration key","required":false},{"name":"value","description":"Configuration value (JSON or string)"}]},"set-daily-time":{"id":"set-daily-time","description":"Set the time the default daily event will run, offset in minutes from the current time. Restart required.","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"mins","description":"Number of minutes in the futute (negative for past)"}]},"setup-benchmark":{"id":"setup-benchmark","description":"Setup an instance for benchmarking","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"setup":{"id":"setup","description":"Set up a new system\n...\nThis will attempt to install or connect a database, and set up a\nconfiguration file\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false}},"args":[]},"sync-upload-data":{"id":"sync-upload-data","description":"Runs a sync for data supplied by the mobile app","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenantAppName":{"name":"tenantAppName","type":"option","description":"Optional name of a tenant application"},"userEmail":{"name":"userEmail","type":"option","description":"email of the user running the sync"},"directory":{"name":"directory","type":"option","description":"directory name for input output data"},"syncTimestamp":{"name":"syncTimestamp","type":"option","description":"new timestamp for the sync_info rows"}},"args":[]},"take-snapshot":{"id":"take-snapshot","description":"Print a current snapshout to stdout","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"fresh":{"name":"fresh","type":"boolean","char":"f","description":"fresh","allowNo":false}},"args":[]},"transform-field":{"id":"transform-field","description":"transform an existing field by applying a calculated expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"expression","description":"expression to calculate field","required":true},{"name":"field","description":"field name","required":true},{"name":"table","description":"table name","required":true},{"name":"tenant","description":"tenant name","required":false}]},"dev:localize-plugin":{"id":"dev:localize-plugin","description":"Convert plugin to local plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"unlocalize":{"name":"unlocalize","type":"boolean","char":"u","description":"Unlocalize plugin (local to npm)","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"plugin","description":"Current plugin name","required":true},{"name":"path","description":"Absolute path to local plugin"}]},"dev:make-migration":{"id":"dev:make-migration","description":"Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n","usage":"make-migration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"dev:plugin-test":{"id":"dev:plugin-test","description":"Install a plugin, spawn 'npm run test' in the install directory and check the return code.","usage":"saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"Directory of local plugin"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store of a released plugin"},"backupFile":{"name":"backupFile","type":"option","char":"f","description":"Optional name of a backup file in the tests folder. If you ommit this, then the test has to create its own data."},"database":{"name":"database","type":"option","description":"Run on specified database. Default is 'saltcorn_test''"}},"args":[]},"dev:post-release":{"id":"dev:post-release","description":"Post-release tasks: docker and vagrant builds","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"task","description":"What to do","options":["docker","vagrant","all","none"]}]},"dev:release":{"id":"dev:release","description":"Release a new saltcorn version","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tag":{"name":"tag","type":"option","char":"t","description":"NPM tag"}},"args":[{"name":"version","description":"New version number","required":true}]},"dev:test-plugin":{"id":"dev:test-plugin","description":"Test a plugin\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"path to plugin package","required":true}]}}}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@saltcorn/cli",
|
|
3
3
|
"description": "Command-line interface for Saltcorn, open-source no-code platform",
|
|
4
4
|
"homepage": "https://saltcorn.com",
|
|
5
|
-
"version": "1.0.0-beta.
|
|
5
|
+
"version": "1.0.0-beta.1",
|
|
6
6
|
"author": "Tom Nielsen @glutamate",
|
|
7
7
|
"bin": {
|
|
8
8
|
"saltcorn": "./bin/saltcorn"
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"@oclif/config": "^1.18.3",
|
|
14
14
|
"@oclif/plugin-plugins": "^2.1.0",
|
|
15
15
|
"@oclif/plugin-help": "^3.3.1",
|
|
16
|
-
"@saltcorn/admin-models": "1.0.0-beta.
|
|
17
|
-
"@saltcorn/common-code": "1.0.0-beta.
|
|
18
|
-
"@saltcorn/data": "1.0.0-beta.
|
|
19
|
-
"@saltcorn/mobile-app": "1.0.0-beta.
|
|
20
|
-
"@saltcorn/mobile-builder": "1.0.0-beta.
|
|
21
|
-
"@saltcorn/plugins-loader": "1.0.0-beta.
|
|
22
|
-
"@saltcorn/server": "1.0.0-beta.
|
|
16
|
+
"@saltcorn/admin-models": "1.0.0-beta.1",
|
|
17
|
+
"@saltcorn/common-code": "1.0.0-beta.1",
|
|
18
|
+
"@saltcorn/data": "1.0.0-beta.1",
|
|
19
|
+
"@saltcorn/mobile-app": "1.0.0-beta.1",
|
|
20
|
+
"@saltcorn/mobile-builder": "1.0.0-beta.1",
|
|
21
|
+
"@saltcorn/plugins-loader": "1.0.0-beta.1",
|
|
22
|
+
"@saltcorn/server": "1.0.0-beta.1",
|
|
23
23
|
"cli-ux": "^5.6.7",
|
|
24
24
|
"contractis": "^0.1.0",
|
|
25
25
|
"dateformat": "^3.0.3",
|