Specify Browser to Use WP-CLI wp admin Command
-
I am inexperienced with WP-CLI, which I have successfully installed on my Mac; I also used the command
wp package install wp-cli/admin-command
I can use the command
wp admin --path=/Users/bernard/Sites/wordpress
to open /wp-admin/ in the browser (when I am currently not in my wordpress directory).
However, the command will always open in my default browser (Safari). Sometimes, I would like to open /wp-admin/ in the Google Chrome browser.
my questions are:
- is there an argument I can use with the wp admin command to specify the browser?
- or, can the browser be specified if I create my own CLI command?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Specify Browser to Use WP-CLI wp admin Command’ is closed to new replies.