@saltcorn/cli 0.7.3-beta.0 → 0.7.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 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.0 darwin-arm64 node-v16.15.1
23
+ @saltcorn/cli/0.7.3-beta.1 darwin-arm64 node-v16.15.1
24
24
  $ saltcorn --help [COMMAND]
25
25
  USAGE
26
26
  $ saltcorn COMMAND
@@ -81,7 +81,7 @@ OPTIONS
81
81
  -f, --force force command execution
82
82
  ```
83
83
 
84
- _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/add-schema.js)_
84
+ _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/add-schema.js)_
85
85
 
86
86
  ## `saltcorn backup`
87
87
 
@@ -97,7 +97,7 @@ OPTIONS
97
97
  -z, --zip zip format
98
98
  ```
99
99
 
100
- _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/backup.js)_
100
+ _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/backup.js)_
101
101
 
102
102
  ## `saltcorn configuration-check`
103
103
 
@@ -111,7 +111,7 @@ OPTIONS
111
111
  -t, --tenant=tenant tenant
112
112
  ```
113
113
 
114
- _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/configuration-check.js)_
114
+ _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/configuration-check.js)_
115
115
 
116
116
  ## `saltcorn create-tenant TENANT`
117
117
 
@@ -129,7 +129,7 @@ OPTIONS
129
129
  -e, --email=email Email of owner of tenant
130
130
  ```
131
131
 
132
- _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/create-tenant.js)_
132
+ _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/create-tenant.js)_
133
133
 
134
134
  ## `saltcorn create-user`
135
135
 
@@ -147,7 +147,7 @@ OPTIONS
147
147
  -t, --tenant=tenant tenant
148
148
  ```
149
149
 
150
- _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/create-user.js)_
150
+ _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/create-user.js)_
151
151
 
152
152
  ## `saltcorn delete-tenants`
153
153
 
@@ -158,7 +158,7 @@ USAGE
158
158
  $ saltcorn delete-tenants
159
159
  ```
160
160
 
161
- _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/delete-tenants.js)_
161
+ _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/delete-tenants.js)_
162
162
 
163
163
  ## `saltcorn delete-user USER_EMAIL`
164
164
 
@@ -179,7 +179,7 @@ DESCRIPTION
179
179
  Command deletes the user specified by USER_EMAIL.
180
180
  ```
181
181
 
182
- _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/delete-user.js)_
182
+ _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/delete-user.js)_
183
183
 
184
184
  ## `saltcorn fixtures`
185
185
 
@@ -198,7 +198,7 @@ DESCRIPTION
198
198
  This manual step it is never required for users and rarely required for developers
199
199
  ```
200
200
 
201
- _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/fixtures.js)_
201
+ _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/fixtures.js)_
202
202
 
203
203
  ## `saltcorn get-cfg KEY`
204
204
 
@@ -216,7 +216,7 @@ OPTIONS
216
216
  -t, --tenant=tenant tenant
217
217
  ```
218
218
 
219
- _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/get-cfg.js)_
219
+ _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/get-cfg.js)_
220
220
 
221
221
  ## `saltcorn help [COMMAND]`
222
222
 
@@ -254,7 +254,7 @@ ALIASES
254
254
  $ saltcorn paths
255
255
  ```
256
256
 
257
- _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/info.js)_
257
+ _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/info.js)_
258
258
 
259
259
  ## `saltcorn install-pack`
260
260
 
@@ -270,7 +270,7 @@ OPTIONS
270
270
  -t, --tenant=tenant tenant
271
271
  ```
272
272
 
273
- _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/install-pack.js)_
273
+ _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/install-pack.js)_
274
274
 
275
275
  ## `saltcorn install-plugin`
276
276
 
@@ -286,7 +286,7 @@ OPTIONS
286
286
  -t, --tenant=tenant tenant
287
287
  ```
288
288
 
289
- _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/install-plugin.js)_
289
+ _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/install-plugin.js)_
290
290
 
