The extension
utility allows performing a number of operations on
Plesk extensions (former modules), like creating and registering them in
Plesk, installing extensions to Plesk, and other.
Usage
extension <command> [<param>][
<option_1> [<param>]
[<option_2>]
]
Example
The following command creates the extension named Mod_1 which does not
contain installation scripts defined by the extension template:
plesk bin extension -c Mod_1 -no-scripts
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--create or -c |
<name> |
Creates a new extension based on the extension template. Note that created extensions are not automatically registered in Plesk. |
To create a extension named Mod_1: plesk bin extension -c Mod_1 |
--register or -r |
<name> |
Register a created extension in Plesk. After the registration, the extension appears in the Extensions list of the Server Administration Panel. |
To register the Mod_1 extension: plesk bin extension -r Mod_1 |
--install or -i |
<file> |
Installs a extension from a .zip file. |
To install an extension from the …
|