Skip to content

Commit e1c1262

Browse files
committed
feat(cli): add getting started commands after new project init
1 parent 15d0b31 commit e1c1262

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

apps/cli/src/commands/init.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ async function validateProjectDirectory(cwd: string) {
132132
});
133133

134134
spinner.succeed('New project initialized successfully!');
135+
console.log(`\nTo get started, run the following commands:\n`);
136+
console.log(chalk.cyan(`cd ${projectName}`));
137+
console.log(
138+
chalk.cyan(
139+
`${packageManager} ${packageManager === 'npm' || packageManager === 'bun' ? 'run ' : ''}dev`
140+
)
141+
);
135142
process.exit(0);
136143
}
137144
}

0 commit comments

Comments
 (0)