Skip to content

Commit

Permalink
[CLI] Fix login argument (#1985)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bgrgicak authored Nov 5, 2024
1 parent 0c1e2c2 commit f991981
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/playground/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async function run() {
})
.option('debug', {
describe:
'Return PHP error log content if an error occurs while building the site.',
'Print PHP error log content if an error occurs during Playground boot.',
type: 'boolean',
default: false,
})
Expand Down Expand Up @@ -215,6 +215,7 @@ async function run() {
php: args.php as SupportedPHPVersion,
wp: args.wp,
},
login: args.login,
};
}

Expand Down

0 comments on commit f991981

Please sign in to comment.