chainsaw codeowners
Sync and query GitHub CODEOWNERS mappings
Sync and query GitHub CODEOWNERS mappings
| Subcommand | What it does |
|---|---|
chainsaw codeowners show | Print the owners that CODEOWNERS resolves for a repo path |
chainsaw codeowners sync | Pull and persist CODEOWNERS for a GitHub repo (owner/name) |
chainsaw codeowners [command]
Pull a repository’s CODEOWNERS file from GitHub, persist the parsed mappings, and answer path → owner queries against them.
Everything goes through the Chain305 server, so run ‘chainsaw auth login’ first. Nothing is stored locally and the CLI needs no database access of its own — the server keeps the mappings for you.
chainsaw codeowners show
Print the owners that CODEOWNERS resolves for a repo path
chainsaw codeowners show <repo> <path>
chainsaw codeowners sync
Pull and persist CODEOWNERS for a GitHub repo (owner/name)
chainsaw codeowners sync <repo> [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--branch | string | — | optional branch ref (defaults to repo HEAD) |
The global flags apply here too.