Skip to content

Commit 3bc4ac5

Browse files
committed
Add welcome message with ReScript tagline and website link
1 parent d899e6a commit 3bc4ac5

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

index.mjs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,13 @@ function getVersion() {
9898
async function main() {
9999
console.clear();
100100

101-
p.intro(`${c.bgCyan(c.black(` create-rescript-app `))} ${c.dim("(" + getVersion() + ")")}`);
101+
p.intro(c.dim("create-rescript-app " + getVersion()));
102+
102103
p.note(
103-
'Create a new ReScript 11 project with modern defaults\n("Core" standard library, JSX 4 automatic mode)',
104-
"About"
104+
`${c.cyan("Fast, Simple, Fully Typed JavaScript from the Future")}
105+
https://www.rescript-lang.org\n\nCreate a new ReScript 11 project with modern defaults
106+
("Core" standard library, JSX 4 automatic mode)`,
107+
"Welcome to ReScript!"
105108
);
106109

107110
const projectName = await p.text({
@@ -158,9 +161,8 @@ async function main() {
158161
s.stop("Project created.");
159162

160163
p.note(
161-
`Your project ${c.cyan(projectName)} was created successfully.\nChange to the ${c.cyan(
162-
projectName
163-
)} folder and view ${c.cyan("README.md")} for more information.`,
164+
`Your ReScript project ${c.cyan(projectName)} was created successfully.
165+
Change to the ${c.cyan(projectName)} folder and view ${c.cyan("README.md")} for more information.`,
164166
"Next steps"
165167
);
166168
p.outro(`Happy hacking!`);

0 commit comments

Comments
 (0)