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();
|
const program = new Command();
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const s = spinner();
|
|
||||||
try {
|
|
||||||
renderTitle();
|
|
||||||
intro(pc.magenta("Creating a new Better-T-Stack project"));
|
|
||||||
|
|
||||||
program
|
program
|
||||||
.name("create-better-t-stack")
|
.name("create-better-t-stack")
|
||||||
.description("Create a new Better-T Stack project")
|
.description("Create a new Better-T Stack project")
|
||||||
@@ -53,6 +48,12 @@ async function main() {
|
|||||||
.option("--no-turso", "Skip Turso setup for SQLite database")
|
.option("--no-turso", "Skip Turso setup for SQLite database")
|
||||||
.parse();
|
.parse();
|
||||||
|
|
||||||
|
const s = spinner();
|
||||||
|
|
||||||
|
try {
|
||||||
|
renderTitle();
|
||||||
|
intro(pc.magenta("Creating a new Better-T-Stack project"));
|
||||||
|
|
||||||
const options = program.opts();
|
const options = program.opts();
|
||||||
const projectDirectory = program.args[0];
|
const projectDirectory = program.args[0];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user