rename features to addons

This commit is contained in:
Aman Varshney
2025-03-06 14:35:01 +05:30
parent 3dbe289758
commit 5b13b04a20
17 changed files with 75 additions and 81 deletions

View File

@@ -41,12 +41,12 @@ export function generateReproducibleCommand(config: ProjectConfig): string {
flags.push(`--${config.packageManager}`);
}
if (config.features.length > 0) {
for (const feature of config.features) {
flags.push(`--${feature}`);
if (config.addons.length > 0) {
for (const addon of config.addons) {
flags.push(`--${addon}`);
}
} else {
flags.push("--no-features");
flags.push("--no-addons");
}
const baseCommand = "npx create-better-t-stack";