From f991981aa95b6a996809c6a62ac2989cf52ef1b5 Mon Sep 17 00:00:00 2001 From: Bero Date: Tue, 5 Nov 2024 21:04:10 +0100 Subject: [PATCH] [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 --- packages/playground/cli/src/cli.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/playground/cli/src/cli.ts b/packages/playground/cli/src/cli.ts index 74865336df..f0dce50a73 100644 --- a/packages/playground/cli/src/cli.ts +++ b/packages/playground/cli/src/cli.ts @@ -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, }) @@ -215,6 +215,7 @@ async function run() { php: args.php as SupportedPHPVersion, wp: args.wp, }, + login: args.login, }; }