Skip to content

Commit eb56265

Browse files
committed
⚡ improve UI
1 parent b6cce7c commit eb56265

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/index.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ const mainCommand = defineCommand({
1818
};
1919
},
2020
run: async () => {
21-
const projectName = await consola.prompt("Project Name", {
21+
const projectName = await consola.prompt("Project Name?", {
2222
type: "text",
23-
default: "Babylon-App",
24-
placeholder: "Babylon-App",
23+
default: "babylon-app",
24+
placeholder: "babylon-app",
2525
});
2626

27-
const buildTool = await consola.prompt("Build Tools", {
27+
const buildTool = await consola.prompt("Build Tools?", {
2828
type: "select",
2929
options: [{ value: "vite", label: "Vite" }],
3030
});
3131

32-
const language = await consola.prompt("Language", {
32+
const language = await consola.prompt("Language?", {
3333
type: "select",
3434
options: [
3535
{ value: "ts", label: `${colorize("blue", "TypeScript")}` },
@@ -59,7 +59,8 @@ const mainCommand = defineCommand({
5959
await writePackageJSON(jsonPath, packageJson);
6060
}
6161

62-
console.log("\nDone!");
63-
console.log(` cd ${projectName}\n`);
62+
consola.log("\n");
63+
consola.success("Done!✨");
64+
consola.log(` cd ${projectName}`);
6465
},
6566
});

0 commit comments

Comments
 (0)