gh-codeowners

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 9 Imported by: 0

README

CODEOWNERS GitHub CLI extension

releases ci

Lint your CODEOWNERS file.

Usage

Render a list of errors based on the current branch's CODEOWNERS errors reported by GitHub:

gh codeowners lint

You can also get a sorted list of unknown owners or just return the raw JSON:

gh codeowners lint --unknown-owners
gh codeowners lint --json

To render your CODEOWNERS file with errors reported by GitHub:

gh codeowners view

Configuration

This extension will render colors whenever possible and, in some scenarios like when printing a list of errors, maybe change the format to prefer colors over markers that may work better only for non-colored text.

You can override these colors on the command line (pass --help for details) or permanently with a configuration file located under your home directory on all platforms: ~/.config/gh-codeowners/config.yml

color:
  comment: "#6A9955"
  error:   "#F44747"

License

Licensed under the MIT license.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cmd
git

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL