Skip to content

Commit

Permalink
feat: print a disclaimer at the beginning of CLI runs (#1180)
Browse files Browse the repository at this point in the history
* added disclaimer

* moved text into one print instead of three

* deleted three empty lines

* split into three prints instead of one

* fixed typo
  • Loading branch information
emday4prez authored Apr 3, 2023
1 parent a3d6add commit 9125ceb
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit 9125ceb

Please sign in to comment.