mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix commander init
This commit is contained in:
5
.changeset/few-ads-slide.md
Normal file
5
.changeset/few-ads-slide.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"create-better-t-stack": patch
|
||||
---
|
||||
|
||||
fix commander init
|
||||
@@ -19,11 +19,6 @@ process.on("SIGINT", () => {
|
||||
const program = new Command();
|
||||
|
||||
async function main() {
|
||||
const s = spinner();
|
||||
try {
|
||||
renderTitle();
|
||||
intro(pc.magenta("Creating a new Better-T-Stack project"));
|
||||
|
||||
program
|
||||
.name("create-better-t-stack")
|
||||
.description("Create a new Better-T Stack project")
|
||||
@@ -53,6 +48,12 @@ async function main() {
|
||||
.option("--no-turso", "Skip Turso setup for SQLite database")
|
||||
.parse();
|
||||
|
||||
const s = spinner();
|
||||
|
||||
try {
|
||||
renderTitle();
|
||||
intro(pc.magenta("Creating a new Better-T-Stack project"));
|
||||
|
||||
const options = program.opts();
|
||||
const projectDirectory = program.args[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user