You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reverts Automattic/wordpress-playground-private#18 which adds a
platform-level feature "open in the system browser".
It is a useful feature; it just doesn't seem like a good fit at the
platform level.
There are too many OS and JS runtime combinations that we can reasonably
test. It's easy to imagine reports saying it doesn't work on Node 18 on
Linux Arch, and there's not much value in spending time solving this
type of error. Case in point: the original PR already adds an exception
for GitHub codespaces. We would inevitably see more exceptions and
special rules for other online platforms. Let's not go there at all and
leave it to the API consumers.
Every CLI consumer is free to implement that feature on their own or use
a ready package. Let's leave it to them. For the Playground platform,
it's less about "what can we add" and more about "what can we leave
out?"
cc @bgrgicak@zaerl
'Mount a directory to the PHP runtime before installing WordPress. You can provide --mount-before-install multiple times. Format: /host/path:/vfs/path',
86
82
type: 'array',
@@ -95,16 +91,12 @@ async function run() {
95
91
describe: 'Blueprint to execute.',
96
92
type: 'string',
97
93
})
98
-
.option('skip-wordpress-setup',{
94
+
.option('skipWordPressSetup',{
99
95
describe:
100
96
'Do not download, unzip, and install WordPress. Useful for mounting a pre-configured WordPress directory at /wordpress.',
101
97
type: 'boolean',
102
98
default: false,
103
99
})
104
-
.deprecateOption(
105
-
'skipWordPressSetup',
106
-
'Use --skip-wordpress-setup instead.'
107
-
)
108
100
.option('quiet',{
109
101
describe: 'Do not output logs and progress messages.',
110
102
type: 'boolean',
@@ -116,11 +108,6 @@ async function run() {
116
108
type: 'boolean',
117
109
default: false,
118
110
})
119
-
.option('launch-browser',{
120
-
describe: 'Launch the default browser after starting the server.',
0 commit comments