chainsaw team
Manage repo→team ownership mappings
Manage repo→team ownership mappings
| Subcommand | What it does |
|---|---|
chainsaw team add | Add a repo→team mapping (pattern supports trailing-glob, e.g. acme/*) |
chainsaw team list | List configured repo→team mappings |
chainsaw team lookup | Resolve which team owns a repository identifier |
chainsaw team remove | Remove the mapping for an exact pattern |
chainsaw team [command]
chainsaw team add
Add a repo→team mapping (pattern supports trailing-glob, e.g. acme/*)
chainsaw team add <pattern> <team> [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | — | Print the created mapping as JSON |
The global flags apply here too.
chainsaw team list
List configured repo→team mappings
chainsaw team list [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | — | Output as JSON |
The global flags apply here too.
chainsaw team lookup
Resolve which team owns a repository identifier
chainsaw team lookup <repo> [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | — | Output as JSON |
The global flags apply here too.
chainsaw team remove
Remove the mapping for an exact pattern
chainsaw team remove <pattern> [flags]
Removes the repo→team mapping whose pattern matches EXACTLY. Routing for every repository the pattern covered falls back to the org default until a replacement mapping is added. Prompts for confirmation; use –yes to skip it in scripts.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--yes | bool | — | Skip confirmation prompt (required on non-TTY) |
The global flags apply here too.