fix(cli): add --no-git option to fumadocs setup command

This commit is contained in:
Aman Varshney
2025-08-08 19:17:08 +05:30
parent 2df8d44af3
commit 7d76289db7
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"create-better-t-stack": patch
---
add --no-git option to fumadocs setup command

View File

@@ -59,7 +59,7 @@ export async function setupFumadocs(config: ProjectConfig) {
const templateArg = TEMPLATES[template].value;
const commandWithArgs = `create-fumadocs-app@latest fumadocs --template ${templateArg} --src --no-install --pm ${packageManager} --no-eslint`;
const commandWithArgs = `create-fumadocs-app@latest fumadocs --template ${templateArg} --src --no-install --pm ${packageManager} --no-eslint --no-git`;
const fumadocsInitCommand = getPackageExecutionCommand(
packageManager,