mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Prompt to overwrite non-empty dirs before config
This commit is contained in:
@@ -64,7 +64,7 @@ export function generateReproducibleCommand(config: ProjectConfig): string {
|
||||
baseCommand = "bun create better-t-stack@latest";
|
||||
}
|
||||
|
||||
const projectName = config.projectName ? ` ${config.projectName}` : "";
|
||||
const projectPathArg = config.relativePath ? ` ${config.relativePath}` : "";
|
||||
|
||||
return `${baseCommand}${projectName} ${flags.join(" ")}`;
|
||||
return `${baseCommand}${projectPathArg} ${flags.join(" ")}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user