@saltcorn/cli 1.6.0-alpha.0 → 1.6.0-alpha.10
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 +106 -58
- package/npm-shrinkwrap.json +1206 -1265
- package/oclif.manifest.json +106 -1
- package/package.json +8 -8
- package/src/commands/build-app.js +53 -22
- package/src/commands/dev/build.js +47 -0
- package/src/commands/dev/plugin-test.js +73 -22
- package/src/commands/dev/release.js +1 -0
- package/src/commands/dev/serve.js +75 -0
- package/src/commands/restore.js +3 -1
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.10 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.10/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.10/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>] [--appGroupId <value>] [--buildType
|
|
137
|
+
<value>] [--allowClearTextTraffic] [--androidKeystore <value>] [--androidKeyStoreAlias <value>]
|
|
138
|
+
[--androidKeystorePassword <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
|
|
@@ -156,6 +161,8 @@ FLAGS
|
|
|
156
161
|
--androidKeystore=<value> A self-signed certificate that includes the private key used to sign
|
|
157
162
|
your app.
|
|
158
163
|
--androidKeystorePassword=<value> he password to access the keystore file.
|
|
164
|
+
--appGroupId=<value> An app group identifier to share data between the main app and the
|
|
165
|
+
share extension on iOS, e.g. group.com.saltcorn.myapp
|
|
159
166
|
--appIcon=<value> A png that will be used as launcher icon. The default is a png of a
|
|
160
167
|
saltcorn symbol.
|
|
161
168
|
--appId=<value> Id of the mobile app (default com.saltcorn.mobileapp)
|
|
@@ -167,6 +174,8 @@ FLAGS
|
|
|
167
174
|
(Android only)
|
|
168
175
|
--includedPlugins=<value>... Names of plugins that should be bundled into the app.If empty, no
|
|
169
176
|
modules are used.
|
|
177
|
+
--noProvisioningProfile Do not use a provisioning profile, only for simulator builds (iOS
|
|
178
|
+
only)
|
|
170
179
|
--provisioningProfile=<value> This profile will be used to sign your app
|
|
171
180
|
--pushSync When offline mode is enabled, synchronize the synchedTables tables
|
|
172
181
|
when a push notification is received.
|
|
@@ -176,6 +185,8 @@ FLAGS
|
|
|
176
185
|
--syncInterval=<value> Perdiodic interval (in minutes) to run synchronizations in the
|
|
177
186
|
background. This is just a min interval, depending on system
|
|
178
187
|
conditions, the actual time may be longer.
|
|
188
|
+
--syncOnAppResume When offline mode is enabled, synchronize the synchedTables tables
|
|
189
|
+
when the app is resumed.
|
|
179
190
|
--syncOnReconnect Run Synchronizations and return into online mode when the network
|
|
180
191
|
connection is restored. When disabled, you still can do this
|
|
181
192
|
manually.
|
|
@@ -188,7 +199,7 @@ DESCRIPTION
|
|
|
188
199
|
Build mobile app
|
|
189
200
|
```
|
|
190
201
|
|
|
191
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
202
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
192
203
|
|
|
193
204
|
## `saltcorn build-capacitor-builder`
|
|
194
205
|
|
|
@@ -206,7 +217,7 @@ DESCRIPTION
|
|
|
206
217
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
207
218
|
```
|
|
208
219
|
|
|
209
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
220
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
210
221
|
|
|
211
222
|
## `saltcorn configuration-check`
|
|
212
223
|
|
|
@@ -223,7 +234,7 @@ DESCRIPTION
|
|
|
223
234
|
Check configuration
|
|
224
235
|
```
|
|
225
236
|
|
|
226
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
237
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
227
238
|
|
|
228
239
|
## `saltcorn configuration-check-backups FILES`
|
|
229
240
|
|
|
@@ -243,7 +254,7 @@ DESCRIPTION
|
|
|
243
254
|
Check configuration
|
|
244
255
|
```
|
|
245
256
|
|
|
246
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
257
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
247
258
|
|
|
248
259
|
## `saltcorn create-tenant TENANT`
|
|
249
260
|
|
|
@@ -265,7 +276,7 @@ DESCRIPTION
|
|
|
265
276
|
Create a tenant
|
|
266
277
|
```
|
|
267
278
|
|
|
268
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
279
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
269
280
|
|
|
270
281
|
## `saltcorn create-user`
|
|
271
282
|
|
|
@@ -286,7 +297,7 @@ DESCRIPTION
|
|
|
286
297
|
Create a new user
|
|
287
298
|
```
|
|
288
299
|
|
|
289
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
300
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
290
301
|
|
|
291
302
|
## `saltcorn delete-tenants`
|
|
292
303
|
|
|
@@ -300,7 +311,7 @@ DESCRIPTION
|
|
|
300
311
|
Delete inactive tenants
|
|
301
312
|
```
|
|
302
313
|
|
|
303
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
314
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
304
315
|
|
|
305
316
|
## `saltcorn delete-user USER_EMAIL`
|
|
306
317
|
|
|
@@ -323,7 +334,24 @@ DESCRIPTION
|
|
|
323
334
|
Command deletes the user specified by USER_EMAIL.
|
|
324
335
|
```
|
|
325
336
|
|
|
326
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
337
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
338
|
+
|
|
339
|
+
## `saltcorn dev:build [COMPONENT]`
|
|
340
|
+
|
|
341
|
+
Rebuild static assets
|
|
342
|
+
|
|
343
|
+
```
|
|
344
|
+
USAGE
|
|
345
|
+
$ saltcorn dev:build [COMPONENT]
|
|
346
|
+
|
|
347
|
+
ARGUMENTS
|
|
348
|
+
COMPONENT (builder|filemanager|workflow-editor) Component to rebuild
|
|
349
|
+
|
|
350
|
+
DESCRIPTION
|
|
351
|
+
Rebuild static assets
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
_See code: [src/commands/dev/build.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/dev/build.js)_
|
|
327
355
|
|
|
328
356
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
329
357
|
|
|
@@ -345,7 +373,7 @@ DESCRIPTION
|
|
|
345
373
|
Convert plugin to local plugin
|
|
346
374
|
```
|
|
347
375
|
|
|
348
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
376
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
349
377
|
|
|
350
378
|
## `saltcorn make-migration`
|
|
351
379
|
|
|
@@ -362,7 +390,7 @@ DESCRIPTION
|
|
|
362
390
|
unless you are a developer.
|
|
363
391
|
```
|
|
364
392
|
|
|
365
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
393
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
366
394
|
|
|
367
395
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
368
396
|
|
|
@@ -373,17 +401,19 @@ USAGE
|
|
|
373
401
|
$ saltcorn dev:plugin-test saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip
|
|
374
402
|
|
|
375
403
|
FLAGS
|
|
376
|
-
-d, --directory=<value>
|
|
377
|
-
-f, --backupFile=<value>
|
|
378
|
-
|
|
379
|
-
-n, --name=<value>
|
|
380
|
-
|
|
404
|
+
-d, --directory=<value> Directory of local plugin
|
|
405
|
+
-f, --backupFile=<value> Optional name of a backup file in the tests folder. If you ommit this, then the
|
|
406
|
+
test has to create its own data.
|
|
407
|
+
-n, --name=<value> Plugin name in store of a released plugin
|
|
408
|
+
-o, --overwriteDependency=<value>... Dependency to overwrite with a local plugin (can be used multiple times). Please
|
|
409
|
+
specify the path to the local plugin, the module name will be taken from there.
|
|
410
|
+
--database=<value> Run on specified database. Default is 'saltcorn_test''
|
|
381
411
|
|
|
382
412
|
DESCRIPTION
|
|
383
413
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
384
414
|
```
|
|
385
415
|
|
|
386
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
416
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
387
417
|
|
|
388
418
|
## `saltcorn dev:post-release [TASK] [TAG]`
|
|
389
419
|
|
|
@@ -401,7 +431,7 @@ DESCRIPTION
|
|
|
401
431
|
Post-release tasks: docker and vagrant builds
|
|
402
432
|
```
|
|
403
433
|
|
|
404
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
434
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
405
435
|
|
|
406
436
|
## `saltcorn dev:release VERSION TAG`
|
|
407
437
|
|
|
@@ -419,7 +449,7 @@ DESCRIPTION
|
|
|
419
449
|
Release a new saltcorn version
|
|
420
450
|
```
|
|
421
451
|
|
|
422
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
452
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
423
453
|
|
|
424
454
|
## `saltcorn dev:release-resume VERSION`
|
|
425
455
|
|
|
@@ -439,7 +469,25 @@ DESCRIPTION
|
|
|
439
469
|
Release a new saltcorn version
|
|
440
470
|
```
|
|
441
471
|
|
|
442
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
472
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
473
|
+
|
|
474
|
+
## `saltcorn dev:serve`
|
|
475
|
+
|
|
476
|
+
Development server. Serve on port 3000, restart when source files change
|
|
477
|
+
|
|
478
|
+
```
|
|
479
|
+
USAGE
|
|
480
|
+
$ saltcorn dev:serve [-p <value>] [-w <value>]
|
|
481
|
+
|
|
482
|
+
FLAGS
|
|
483
|
+
-p, --port=<value> [default: 3000] port
|
|
484
|
+
-w, --workers=<value> [default: 1] workers
|
|
485
|
+
|
|
486
|
+
DESCRIPTION
|
|
487
|
+
Development server. Serve on port 3000, restart when source files change
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
_See code: [src/commands/dev/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/dev/serve.js)_
|
|
443
491
|
|
|
444
492
|
## `saltcorn dev:test-plugin PATH`
|
|
445
493
|
|
|
@@ -458,7 +506,7 @@ DESCRIPTION
|
|
|
458
506
|
Extra documentation goes here
|
|
459
507
|
```
|
|
460
508
|
|
|
461
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
509
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
462
510
|
|
|
463
511
|
## `saltcorn dev:translate LOCALE`
|
|
464
512
|
|
|
@@ -478,7 +526,7 @@ DESCRIPTION
|
|
|
478
526
|
Produce translation files with LLM
|
|
479
527
|
```
|
|
480
528
|
|
|
481
|
-
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
529
|
+
_See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/dev/translate.js)_
|
|
482
530
|
|
|
483
531
|
## `saltcorn fixtures`
|
|
484
532
|
|
|
@@ -498,7 +546,7 @@ DESCRIPTION
|
|
|
498
546
|
This manual step it is never required for users and rarely required for developers
|
|
499
547
|
```
|
|
500
548
|
|
|
501
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
549
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
502
550
|
|
|
503
551
|
## `saltcorn get-cfg [KEY]`
|
|
504
552
|
|
|
@@ -519,7 +567,7 @@ DESCRIPTION
|
|
|
519
567
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
520
568
|
```
|
|
521
569
|
|
|
522
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
570
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
523
571
|
|
|
524
572
|
## `saltcorn info [KEY]`
|
|
525
573
|
|
|
@@ -545,7 +593,7 @@ ALIASES
|
|
|
545
593
|
$ saltcorn paths
|
|
546
594
|
```
|
|
547
595
|
|
|
548
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
596
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/info.js)_
|
|
549
597
|
|
|
550
598
|
## `saltcorn inspect TYPE [NAME]`
|
|
551
599
|
|
|
@@ -566,7 +614,7 @@ DESCRIPTION
|
|
|
566
614
|
Inspect an entity's JSON representation, or list entities
|
|
567
615
|
```
|
|
568
616
|
|
|
569
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
617
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
570
618
|
|
|
571
619
|
## `saltcorn install-pack`
|
|
572
620
|
|
|
@@ -585,7 +633,7 @@ DESCRIPTION
|
|
|
585
633
|
Install a pack or restore a snapshot
|
|
586
634
|
```
|
|
587
635
|
|
|
588
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
636
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
589
637
|
|
|
590
638
|
## `saltcorn install-plugin`
|
|
591
639
|
|
|
@@ -605,7 +653,7 @@ DESCRIPTION
|
|
|
605
653
|
Install a plugin
|
|
606
654
|
```
|
|
607
655
|
|
|
608
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
656
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
609
657
|
|
|
610
658
|
## `saltcorn list-tenants`
|
|
611
659
|
|
|
@@ -625,7 +673,7 @@ DESCRIPTION
|
|
|
625
673
|
List tenants in CSV format
|
|
626
674
|
```
|
|
627
675
|
|
|
628
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
676
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
629
677
|
|
|
630
678
|
## `saltcorn list-triggers`
|
|
631
679
|
|
|
@@ -644,7 +692,7 @@ DESCRIPTION
|
|
|
644
692
|
List triggers
|
|
645
693
|
```
|
|
646
694
|
|
|
647
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
695
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
648
696
|
|
|
649
697
|
## `saltcorn list-users`
|
|
650
698
|
|
|
@@ -662,7 +710,7 @@ DESCRIPTION
|
|
|
662
710
|
List users
|
|
663
711
|
```
|
|
664
712
|
|
|
665
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
713
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
666
714
|
|
|
667
715
|
## `saltcorn saltcorn migrate`
|
|
668
716
|
|
|
@@ -685,7 +733,7 @@ DESCRIPTION
|
|
|
685
733
|
servers and need to control when the migrations are run.
|
|
686
734
|
```
|
|
687
735
|
|
|
688
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
736
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
689
737
|
|
|
690
738
|
## `saltcorn modify-user USER_EMAIL`
|
|
691
739
|
|
|
@@ -716,7 +764,7 @@ DESCRIPTION
|
|
|
716
764
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
717
765
|
```
|
|
718
766
|
|
|
719
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
767
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
720
768
|
|
|
721
769
|
## `saltcorn paths [KEY]`
|
|
722
770
|
|
|
@@ -771,7 +819,7 @@ EXAMPLES
|
|
|
771
819
|
plugins -u -f - force plugin update
|
|
772
820
|
```
|
|
773
821
|
|
|
774
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
822
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
775
823
|
|
|
776
824
|
## `saltcorn pre-install-modules PLUGINSELECTOR`
|
|
777
825
|
|
|
@@ -791,7 +839,7 @@ DESCRIPTION
|
|
|
791
839
|
Pre-install modules required by Saltcorn before running the application.
|
|
792
840
|
```
|
|
793
841
|
|
|
794
|
-
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
842
|
+
_See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
|
|
795
843
|
|
|
796
844
|
## `saltcorn prepare`
|
|
797
845
|
|
|
@@ -809,7 +857,7 @@ DESCRIPTION
|
|
|
809
857
|
Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
|
|
810
858
|
```
|
|
811
859
|
|
|
812
|
-
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
860
|
+
_See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/prepare.js)_
|
|
813
861
|
|
|
814
862
|
## `saltcorn reset-schema`
|
|
815
863
|
|
|
@@ -829,7 +877,7 @@ DESCRIPTION
|
|
|
829
877
|
This will delete all existing information
|
|
830
878
|
```
|
|
831
879
|
|
|
832
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
880
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
833
881
|
|
|
834
882
|
## `saltcorn restore FILE`
|
|
835
883
|
|
|
@@ -849,7 +897,7 @@ DESCRIPTION
|
|
|
849
897
|
Restore a previously backed up database (zip or sqlc format)
|
|
850
898
|
```
|
|
851
899
|
|
|
852
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
900
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/restore.js)_
|
|
853
901
|
|
|
854
902
|
## `saltcorn rm-tenant`
|
|
855
903
|
|
|
@@ -869,7 +917,7 @@ DESCRIPTION
|
|
|
869
917
|
It recommended to make backup of tenant before perform this command.
|
|
870
918
|
```
|
|
871
919
|
|
|
872
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
920
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
873
921
|
|
|
874
922
|
## `saltcorn run-benchmark [BASEURL]`
|
|
875
923
|
|
|
@@ -891,7 +939,7 @@ DESCRIPTION
|
|
|
891
939
|
Run benchmark
|
|
892
940
|
```
|
|
893
941
|
|
|
894
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
942
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
895
943
|
|
|
896
944
|
## `saltcorn run-js`
|
|
897
945
|
|
|
@@ -910,7 +958,7 @@ DESCRIPTION
|
|
|
910
958
|
Run javascript code
|
|
911
959
|
```
|
|
912
960
|
|
|
913
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
961
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
914
962
|
|
|
915
963
|
## `saltcorn run-sql`
|
|
916
964
|
|
|
@@ -929,7 +977,7 @@ DESCRIPTION
|
|
|
929
977
|
Run sql expression
|
|
930
978
|
```
|
|
931
979
|
|
|
932
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
980
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
933
981
|
|
|
934
982
|
## `saltcorn run-tests [PACKAGE]`
|
|
935
983
|
|
|
@@ -956,7 +1004,7 @@ DESCRIPTION
|
|
|
956
1004
|
Run test suites
|
|
957
1005
|
```
|
|
958
1006
|
|
|
959
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1007
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
960
1008
|
|
|
961
1009
|
## `saltcorn run-trigger TRIGGER`
|
|
962
1010
|
|
|
@@ -976,7 +1024,7 @@ DESCRIPTION
|
|
|
976
1024
|
Run a trigger
|
|
977
1025
|
```
|
|
978
1026
|
|
|
979
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1027
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
980
1028
|
|
|
981
1029
|
## `saltcorn scheduler`
|
|
982
1030
|
|
|
@@ -993,7 +1041,7 @@ DESCRIPTION
|
|
|
993
1041
|
Run the Saltcorn scheduler
|
|
994
1042
|
```
|
|
995
1043
|
|
|
996
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1044
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
997
1045
|
|
|
998
1046
|
## `saltcorn serve`
|
|
999
1047
|
|
|
@@ -1018,7 +1066,7 @@ DESCRIPTION
|
|
|
1018
1066
|
Start the Saltcorn server
|
|
1019
1067
|
```
|
|
1020
1068
|
|
|
1021
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1069
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/serve.js)_
|
|
1022
1070
|
|
|
1023
1071
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
1024
1072
|
|
|
@@ -1043,7 +1091,7 @@ DESCRIPTION
|
|
|
1043
1091
|
stored as a string.
|
|
1044
1092
|
```
|
|
1045
1093
|
|
|
1046
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1094
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
1047
1095
|
|
|
1048
1096
|
## `saltcorn set-daily-time [MINS]`
|
|
1049
1097
|
|
|
@@ -1063,7 +1111,7 @@ DESCRIPTION
|
|
|
1063
1111
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
1064
1112
|
```
|
|
1065
1113
|
|
|
1066
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1114
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
1067
1115
|
|
|
1068
1116
|
## `saltcorn setup`
|
|
1069
1117
|
|
|
@@ -1083,7 +1131,7 @@ DESCRIPTION
|
|
|
1083
1131
|
configuration file
|
|
1084
1132
|
```
|
|
1085
1133
|
|
|
1086
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1134
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/setup.js)_
|
|
1087
1135
|
|
|
1088
1136
|
## `saltcorn setup-benchmark`
|
|
1089
1137
|
|
|
@@ -1101,7 +1149,7 @@ DESCRIPTION
|
|
|
1101
1149
|
Setup an instance for benchmarking
|
|
1102
1150
|
```
|
|
1103
1151
|
|
|
1104
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1152
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1105
1153
|
|
|
1106
1154
|
## `saltcorn sync-upload-data`
|
|
1107
1155
|
|
|
@@ -1123,7 +1171,7 @@ DESCRIPTION
|
|
|
1123
1171
|
Runs a sync for data supplied by the mobile app
|
|
1124
1172
|
```
|
|
1125
1173
|
|
|
1126
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1174
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1127
1175
|
|
|
1128
1176
|
## `saltcorn take-snapshot`
|
|
1129
1177
|
|
|
@@ -1141,7 +1189,7 @@ DESCRIPTION
|
|
|
1141
1189
|
Print a current snapshout to stdout
|
|
1142
1190
|
```
|
|
1143
1191
|
|
|
1144
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1192
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1145
1193
|
|
|
1146
1194
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1147
1195
|
|
|
@@ -1161,5 +1209,5 @@ DESCRIPTION
|
|
|
1161
1209
|
transform an existing field by applying a calculated expression
|
|
1162
1210
|
```
|
|
1163
1211
|
|
|
1164
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.
|
|
1212
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.10/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1165
1213
|
<!-- commandsstop -->
|