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.
--dep-type
1 parent 38fdeac commit f6ae3dfCopy full SHA for f6ae3df
lib/cli.ts
@@ -4,7 +4,7 @@ import { join, dirname } from 'node:path';
4
import type { PackageJson } from 'type-fest';
5
import { fileURLToPath } from 'node:url';
6
import { CDVC } from './cdvc.js';
7
-import { Options } from './types.js';
+import { DEPENDENCY_TYPE, Options } from './types.js';
8
import { DEFAULT_DEP_TYPES } from './defaults.js';
9
10
const __dirname = dirname(fileURLToPath(import.meta.url));
@@ -35,6 +35,8 @@ export function run() {
35
'--dep-type <dependency-type>',
36
`Type of dependency to check (default: ${DEFAULT_DEP_TYPES.join(
37
', '
38
+ )}) (choices: ${Object.keys(DEPENDENCY_TYPE).join(
39
+ ', '
40
)}) (option can be repeated)`,
41
collect,
42
[]
0 commit comments