Closed sejas closed 1 month ago
It adds a new flag --skip-browser to avoid opening the browser by default.
--skip-browser
I'm open to feedback for other names. When using --no-open yargs returns errors. It seems the argument cannot start by --no-.
--no-open
--no-
Multiple users asked for this feature.
nvm use && npm install && npx nx build wp-now
node dist/packages/wp-now/cli.js start --skip-browser
https://github.com/WordPress/playground-tools/assets/779993/53f37882-2a1a-4981-a819-cac24433c77f
What?
It adds a new flag
--skip-browser
to avoid opening the browser by default.I'm open to feedback for other names. When using
--no-open
yargs returns errors. It seems the argument cannot start by--no-
.Why?
Multiple users asked for this feature.
Testing Instructions
nvm use && npm install && npx nx build wp-now
node dist/packages/wp-now/cli.js start --skip-browser
Screencast
https://github.com/WordPress/playground-tools/assets/779993/53f37882-2a1a-4981-a819-cac24433c77f