@saltcorn/cli 0.7.3-beta.1 → 0.7.3-beta.6
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 -164
- package/npm-shrinkwrap.json +19891 -2286
- package/oclif.manifest.json +1 -1
- package/package.json +7 -6
- package/src/commands/build-app.js +102 -0
- package/src/commands/configuration-check-backups.js +104 -0
- package/src/commands/get-cfg.js +1 -1
- package/src/commands/inspect.js +75 -0
- package/src/commands/release.js +8 -2
- package/src/commands/set-cfg.js +25 -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 (-v|--version|version)
|
|
23
|
-
@saltcorn/cli/0.7.3-beta.
|
|
23
|
+
@saltcorn/cli/0.7.3-beta.6 darwin-arm64 node-v16.15.1
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -33,7 +33,9 @@ USAGE
|
|
|
33
33
|
<!-- commands -->
|
|
34
34
|
* [`saltcorn add-schema`](#saltcorn-add-schema)
|
|
35
35
|
* [`saltcorn backup`](#saltcorn-backup)
|
|
36
|
+
* [`saltcorn build-app`](#saltcorn-build-app)
|
|
36
37
|
* [`saltcorn configuration-check`](#saltcorn-configuration-check)
|
|
38
|
+
* [`saltcorn configuration-check-backups FILES`](#saltcorn-configuration-check-backups-files)
|
|
37
39
|
* [`saltcorn create-tenant TENANT`](#saltcorn-create-tenant-tenant)
|
|
38
40
|
* [`saltcorn create-user`](#saltcorn-create-user)
|
|
39
41
|
* [`saltcorn delete-tenants`](#saltcorn-delete-tenants)
|
|
@@ -42,6 +44,7 @@ USAGE
|
|
|
42
44
|
* [`saltcorn get-cfg KEY`](#saltcorn-get-cfg-key)
|
|
43
45
|
* [`saltcorn help [COMMAND]`](#saltcorn-help-command)
|
|
44
46
|
* [`saltcorn info`](#saltcorn-info)
|
|
47
|
+
* [`saltcorn inspect TYPE [NAME]`](#saltcorn-inspect-type-name)
|
|
45
48
|
* [`saltcorn install-pack`](#saltcorn-install-pack)
|
|
46
49
|
* [`saltcorn install-plugin`](#saltcorn-install-plugin)
|
|
47
50
|
* [`saltcorn list-tenants`](#saltcorn-list-tenants)
|
|
@@ -50,11 +53,6 @@ USAGE
|
|
|
50
53
|
* [`saltcorn saltcorn migrate`](#saltcorn-saltcorn-migrate)
|
|
51
54
|
* [`saltcorn modify-user USER_EMAIL`](#saltcorn-modify-user-user_email)
|
|
52
55
|
* [`saltcorn plugins`](#saltcorn-plugins)
|
|
53
|
-
* [`saltcorn plugins:inspect PLUGIN...`](#saltcorn-pluginsinspect-plugin)
|
|
54
|
-
* [`saltcorn plugins:install PLUGIN...`](#saltcorn-pluginsinstall-plugin)
|
|
55
|
-
* [`saltcorn plugins:link PLUGIN`](#saltcorn-pluginslink-plugin)
|
|
56
|
-
* [`saltcorn plugins:uninstall PLUGIN...`](#saltcorn-pluginsuninstall-plugin)
|
|
57
|
-
* [`saltcorn plugins:update`](#saltcorn-pluginsupdate)
|
|
58
56
|
* [`saltcorn release VERSION`](#saltcorn-release-version)
|
|
59
57
|
* [`saltcorn reset-schema`](#saltcorn-reset-schema)
|
|
60
58
|
* [`saltcorn restore FILE`](#saltcorn-restore-file)
|
|
@@ -63,7 +61,7 @@ USAGE
|
|
|
63
61
|
* [`saltcorn run-tests [PACKAGE]`](#saltcorn-run-tests-package)
|
|
64
62
|
* [`saltcorn scheduler`](#saltcorn-scheduler)
|
|
65
63
|
* [`saltcorn serve`](#saltcorn-serve)
|
|
66
|
-
* [`saltcorn set-cfg KEY VALUE`](#saltcorn-set-cfg-key-value)
|
|
64
|
+
* [`saltcorn set-cfg KEY [VALUE]`](#saltcorn-set-cfg-key-value)
|
|
67
65
|
* [`saltcorn setup`](#saltcorn-setup)
|
|
68
66
|
* [`saltcorn setup-benchmark`](#saltcorn-setup-benchmark)
|
|
69
67
|
* [`saltcorn test-plugin PATH`](#saltcorn-test-plugin-path)
|
|
@@ -81,7 +79,7 @@ OPTIONS
|
|
|
81
79
|
-f, --force force command execution
|
|
82
80
|
```
|
|
83
81
|
|
|
84
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
82
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/add-schema.js)_
|
|
85
83
|
|
|
86
84
|
## `saltcorn backup`
|
|
87
85
|
|
|
@@ -97,7 +95,28 @@ OPTIONS
|
|
|
97
95
|
-z, --zip zip format
|
|
98
96
|
```
|
|
99
97
|
|
|
100
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
98
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/backup.js)_
|
|
99
|
+
|
|
100
|
+
## `saltcorn build-app`
|
|
101
|
+
|
|
102
|
+
build mobile app
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
USAGE
|
|
106
|
+
$ saltcorn build-app
|
|
107
|
+
|
|
108
|
+
OPTIONS
|
|
109
|
+
-a, --appFileName=appFileName If set, the copied app will get this name
|
|
110
|
+
-b, --buildDirectory=buildDirectory A directory where the app should be build
|
|
111
|
+
-c, --copyAppDirectory=copyAppDirectory If set, the app file will be copied here
|
|
112
|
+
-d, --useDocker Use a docker container to build the app.
|
|
113
|
+
-l, --localUserTables=localUserTables user defined tables that should be replicated into the app
|
|
114
|
+
-p, --platforms=platforms Platforms to build for space separated list
|
|
115
|
+
-s, --serverURL=serverURL URL to a saltcorn server
|
|
116
|
+
-v, --entryPoint=entryPoint Entry Point
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
_See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/build-app.js)_
|
|
101
120
|
|
|
102
121
|
## `saltcorn configuration-check`
|
|
103
122
|
|
|
@@ -111,7 +130,21 @@ OPTIONS
|
|
|
111
130
|
-t, --tenant=tenant tenant
|
|
112
131
|
```
|
|
113
132
|
|
|
114
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
133
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/configuration-check.js)_
|
|
134
|
+
|
|
135
|
+
## `saltcorn configuration-check-backups FILES`
|
|
136
|
+
|
|
137
|
+
Check configuration
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
USAGE
|
|
141
|
+
$ saltcorn configuration-check-backups FILES
|
|
142
|
+
|
|
143
|
+
ARGUMENTS
|
|
144
|
+
FILES backup file to check. can be repeated, e.g. with *
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
_See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/configuration-check-backups.js)_
|
|
115
148
|
|
|
116
149
|
## `saltcorn create-tenant TENANT`
|
|
117
150
|
|
|
@@ -129,7 +162,7 @@ OPTIONS
|
|
|
129
162
|
-e, --email=email Email of owner of tenant
|
|
130
163
|
```
|
|
131
164
|
|
|
132
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
165
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/create-tenant.js)_
|
|
133
166
|
|
|
134
167
|
## `saltcorn create-user`
|
|
135
168
|
|
|
@@ -147,7 +180,7 @@ OPTIONS
|
|
|
147
180
|
-t, --tenant=tenant tenant
|
|
148
181
|
```
|
|
149
182
|
|
|
150
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
183
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/create-user.js)_
|
|
151
184
|
|
|
152
185
|
## `saltcorn delete-tenants`
|
|
153
186
|
|
|
@@ -158,7 +191,7 @@ USAGE
|
|
|
158
191
|
$ saltcorn delete-tenants
|
|
159
192
|
```
|
|
160
193
|
|
|
161
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
194
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/delete-tenants.js)_
|
|
162
195
|
|
|
163
196
|
## `saltcorn delete-user USER_EMAIL`
|
|
164
197
|
|
|
@@ -179,7 +212,7 @@ DESCRIPTION
|
|
|
179
212
|
Command deletes the user specified by USER_EMAIL.
|
|
180
213
|
```
|
|
181
214
|
|
|
182
|
-
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
215
|
+
_See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/delete-user.js)_
|
|
183
216
|
|
|
184
217
|
## `saltcorn fixtures`
|
|
185
218
|
|
|
@@ -198,11 +231,11 @@ DESCRIPTION
|
|
|
198
231
|
This manual step it is never required for users and rarely required for developers
|
|
199
232
|
```
|
|
200
233
|
|
|
201
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
234
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/fixtures.js)_
|
|
202
235
|
|
|
203
236
|
## `saltcorn get-cfg KEY`
|
|
204
237
|
|
|
205
|
-
Get a configuration value
|
|
238
|
+
Get a configuration value. The value is printed to stdout as a JSON value
|
|
206
239
|
|
|
207
240
|
```
|
|
208
241
|
USAGE
|
|
@@ -216,7 +249,7 @@ OPTIONS
|
|
|
216
249
|
-t, --tenant=tenant tenant
|
|
217
250
|
```
|
|
218
251
|
|
|
219
|
-
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
252
|
+
_See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/get-cfg.js)_
|
|
220
253
|
|
|
221
254
|
## `saltcorn help [COMMAND]`
|
|
222
255
|
|
|
@@ -254,7 +287,25 @@ ALIASES
|
|
|
254
287
|
$ saltcorn paths
|
|
255
288
|
```
|
|
256
289
|
|
|
257
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
290
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/info.js)_
|
|
291
|
+
|
|
292
|
+
## `saltcorn inspect TYPE [NAME]`
|
|
293
|
+
|
|
294
|
+
Inspect an entity's JSON representation, or list entities
|
|
295
|
+
|
|
296
|
+
```
|
|
297
|
+
USAGE
|
|
298
|
+
$ saltcorn inspect TYPE [NAME]
|
|
299
|
+
|
|
300
|
+
ARGUMENTS
|
|
301
|
+
TYPE (view|page|trigger|table) Entity type
|
|
302
|
+
NAME Entity name. If not supplied, list all names
|
|
303
|
+
|
|
304
|
+
OPTIONS
|
|
305
|
+
-t, --tenant=tenant tenant
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
_See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/inspect.js)_
|
|
258
309
|
|
|
259
310
|
## `saltcorn install-pack`
|
|
260
311
|
|
|
@@ -270,7 +321,7 @@ OPTIONS
|
|
|
270
321
|
-t, --tenant=tenant tenant
|
|
271
322
|
```
|
|
272
323
|
|
|
273
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
324
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/install-pack.js)_
|
|
274
325
|
|
|
275
326
|
## `saltcorn install-plugin`
|
|
276
327
|
|
|
@@ -286,7 +337,7 @@ OPTIONS
|
|
|
286
337
|
-t, --tenant=tenant tenant
|
|
287
338
|
```
|
|
288
339
|
|
|
289
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
340
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/install-plugin.js)_
|
|
290
341
|
|
|
291
342
|
## `saltcorn list-tenants`
|
|
292
343
|
|
|
@@ -297,7 +348,7 @@ USAGE
|
|
|
297
348
|
$ saltcorn list-tenants
|
|
298
349
|
```
|
|
299
350
|
|
|
300
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
351
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/list-tenants.js)_
|
|
301
352
|
|
|
302
353
|
## `saltcorn localize-plugin PLUGIN PATH`
|
|
303
354
|
|
|
@@ -315,7 +366,7 @@ OPTIONS
|
|
|
315
366
|
-t, --tenant=tenant tenant
|
|
316
367
|
```
|
|
317
368
|
|
|
318
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
369
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/localize-plugin.js)_
|
|
319
370
|
|
|
320
371
|
## `saltcorn make-migration`
|
|
321
372
|
|
|
@@ -331,7 +382,7 @@ DESCRIPTION
|
|
|
331
382
|
unless you are a developer.
|
|
332
383
|
```
|
|
333
384
|
|
|
334
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
385
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/make-migration.js)_
|
|
335
386
|
|
|
336
387
|
## `saltcorn saltcorn migrate`
|
|
337
388
|
|
|
@@ -353,7 +404,7 @@ DESCRIPTION
|
|
|
353
404
|
servers and need to control when the migrations are run.
|
|
354
405
|
```
|
|
355
406
|
|
|
356
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
407
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/migrate.js)_
|
|
357
408
|
|
|
358
409
|
## `saltcorn modify-user USER_EMAIL`
|
|
359
410
|
|
|
@@ -382,145 +433,34 @@ DESCRIPTION
|
|
|
382
433
|
NOTE that -a and -r role (--role=role) can give conflict.
|
|
383
434
|
```
|
|
384
435
|
|
|
385
|
-
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
436
|
+
_See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/modify-user.js)_
|
|
386
437
|
|
|
387
438
|
## `saltcorn plugins`
|
|
388
439
|
|
|
389
|
-
List
|
|
440
|
+
List and upgrade plugins for tenants
|
|
390
441
|
|
|
391
442
|
```
|
|
392
443
|
USAGE
|
|
393
444
|
$ saltcorn plugins
|
|
394
445
|
|
|
395
446
|
OPTIONS
|
|
396
|
-
--
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/index.ts)_
|
|
403
|
-
|
|
404
|
-
## `saltcorn plugins:inspect PLUGIN...`
|
|
405
|
-
|
|
406
|
-
Displays installation properties of a plugin.
|
|
407
|
-
|
|
408
|
-
```
|
|
409
|
-
USAGE
|
|
410
|
-
$ saltcorn plugins:inspect PLUGIN...
|
|
411
|
-
|
|
412
|
-
ARGUMENTS
|
|
413
|
-
PLUGIN [default: .] Plugin to inspect.
|
|
414
|
-
|
|
415
|
-
OPTIONS
|
|
416
|
-
-h, --help Show CLI help.
|
|
417
|
-
-v, --verbose
|
|
418
|
-
|
|
419
|
-
EXAMPLE
|
|
420
|
-
$ saltcorn plugins:inspect myplugin
|
|
421
|
-
```
|
|
422
|
-
|
|
423
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/inspect.ts)_
|
|
424
|
-
|
|
425
|
-
## `saltcorn plugins:install PLUGIN...`
|
|
426
|
-
|
|
427
|
-
Installs a plugin into the CLI.
|
|
428
|
-
|
|
429
|
-
```
|
|
430
|
-
USAGE
|
|
431
|
-
$ saltcorn plugins:install PLUGIN...
|
|
432
|
-
|
|
433
|
-
ARGUMENTS
|
|
434
|
-
PLUGIN Plugin to install.
|
|
435
|
-
|
|
436
|
-
OPTIONS
|
|
437
|
-
-f, --force Run yarn install with force flag.
|
|
438
|
-
-h, --help Show CLI help.
|
|
439
|
-
-v, --verbose
|
|
447
|
+
-d, --dryRun Upgrade dry-run
|
|
448
|
+
-f, --force Force update
|
|
449
|
+
-n, --name=name Plugin name
|
|
450
|
+
-u, --upgrade Upgrade
|
|
451
|
+
-v, --verbose Verbose output
|
|
440
452
|
|
|
441
453
|
DESCRIPTION
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
Installation of a user-installed plugin will override a core plugin.
|
|
445
|
-
|
|
446
|
-
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
|
|
447
|
-
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
|
|
448
|
-
the CLI without the need to patch and update the whole CLI.
|
|
449
|
-
|
|
450
|
-
ALIASES
|
|
451
|
-
$ saltcorn plugins:add
|
|
454
|
+
...
|
|
455
|
+
Extra documentation goes here
|
|
452
456
|
|
|
453
457
|
EXAMPLES
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
```
|
|
458
|
-
|
|
459
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/install.ts)_
|
|
460
|
-
|
|
461
|
-
## `saltcorn plugins:link PLUGIN`
|
|
462
|
-
|
|
463
|
-
Links a plugin into the CLI for development.
|
|
464
|
-
|
|
465
|
-
```
|
|
466
|
-
USAGE
|
|
467
|
-
$ saltcorn plugins:link PLUGIN
|
|
468
|
-
|
|
469
|
-
ARGUMENTS
|
|
470
|
-
PATH [default: .] path to plugin
|
|
471
|
-
|
|
472
|
-
OPTIONS
|
|
473
|
-
-h, --help Show CLI help.
|
|
474
|
-
-v, --verbose
|
|
475
|
-
|
|
476
|
-
DESCRIPTION
|
|
477
|
-
Installation of a linked plugin will override a user-installed or core plugin.
|
|
478
|
-
|
|
479
|
-
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
|
|
480
|
-
command will override the user-installed or core plugin implementation. This is useful for development work.
|
|
481
|
-
|
|
482
|
-
EXAMPLE
|
|
483
|
-
$ saltcorn plugins:link myplugin
|
|
484
|
-
```
|
|
485
|
-
|
|
486
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/link.ts)_
|
|
487
|
-
|
|
488
|
-
## `saltcorn plugins:uninstall PLUGIN...`
|
|
489
|
-
|
|
490
|
-
Removes a plugin from the CLI.
|
|
491
|
-
|
|
492
|
-
```
|
|
493
|
-
USAGE
|
|
494
|
-
$ saltcorn plugins:uninstall PLUGIN...
|
|
495
|
-
|
|
496
|
-
ARGUMENTS
|
|
497
|
-
PLUGIN plugin to uninstall
|
|
498
|
-
|
|
499
|
-
OPTIONS
|
|
500
|
-
-h, --help Show CLI help.
|
|
501
|
-
-v, --verbose
|
|
502
|
-
|
|
503
|
-
ALIASES
|
|
504
|
-
$ saltcorn plugins:unlink
|
|
505
|
-
$ saltcorn plugins:remove
|
|
506
|
-
```
|
|
507
|
-
|
|
508
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/uninstall.ts)_
|
|
509
|
-
|
|
510
|
-
## `saltcorn plugins:update`
|
|
511
|
-
|
|
512
|
-
Update installed plugins.
|
|
513
|
-
|
|
514
|
-
```
|
|
515
|
-
USAGE
|
|
516
|
-
$ saltcorn plugins:update
|
|
517
|
-
|
|
518
|
-
OPTIONS
|
|
519
|
-
-h, --help Show CLI help.
|
|
520
|
-
-v, --verbose
|
|
458
|
+
plugins -v - verbose output of commands
|
|
459
|
+
plugins -u -d - dry-run for plugin update
|
|
460
|
+
plugins -u -f - force plugin update
|
|
521
461
|
```
|
|
522
462
|
|
|
523
|
-
_See code: [
|
|
463
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/plugins.js)_
|
|
524
464
|
|
|
525
465
|
## `saltcorn release VERSION`
|
|
526
466
|
|
|
@@ -534,7 +474,7 @@ ARGUMENTS
|
|
|
534
474
|
VERSION New version number
|
|
535
475
|
```
|
|
536
476
|
|
|
537
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
477
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/release.js)_
|
|
538
478
|
|
|
539
479
|
## `saltcorn reset-schema`
|
|
540
480
|
|
|
@@ -553,7 +493,7 @@ DESCRIPTION
|
|
|
553
493
|
This will delete all existing information
|
|
554
494
|
```
|
|
555
495
|
|
|
556
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
496
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/reset-schema.js)_
|
|
557
497
|
|
|
558
498
|
## `saltcorn restore FILE`
|
|
559
499
|
|
|
@@ -570,7 +510,7 @@ OPTIONS
|
|
|
570
510
|
-t, --tenant=tenant tenant
|
|
571
511
|
```
|
|
572
512
|
|
|
573
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
513
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/restore.js)_
|
|
574
514
|
|
|
575
515
|
## `saltcorn rm-tenant`
|
|
576
516
|
|
|
@@ -589,7 +529,7 @@ DESCRIPTION
|
|
|
589
529
|
It recommended to make backup of tenant before perform this command.
|
|
590
530
|
```
|
|
591
531
|
|
|
592
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
532
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/rm-tenant.js)_
|
|
593
533
|
|
|
594
534
|
## `saltcorn run-benchmark [BASEURL]`
|
|
595
535
|
|
|
@@ -608,7 +548,7 @@ OPTIONS
|
|
|
608
548
|
-t, --token=token API Token for reporting results
|
|
609
549
|
```
|
|
610
550
|
|
|
611
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
551
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/run-benchmark.js)_
|
|
612
552
|
|
|
613
553
|
## `saltcorn run-tests [PACKAGE]`
|
|
614
554
|
|
|
@@ -628,7 +568,7 @@ OPTIONS
|
|
|
628
568
|
--watchAll Watch files for changes and rerun all tests.
|
|
629
569
|
```
|
|
630
570
|
|
|
631
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
571
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/run-tests.js)_
|
|
632
572
|
|
|
633
573
|
## `saltcorn scheduler`
|
|
634
574
|
|
|
@@ -642,7 +582,7 @@ OPTIONS
|
|
|
642
582
|
-v, --verbose Verbose
|
|
643
583
|
```
|
|
644
584
|
|
|
645
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
585
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/scheduler.js)_
|
|
646
586
|
|
|
647
587
|
## `saltcorn serve`
|
|
648
588
|
|
|
@@ -662,26 +602,28 @@ OPTIONS
|
|
|
662
602
|
-v, --verbose Verbose
|
|
663
603
|
```
|
|
664
604
|
|
|
665
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
605
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/serve.js)_
|
|
666
606
|
|
|
667
|
-
## `saltcorn set-cfg KEY VALUE`
|
|
607
|
+
## `saltcorn set-cfg KEY [VALUE]`
|
|
668
608
|
|
|
669
|
-
Set a configuration value
|
|
609
|
+
Set a configuration value. The supplied value (argument, or file stdin) will be parsed as JSON. If this fails, it is stored as a string.
|
|
670
610
|
|
|
671
611
|
```
|
|
672
612
|
USAGE
|
|
673
|
-
$ saltcorn set-cfg KEY VALUE
|
|
613
|
+
$ saltcorn set-cfg KEY [VALUE]
|
|
674
614
|
|
|
675
615
|
ARGUMENTS
|
|
676
616
|
KEY Configuration key
|
|
677
617
|
VALUE Configuration value (JSON or string)
|
|
678
618
|
|
|
679
619
|
OPTIONS
|
|
620
|
+
-f, --file=file file
|
|
621
|
+
-i, --stdin read value from stdin
|
|
680
622
|
-p, --plugin=plugin plugin
|
|
681
623
|
-t, --tenant=tenant tenant
|
|
682
624
|
```
|
|
683
625
|
|
|
684
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
626
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/set-cfg.js)_
|
|
685
627
|
|
|
686
628
|
## `saltcorn setup`
|
|
687
629
|
|
|
@@ -700,7 +642,7 @@ DESCRIPTION
|
|
|
700
642
|
configuration file
|
|
701
643
|
```
|
|
702
644
|
|
|
703
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
645
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/setup.js)_
|
|
704
646
|
|
|
705
647
|
## `saltcorn setup-benchmark`
|
|
706
648
|
|
|
@@ -714,7 +656,7 @@ OPTIONS
|
|
|
714
656
|
-t, --tenant=tenant tenant
|
|
715
657
|
```
|
|
716
658
|
|
|
717
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
659
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/setup-benchmark.js)_
|
|
718
660
|
|
|
719
661
|
## `saltcorn test-plugin PATH`
|
|
720
662
|
|
|
@@ -732,7 +674,7 @@ DESCRIPTION
|
|
|
732
674
|
Extra documentation goes here
|
|
733
675
|
```
|
|
734
676
|
|
|
735
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
677
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/test-plugin.js)_
|
|
736
678
|
|
|
737
679
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
738
680
|
|
|
@@ -749,5 +691,5 @@ ARGUMENTS
|
|
|
749
691
|
TENANT tenant name
|
|
750
692
|
```
|
|
751
693
|
|
|
752
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.
|
|
694
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.6/src/commands/transform-field.js)_
|
|
753
695
|
<!-- commandsstop -->
|