291
291
  ## `saltcorn list-tenants`
292
292
 
@@ -297,7 +297,7 @@ USAGE
297
297
  $ saltcorn list-tenants
298
298
  ```
299
299
 
300
- _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/list-tenants.js)_
300
+ _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/list-tenants.js)_
301
301
 
302
302
  ## `saltcorn localize-plugin PLUGIN PATH`
303
303
 
@@ -315,7 +315,7 @@ OPTIONS
315
315
  -t, --tenant=tenant tenant
316
316
  ```
317
317
 
318
- _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/localize-plugin.js)_
318
+ _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/localize-plugin.js)_
319
319
 
320
320
  ## `saltcorn make-migration`
321
321
 
@@ -331,7 +331,7 @@ DESCRIPTION
331
331
  unless you are a developer.
332
332
  ```
333
333
 
334
- _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/make-migration.js)_
334
+ _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/make-migration.js)_
335
335
 
336
336
  ## `saltcorn saltcorn migrate`
337
337
 
@@ -353,7 +353,7 @@ DESCRIPTION
353
353
  servers and need to control when the migrations are run.
354
354
  ```
355
355
 
356
- _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/migrate.js)_
356
+ _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/migrate.js)_
357
357
 
358
358
  ## `saltcorn modify-user USER_EMAIL`
359
359
 
@@ -382,7 +382,7 @@ DESCRIPTION
382
382
  NOTE that -a and -r role (--role=role) can give conflict.
383
383
  ```
384
384
 
385
- _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/modify-user.js)_
385
+ _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/modify-user.js)_
386
386
 
387
387
  ## `saltcorn plugins`
388
388
 
@@ -534,7 +534,7 @@ ARGUMENTS
534
534
  VERSION New version number
535
535
  ```
536
536
 
537
- _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/release.js)_
537
+ _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/release.js)_
538
538
 
539
539
  ## `saltcorn reset-schema`
540
540
 
@@ -553,7 +553,7 @@ DESCRIPTION
553
553
  This will delete all existing information
554
554
  ```
555
555
 
556
- _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/reset-schema.js)_
556
+ _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/reset-schema.js)_
557
557
 
558
558
  ## `saltcorn restore FILE`
559
559
 
@@ -570,7 +570,7 @@ OPTIONS
570
570
  -t, --tenant=tenant tenant
571
571
  ```
572
572
 
573
- _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/restore.js)_
573
+ _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/restore.js)_
574
574
 
575
575
  ## `saltcorn rm-tenant`
576
576
 
@@ -589,7 +589,7 @@ DESCRIPTION
589
589
  It recommended to make backup of tenant before perform this command.
590
590
  ```
591
591
 
592
- _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/rm-tenant.js)_
592
+ _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/rm-tenant.js)_
593
593
 
594
594
  ## `saltcorn run-benchmark [BASEURL]`
595
595
 
@@ -608,7 +608,7 @@ OPTIONS
608
608
  -t, --token=token API Token for reporting results
609
609
  ```
610
610
 
611
- _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/run-benchmark.js)_
611
+ _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/run-benchmark.js)_
612
612
 
613
613
  ## `saltcorn run-tests [PACKAGE]`
614
614
 
@@ -628,7 +628,7 @@ OPTIONS
628
628
  --watchAll Watch files for changes and rerun all tests.
629
629
  ```
630
630
 
631
- _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/run-tests.js)_
631
+ _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/run-tests.js)_
632
632
 
633
633
  ## `saltcorn scheduler`
634
634
 
@@ -642,7 +642,7 @@ OPTIONS
642
642
  -v, --verbose Verbose
643
643
  ```
644
644
 
645
- _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/scheduler.js)_
645
+ _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/scheduler.js)_
646
646
 
647
647
  ## `saltcorn serve`
648
648
 
@@ -662,7 +662,7 @@ OPTIONS
662
662
  -v, --verbose Verbose
