CLI Issues
-
I briefly got the wp-cli commands to work when trying to automate some of the plugin setup, but for the past few days the wp-cli is saying that ‘wp pms …’ is not a recognized command.
I’m running the wp-cli docker image with the command below for reference:command: >
/bin/sh -c ‘
sleep 10;
wp core install –path=”/var/www/html” –url=”https://localhost:8080″ –title=”Dashboard” –admin_user=admin –admin_password=********** –[email protected] –skip-email;
wp plugin install paid-member-subscriptions –activate;
wp pms set-plan –title=”Gold” –description=”Access to Gold level content” –access-levels=”1,2″;
wp pms set-plan –title=”Platinum” –description=”Access to Platinum level content” –access-levels=”1,2″;
wp pms set-plan –title=”Platinum Plus” –description=”Access to Platinum Plus level content” –access-levels=”1,2″;
wp pms set-plan –title=”Corporate Administrator” –description=”Access to Silver Corporate Administrator content” –access-levels=”1,2″;
wp plugin install wordpress-importer –activate;
wp import /wordpress-import/WordPress.xml –authors=create –skip=attachment;
‘
- The topic ‘CLI Issues’ is closed to new replies.