You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Codeowners** is a fast, Rust-based CLI for generating and validating [GitHub `CODEOWNERS` files](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners) in large repositories.
3
+
**Codeowners** is a fast, Rust-based CLI for generating and validating [GitHub `CODEOWNERS` files](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners) in large repositories.
4
4
5
-
Note: For Ruby application, it's usually easier to use `codeowners-rs` via the [code_ownership](https://github.com/rubyatscale/code_ownership) gem.
5
+
Note: For Ruby applications, it's usually easier to use `codeowners-rs` via the [code_ownership](https://github.com/rubyatscale/code_ownership) gem.
6
6
7
7
## 🚀 Quick Start: Generate & Validate
8
8
9
-
The most common workflow is to **generate and validate your CODEOWNERS file**in a single step:
9
+
The most common workflow is to generate and validate in one step:
10
10
11
11
```sh
12
12
codeowners gv
13
13
```
14
14
15
-
- This command will:
16
-
- Generate a fresh `CODEOWNERS` file (by default at `.github/CODEOWNERS`)
17
-
- Validate that all files are properly owned and that the file is up to date
18
-
- Exit with a nonzero code and detailed errors if validation fails
15
+
- Generates a fresh `CODEOWNERS` file (default: `.github/CODEOWNERS`)
16
+
- Validates ownership and that the file is up to date
17
+
- Exits non-zero and prints detailed errors if validation fails
Releases include a DotSlash text file that will automatically download and run the correct binary for your system.
46
+
1. Install DotSlash: see [https://dotslash-cli.com/docs/installation/](https://dotslash-cli.com/docs/installation/)
47
+
2. Download the latest DotSlash text file from a release, for example [https://github.com/rubyatscale/codeowners-rs/releases](https://github.com/rubyatscale/codeowners-rs/releases).
48
+
3. Execute the downloaded file with DotSlash; it will fetch and run the correct binary.
43
49
44
-
2.**Download the Latest DotSlash Text File**
45
-
Releases contain a DotSlash text file. Example: [codeowners release v0.2.4](https://github.com/rubyatscale/codeowners-rs/releases/download/v0.2.4/codeowners).
46
-
Running this file with DotSlash installed will execute `codeowners`.
0 commit comments