Skip to content

Commit af8d227

Browse files
authored
Add warning (#235)
1 parent dbe7e0f commit af8d227

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/cli.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ Options
2929
}
3030
);
3131

32+
console.info(chalk.bold(`✨ swagger-to-ts 2.0`));
33+
console.info(
34+
"This library has been updated to 2.0 with improved generation. If you experience issues you can use the deprecated v1 with `npx @manifoldco/swagger-to-ts@1 …`"
35+
);
36+
3237
const pathToSpec = cli.input[0];
3338
const timeStart = process.hrtime();
3439

0 commit comments

Comments
 (0)