@saltcorn/cli 1.6.0-alpha.1 → 1.6.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +104 -58
- package/npm-shrinkwrap.json +623 -652
- package/oclif.manifest.json +99 -1
- package/package.json +8 -8
- package/src/commands/build-app.js +46 -22
- package/src/commands/dev/build.js +47 -0
- package/src/commands/dev/plugin-test.js +61 -10
- package/src/commands/dev/serve.js +75 -0
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @saltcorn/cli
|
|
|
20
20
|
$ saltcorn COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ saltcorn (--version)
|
|
23
|
-
@saltcorn/cli/1.6.0-alpha.
|
|
23
|
+
@saltcorn/cli/1.6.0-alpha.3 linux-x64 node-v20.19.4
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -41,12 +41,14 @@ USAGE
|
|
|
41
41
|
* [`saltcorn create-user`](#saltcorn-create-user)
|
|
42
42
|
* [`saltcorn delete-tenants`](#saltcorn-delete-tenants)
|
|
43
43
|
* [`saltcorn delete-user USER_EMAIL`](#saltcorn-delete-user-user_email)
|
|
44
|
+
* [`saltcorn dev:build [COMPONENT]`](#saltcorn-devbuild-component)
|
|
44
45
|
* [`saltcorn dev:localize-plugin PLUGIN [PATH]`](#saltcorn-devlocalize-plugin-plugin-path)
|
|
45
46
|
* [`saltcorn make-migration`](#saltcorn-make-migration)
|
|
46
47
|
* [`saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`](#saltcorn-saltcorn-devplugin-test--d-path_to_local_pluginstatistics--f-test-backupzip)
|
|
47
48
|
* [`saltcorn dev:post-release [TASK] [TAG]`](#saltcorn-devpost-release-task-tag)
|
|
48
49
|
* [`saltcorn dev:release VERSION TAG`](#saltcorn-devrelease-version-tag)
|
|
49
50
|
* [`saltcorn dev:release-resume VERSION`](#saltcorn-devrelease-resume-version)
|
|
51
|
+
* [`saltcorn dev:serve`](#saltcorn-devserve)
|
|
50
52
|
* [`saltcorn dev:test-plugin PATH`](#saltcorn-devtest-plugin-path)
|
|
51
53
|
* [`saltcorn dev:translate LOCALE`](#saltcorn-devtranslate-locale)
|
|
52
54
|
* [`saltcorn fixtures`](#saltcorn-fixtures)
|
|
@@ -97,7 +99,7 @@ DESCRIPTION
|
|
|
97
99
|
Add Saltcorn schema to existing database
|
|
98
100
|
```
|
|
99
101
|
|
|
100
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
102
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
101
103
|
|
|
102
104
|
## `saltcorn backup`
|
|
103
105
|
|
|
@@ -118,7 +120,7 @@ DESCRIPTION
|
|
|
118
120
|
Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
119
121
|
```
|
|
120
122
|
|
|
121
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
123
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/backup.js)_
|
|
122
124
|
|
|
123
125
|
## `saltcorn build-app`
|
|
124
126
|
|
|
@@ -130,9 +132,10 @@ USAGE
|
|
|
130
132
|
<value>] [-t <value>] [-l <value>...] [--synchedTables <value>...] [--includedPlugins <value>...] [-d] [-b <value>]
|
|
131
133
|
[-c <value>] [-u <value>] [--appName <value>] [--appId <value>] [--appVersion <value>] [--appIcon <value>] [-s
|
|
132
134
|
<value>] [--splashPage <value>] [--autoPublicLogin] [--showContinueAsPublicUser] [--allowOfflineMode]
|
|
133
|
-
[--syncOnReconnect] [--pushSync] [--syncInterval <value>] [--
|
|
134
|
-
[--
|
|
135
|
-
[--
|
|
135
|
+
[--syncOnReconnect] [--syncOnAppResume] [--pushSync] [--syncInterval <value>] [--noProvisioningProfile]
|
|
136
|
+
[--provisioningProfile <value>] [--shareExtensionProvisioningProfile <value>] [--buildType <value>]
|
|
137
|
+
[--allowClearTextTraffic] [--androidKeystore <value>] [--androidKeyStoreAlias <value>] [--androidKeystorePassword
|
|
138
|
+
<value>] [--googleServicesFile <value>]
|
|
136
139
|
|
|
137
140
|
FLAGS
|
|
138
141
|
-b, --buildDirectory=<value> A directory where the app should be build
|
|
@@ -149,6 +152,8 @@ FLAGS
|
|
|
149
152
|
-s, --serverURL=<value> URL to a saltcorn server
|
|
150
153
|
-t, --entryPointType=<value> Type of the entry point ('view' or 'page'). The default is 'view'.
|
|
151
154
|
-u, --userEmail=<value> Email of the user building the app
|
|
155
|
+
--allowClearTextTraffic Enable this to allow unsecure HTTP connections. Useful for local
|
|
156
|
+
testing.
|
|
152
157
|
--allowOfflineMode Switch to offline mode when there is no internet, sync the data when
|
|
153
158
|
a connection is available again.
|
|
154
159
|
--allowShareTo Allow sharing from other apps to this app
|
|
@@ -167,6 +172,8 @@ FLAGS
|
|
|
167
172
|
(Android only)
|
|
168
173
|
--includedPlugins=<value>... Names of plugins that should be bundled into the app.If empty, no
|
|
169
174
|
modules are used.
|
|
175
|
+
--noProvisioningProfile Do not use a provisioning profile, only for simulator builds (iOS
|
|
176
|
+
only)
|
|
170
177
|
--provisioningProfile=<value> This profile will be used to sign your app
|
|
171
178
|
--pushSync When offline mode is enabled, synchronize the synchedTables tables
|
|
172
179
|
when a push notification is received.
|
|
@@ -176,6 +183,8 @@ FLAGS
|
|
|
176
183
|
--syncInterval=<value> Perdiodic interval (in minutes) to run synchronizations in the
|
|
177
184
|
background. This is just a min interval, depending on system
|
|
178
185
|
conditions, the actual time may be longer.
|
|
186
|
+
--syncOnAppResume When offline mode is enabled, synchronize the synchedTables tables
|
|
187
|
+
when the app is resumed.
|
|
179
188
|
--syncOnReconnect Run Synchronizations and return into online mode when the network
|
|
180
189
|
connection is restored. When disabled, you still can do this
|
|
181
190
|
manually.
|
|
@@ -188,7 +197,7 @@ DESCRIPTION
|
|
|
188
197
|
Build mobile app
|
|
189
198
|
```
|
|
190
199
|
|
|
191
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
200
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
192
201
|
|
|
193
202
|
## `saltcorn build-capacitor-builder`
|
|
194
203
|
|
|
@@ -206,7 +215,7 @@ DESCRIPTION
|
|
|
206
215
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
207
216
|
```
|
|
208
217
|
|
|
209
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
218
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
210
219
|
|
|
211
220
|
## `saltcorn configuration-check`
|
|
212
221
|
|
|
@@ -223,7 +232,7 @@ DESCRIPTION
|
|
|
223
232
|
Check configuration
|
|
224
233
|
```
|
|
225
234
|
|
|
226
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
235
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
227
236
|
|
|
228
237
|
## `saltcorn configuration-check-backups FILES`
|
|
229
238
|
|
|
@@ -243,7 +252,7 @@ DESCRIPTION
|
|
|
243
252
|
Check configuration
|
|
244
253
|
```
|
|
245
254
|
|
|
246
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
255
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
247
256
|
|
|
248
257
|
## `saltcorn create-tenant TENANT`
|
|
249
258
|
|
|
@@ -265,7 +274,7 @@ DESCRIPTION
|
|
|
265
274
|
Create a tenant
|
|
266
275
|
```
|
|
267
276
|
|
|
268
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
277
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
269
278
|
|
|
270
279
|
## `saltcorn create-user`
|
|
271
280
|
|
|
@@ -286,7 +295,7 @@ DESCRIPTION
|
|
|
286
295
|
Create a new user
|
|
287
296
|
```
|
|
288
297
|
|
|
289
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
298
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
290
299
|
|
|
291
300
|
## `saltcorn delete-tenants`
|
|
292
301
|
|
|
@@ -300,7 +309,7 @@ DESCRIPTION
|
|
|
300
309
|
Delete inactive tenants
|
|
301
310
|
```
|
|
302
311
|
|
|
303
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
312
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
304
313
|
|
|
305
314
|
## `saltcorn delete-user USER_EMAIL`
|
|
306
315
|
|
|
@@ -323,7 +332,24 @@ DESCRIPTION
|
|
|
323
332
|
Command deletes the user specified by USER_EMAIL.
|
|
324
333
|
```
|
|
325
334
|
|
|
326
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
335
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
336
|
+
|
|
337
|
+
## `saltcorn dev:build [COMPONENT]`
|
|
338
|
+
|
|
339
|
+
Rebuild static assets
|
|
340
|
+
|
|
341
|
+
```
|
|
342
|
+
USAGE
|
|
343
|
+
$ saltcorn dev:build [COMPONENT]
|
|
344
|
+
|
|
345
|
+
ARGUMENTS
|
|
346
|
+
COMPONENT (builder|filemanager|workflow-editor) Component to rebuild
|
|
347
|
+
|
|
348
|
+
DESCRIPTION
|
|
349
|
+
Rebuild static assets
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
_See code: [src/commands/dev/build.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/build.js)_
|
|
327
353
|
|
|
328
354
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
329
355
|
|
|
@@ -345,7 +371,7 @@ DESCRIPTION
|
|
|
345
371
|
Convert plugin to local plugin
|
|
346
372
|
```
|
|
347
373
|
|
|
348
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
374
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
349
375
|
|
|
350
376
|
## `saltcorn make-migration`
|
|
351
377
|
|
|
@@ -362,7 +388,7 @@ DESCRIPTION
|
|
|
362
388
|
unless you are a developer.
|
|
363
389
|
```
|
|
364
390
|
|
|
365
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
391
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
366
392
|
|
|
367
393
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
368
394
|
|
|
@@ -373,17 +399,19 @@ USAGE
|
|
|
373
399
|
$ saltcorn dev:plugin-test saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip
|
|
374
400
|
|
|
375
401
|
FLAGS
|
|
376
|
-
-d, --directory=<value>
|
|
377
|
-
-f, --backupFile=<value>
|
|
378
|
-
|
|
379
|
-
-n, --name=<value>
|
|
380
|
-
|
|
402
|
+
-d, --directory=<value> Directory of local plugin
|
|
403
|
+
-f, --backupFile=<value> Optional name of a backup file in the tests folder. If you ommit this, then the
|
|
404
|
+
test has to create its own data.
|
|
405
|
+
-n, --name=<value> Plugin name in store of a released plugin
|
|
406
|
+
-o, --overwriteDependency=<value>... Dependency to overwrite with a local plugin (can be used multiple times). Please
|
|
407
|
+
specify the path to the local plugin, the module name will be taken from there.
|
|
408
|
+
--database=<value> Run on specified database. Default is 'saltcorn_test''
|
|
381
409
|
|
|
382
410
|
DESCRIPTION
|
|
383
411
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
384
412
|
```
|
|
385
413
|
|
|
386
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
414
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
387
415
|
|
|
388
416
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
389
417
|
|
|
@@ -401,7 +429,7 @@ DESCRIPTION
|
|
|
401
429
|
Post-release tasks: docker and vagrant builds
|
|
402
430
|
```
|
|
403
431
|
|
|
404
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
432
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
405
433
|
|
|
406
434
|
## `saltcorn dev:release VERSION TAG`
|
|
407
435
|
|
|
@@ -419,7 +447,7 @@ DESCRIPTION
|
|
|
419
447
|
Release a new saltcorn version
|
|
420
448
|
```
|
|
421
449
|
|
|
422
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
450
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
423
451
|
|
|
424
452
|
## `saltcorn dev:release-resume VERSION`
|
|
425
453
|
|
|
@@ -439,7 +467,25 @@ DESCRIPTION
|
|
|
439
467
|
Release a new saltcorn version
|
|
440
468
|
```
|
|
441
469
|
|
|
442
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
470
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
471
|
+
|
|
472
|
+
## `saltcorn dev:serve`
|
|
473
|
+
|
|
474
|
+
Development server. Serve on port 3000, restart when source files change
|
|
475
|
+
|
|
476
|
+
```
|
|
477
|
+
USAGE
|
|
478
|
+
$ saltcorn dev:serve [-p <value>] [-w <value>]
|
|
479
|
+
|
|
480
|
+
FLAGS
|
|
481
|
+
-p, --port=<value> [default: 3000] port
|
|
482
|
+
-w, --workers=<value> [default: 1] workers
|
|
483
|
+
|
|
484
|
+
DESCRIPTION
|
|
485
|
+
Development server. Serve on port 3000, restart when source files change
|
|
486
|
+
```
|
|
487
|
+
|
|
488
|
+
_See code: [src/commands/dev/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/serve.js)_
|
|
443
489
|
|
|
444
490
|
## `saltcorn dev:test-plugin PATH`
|
|
445
491
|
|
|
@@ -458,7 +504,7 @@ DESCRIPTION
|
|
|
458
504
|
Extra documentation goes here
|
|
459
505
|
```
|
|
460
506
|
|
|
461
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
507
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
462
508
|
|
|
463
509
|
## `saltcorn dev:translate LOCALE`
|
|
464
510
|
|
|
@@ -478,7 +524,7 @@ DESCRIPTION
|
|
|
478
524
|
Produce translation files with LLM
|
|
479
525
|
```
|
|
480
526
|
|
|
481
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
527
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
482
528
|
|
|
483
529
|
## `saltcorn fixtures`
|
|
484
530
|
|
|
@@ -498,7 +544,7 @@ DESCRIPTION
|
|
|
498
544
|
This manual step it is never required for users and rarely required for developers
|
|
499
545
|
```
|
|
500
546
|
|
|
501
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
547
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
502
548
|
|
|
503
549
|
## `saltcorn get-cfg [KEY]`
|
|
504
550
|
|
|
@@ -519,7 +565,7 @@ DESCRIPTION
|
|
|
519
565
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
520
566
|
```
|
|
521
567
|
|
|
522
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
568
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
523
569
|
|
|
524
570
|
## `saltcorn info [KEY]`
|
|
525
571
|
|
|
@@ -545,7 +591,7 @@ ALIASES
|
|
|
545
591
|
$ saltcorn paths
|
|
546
592
|
```
|
|
547
593
|
|
|
548
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
594
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/info.js)_
|
|
549
595
|
|
|
550
596
|
## `saltcorn inspect TYPE [NAME]`
|
|
551
597
|
|
|
@@ -566,7 +612,7 @@ DESCRIPTION
|
|
|
566
612
|
Inspect an entity's JSON representation, or list entities
|
|
567
613
|
```
|
|
568
614
|
|
|
569
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
615
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
570
616
|
|
|
571
617
|
## `saltcorn install-pack`
|
|
572
618
|
|
|
@@ -585,7 +631,7 @@ DESCRIPTION
|
|
|
585
631
|
Install a pack or restore a snapshot
|
|
586
632
|
```
|
|
587
633
|
|
|
588
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
634
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
589
635
|
|
|
590
636
|
## `saltcorn install-plugin`
|
|
591
637
|
|
|
@@ -605,7 +651,7 @@ DESCRIPTION
|
|
|
605
651
|
Install a plugin
|
|
606
652
|
```
|
|
607
653
|
|
|
608
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
654
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
609
655
|
|
|
610
656
|
## `saltcorn list-tenants`
|
|
611
657
|
|
|
@@ -625,7 +671,7 @@ DESCRIPTION
|
|
|
625
671
|
List tenants in CSV format
|
|
626
672
|
```
|
|
627
673
|
|
|
628
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
674
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
629
675
|
|
|
630
676
|
## `saltcorn list-triggers`
|
|
631
677
|
|
|
@@ -644,7 +690,7 @@ DESCRIPTION
|
|
|
644
690
|
List triggers
|
|
645
691
|
```
|
|
646
692
|
|
|
647
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
693
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
648
694
|
|
|
649
695
|
## `saltcorn list-users`
|
|
650
696
|
|
|
@@ -662,7 +708,7 @@ DESCRIPTION
|
|
|
662
708
|
List users
|
|
663
709
|
```
|
|
664
710
|
|
|
665
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
711
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
666
712
|
|
|
667
713
|
## `saltcorn saltcorn migrate`
|
|
668
714
|
|
|
@@ -685,7 +731,7 @@ DESCRIPTION
|
|
|
685
731
|
servers and need to control when the migrations are run.
|
|
686
732
|
```
|
|
687
733
|
|
|
688
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
734
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
689
735
|
|
|
690
736
|
## `saltcorn modify-user USER_EMAIL`
|
|
691
737
|
|
|
@@ -716,7 +762,7 @@ DESCRIPTION
|
|
|
716
762
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
717
763
|
```
|
|
718
764
|
|
|
719
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
765
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
720
766
|
|
|
721
767
|
## `saltcorn paths [KEY]`
|
|
722
768
|
|
|
@@ -771,7 +817,7 @@ EXAMPLES
|
|
|
771
817
|
plugins -u -f - force plugin update
|
|
772
818
|
```
|
|
773
819
|
|
|
774
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
820
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
775
821
|
|
|
776
822
|
## `saltcorn pre-install-modules PLUGINSELECTOR`
|
|
777
823
|
|
|
@@ -791,7 +837,7 @@ DESCRIPTION
|
|
|
791
837
|
Pre-install modules required by Saltcorn before running the application.
|
|
792
838
|
```
|
|
793
839
|
|
|
794
|
-
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
840
|
+
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
|
|
795
841
|
|
|
796
842
|
## `saltcorn prepare`
|
|
797
843
|
|
|
@@ -809,7 +855,7 @@ DESCRIPTION
|
|
|
809
855
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
810
856
|
```
|
|
811
857
|
|
|
812
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
858
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
813
859
|
|
|
814
860
|
## `saltcorn reset-schema`
|
|
815
861
|
|
|
@@ -829,7 +875,7 @@ DESCRIPTION
|
|
|
829
875
|
This will delete all existing information
|
|
830
876
|
```
|
|
831
877
|
|
|
832
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
878
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
833
879
|
|
|
834
880
|
## `saltcorn restore FILE`
|
|
835
881
|
|
|
@@ -849,7 +895,7 @@ DESCRIPTION
|
|
|
849
895
|
Restore a previously backed up database (zip or sqlc format)
|
|
850
896
|
```
|
|
851
897
|
|
|
852
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
898
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/restore.js)_
|
|
853
899
|
|
|
854
900
|
## `saltcorn rm-tenant`
|
|
855
901
|
|
|
@@ -869,7 +915,7 @@ DESCRIPTION
|
|
|
869
915
|
It recommended to make backup of tenant before perform this command.
|
|
870
916
|
```
|
|
871
917
|
|
|
872
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
918
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
873
919
|
|
|
874
920
|
## `saltcorn run-benchmark [BASEURL]`
|
|
875
921
|
|
|
@@ -891,7 +937,7 @@ DESCRIPTION
|
|
|
891
937
|
Run benchmark
|
|
892
938
|
```
|
|
893
939
|
|
|
894
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
940
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
895
941
|
|
|
896
942
|
## `saltcorn run-js`
|
|
897
943
|
|
|
@@ -910,7 +956,7 @@ DESCRIPTION
|
|
|
910
956
|
Run javascript code
|
|
911
957
|
```
|
|
912
958
|
|
|
913
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
959
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
914
960
|
|
|
915
961
|
## `saltcorn run-sql`
|
|
916
962
|
|
|
@@ -929,7 +975,7 @@ DESCRIPTION
|
|
|
929
975
|
Run sql expression
|
|
930
976
|
```
|
|
931
977
|
|
|
932
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
978
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
933
979
|
|
|
934
980
|
## `saltcorn run-tests [PACKAGE]`
|
|
935
981
|
|
|
@@ -956,7 +1002,7 @@ DESCRIPTION
|
|
|
956
1002
|
Run test suites
|
|
957
1003
|
```
|
|
958
1004
|
|
|
959
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1005
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
960
1006
|
|
|
961
1007
|
## `saltcorn run-trigger TRIGGER`
|
|
962
1008
|
|
|
@@ -976,7 +1022,7 @@ DESCRIPTION
|
|
|
976
1022
|
Run a trigger
|
|
977
1023
|
```
|
|
978
1024
|
|
|
979
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1025
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
980
1026
|
|
|
981
1027
|
## `saltcorn scheduler`
|
|
982
1028
|
|
|
@@ -993,7 +1039,7 @@ DESCRIPTION
|
|
|
993
1039
|
Run the Saltcorn scheduler
|
|
994
1040
|
```
|
|
995
1041
|
|
|
996
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1042
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
997
1043
|
|
|
998
1044
|
## `saltcorn serve`
|
|
999
1045
|
|
|
@@ -1018,7 +1064,7 @@ DESCRIPTION
|
|
|
1018
1064
|
Start the Saltcorn server
|
|
1019
1065
|
```
|
|
1020
1066
|
|
|
1021
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1067
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/serve.js)_
|
|
1022
1068
|
|
|
1023
1069
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
1024
1070
|
|
|
@@ -1043,7 +1089,7 @@ DESCRIPTION
|
|
|
1043
1089
|
stored as a string.
|
|
1044
1090
|
```
|
|
1045
1091
|
|
|
1046
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1092
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1047
1093
|
|
|
1048
1094
|
## `saltcorn set-daily-time [MINS]`
|
|
1049
1095
|
|
|
@@ -1063,7 +1109,7 @@ DESCRIPTION
|
|
|
1063
1109
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1064
1110
|
```
|
|
1065
1111
|
|
|
1066
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1112
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1067
1113
|
|
|
1068
1114
|
## `saltcorn setup`
|
|
1069
1115
|
|
|
@@ -1083,7 +1129,7 @@ DESCRIPTION
|
|
|
1083
1129
|
configuration file
|
|
1084
1130
|
```
|
|
1085
1131
|
|
|
1086
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1132
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1087
1133
|
|
|
1088
1134
|
## `saltcorn setup-benchmark`
|
|
1089
1135
|
|
|
@@ -1101,7 +1147,7 @@ DESCRIPTION
|
|
|
1101
1147
|
Setup an instance for benchmarking
|
|
1102
1148
|
```
|
|
1103
1149
|
|
|
1104
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1150
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1105
1151
|
|
|
1106
1152
|
## `saltcorn sync-upload-data`
|
|
1107
1153
|
|
|
@@ -1123,7 +1169,7 @@ DESCRIPTION
|
|
|
1123
1169
|
Runs a sync for data supplied by the mobile app
|
|
1124
1170
|
```
|
|
1125
1171
|
|
|
1126
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1172
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1127
1173
|
|
|
1128
1174
|
## `saltcorn take-snapshot`
|
|
1129
1175
|
|
|
@@ -1141,7 +1187,7 @@ DESCRIPTION
|
|
|
1141
1187
|
Print a current snapshout to stdout
|
|
1142
1188
|
```
|
|
1143
1189
|
|
|
1144
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1190
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1145
1191
|
|
|
1146
1192
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1147
1193
|
|
|
@@ -1161,5 +1207,5 @@ DESCRIPTION
|
|
|
1161
1207
|
transform an existing field by applying a calculated expression
|
|
1162
1208
|
```
|
|
1163
1209
|
|
|
1164
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1210
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.3/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1165
1211
|
<!-- commandsstop -->
|