We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ceccb9 commit 3768beeCopy full SHA for 3768bee
src/bin/index.ts
@@ -3,7 +3,7 @@ import fs from 'fs';
3
import path from 'path';
4
import * as url from 'url';
5
6
-import { bold, red, green, dim } from 'ansi-colors';
+import colors from 'ansi-colors';
7
import { glob } from 'fast-glob';
8
// eslint-disable-next-line import/order -- what the actual heck, this rule bounces
9
import parser from 'yargs-parser';
@@ -12,6 +12,7 @@ import type { OpenAPITSOptions } from 'openapi-typescript';
12
13
import { generate } from '../index.js';
14
15
+const { bold, red, green, dim } = colors;
16
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
17
18
/** print error message */
0 commit comments