Add --yes flag by default to command generator

This commit is contained in:
Aman Varshney
2025-05-06 09:25:48 +05:30
parent 52195b3580
commit 5bc0bbe798
2 changed files with 2 additions and 2 deletions

View File

@@ -730,7 +730,7 @@ const generateCommand = (stackState: StackState): string => {
} }
const projectName = stackState.projectName || "my-better-t-app"; const projectName = stackState.projectName || "my-better-t-app";
const flags: string[] = []; const flags: string[] = ["--yes"];
const checkDefault = <K extends keyof StackState>( const checkDefault = <K extends keyof StackState>(
key: K, key: K,

View File

@@ -14,7 +14,7 @@
}, },
"apps/cli": { "apps/cli": {
"name": "create-better-t-stack", "name": "create-better-t-stack",
"version": "2.8.0", "version": "2.8.2",
"bin": { "bin": {
"create-better-t-stack": "dist/index.js", "create-better-t-stack": "dist/index.js",
}, },