We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a32f48 commit c5d6086Copy full SHA for c5d6086
lib/index.js
@@ -1,11 +1,13 @@
1
#!/usr/bin/env node
2
3
import updateNotifier from 'update-notifier';
4
+import chalk from 'chalk';
5
import yargs from 'yargs';
6
7
import pkg from '../package.json';
8
import cli from './cli';
9
import check from './check';
10
+import Config from './Config';
11
12
const { argv } = yargs
13
.usage('Usage: $0')
@@ -31,6 +33,11 @@ const { argv } = yargs
31
33
},
32
34
35
check,
36
+ )
37
+ .command(
38
+ 'which-config',
39
+ 'Check which config got applied',
40
+ () => console.log('Following config gets used:\n', chalk.bold(new Config().configPath)),
41
);
42
43
updateNotifier({ pkg }).notify();
0 commit comments