wwwAndries
New Pleskian
Hello,
How can I add additional packages to wp-cli which must be available for all users?
I've tried:
1. /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/bin/wp package install wp-cli/doctor-command --allow-root
Error: Unable to locate configuration path {"err_code":40002,"err_message":"Unable to locate configuration path"}
2. plesk ext wp-toolkit --wp-cli package install wp-cli/doctor-command --allow-root
Error: Some of required options were missed. You must specify either the 'instance-id' option, or both the 'main-domain-id' and the 'path' options. exit status 3
PHP binary: /usr/bin/php
PHP version: 7.0.29
php.ini used: /etc/php.ini
WP-CLI root dir: /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli
WP-CLI vendor dir: /usr/local/psa/admin/plib/modules/wp-toolkit/vendor
WP_CLI phar path:
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config: /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/cache-command/wp-cli.yml
WP-CLI version: 1.4.0
How can I add additional packages to wp-cli which must be available for all users?
I've tried:
1. /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/bin/wp package install wp-cli/doctor-command --allow-root
Error: Unable to locate configuration path {"err_code":40002,"err_message":"Unable to locate configuration path"}
2. plesk ext wp-toolkit --wp-cli package install wp-cli/doctor-command --allow-root
Error: Some of required options were missed. You must specify either the 'instance-id' option, or both the 'main-domain-id' and the 'path' options. exit status 3
PHP binary: /usr/bin/php
PHP version: 7.0.29
php.ini used: /etc/php.ini
WP-CLI root dir: /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli
WP-CLI vendor dir: /usr/local/psa/admin/plib/modules/wp-toolkit/vendor
WP_CLI phar path:
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config: /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/cache-command/wp-cli.yml
WP-CLI version: 1.4.0