From cc3edbce7546f0ffe1ce286aae7db8db87c61060 Mon Sep 17 00:00:00 2001 From: MK Date: Thu, 15 Jan 2026 20:11:47 +0800 Subject: [PATCH] fix: respect --no-install flag in interactive mode The --no-install flag was being ignored when no project name was provided (interactive mode) because promptForCreateOptions didn't pass the install option through to the final options object. --- packages/cta-cli/src/options.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/cta-cli/src/options.ts b/packages/cta-cli/src/options.ts index c8d10335..13cb31f9 100644 --- a/packages/cta-cli/src/options.ts +++ b/packages/cta-cli/src/options.ts @@ -191,6 +191,9 @@ export async function promptForCreateOptions( } options.git = cliOptions.git || (await selectGit()) + if (cliOptions.install === false) { + options.install = false + } return options }