WP-CLI Issues

graceful (sth. or sb) else 39

I'm not familiar with WP-CLI, which I've successfully installed on my Mac; I've also used the command

wp package install wp-cli/admin-command
I can use the command

wp admin -path=/Users/bernard/Sites/wordpress
Open /wp-admin/ in your browser (when I'm not currently in my wordpress directory).

However, the command will always open in my default browser (Safari). Sometimes, I want to open /wp-admin/ in Google Chrome.

My question is:

Can I specify a browser using a parameter in the wp admin command?
Or, if I create my own CLI command, can I specify a browser?

Comments

Add comment
  • Comment list is empty

Contact Us

020-2206-9892

QQ咨询:1025174874

E-mail: info@361sale.com

Working hours: Monday to Friday, 9:30-18:30, holidays off

Customer Service