refactor(cli): simplify database selection flags

This commit is contained in:
Aman Varshney
2025-02-18 09:59:17 +05:30
parent 6d03d6b97e
commit 64fc644235
7 changed files with 19 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ export function generateReproducibleCommand(config: ProjectConfig): string {
}
if (config.database !== DEFAULT_CONFIG.database) {
flags.push(`--database ${config.database}`);
flags.push(config.database === "sqlite" ? "--sqlite" : "--postgres");
}
if (config.auth !== DEFAULT_CONFIG.auth) {

View File

@@ -17,8 +17,6 @@ export const TITLE_TEXT = `
║ ██║ ███████║ ██║ ██║ ██║╚██████╗██║ ██╗ ║
║ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ║
║ ║
║ The Modern Full-Stack Framework ║
║ ║
╚════════════════════════════════════════════════════════════╝
`;