663
663
  ```
664
664
 
665
- _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/serve.js)_
665
+ _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/serve.js)_
666
666
 
667
667
  ## `saltcorn set-cfg KEY VALUE`
668
668
 
@@ -681,7 +681,7 @@ OPTIONS
681
681
  -t, --tenant=tenant tenant
682
682
  ```
683
683
 
684
- _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/set-cfg.js)_
684
+ _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/set-cfg.js)_
685
685
 
686
686
  ## `saltcorn setup`
687
687
 
@@ -700,7 +700,7 @@ DESCRIPTION
700
700
  configuration file
701
701
  ```
702
702
 
703
- _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/setup.js)_
703
+ _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/setup.js)_
704
704
 
705
705
  ## `saltcorn setup-benchmark`
706
706
 
@@ -714,7 +714,7 @@ OPTIONS
714
714
  -t, --tenant=tenant tenant
715
715
  ```
716
716
 
717
- _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/setup-benchmark.js)_
717
+ _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/setup-benchmark.js)_
718
718
 
719
719
  ## `saltcorn test-plugin PATH`
720
720
 
@@ -732,7 +732,7 @@ DESCRIPTION
732
732
  Extra documentation goes here
733
733
  ```
734
734
 
735
- _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/test-plugin.js)_
735
+ _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/test-plugin.js)_
736
736
 
737
737
  ## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
738
738
 
@@ -749,5 +749,5 @@ ARGUMENTS
749
749
  TENANT tenant name
750
750
  ```
751
751
 
752
- _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.0/src/commands/transform-field.js)_
752
+ _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.3-beta.1/src/commands/transform-field.js)_
753
753
  <!-- commandsstop -->
