Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: print a disclaimer at the beginning of CLI runs #1180

Merged
merged 5 commits into from
Apr 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ export const typeStat = async (argv: TypeStatArgv, output: ProcessOutput): Promi
}

output.stdout(chalk.greenBright("🚀 Welcome to TypeStat!"));
output.stdout(chalk.yellowBright("⚠️ TypeStat is still very early stage and experimental. ⚠️"))
output.stdout(chalk.yellowBright("While it will improve your code, it will likely add syntax and type errors."))
output.stdout(chalk.yellowBright("Use TypeStat as a starting point before you manually fix and verify any changes."))

output.stdout(
[
chalk.green(`TypeStat will run through the `),
Expand Down