Can WordPress Toolkit be managed via command-line?
WordPress Toolkit can be managed via command-line using the wp-toolkit command in SSH or WHM >> Terminal as the root user:
# which wp-toolkit
For a list of options supported by wp-toolkit, run the following in SSH or WHM >> Terminal as the root user:
To obtain information on the usage of a specific option, run the following in SSH or WHM >> Terminal as the root user (replace $OPTION with the option you would like information on):
wp-toolkit --help -command $OPTION
Example (output included):
# wp-toolkit --help -command wp-cli
-instance-id INSTANCE_ID|-domain-name DOMAIN_NAME -path PATH
Executes a wp-cli call to the selected WordPress installation.
-instance-id WordPress installation ID
-domain-name Domain name
-path The relative path from the domain's document root
directory. Example: /subdirectory