Open
Description
Context
When using -o
to filter results owned by a specific owner, it displays the filename then the owner, e.g.:
example_test.go @example/go-engineers
example.go @example/go-engineers
When using this in scripts, we'd then have to extract the file only, e.g.:
codeowners -o @example/go-engineers | cut -d ' ' -f 1 | xargs ...
Request
Provide an additional flag or option, for example --filenames-only
, so we can then simply go:
codeowners -o @example/go-engineers --filenames-only | xargs ...
Metadata
Metadata
Assignees
Labels
No labels