mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
feat(cli): add disable analytics option (#496)
This commit is contained in:
@@ -90,6 +90,11 @@ export const router = t.router({
|
||||
webDeploy: WebDeploySchema.optional(),
|
||||
directoryConflict: DirectoryConflictSchema.optional(),
|
||||
renderTitle: z.boolean().optional(),
|
||||
disableAnalytics: z
|
||||
.boolean()
|
||||
.optional()
|
||||
.default(false)
|
||||
.describe("Disable analytics"),
|
||||
}),
|
||||
]),
|
||||
)
|
||||
@@ -198,6 +203,7 @@ export function createBtsCli() {
|
||||
* packageManager: "bun",
|
||||
* install: false,
|
||||
* directoryConflict: "increment", // auto-handle conflicts
|
||||
* disableAnalytics: true, // disable analytics
|
||||
* });
|
||||
*
|
||||
* if (result.success) {
|
||||
|
||||
Reference in New Issue
Block a user