@saltcorn/cli 1.1.1-beta.1 → 1.1.1-beta.2
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 +89 -79
- package/npm-shrinkwrap.json +425 -425
- package/oclif.manifest.json +26 -1
- package/package.json +8 -8
- package/src/commands/build-app.js +85 -5
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.1.1-beta.
|
|
23
|
+
@saltcorn/cli/1.1.1-beta.2 linux-x64 node-v22.13.0
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -94,7 +94,7 @@ DESCRIPTION
|
|
|
94
94
|
Add Saltcorn schema to existing database
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
97
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/add-schema.js)_
|
|
98
98
|
|
|
99
99
|
## `saltcorn backup`
|
|
100
100
|
|
|
@@ -115,7 +115,7 @@ DESCRIPTION
|
|
|
115
115
|
Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
118
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/backup.js)_
|
|
119
119
|
|
|
120
120
|
## `saltcorn build-app`
|
|
121
121
|
|
|
@@ -123,46 +123,56 @@ Build mobile app
|
|
|
123
123
|
|
|
124
124
|
```
|
|
125
125
|
USAGE
|
|
126
|
-
$ saltcorn build-app [
|
|
127
|
-
|
|
128
|
-
<value>] [
|
|
129
|
-
[--
|
|
130
|
-
<value>] [--
|
|
126
|
+
$ saltcorn build-app [-m full|prepare|finish] [--allowShareTo] [--tenantAppName <value>] [-p <value>] [-e
|
|
127
|
+
<value>] [-t <value>] [-l <value>] [--synchedTables <value>] [--includedPlugins <value>] [-d] [-b <value>] [-c
|
|
128
|
+
<value>] [-u <value>] [--appName <value>] [--appId <value>] [--appVersion <value>] [--appIcon <value>] [-s <value>]
|
|
129
|
+
[--splashPage <value>] [--autoPublicLogin] [--allowOfflineMode] [--provisioningProfile <value>]
|
|
130
|
+
[--shareExtensionProvisioningProfile <value>] [--buildType <value>] [--androidKeystore <value>]
|
|
131
|
+
[--androidKeyStoreAlias <value>] [--androidKeystorePassword <value>]
|
|
131
132
|
|
|
132
133
|
FLAGS
|
|
133
|
-
-b, --buildDirectory=<value>
|
|
134
|
-
-c, --copyAppDirectory=<value>
|
|
135
|
-
-d, --useDocker
|
|
136
|
-
-e, --entryPoint=<value>
|
|
137
|
-
-l, --localUserTables=<value>...
|
|
138
|
-
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
--
|
|
143
|
-
|
|
144
|
-
--
|
|
145
|
-
--
|
|
146
|
-
--
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
--
|
|
150
|
-
--
|
|
151
|
-
|
|
152
|
-
--
|
|
153
|
-
--
|
|
154
|
-
|
|
155
|
-
--
|
|
156
|
-
--
|
|
157
|
-
--
|
|
158
|
-
--
|
|
159
|
-
|
|
134
|
+
-b, --buildDirectory=<value> A directory where the app should be build
|
|
135
|
+
-c, --copyAppDirectory=<value> If set, the app file will be copied here, please set 'user email', too
|
|
136
|
+
-d, --useDocker Use a docker container to build the app.
|
|
137
|
+
-e, --entryPoint=<value> This is the first view or page (see -t) after the login.
|
|
138
|
+
-l, --localUserTables=<value>... user defined tables that should be replicated into the app
|
|
139
|
+
-m, --mode=<option> [default: full] Build the app completely (full), prepare the ios build
|
|
140
|
+
directory (prepare) or finish the ios build in the prepared ios folder
|
|
141
|
+
(finish)
|
|
142
|
+
<options: full|prepare|finish>
|
|
143
|
+
-p, --platforms=<value>... Platforms to build for, space separated list
|
|
144
|
+
-s, --serverURL=<value> URL to a saltcorn server
|
|
145
|
+
-t, --entryPointType=<value> Type of the entry point ('view' or 'page'). The default is 'view'.
|
|
146
|
+
-u, --userEmail=<value> Email of the user building the app
|
|
147
|
+
--allowOfflineMode Switch to offline mode when there is no internet, sync the data when a
|
|
148
|
+
connection is available again.
|
|
149
|
+
--allowShareTo Allow sharing from other apps to this app
|
|
150
|
+
--androidKeyStoreAlias=<value> A unique name to identify the key within the keystore file.
|
|
151
|
+
--androidKeystore=<value> A self-signed certificate that includes the private key used to sign your
|
|
152
|
+
app.
|
|
153
|
+
--androidKeystorePassword=<value> he password to access the keystore file.
|
|
154
|
+
--appIcon=<value> A png that will be used as launcher icon. The default is a png of a
|
|
155
|
+
saltcorn symbol.
|
|
156
|
+
--appId=<value> Id of the mobile app (default com.saltcorn.mobileapp)
|
|
157
|
+
--appName=<value> Name of the mobile app (default SaltcornMobileApp)
|
|
158
|
+
--appVersion=<value> Version of the mobile app (default 0.0.1)
|
|
159
|
+
--autoPublicLogin Show public entry points before the login as a public user.
|
|
160
|
+
--buildType=<value> debug or release build
|
|
161
|
+
--includedPlugins=<value>... Names of plugins that should be bundled into the app.If empty, no modules
|
|
162
|
+
are used.
|
|
163
|
+
--provisioningProfile=<value> This profile will be used to sign your app
|
|
164
|
+
--shareExtensionProvisioningProfile=<value> This profile will be used to sign your share extension on iOS
|
|
165
|
+
--splashPage=<value> Name of a page that should be shown while the app is loading.
|
|
166
|
+
--synchedTables=<value>... Table names for which the offline should be synchronized with the
|
|
167
|
+
saltcorn server
|
|
168
|
+
--tenantAppName=<value> Optional name of a tenant application, if set, the app will be build for
|
|
169
|
+
this tenant
|
|
160
170
|
|
|
161
171
|
DESCRIPTION
|
|
162
172
|
Build mobile app
|
|
163
173
|
```
|
|
164
174
|
|
|
165
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
175
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/build-app.js)_
|
|
166
176
|
|
|
167
177
|
## `saltcorn build-capacitor-builder`
|
|
168
178
|
|
|
@@ -180,7 +190,7 @@ DESCRIPTION
|
|
|
180
190
|
Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
|
|
181
191
|
```
|
|
182
192
|
|
|
183
|
-
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
193
|
+
_See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
|
|
184
194
|
|
|
185
195
|
## `saltcorn configuration-check`
|
|
186
196
|
|
|
@@ -197,7 +207,7 @@ DESCRIPTION
|
|
|
197
207
|
Check configuration
|
|
198
208
|
```
|
|
199
209
|
|
|
200
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
210
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/configuration-check.js)_
|
|
201
211
|
|
|
202
212
|
## `saltcorn configuration-check-backups FILES`
|
|
203
213
|
|
|
@@ -217,7 +227,7 @@ DESCRIPTION
|
|
|
217
227
|
Check configuration
|
|
218
228
|
```
|
|
219
229
|
|
|
220
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
230
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
|
|
221
231
|
|
|
222
232
|
## `saltcorn create-tenant TENANT`
|
|
223
233
|
|
|
@@ -239,7 +249,7 @@ DESCRIPTION
|
|
|
239
249
|
Create a tenant
|
|
240
250
|
```
|
|
241
251
|
|
|
242
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
252
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/create-tenant.js)_
|
|
243
253
|
|
|
244
254
|
## `saltcorn create-user`
|
|
245
255
|
|
|
@@ -260,7 +270,7 @@ DESCRIPTION
|
|
|
260
270
|
Create a new user
|
|
261
271
|
```
|
|
262
272
|
|
|
263
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
273
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/create-user.js)_
|
|
264
274
|
|
|
265
275
|
## `saltcorn delete-tenants`
|
|
266
276
|
|
|
@@ -274,7 +284,7 @@ DESCRIPTION
|
|
|
274
284
|
Delete inactive tenants
|
|
275
285
|
```
|
|
276
286
|
|
|
277
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
287
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/delete-tenants.js)_
|
|
278
288
|
|
|
279
289
|
## `saltcorn delete-user USER_EMAIL`
|
|
280
290
|
|
|
@@ -297,7 +307,7 @@ DESCRIPTION
|
|
|
297
307
|
Command deletes the user specified by USER_EMAIL.
|
|
298
308
|
```
|
|
299
309
|
|
|
300
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
310
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/delete-user.js)_
|
|
301
311
|
|
|
302
312
|
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
303
313
|
|
|
@@ -319,7 +329,7 @@ DESCRIPTION
|
|
|
319
329
|
Convert plugin to local plugin
|
|
320
330
|
```
|
|
321
331
|
|
|
322
|
-
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
332
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
|
|
323
333
|
|
|
324
334
|
## `saltcorn make-migration`
|
|
325
335
|
|
|
@@ -336,7 +346,7 @@ DESCRIPTION
|
|
|
336
346
|
unless you are a developer.
|
|
337
347
|
```
|
|
338
348
|
|
|
339
|
-
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
349
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
|
|
340
350
|
|
|
341
351
|
## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
|
|
342
352
|
|
|
@@ -357,7 +367,7 @@ DESCRIPTION
|
|
|
357
367
|
Install a plugin, spawn 'npm run test' in the install directory and check the return code.
|
|
358
368
|
```
|
|
359
369
|
|
|
360
|
-
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
370
|
+
_See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
|
|
361
371
|
|
|
362
372
|
## `saltcorn dev:post-release [TASK]`
|
|
363
373
|
|
|
@@ -374,7 +384,7 @@ DESCRIPTION
|
|
|
374
384
|
Post-release tasks: docker and vagrant builds
|
|
375
385
|
```
|
|
376
386
|
|
|
377
|
-
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
387
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/dev/post-release.js)_
|
|
378
388
|
|
|
379
389
|
## `saltcorn dev:release VERSION`
|
|
380
390
|
|
|
@@ -394,7 +404,7 @@ DESCRIPTION
|
|
|
394
404
|
Release a new saltcorn version
|
|
395
405
|
```
|
|
396
406
|
|
|
397
|
-
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
407
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/dev/release.js)_
|
|
398
408
|
|
|
399
409
|
## `saltcorn dev:release-resume VERSION`
|
|
400
410
|
|
|
@@ -414,7 +424,7 @@ DESCRIPTION
|
|
|
414
424
|
Release a new saltcorn version
|
|
415
425
|
```
|
|
416
426
|
|
|
417
|
-
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
427
|
+
_See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
|
|
418
428
|
|
|
419
429
|
## `saltcorn dev:test-plugin PATH`
|
|
420
430
|
|
|
@@ -433,7 +443,7 @@ DESCRIPTION
|
|
|
433
443
|
Extra documentation goes here
|
|
434
444
|
```
|
|
435
445
|
|
|
436
|
-
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
446
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
|
|
437
447
|
|
|
438
448
|
## `saltcorn fixtures`
|
|
439
449
|
|
|
@@ -453,7 +463,7 @@ DESCRIPTION
|
|
|
453
463
|
This manual step it is never required for users and rarely required for developers
|
|
454
464
|
```
|
|
455
465
|
|
|
456
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
466
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/fixtures.js)_
|
|
457
467
|
|
|
458
468
|
## `saltcorn get-cfg [KEY]`
|
|
459
469
|
|
|
@@ -474,7 +484,7 @@ DESCRIPTION
|
|
|
474
484
|
Get a configuration value. The value is printed to stdout as a JSON value
|
|
475
485
|
```
|
|
476
486
|
|
|
477
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
487
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/get-cfg.js)_
|
|
478
488
|
|
|
479
489
|
## `saltcorn info`
|
|
480
490
|
|
|
@@ -497,7 +507,7 @@ ALIASES
|
|
|
497
507
|
$ saltcorn paths
|
|
498
508
|
```
|
|
499
509
|
|
|
500
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
510
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/info.js)_
|
|
501
511
|
|
|
502
512
|
## `saltcorn inspect TYPE [NAME]`
|
|
503
513
|
|
|
@@ -518,7 +528,7 @@ DESCRIPTION
|
|
|
518
528
|
Inspect an entity's JSON representation, or list entities
|
|
519
529
|
```
|
|
520
530
|
|
|
521
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
531
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/inspect.js)_
|
|
522
532
|
|
|
523
533
|
## `saltcorn install-pack`
|
|
524
534
|
|
|
@@ -537,7 +547,7 @@ DESCRIPTION
|
|
|
537
547
|
Install a pack or restore a snapshot
|
|
538
548
|
```
|
|
539
549
|
|
|
540
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
550
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/install-pack.js)_
|
|
541
551
|
|
|
542
552
|
## `saltcorn install-plugin`
|
|
543
553
|
|
|
@@ -557,7 +567,7 @@ DESCRIPTION
|
|
|
557
567
|
Install a plugin
|
|
558
568
|
```
|
|
559
569
|
|
|
560
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
570
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/install-plugin.js)_
|
|
561
571
|
|
|
562
572
|
## `saltcorn list-tenants`
|
|
563
573
|
|
|
@@ -576,7 +586,7 @@ DESCRIPTION
|
|
|
576
586
|
List tenants in CSV format
|
|
577
587
|
```
|
|
578
588
|
|
|
579
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
589
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/list-tenants.js)_
|
|
580
590
|
|
|
581
591
|
## `saltcorn list-triggers`
|
|
582
592
|
|
|
@@ -595,7 +605,7 @@ DESCRIPTION
|
|
|
595
605
|
List triggers
|
|
596
606
|
```
|
|
597
607
|
|
|
598
|
-
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
608
|
+
_See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/list-triggers.js)_
|
|
599
609
|
|
|
600
610
|
## `saltcorn list-users`
|
|
601
611
|
|
|
@@ -613,7 +623,7 @@ DESCRIPTION
|
|
|
613
623
|
List users
|
|
614
624
|
```
|
|
615
625
|
|
|
616
|
-
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
626
|
+
_See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/list-users.js)_
|
|
617
627
|
|
|
618
628
|
## `saltcorn saltcorn migrate`
|
|
619
629
|
|
|
@@ -636,7 +646,7 @@ DESCRIPTION
|
|
|
636
646
|
servers and need to control when the migrations are run.
|
|
637
647
|
```
|
|
638
648
|
|
|
639
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
649
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/migrate.js)_
|
|
640
650
|
|
|
641
651
|
## `saltcorn modify-user USER_EMAIL`
|
|
642
652
|
|
|
@@ -667,7 +677,7 @@ DESCRIPTION
|
|
|
667
677
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
668
678
|
```
|
|
669
679
|
|
|
670
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
680
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/modify-user.js)_
|
|
671
681
|
|
|
672
682
|
## `saltcorn paths`
|
|
673
683
|
|
|
@@ -719,7 +729,7 @@ EXAMPLES
|
|
|
719
729
|
plugins -u -f - force plugin update
|
|
720
730
|
```
|
|
721
731
|
|
|
722
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
732
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/plugins.js)_
|
|
723
733
|
|
|
724
734
|
## `saltcorn reset-schema`
|
|
725
735
|
|
|
@@ -739,7 +749,7 @@ DESCRIPTION
|
|
|
739
749
|
This will delete all existing information
|
|
740
750
|
```
|
|
741
751
|
|
|
742
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
752
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/reset-schema.js)_
|
|
743
753
|
|
|
744
754
|
## `saltcorn restore FILE`
|
|
745
755
|
|
|
@@ -759,7 +769,7 @@ DESCRIPTION
|
|
|
759
769
|
Restore a previously backed up database (zip or sqlc format)
|
|
760
770
|
```
|
|
761
771
|
|
|
762
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
772
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/restore.js)_
|
|
763
773
|
|
|
764
774
|
## `saltcorn rm-tenant`
|
|
765
775
|
|
|
@@ -779,7 +789,7 @@ DESCRIPTION
|
|
|
779
789
|
It recommended to make backup of tenant before perform this command.
|
|
780
790
|
```
|
|
781
791
|
|
|
782
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
792
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/rm-tenant.js)_
|
|
783
793
|
|
|
784
794
|
## `saltcorn run-benchmark [BASEURL]`
|
|
785
795
|
|
|
@@ -801,7 +811,7 @@ DESCRIPTION
|
|
|
801
811
|
Run benchmark
|
|
802
812
|
```
|
|
803
813
|
|
|
804
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
814
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/run-benchmark.js)_
|
|
805
815
|
|
|
806
816
|
## `saltcorn run-js`
|
|
807
817
|
|
|
@@ -820,7 +830,7 @@ DESCRIPTION
|
|
|
820
830
|
Run javascript code
|
|
821
831
|
```
|
|
822
832
|
|
|
823
|
-
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
833
|
+
_See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/run-js.js)_
|
|
824
834
|
|
|
825
835
|
## `saltcorn run-sql`
|
|
826
836
|
|
|
@@ -839,7 +849,7 @@ DESCRIPTION
|
|
|
839
849
|
Run sql expression
|
|
840
850
|
```
|
|
841
851
|
|
|
842
|
-
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
852
|
+
_See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/run-sql.js)_
|
|
843
853
|
|
|
844
854
|
## `saltcorn run-tests [PACKAGE]`
|
|
845
855
|
|
|
@@ -866,7 +876,7 @@ DESCRIPTION
|
|
|
866
876
|
Run test suites
|
|
867
877
|
```
|
|
868
878
|
|
|
869
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
879
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/run-tests.js)_
|
|
870
880
|
|
|
871
881
|
## `saltcorn run-trigger TRIGGER`
|
|
872
882
|
|
|
@@ -886,7 +896,7 @@ DESCRIPTION
|
|
|
886
896
|
Run a trigger
|
|
887
897
|
```
|
|
888
898
|
|
|
889
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
899
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/run-trigger.js)_
|
|
890
900
|
|
|
891
901
|
## `saltcorn scheduler`
|
|
892
902
|
|
|
@@ -903,7 +913,7 @@ DESCRIPTION
|
|
|
903
913
|
Run the Saltcorn scheduler
|
|
904
914
|
```
|
|
905
915
|
|
|
906
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
916
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/scheduler.js)_
|
|
907
917
|
|
|
908
918
|
## `saltcorn serve`
|
|
909
919
|
|
|
@@ -927,7 +937,7 @@ DESCRIPTION
|
|
|
927
937
|
Start the Saltcorn server
|
|
928
938
|
```
|
|
929
939
|
|
|
930
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
940
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/serve.js)_
|
|
931
941
|
|
|
932
942
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
933
943
|
|
|
@@ -952,7 +962,7 @@ DESCRIPTION
|
|
|
952
962
|
stored as a string.
|
|
953
963
|
```
|
|
954
964
|
|
|
955
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
965
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/set-cfg.js)_
|
|
956
966
|
|
|
957
967
|
## `saltcorn set-daily-time [MINS]`
|
|
958
968
|
|
|
@@ -972,7 +982,7 @@ DESCRIPTION
|
|
|
972
982
|
Set the time the default daily event will run, offset in minutes from the current time. Restart required.
|
|
973
983
|
```
|
|
974
984
|
|
|
975
|
-
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
985
|
+
_See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/set-daily-time.js)_
|
|
976
986
|
|
|
977
987
|
## `saltcorn setup`
|
|
978
988
|
|
|
@@ -992,7 +1002,7 @@ DESCRIPTION
|
|
|
992
1002
|
configuration file
|
|
993
1003
|
```
|
|
994
1004
|
|
|
995
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
1005
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/setup.js)_
|
|
996
1006
|
|
|
997
1007
|
## `saltcorn setup-benchmark`
|
|
998
1008
|
|
|
@@ -1010,7 +1020,7 @@ DESCRIPTION
|
|
|
1010
1020
|
Setup an instance for benchmarking
|
|
1011
1021
|
```
|
|
1012
1022
|
|
|
1013
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
1023
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
|
|
1014
1024
|
|
|
1015
1025
|
## `saltcorn sync-upload-data`
|
|
1016
1026
|
|
|
@@ -1031,7 +1041,7 @@ DESCRIPTION
|
|
|
1031
1041
|
Runs a sync for data supplied by the mobile app
|
|
1032
1042
|
```
|
|
1033
1043
|
|
|
1034
|
-
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
1044
|
+
_See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
|
|
1035
1045
|
|
|
1036
1046
|
## `saltcorn take-snapshot`
|
|
1037
1047
|
|
|
@@ -1049,7 +1059,7 @@ DESCRIPTION
|
|
|
1049
1059
|
Print a current snapshout to stdout
|
|
1050
1060
|
```
|
|
1051
1061
|
|
|
1052
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
1062
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/take-snapshot.js)_
|
|
1053
1063
|
|
|
1054
1064
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
1055
1065
|
|
|
@@ -1069,5 +1079,5 @@ DESCRIPTION
|
|
|
1069
1079
|
transform an existing field by applying a calculated expression
|
|
1070
1080
|
```
|
|
1071
1081
|
|
|
1072
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.
|
|
1082
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.1.1-beta.2/packages/saltcorn-cli/src/commands/transform-field.js)_
|
|
1073
1083
|
<!-- commandsstop -->
|