mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
clear console on start
This commit is contained in:
5
.changeset/afraid-kids-occur.md
Normal file
5
.changeset/afraid-kids-occur.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"create-better-t-stack": patch
|
||||
---
|
||||
|
||||
clear console on start
|
||||
@@ -54,7 +54,7 @@ async function gatherConfig(
|
||||
const response = await text({
|
||||
message: "📝 Project name",
|
||||
placeholder: defaultName,
|
||||
initialValue: flags.projectName || defaultName,
|
||||
initialValue: flags.projectName,
|
||||
defaultValue: defaultName,
|
||||
validate: (value) => {
|
||||
const nameToUse = value.trim() || defaultName;
|
||||
@@ -189,6 +189,7 @@ async function gatherConfig(
|
||||
async function main() {
|
||||
const s = spinner();
|
||||
try {
|
||||
console.clear();
|
||||
renderTitle();
|
||||
intro(chalk.bold("Creating a new Better-T Stack project"));
|
||||
program
|
||||
|
||||
Reference in New Issue
Block a user