@saltcorn/cli 0.6.2-beta.4 → 0.6.3-beta.1
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 +42 -29
- package/npm-shrinkwrap.json +423 -191
- package/oclif.manifest.json +1 -1
- package/package.json +8 -8
- package/src/commands/delete-tenants.js +62 -0
- package/src/commands/fixtures.js +17 -5
- package/src/commands/plugins.js +43 -26
- package/src/commands/release.js +2 -1
- package/src/commands/run-tests.js +5 -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.6.
|
|
23
|
+
@saltcorn/cli/0.6.3-beta.1 darwin-x64 node-v14.16.1
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -35,6 +35,7 @@ USAGE
|
|
|
35
35
|
* [`saltcorn backup`](#saltcorn-backup)
|
|
36
36
|
* [`saltcorn create-tenant TENANT`](#saltcorn-create-tenant-tenant)
|
|
37
37
|
* [`saltcorn create-user`](#saltcorn-create-user)
|
|
38
|
+
* [`saltcorn delete-tenants`](#saltcorn-delete-tenants)
|
|
38
39
|
* [`saltcorn fixtures`](#saltcorn-fixtures)
|
|
39
40
|
* [`saltcorn help [COMMAND]`](#saltcorn-help-command)
|
|
40
41
|
* [`saltcorn info`](#saltcorn-info)
|
|
@@ -68,7 +69,7 @@ USAGE
|
|
|
68
69
|
$ saltcorn add-schema
|
|
69
70
|
```
|
|
70
71
|
|
|
71
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
72
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/add-schema.js)_
|
|
72
73
|
|
|
73
74
|
## `saltcorn backup`
|
|
74
75
|
|
|
@@ -84,7 +85,7 @@ OPTIONS
|
|
|
84
85
|
-z, --zip zip format
|
|
85
86
|
```
|
|
86
87
|
|
|
87
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
88
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/backup.js)_
|
|
88
89
|
|
|
89
90
|
## `saltcorn create-tenant TENANT`
|
|
90
91
|
|
|
@@ -102,7 +103,7 @@ OPTIONS
|
|
|
102
103
|
-e, --email=email Email of owner of tenant
|
|
103
104
|
```
|
|
104
105
|
|
|
105
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
106
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/create-tenant.js)_
|
|
106
107
|
|
|
107
108
|
## `saltcorn create-user`
|
|
108
109
|
|
|
@@ -120,7 +121,18 @@ OPTIONS
|
|
|
120
121
|
-t, --tenant=tenant tenant
|
|
121
122
|
```
|
|
122
123
|
|
|
123
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
124
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/create-user.js)_
|
|
125
|
+
|
|
126
|
+
## `saltcorn delete-tenants`
|
|
127
|
+
|
|
128
|
+
Delete inactive tenants
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
USAGE
|
|
132
|
+
$ saltcorn delete-tenants
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/delete-tenants.js)_
|
|
124
136
|
|
|
125
137
|
## `saltcorn fixtures`
|
|
126
138
|
|
|
@@ -131,14 +143,15 @@ USAGE
|
|
|
131
143
|
$ saltcorn fixtures
|
|
132
144
|
|
|
133
145
|
OPTIONS
|
|
134
|
-
-r, --reset
|
|
146
|
+
-r, --reset Also reset schema
|
|
147
|
+
-t, --tenant=tenant tenant
|
|
135
148
|
|
|
136
149
|
DESCRIPTION
|
|
137
150
|
...
|
|
138
151
|
This manual step it is never required for users and rarely required for developers
|
|
139
152
|
```
|
|
140
153
|
|
|
141
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
154
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/fixtures.js)_
|
|
142
155
|
|
|
143
156
|
## `saltcorn help [COMMAND]`
|
|
144
157
|
|
|
@@ -155,7 +168,7 @@ OPTIONS
|
|
|
155
168
|
--all see all commands in CLI
|
|
156
169
|
```
|
|
157
170
|
|
|
158
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.
|
|
171
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.3.1/src/commands/help.ts)_
|
|
159
172
|
|
|
160
173
|
## `saltcorn info`
|
|
161
174
|
|
|
@@ -176,7 +189,7 @@ ALIASES
|
|
|
176
189
|
$ saltcorn paths
|
|
177
190
|
```
|
|
178
191
|
|
|
179
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
192
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/info.js)_
|
|
180
193
|
|
|
181
194
|
## `saltcorn install-pack`
|
|
182
195
|
|
|
@@ -192,7 +205,7 @@ OPTIONS
|
|
|
192
205
|
-t, --tenant=tenant tenant
|
|
193
206
|
```
|
|
194
207
|
|
|
195
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
208
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/install-pack.js)_
|
|
196
209
|
|
|
197
210
|
## `saltcorn install-plugin`
|
|
198
211
|
|
|
@@ -208,7 +221,7 @@ OPTIONS
|
|
|
208
221
|
-t, --tenant=tenant tenant
|
|
209
222
|
```
|
|
210
223
|
|
|
211
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
224
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/install-plugin.js)_
|
|
212
225
|
|
|
213
226
|
## `saltcorn list-tenants`
|
|
214
227
|
|
|
@@ -219,7 +232,7 @@ USAGE
|
|
|
219
232
|
$ saltcorn list-tenants
|
|
220
233
|
```
|
|
221
234
|
|
|
222
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
235
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/list-tenants.js)_
|
|
223
236
|
|
|
224
237
|
## `saltcorn localize-plugin PLUGIN PATH`
|
|
225
238
|
|
|
@@ -237,7 +250,7 @@ OPTIONS
|
|
|
237
250
|
-t, --tenant=tenant tenant
|
|
238
251
|
```
|
|
239
252
|
|
|
240
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
253
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/localize-plugin.js)_
|
|
241
254
|
|
|
242
255
|
## `saltcorn make-migration`
|
|
243
256
|
|
|
@@ -253,7 +266,7 @@ DESCRIPTION
|
|
|
253
266
|
unless you are a developer.
|
|
254
267
|
```
|
|
255
268
|
|
|
256
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
269
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/make-migration.js)_
|
|
257
270
|
|
|
258
271
|
## `saltcorn saltcorn migrate`
|
|
259
272
|
|
|
@@ -275,7 +288,7 @@ DESCRIPTION
|
|
|
275
288
|
servers and need to control when the migrations are run.
|
|
276
289
|
```
|
|
277
290
|
|
|
278
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
291
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/migrate.js)_
|
|
279
292
|
|
|
280
293
|
## `saltcorn plugins`
|
|
281
294
|
|
|
@@ -302,7 +315,7 @@ EXAMPLES
|
|
|
302
315
|
plugins -u -f - force plugin update
|
|
303
316
|
```
|
|
304
317
|
|
|
305
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
318
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/plugins.js)_
|
|
306
319
|
|
|
307
320
|
## `saltcorn release VERSION`
|
|
308
321
|
|
|
@@ -316,7 +329,7 @@ ARGUMENTS
|
|
|
316
329
|
VERSION New version number
|
|
317
330
|
```
|
|
318
331
|
|
|
319
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
332
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/release.js)_
|
|
320
333
|
|
|
321
334
|
## `saltcorn reset-schema`
|
|
322
335
|
|
|
@@ -335,7 +348,7 @@ DESCRIPTION
|
|
|
335
348
|
This will delete all existing information
|
|
336
349
|
```
|
|
337
350
|
|
|
338
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
351
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/reset-schema.js)_
|
|
339
352
|
|
|
340
353
|
## `saltcorn restore FILE`
|
|
341
354
|
|
|
@@ -352,7 +365,7 @@ OPTIONS
|
|
|
352
365
|
-t, --tenant=tenant tenant
|
|
353
366
|
```
|
|
354
367
|
|
|
355
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
368
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/restore.js)_
|
|
356
369
|
|
|
357
370
|
## `saltcorn rm-tenant TENANT`
|
|
358
371
|
|
|
@@ -366,7 +379,7 @@ ARGUMENTS
|
|
|
366
379
|
TENANT Tenant to remove
|
|
367
380
|
```
|
|
368
381
|
|
|
369
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
382
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/rm-tenant.js)_
|
|
370
383
|
|
|
371
384
|
## `saltcorn run-benchmark [BASEURL]`
|
|
372
385
|
|
|
@@ -385,7 +398,7 @@ OPTIONS
|
|
|
385
398
|
-t, --token=token API Token for reporting results
|
|
386
399
|
```
|
|
387
400
|
|
|
388
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
401
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/run-benchmark.js)_
|
|
389
402
|
|
|
390
403
|
## `saltcorn run-tests [PACKAGE]`
|
|
391
404
|
|
|
@@ -405,7 +418,7 @@ OPTIONS
|
|
|
405
418
|
--watchAll Watch files for changes and rerun all tests.
|
|
406
419
|
```
|
|
407
420
|
|
|
408
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
421
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/run-tests.js)_
|
|
409
422
|
|
|
410
423
|
## `saltcorn scheduler`
|
|
411
424
|
|
|
@@ -419,7 +432,7 @@ OPTIONS
|
|
|
419
432
|
-v, --verbose Verbose
|
|
420
433
|
```
|
|
421
434
|
|
|
422
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
435
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/scheduler.js)_
|
|
423
436
|
|
|
424
437
|
## `saltcorn serve`
|
|
425
438
|
|
|
@@ -439,7 +452,7 @@ OPTIONS
|
|
|
439
452
|
-v, --verbose Verbose
|
|
440
453
|
```
|
|
441
454
|
|
|
442
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
455
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/serve.js)_
|
|
443
456
|
|
|
444
457
|
## `saltcorn set-cfg KEY VALUE`
|
|
445
458
|
|
|
@@ -458,7 +471,7 @@ OPTIONS
|
|
|
458
471
|
-t, --tenant=tenant tenant
|
|
459
472
|
```
|
|
460
473
|
|
|
461
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
474
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/set-cfg.js)_
|
|
462
475
|
|
|
463
476
|
## `saltcorn setup`
|
|
464
477
|
|
|
@@ -477,7 +490,7 @@ DESCRIPTION
|
|
|
477
490
|
configuration file
|
|
478
491
|
```
|
|
479
492
|
|
|
480
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
493
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/setup.js)_
|
|
481
494
|
|
|
482
495
|
## `saltcorn setup-benchmark`
|
|
483
496
|
|
|
@@ -491,7 +504,7 @@ OPTIONS
|
|
|
491
504
|
-t, --tenant=tenant tenant
|
|
492
505
|
```
|
|
493
506
|
|
|
494
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
507
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/setup-benchmark.js)_
|
|
495
508
|
|
|
496
509
|
## `saltcorn test-plugin PATH`
|
|
497
510
|
|
|
@@ -509,7 +522,7 @@ DESCRIPTION
|
|
|
509
522
|
Extra documentation goes here
|
|
510
523
|
```
|
|
511
524
|
|
|
512
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
525
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/test-plugin.js)_
|
|
513
526
|
|
|
514
527
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
515
528
|
|
|
@@ -526,5 +539,5 @@ ARGUMENTS
|
|
|
526
539
|
TENANT tenant name
|
|
527
540
|
```
|
|
528
541
|
|
|
529
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.6.
|
|
542
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3-beta.1/src/commands/transform-field.js)_
|
|
530
543
|
<!-- commandsstop -->
|