Plugins Commands
The plugins command enables to manage BSH Engine plugins from the command line.
install
Archive a plugin directory and install it to a BSH Engine instance using the official SDK.
npm
bsh plugins install <plugin-dir> -H <host> -k <apikey>
# or
bsh p i <plugin-dir> -H <host> -k <apikey>| Argument | Description | Required | Default |
|---|---|---|---|
<plugin-dir> | Path to the plugin directory | yes | ~ |
| Option | Description | Required | Default |
|---|---|---|---|
-H, --host <host> | BSH Engine host URL | no | from .bshsolutions/cli.json |
-k, --apikey <apikey> | BSH Engine API key | no | from .bshsolutions/cli.json |
npm
bsh plugins install ./path/to/plugin \
-H https://instance-host.com \
-k <api-key>