Skip to content

Commit f991981

Browse files
authored
[CLI] Fix login argument (#1985)
This PR returns support for login in the CLI using a `login` argument. The support was previously removed in #1811. ## Testing Instructions (or ideally a Blueprint) - Run `bun ./packages/playground/cli/src/cli.ts server --login` - Open Playground and see that you are logged in
1 parent 0c1e2c2 commit f991981

File tree

1 file changed

+2
-1
lines changed
  • packages/playground/cli/src

1 file changed

+2
-1
lines changed

packages/playground/cli/src/cli.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async function run() {
104104
})
105105
.option('debug', {
106106
describe:
107-
'Return PHP error log content if an error occurs while building the site.',
107+
'Print PHP error log content if an error occurs during Playground boot.',
108108
type: 'boolean',
109109
default: false,
110110
})
@@ -215,6 +215,7 @@ async function run() {
215215
php: args.php as SupportedPHPVersion,
216216
wp: args.wp,
217217
},
218+
login: args.login,
218219
};
219220
}
220221

0 commit comments

Comments
 (0)