Skip to content

Commit

Permalink
Making --use-root-maintainers available via CLI (#345)
Browse files Browse the repository at this point in the history
It was reported that `--use-root-maintainers` is not explicitly
available via the CLI.

This PR should solved that, and close #344
  • Loading branch information
gagoar authored Mar 19, 2023
1 parent ad51db5 commit 4274334
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bin/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ program
'For every package.json found, generate a CODEOWNERS entry using the maintainers field',
false
)
.option(
'--use-root-maintainers',
'It will use `maintainers` field from the package.json in the root to generate default codeowners. Works only in conjunction with `useMaintainers`',
false
)
.option(
'--group-source-comments',
'Instead of generating one comment per rule, enabling this flag will group them, reducing comments to one per source file. Useful if your codeowners file gets too noisy',
Expand Down

0 comments on commit 4274334

Please sign in to comment.