mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
add flags and prompt for orm selection
This commit is contained in:
@@ -18,6 +18,10 @@ export function generateReproducibleCommand(config: ProjectConfig): string {
|
||||
flags.push(config.database === "sqlite" ? "--sqlite" : "--postgres");
|
||||
}
|
||||
|
||||
if (config.orm !== DEFAULT_CONFIG.orm) {
|
||||
flags.push(config.orm === "drizzle" ? "--drizzle" : "--prisma");
|
||||
}
|
||||
|
||||
if (config.auth !== DEFAULT_CONFIG.auth) {
|
||||
flags.push("--no-auth");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user