# `src codeowners update`

update a codeowners file.

Update a codeowners file for a repository.

Examples:

	$ src codeowners update -repo='github.com/sourcegraph/sourcegraph' -f CODEOWNERS
	$ src codeowners update -repo='github.com/sourcegraph/sourcegraph' -f -

## Usage

```sh
$ src codeowners update [options]
```

## Flags

| Name | Description | Default Value |
|------|-------------|---------------|
| `--dump-requests` | Log GraphQL requests and responses to stdout | `false`|
| `--file, -f` | File path to read ownership information from (- for stdin) | ``|
| `--get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false`|
| `--insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false`|
| `--repo` | The repository to attach the data to | ``|
| `--trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false`|
| `--user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true`|