@saltcorn/cli 0.8.6-beta.17 → 0.8.6-beta.18
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 +129 -106
- package/npm-shrinkwrap.json +393 -296
- package/oclif.manifest.json +1 -1
- package/package.json +12 -7
- package/src/commands/build-app.js +25 -5
- package/src/commands/{localize-plugin.js → dev/localize-plugin.js} +1 -1
- package/src/commands/dev/post-release.js +154 -0
- package/src/commands/{release.js → dev/release.js} +3 -3
- package/src/commands/{test-plugin.js → dev/test-plugin.js} +3 -3
- /package/src/commands/{make-migration.js → dev/make-migration.js} +0 -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 (-v|--version|version)
|
|
23
|
-
@saltcorn/cli/0.8.6-beta.
|
|
23
|
+
@saltcorn/cli/0.8.6-beta.18 linux-x64 node-v18.7.0
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -41,6 +41,11 @@ 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:localize-plugin PLUGIN [PATH]`](#saltcorn-devlocalize-plugin-plugin-path)
|
|
45
|
+
* [`saltcorn make-migration`](#saltcorn-make-migration)
|
|
46
|
+
* [`saltcorn dev:post-release [TASK]`](#saltcorn-devpost-release-task)
|
|
47
|
+
* [`saltcorn dev:release VERSION`](#saltcorn-devrelease-version)
|
|
48
|
+
* [`saltcorn dev:test-plugin PATH`](#saltcorn-devtest-plugin-path)
|
|
44
49
|
* [`saltcorn fixtures`](#saltcorn-fixtures)
|
|
45
50
|
* [`saltcorn get-cfg [KEY]`](#saltcorn-get-cfg-key)
|
|
46
51
|
* [`saltcorn help [COMMAND]`](#saltcorn-help-command)
|
|
@@ -49,12 +54,9 @@ USAGE
|
|
|
49
54
|
* [`saltcorn install-pack`](#saltcorn-install-pack)
|
|
50
55
|
* [`saltcorn install-plugin`](#saltcorn-install-plugin)
|
|
51
56
|
* [`saltcorn list-tenants`](#saltcorn-list-tenants)
|
|
52
|
-
* [`saltcorn localize-plugin PLUGIN [PATH]`](#saltcorn-localize-plugin-plugin-path)
|
|
53
|
-
* [`saltcorn make-migration`](#saltcorn-make-migration)
|
|
54
57
|
* [`saltcorn saltcorn migrate`](#saltcorn-saltcorn-migrate)
|
|
55
58
|
* [`saltcorn modify-user USER_EMAIL`](#saltcorn-modify-user-user_email)
|
|
56
59
|
* [`saltcorn plugins`](#saltcorn-plugins)
|
|
57
|
-
* [`saltcorn release VERSION`](#saltcorn-release-version)
|
|
58
60
|
* [`saltcorn reset-schema`](#saltcorn-reset-schema)
|
|
59
61
|
* [`saltcorn restore FILE`](#saltcorn-restore-file)
|
|
60
62
|
* [`saltcorn rm-tenant`](#saltcorn-rm-tenant)
|
|
@@ -67,7 +69,6 @@ USAGE
|
|
|
67
69
|
* [`saltcorn setup`](#saltcorn-setup)
|
|
68
70
|
* [`saltcorn setup-benchmark`](#saltcorn-setup-benchmark)
|
|
69
71
|
* [`saltcorn take-snapshot`](#saltcorn-take-snapshot)
|
|
70
|
-
* [`saltcorn test-plugin PATH`](#saltcorn-test-plugin-path)
|
|
71
72
|
* [`saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`](#saltcorn-transform-field-expression-field-table-tenant)
|
|
72
73
|
|
|
73
74
|
## `saltcorn add-schema`
|
|
@@ -82,7 +83,7 @@ OPTIONS
|
|
|
82
83
|
-f, --force force command execution
|
|
83
84
|
```
|
|
84
85
|
|
|
85
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
86
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/add-schema.js)_
|
|
86
87
|
|
|
87
88
|
## `saltcorn backup`
|
|
88
89
|
|
|
@@ -98,7 +99,7 @@ OPTIONS
|
|
|
98
99
|
-z, --zip zip format
|
|
99
100
|
```
|
|
100
101
|
|
|
101
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
102
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/backup.js)_
|
|
102
103
|
|
|
103
104
|
## `saltcorn build-app`
|
|
104
105
|
|
|
@@ -109,7 +110,6 @@ USAGE
|
|
|
109
110
|
$ saltcorn build-app
|
|
110
111
|
|
|
111
112
|
OPTIONS
|
|
112
|
-
-a, --appFileName=appFileName If set, the copied app will get this name
|
|
113
113
|
-b, --buildDirectory=buildDirectory A directory where the app should be build
|
|
114
114
|
-c, --copyAppDirectory=copyAppDirectory If set, the app file will be copied here, please set 'user email', too
|
|
115
115
|
-d, --useDocker Use a docker container to build the app.
|
|
@@ -123,14 +123,23 @@ OPTIONS
|
|
|
123
123
|
--allowOfflineMode Switch to offline mode when there is no internet, sync the data when a
|
|
124
124
|
connection is available again.
|
|
125
125
|
|
|
126
|
+
--appIcon=appIcon A png that will be used as launcher icon. The default is a png of a saltcorn
|
|
127
|
+
symbol.
|
|
128
|
+
|
|
129
|
+
--appName=appName Name of the mobile app (default SaltcornMobileApp)
|
|
130
|
+
|
|
131
|
+
--appVersion=appVersion Version of the mobile app (default 1.0.0)
|
|
132
|
+
|
|
126
133
|
--buildForEmulator build without '--device', generates no .ipa file so that iOS apps can be
|
|
127
134
|
build without developer accounts
|
|
128
135
|
|
|
136
|
+
--splashPage=splashPage Name of a page that should be shown while the app is loading.
|
|
137
|
+
|
|
129
138
|
--tenantAppName=tenantAppName Optional name of a tenant application, if set, the app will be build for this
|
|
130
139
|
tenant
|
|
131
140
|
```
|
|
132
141
|
|
|
133
|
-
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
142
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/build-app.js)_
|
|
134
143
|
|
|
135
144
|
## `saltcorn build-cordova-builder`
|
|
136
145
|
|
|
@@ -144,7 +153,7 @@ OPTIONS
|
|
|
144
153
|
--buildClean run a clean build with --no-cache
|
|
145
154
|
```
|
|
146
155
|
|
|
147
|
-
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
156
|
+
_See code: [src/commands/build-cordova-builder.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/build-cordova-builder.js)_
|
|
148
157
|
|
|
149
158
|
## `saltcorn configuration-check`
|
|
150
159
|
|
|
@@ -158,7 +167,7 @@ OPTIONS
|
|
|
158
167
|
-t, --tenant=tenant tenant
|
|
159
168
|
```
|
|
160
169
|
|
|
161
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
170
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/configuration-check.js)_
|
|
162
171
|
|
|
163
172
|
## `saltcorn configuration-check-backups FILES`
|
|
164
173
|
|
|
@@ -175,7 +184,7 @@ OPTIONS
|
|
|
175
184
|
-d, --destructive destructive
|
|
176
185
|
```
|
|
177
186
|
|
|
178
|
-
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
187
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/configuration-check-backups.js)_
|
|
179
188
|
|
|
180
189
|
## `saltcorn create-tenant TENANT`
|
|
181
190
|
|
|
@@ -194,7 +203,7 @@ OPTIONS
|
|
|
194
203
|
--url=url Url of tenant
|
|
195
204
|
```
|
|
196
205
|
|
|
197
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
206
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/create-tenant.js)_
|
|
198
207
|
|
|
199
208
|
## `saltcorn create-user`
|
|
200
209
|
|
|
@@ -212,7 +221,7 @@ OPTIONS
|
|
|
212
221
|
-t, --tenant=tenant tenant
|
|
213
222
|
```
|
|
214
223
|
|
|
215
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
224
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/create-user.js)_
|
|
216
225
|
|
|
217
226
|
## `saltcorn delete-tenants`
|
|
218
227
|
|
|
@@ -223,7 +232,7 @@ USAGE
|
|
|
223
232
|
$ saltcorn delete-tenants
|
|
224
233
|
```
|
|
225
234
|
|
|
226
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
235
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/delete-tenants.js)_
|
|
227
236
|
|
|
228
237
|
## `saltcorn delete-user USER_EMAIL`
|
|
229
238
|
|
|
@@ -244,7 +253,88 @@ DESCRIPTION
|
|
|
244
253
|
Command deletes the user specified by USER_EMAIL.
|
|
245
254
|
```
|
|
246
255
|
|
|
247
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
256
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/delete-user.js)_
|
|
257
|
+
|
|
258
|
+
## `saltcorn dev:localize-plugin PLUGIN [PATH]`
|
|
259
|
+
|
|
260
|
+
Convert plugin to local plugin
|
|
261
|
+
|
|
262
|
+
```
|
|
263
|
+
USAGE
|
|
264
|
+
$ saltcorn dev:localize-plugin PLUGIN [PATH]
|
|
265
|
+
|
|
266
|
+
ARGUMENTS
|
|
267
|
+
PLUGIN Current plugin name
|
|
268
|
+
PATH Absolute path to local plugin
|
|
269
|
+
|
|
270
|
+
OPTIONS
|
|
271
|
+
-t, --tenant=tenant tenant
|
|
272
|
+
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
_See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/dev/localize-plugin.js)_
|
|
276
|
+
|
|
277
|
+
## `saltcorn make-migration`
|
|
278
|
+
|
|
279
|
+
Create a new blank Database structure migration file.
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
USAGE
|
|
283
|
+
$ saltcorn make-migration
|
|
284
|
+
|
|
285
|
+
DESCRIPTION
|
|
286
|
+
These migrations update database structure.
|
|
287
|
+
You should not normally need to run this
|
|
288
|
+
unless you are a developer.
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
_See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/dev/make-migration.js)_
|
|
292
|
+
|
|
293
|
+
## `saltcorn dev:post-release [TASK]`
|
|
294
|
+
|
|
295
|
+
Post-release tasks: docker and vagrant builds
|
|
296
|
+
|
|
297
|
+
```
|
|
298
|
+
USAGE
|
|
299
|
+
$ saltcorn dev:post-release [TASK]
|
|
300
|
+
|
|
301
|
+
ARGUMENTS
|
|
302
|
+
TASK (docker|vagrant|all|none) What to do
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
_See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/dev/post-release.js)_
|
|
306
|
+
|
|
307
|
+
## `saltcorn dev:release VERSION`
|
|
308
|
+
|
|
309
|
+
Release a new saltcorn version
|
|
310
|
+
|
|
311
|
+
```
|
|
312
|
+
USAGE
|
|
313
|
+
$ saltcorn dev:release VERSION
|
|
314
|
+
|
|
315
|
+
ARGUMENTS
|
|
316
|
+
VERSION New version number
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
_See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/dev/release.js)_
|
|
320
|
+
|
|
321
|
+
## `saltcorn dev:test-plugin PATH`
|
|
322
|
+
|
|
323
|
+
Test a plugin
|
|
324
|
+
|
|
325
|
+
```
|
|
326
|
+
USAGE
|
|
327
|
+
$ saltcorn dev:test-plugin PATH
|
|
328
|
+
|
|
329
|
+
ARGUMENTS
|
|
330
|
+
PATH path to plugin package
|
|
331
|
+
|
|
332
|
+
DESCRIPTION
|
|
333
|
+
...
|
|
334
|
+
Extra documentation goes here
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
_See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/dev/test-plugin.js)_
|
|
248
338
|
|
|
249
339
|
## `saltcorn fixtures`
|
|
250
340
|
|
|
@@ -263,7 +353,7 @@ DESCRIPTION
|
|
|
263
353
|
This manual step it is never required for users and rarely required for developers
|
|
264
354
|
```
|
|
265
355
|
|
|
266
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
356
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/fixtures.js)_
|
|
267
357
|
|
|
268
358
|
## `saltcorn get-cfg [KEY]`
|
|
269
359
|
|
|
@@ -281,7 +371,7 @@ OPTIONS
|
|
|
281
371
|
-t, --tenant=tenant tenant
|
|
282
372
|
```
|
|
283
373
|
|
|
284
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
374
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/get-cfg.js)_
|
|
285
375
|
|
|
286
376
|
## `saltcorn help [COMMAND]`
|
|
287
377
|
|
|
@@ -319,7 +409,7 @@ ALIASES
|
|
|
319
409
|
$ saltcorn paths
|
|
320
410
|
```
|
|
321
411
|
|
|
322
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
412
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/info.js)_
|
|
323
413
|
|
|
324
414
|
## `saltcorn inspect TYPE [NAME]`
|
|
325
415
|
|
|
@@ -337,7 +427,7 @@ OPTIONS
|
|
|
337
427
|
-t, --tenant=tenant tenant
|
|
338
428
|
```
|
|
339
429
|
|
|
340
|
-
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
430
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/inspect.js)_
|
|
341
431
|
|
|
342
432
|
## `saltcorn install-pack`
|
|
343
433
|
|
|
@@ -353,7 +443,7 @@ OPTIONS
|
|
|
353
443
|
-t, --tenant=tenant tenant
|
|
354
444
|
```
|
|
355
445
|
|
|
356
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
446
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/install-pack.js)_
|
|
357
447
|
|
|
358
448
|
## `saltcorn install-plugin`
|
|
359
449
|
|
|
@@ -369,7 +459,7 @@ OPTIONS
|
|
|
369
459
|
-t, --tenant=tenant tenant
|
|
370
460
|
```
|
|
371
461
|
|
|
372
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
462
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/install-plugin.js)_
|
|
373
463
|
|
|
374
464
|
## `saltcorn list-tenants`
|
|
375
465
|
|
|
@@ -380,42 +470,7 @@ USAGE
|
|
|
380
470
|
$ saltcorn list-tenants
|
|
381
471
|
```
|
|
382
472
|
|
|
383
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
384
|
-
|
|
385
|
-
## `saltcorn localize-plugin PLUGIN [PATH]`
|
|
386
|
-
|
|
387
|
-
Convert plugin to local plugin
|
|
388
|
-
|
|
389
|
-
```
|
|
390
|
-
USAGE
|
|
391
|
-
$ saltcorn localize-plugin PLUGIN [PATH]
|
|
392
|
-
|
|
393
|
-
ARGUMENTS
|
|
394
|
-
PLUGIN Current plugin name
|
|
395
|
-
PATH Absolute path to local plugin
|
|
396
|
-
|
|
397
|
-
OPTIONS
|
|
398
|
-
-t, --tenant=tenant tenant
|
|
399
|
-
-u, --unlocalize Unlocalize plugin (local to npm)
|
|
400
|
-
```
|
|
401
|
-
|
|
402
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.17/src/commands/localize-plugin.js)_
|
|
403
|
-
|
|
404
|
-
## `saltcorn make-migration`
|
|
405
|
-
|
|
406
|
-
Create a new blank Database structure migration file.
|
|
407
|
-
|
|
408
|
-
```
|
|
409
|
-
USAGE
|
|
410
|
-
$ saltcorn make-migration
|
|
411
|
-
|
|
412
|
-
DESCRIPTION
|
|
413
|
-
These migrations update database structure.
|
|
414
|
-
You should not normally need to run this
|
|
415
|
-
unless you are a developer.
|
|
416
|
-
```
|
|
417
|
-
|
|
418
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.17/src/commands/make-migration.js)_
|
|
473
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/list-tenants.js)_
|
|
419
474
|
|
|
420
475
|
## `saltcorn saltcorn migrate`
|
|
421
476
|
|
|
@@ -437,7 +492,7 @@ DESCRIPTION
|
|
|
437
492
|
servers and need to control when the migrations are run.
|
|
438
493
|
```
|
|
439
494
|
|
|
440
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
495
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/migrate.js)_
|
|
441
496
|
|
|
442
497
|
## `saltcorn modify-user USER_EMAIL`
|
|
443
498
|
|
|
@@ -466,7 +521,7 @@ DESCRIPTION
|
|
|
466
521
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
467
522
|
```
|
|
468
523
|
|
|
469
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
524
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/modify-user.js)_
|
|
470
525
|
|
|
471
526
|
## `saltcorn plugins`
|
|
472
527
|
|
|
@@ -493,21 +548,7 @@ EXAMPLES
|
|
|
493
548
|
plugins -u -f - force plugin update
|
|
494
549
|
```
|
|
495
550
|
|
|
496
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
497
|
-
|
|
498
|
-
## `saltcorn release VERSION`
|
|
499
|
-
|
|
500
|
-
Release a new saltcorn version
|
|
501
|
-
|
|
502
|
-
```
|
|
503
|
-
USAGE
|
|
504
|
-
$ saltcorn release VERSION
|
|
505
|
-
|
|
506
|
-
ARGUMENTS
|
|
507
|
-
VERSION New version number
|
|
508
|
-
```
|
|
509
|
-
|
|
510
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.17/src/commands/release.js)_
|
|
551
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/plugins.js)_
|
|
511
552
|
|
|
512
553
|
## `saltcorn reset-schema`
|
|
513
554
|
|
|
@@ -526,7 +567,7 @@ DESCRIPTION
|
|
|
526
567
|
This will delete all existing information
|
|
527
568
|
```
|
|
528
569
|
|
|
529
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
570
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/reset-schema.js)_
|
|
530
571
|
|
|
531
572
|
## `saltcorn restore FILE`
|
|
532
573
|
|
|
@@ -543,7 +584,7 @@ OPTIONS
|
|
|
543
584
|
-t, --tenant=tenant tenant
|
|
544
585
|
```
|
|
545
586
|
|
|
546
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
587
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/restore.js)_
|
|
547
588
|
|
|
548
589
|
## `saltcorn rm-tenant`
|
|
549
590
|
|
|
@@ -562,7 +603,7 @@ DESCRIPTION
|
|
|
562
603
|
It recommended to make backup of tenant before perform this command.
|
|
563
604
|
```
|
|
564
605
|
|
|
565
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
606
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/rm-tenant.js)_
|
|
566
607
|
|
|
567
608
|
## `saltcorn run-benchmark [BASEURL]`
|
|
568
609
|
|
|
@@ -581,7 +622,7 @@ OPTIONS
|
|
|
581
622
|
-t, --token=token API Token for reporting results
|
|
582
623
|
```
|
|
583
624
|
|
|
584
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
625
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/run-benchmark.js)_
|
|
585
626
|
|
|
586
627
|
## `saltcorn run-tests [PACKAGE]`
|
|
587
628
|
|
|
@@ -605,7 +646,7 @@ OPTIONS
|
|
|
605
646
|
--watchAll Watch files for changes and rerun all tests.
|
|
606
647
|
```
|
|
607
648
|
|
|
608
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
649
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/run-tests.js)_
|
|
609
650
|
|
|
610
651
|
## `saltcorn run-trigger TRIGGER`
|
|
611
652
|
|
|
@@ -622,7 +663,7 @@ OPTIONS
|
|
|
622
663
|
-t, --tenant=tenant tenant
|
|
623
664
|
```
|
|
624
665
|
|
|
625
|
-
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
666
|
+
_See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/run-trigger.js)_
|
|
626
667
|
|
|
627
668
|
## `saltcorn scheduler`
|
|
628
669
|
|
|
@@ -636,7 +677,7 @@ OPTIONS
|
|
|
636
677
|
-v, --verbose Verbose
|
|
637
678
|
```
|
|
638
679
|
|
|
639
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
680
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/scheduler.js)_
|
|
640
681
|
|
|
641
682
|
## `saltcorn serve`
|
|
642
683
|
|
|
@@ -657,7 +698,7 @@ OPTIONS
|
|
|
657
698
|
--subdomain_offset=subdomain_offset Number of parts to remove to access subdomain in 'multi_tenant' mode
|
|
658
699
|
```
|
|
659
700
|
|
|
660
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
701
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/serve.js)_
|
|
661
702
|
|
|
662
703
|
## `saltcorn set-cfg [KEY] [VALUE]`
|
|
663
704
|
|
|
@@ -678,7 +719,7 @@ OPTIONS
|
|
|
678
719
|
-t, --tenant=tenant tenant
|
|
679
720
|
```
|
|
680
721
|
|
|
681
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
722
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/set-cfg.js)_
|
|
682
723
|
|
|
683
724
|
## `saltcorn setup`
|
|
684
725
|
|
|
@@ -697,7 +738,7 @@ DESCRIPTION
|
|
|
697
738
|
configuration file
|
|
698
739
|
```
|
|
699
740
|
|
|
700
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
741
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/setup.js)_
|
|
701
742
|
|
|
702
743
|
## `saltcorn setup-benchmark`
|
|
703
744
|
|
|
@@ -711,7 +752,7 @@ OPTIONS
|
|
|
711
752
|
-t, --tenant=tenant tenant
|
|
712
753
|
```
|
|
713
754
|
|
|
714
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
755
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/setup-benchmark.js)_
|
|
715
756
|
|
|
716
757
|
## `saltcorn take-snapshot`
|
|
717
758
|
|
|
@@ -726,25 +767,7 @@ OPTIONS
|
|
|
726
767
|
-t, --tenant=tenant tenant
|
|
727
768
|
```
|
|
728
769
|
|
|
729
|
-
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
730
|
-
|
|
731
|
-
## `saltcorn test-plugin PATH`
|
|
732
|
-
|
|
733
|
-
Test a plugin
|
|
734
|
-
|
|
735
|
-
```
|
|
736
|
-
USAGE
|
|
737
|
-
$ saltcorn test-plugin PATH
|
|
738
|
-
|
|
739
|
-
ARGUMENTS
|
|
740
|
-
PATH path to plugin package
|
|
741
|
-
|
|
742
|
-
DESCRIPTION
|
|
743
|
-
...
|
|
744
|
-
Extra documentation goes here
|
|
745
|
-
```
|
|
746
|
-
|
|
747
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.17/src/commands/test-plugin.js)_
|
|
770
|
+
_See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/take-snapshot.js)_
|
|
748
771
|
|
|
749
772
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
750
773
|
|
|
@@ -761,5 +784,5 @@ ARGUMENTS
|
|
|
761
784
|
TENANT tenant name
|
|
762
785
|
```
|
|
763
786
|
|
|
764
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.
|
|
787
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.8.6-beta.18/src/commands/transform-field.js)_
|
|
765
788
|
<!-- commandsstop -->
|