@@ -1 +1 @@
1
- {"version":"0.7.3-beta.0","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false}},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"zip":{"name":"zip","type":"boolean","char":"z","description":"zip format","allowNo":false}},"args":[]},"configuration-check":{"id":"configuration-check","description":"Check configuration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"create-tenant":{"id":"create-tenant","description":"Create a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"email":{"name":"email","type":"option","char":"e","description":"Email of owner of tenant"},"description":{"name":"description","type":"option","char":"d","description":"Description of tenant"}},"args":[{"name":"tenant","description":"Tenant subdomain to create","required":true}]},"create-user":{"id":"create-user","description":"Create a new user","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"Admin user","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"email"},"role":{"name":"role","type":"option","char":"r","description":"role"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"delete-tenants":{"id":"delete-tenants","description":"Delete inactive tenants","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"delete-user":{"id":"delete-user","description":"Delete user.\n\nCommand deletes the user specified by USER_EMAIL.\n\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"user_email","description":"User to delete","required":true}]},"fixtures":{"id":"fixtures","description":"Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"reset":{"name":"reset","type":"boolean","char":"r","description":"Also reset schema","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"get-cfg":{"id":"get-cfg","description":"Get a configuration value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":true}]},"info":{"id":"info","description":"Show paths\n...\nShow configuration and file store paths\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":["paths"],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"install-pack":{"id":"install-pack","description":"Install a pack","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Pack name in store"},"file":{"name":"file","type":"option","char":"f","description":"File with pack JSON"}},"args":[]},"install-plugin":{"id":"install-plugin","description":"Install a plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store"},"directory":{"name":"directory","type":"option","char":"d","description":"Directory with local plugin"}},"args":[]},"list-tenants":{"id":"list-tenants","description":"List tenants in CSV format","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"localize-plugin":{"id":"localize-plugin","description":"Convert plugin to local plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"plugin","description":"Current plugin name","required":true},{"name":"path","description":"Absolute path to local plugin","required":true}]},"make-migration":{"id":"make-migration","description":"Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n","usage":"make-migration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"migrate":{"id":"migrate","description":"Run Database structure migrations\n...\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n\nThis is not normally required as migrations will be run when the server starts.\nHowever, this command may be useful if you are running multiple application\nservers and need to control when the migrations are run.\n","usage":"saltcorn migrate","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"modify-user":{"id":"modify-user","description":"Modify (update) user.\n\nCommand changes the user specified by USER_EMAIL.\n\nYou can change the user group, password and email.\n\nNOTE that -a and -r role (--role=role) can give conflict.\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"make user be Admin","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"new email"},"role":{"name":"role","type":"option","char":"r","description":"new role (can conflict with -a option)"},"password":{"name":"password","type":"option","char":"p","description":"new password"},"imode":{"name":"imode","type":"boolean","char":"i","description":"interactive mode","allowNo":false}},"args":[{"name":"user_email","description":"User to modify","required":true}]},"plugins":{"id":"plugins","description":"List and upgrade plugins for tenants\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"examples":["plugins -v - verbose output of commands","plugins -u -d - dry-run for plugin update","plugins -u -f - force plugin update"],"flags":{"upgrade":{"name":"upgrade","type":"boolean","char":"u","description":"Upgrade","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"Upgrade dry-run","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Force update","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"Plugin name"}},"args":[]},"release":{"id":"release","description":"Release a new saltcorn version","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"version","description":"New version number","required":true}]},"reset-schema":{"id":"reset-schema","description":"Reset the database\n...\nThis will delete all existing information\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"restore":{"id":"restore","description":"Restore a previously backed up database (zip or sqlc format)","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"file","description":"backup file to restore","required":true}]},"rm-tenant":{"id":"rm-tenant","description":"Remove a tenant.\nAttention! All tenant data will be lost!\nIt recommended to make backup of tenant before perform this command.\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":true}},"args":[]},"run-benchmark":{"id":"run-benchmark","description":"Run benchmark","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"API Token for reporting results"},"benchmark":{"name":"benchmark","type":"option","char":"b","description":"Which benchmark to run"},"delay":{"name":"delay","type":"option","char":"d","description":"delay between runs (s)","default":30}},"args":[{"name":"baseurl","description":"Base URL","required":false}]},"run-tests":{"id":"run-tests","description":"Run test suites","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false},"testFilter":{"name":"testFilter","type":"option","char":"t","description":"Filter tests by suite or test name"},"watch":{"name":"watch","type":"boolean","description":"Watch files for changes and rerun tests related to changed files.","allowNo":false},"watchAll":{"name":"watchAll","type":"boolean","description":"Watch files for changes and rerun all tests.","allowNo":false}},"args":[{"name":"package","description":"which package to run tests for"}]},"scheduler":{"id":"scheduler","description":"Run the Saltcorn scheduler","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Start the Saltcorn server","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"port":{"name":"port","type":"option","char":"p","description":"port","default":3000},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"watchReaper":{"name":"watchReaper","type":"boolean","char":"r","description":"Watch reaper","allowNo":false},"dev":{"name":"dev","type":"boolean","char":"d","description":"Run in dev mode and re-start on file changes","allowNo":false},"addschema":{"name":"addschema","type":"boolean","char":"a","description":"Add schema if missing","allowNo":false},"nomigrate":{"name":"nomigrate","type":"boolean","char":"n","description":"No migrations","allowNo":false},"noscheduler":{"name":"noscheduler","type":"boolean","char":"s","description":"No scheduler","allowNo":false}},"args":[]},"set-cfg":{"id":"set-cfg","description":"Set a configuration value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":true},{"name":"value","description":"Configuration value (JSON or string)","required":true}]},"setup-benchmark":{"id":"setup-benchmark","description":"Setup an instance for benchmarking","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"setup":{"id":"setup","description":"Set up a new system\n...\nThis will attempt to install or connect a database, and set up a\nconfiguration file\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false}},"args":[]},"test-plugin":{"id":"test-plugin","description":"Test a plugin\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"path to plugin package","required":true}]},"transform-field":{"id":"transform-field","description":"transform an existing field by applying a calculated expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"expression","description":"expression to calculate field","required":true},{"name":"field","description":"field name","required":true},{"name":"table","description":"table name","required":true},{"name":"tenant","description":"tenant name","required":false}]}}}
1
+ {"version":"0.7.3-beta.1","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false}},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"zip":{"name":"zip","type":"boolean","char":"z","description":"zip format","allowNo":false}},"args":[]},"configuration-check":{"id":"configuration-check","description":"Check configuration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"create-tenant":{"id":"create-tenant","description":"Create a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"email":{"name":"email","type":"option","char":"e","description":"Email of owner of tenant"},"description":{"name":"description","type":"option","char":"d","description":"Description of tenant"}},"args":[{"name":"tenant","description":"Tenant subdomain to create","required":true}]},"create-user":{"id":"create-user","description":"Create a new user","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"Admin user","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"email"},"role":{"name":"role","type":"option","char":"r","description":"role"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"delete-tenants":{"id":"delete-tenants","description":"Delete inactive tenants","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"delete-user":{"id":"delete-user","description":"Delete user.\n\nCommand deletes the user specified by USER_EMAIL.\n\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"user_email","description":"User to delete","required":true}]},"fixtures":{"id":"fixtures","description":"Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"reset":{"name":"reset","type":"boolean","char":"r","description":"Also reset schema","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"get-cfg":{"id":"get-cfg","description":"Get a configuration value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":true}]},"info":{"id":"info","description":"Show paths\n...\nShow configuration and file store paths\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":["paths"],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"install-pack":{"id":"install-pack","description":"Install a pack","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Pack name in store"},"file":{"name":"file","type":"option","char":"f","description":"File with pack JSON"}},"args":[]},"install-plugin":{"id":"install-plugin","description":"Install a plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store"},"directory":{"name":"directory","type":"option","char":"d","description":"Directory with local plugin"}},"args":[]},"list-tenants":{"id":"list-tenants","description":"List tenants in CSV format","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"localize-plugin":{"id":"localize-plugin","description":"Convert plugin to local plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"plugin","description":"Current plugin name","required":true},{"name":"path","description":"Absolute path to local plugin","required":true}]},"make-migration":{"id":"make-migration","description":"Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n","usage":"make-migration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"migrate":{"id":"migrate","description":"Run Database structure migrations\n...\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n\nThis is not normally required as migrations will be run when the server starts.\nHowever, this command may be useful if you are running multiple application\nservers and need to control when the migrations are run.\n","usage":"saltcorn migrate","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"modify-user":{"id":"modify-user","description":"Modify (update) user.\n\nCommand changes the user specified by USER_EMAIL.\n\nYou can change the user group, password and email.\n\nNOTE that -a and -r role (--role=role) can give conflict.\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"make user be Admin","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"new email"},"role":{"name":"role","type":"option","char":"r","description":"new role (can conflict with -a option)"},"password":{"name":"password","type":"option","char":"p","description":"new password"},"imode":{"name":"imode","type":"boolean","char":"i","description":"interactive mode","allowNo":false}},"args":[{"name":"user_email","description":"User to modify","required":true}]},"plugins":{"id":"plugins","description":"List and upgrade plugins for tenants\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"examples":["plugins -v - verbose output of commands","plugins -u -d - dry-run for plugin update","plugins -u -f - force plugin update"],"flags":{"upgrade":{"name":"upgrade","type":"boolean","char":"u","description":"Upgrade","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"Upgrade dry-run","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Force update","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"Plugin name"}},"args":[]},"release":{"id":"release","description":"Release a new saltcorn version","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"version","description":"New version number","required":true}]},"reset-schema":{"id":"reset-schema","description":"Reset the database\n...\nThis will delete all existing information\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"restore":{"id":"restore","description":"Restore a previously backed up database (zip or sqlc format)","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"file","description":"backup file to restore","required":true}]},"rm-tenant":{"id":"rm-tenant","description":"Remove a tenant.\nAttention! All tenant data will be lost!\nIt recommended to make backup of tenant before perform this command.\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force command execution","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant","required":true}},"args":[]},"run-benchmark":{"id":"run-benchmark","description":"Run benchmark","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"API Token for reporting results"},"benchmark":{"name":"benchmark","type":"option","char":"b","description":"Which benchmark to run"},"delay":{"name":"delay","type":"option","char":"d","description":"delay between runs (s)","default":30}},"args":[{"name":"baseurl","description":"Base URL","required":false}]},"run-tests":{"id":"run-tests","description":"Run test suites","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false},"testFilter":{"name":"testFilter","type":"option","char":"t","description":"Filter tests by suite or test name"},"watch":{"name":"watch","type":"boolean","description":"Watch files for changes and rerun tests related to changed files.","allowNo":false},"watchAll":{"name":"watchAll","type":"boolean","description":"Watch files for changes and rerun all tests.","allowNo":false}},"args":[{"name":"package","description":"which package to run tests for"}]},"scheduler":{"id":"scheduler","description":"Run the Saltcorn scheduler","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Start the Saltcorn server","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"port":{"name":"port","type":"option","char":"p","description":"port","default":3000},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"watchReaper":{"name":"watchReaper","type":"boolean","char":"r","description":"Watch reaper","allowNo":false},"dev":{"name":"dev","type":"boolean","char":"d","description":"Run in dev mode and re-start on file changes","allowNo":false},"addschema":{"name":"addschema","type":"boolean","char":"a","description":"Add schema if missing","allowNo":false},"nomigrate":{"name":"nomigrate","type":"boolean","char":"n","description":"No migrations","allowNo":false},"noscheduler":{"name":"noscheduler","type":"boolean","char":"s","description":"No scheduler","allowNo":false}},"args":[]},"set-cfg":{"id":"set-cfg","description":"Set a configuration value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":true},{"name":"value","description":"Configuration value (JSON or string)","required":true}]},"setup-benchmark":{"id":"setup-benchmark","description":"Setup an instance for benchmarking","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"setup":{"id":"setup","description":"Set up a new system\n...\nThis will attempt to install or connect a database, and set up a\nconfiguration file\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false}},"args":[]},"test-plugin":{"id":"test-plugin","description":"Test a plugin\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"path to plugin package","required":true}]},"transform-field":{"id":"transform-field","description":"transform an existing field by applying a calculated expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"expression","description":"expression to calculate field","required":true},{"name":"field","description":"field name","required":true},{"name":"table","description":"table name","required":true},{"name":"tenant","description":"tenant name","required":false}]}}}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@saltcorn/cli",
3
3
  "description": "Command-line interface for Saltcorn, open-source no-code platform",
4
4
  "homepage": "https://saltcorn.com",
5
- "version": "0.7.3-beta.0",
5
+ "version": "0.7.3-beta.1",
6
6
  "author": "Tom Nielsen @glutamate",
7
7
  "bin": {
8
8
  "saltcorn": "./bin/saltcorn"
@@ -13,9 +13,9 @@
13
13
  "@oclif/config": "^1.18.3",
14
14
  "@oclif/plugin-plugins": "^2.1.0",
15
15
  "@oclif/plugin-help": "^3.3.1",
16
- "@saltcorn/admin-models": "0.7.3-beta.0",
17
- "@saltcorn/data": "0.7.3-beta.0",
18
- "@saltcorn/server": "0.7.3-beta.0",
16
+ "@saltcorn/admin-models": "0.7.3-beta.1",
17
+ "@saltcorn/data": "0.7.3-beta.1",
18
+ "@saltcorn/server": "0.7.3-beta.1",
19
19
  "cli-ux": "^5.6.7",
20
20
  "contractis": "^0.1.0",
21
21
  "dateformat": "^3.0.3",