Skip to content

List up CODEOWNERS of all repositories.

License

Notifications You must be signed in to change notification settings

winebarrel/codeowners

Repository files navigation

codeowners

CI

List up CODEOWNERS of all repositories.

Usage

Usage: codeowners --user=STRING --org=STRING --token=STRING [flags]

Flags:
  -h, --help            Show help.
  -u, --user=STRING     User name.
  -o, --org=STRING      Organization name.
      --token=STRING    Authentication token for github.com API requests ($GITHUB_TOKEN).
  -y, --[no-]yaml       Output as YAML.
      --version
$ codeowners -o my-org
[
  {
    "repo": "my-repo-1",
    "exists": true,
    "content": "* @bob\n"
  },
  {
    "repo": "my-repo-2",
    "exists": true,
    "content": "* @alice\n"
  },
  {
    "repo": "my-repo-3",
    "exists": false
  }
]