Manage CODEOWNERS from your terminal
Parse, analyze, and query code ownership across your repository. Advanced CODEOWNERS file management with tag support, ownership analysis, and flexible filtering — all from the command line.
Install in seconds
Available on npm, Cargo, AUR, and as pre-built binaries for Linux, macOS, and Windows.
$ npm install -g @codeinput/codeinputBuilt for your CODEOWNERS workflow
Everything you need to understand and manage code ownership in your repository.
Advanced Parsing
Parse CODEOWNERS files recursively across your entire directory structure with intelligent caching.
Ownership Analysis
Analyze file ownership patterns and generate detailed reports with aggregated owner statistics.
Tag Support
Organize and query files using custom tags in CODEOWNERS. Filter by tags for targeted code review.
High Performance
Efficient caching with bincode serialization and parallel processing for large repositories.
Command reference
A powerful set of commands to query and manage code ownership.
Build a cache of parsed CODEOWNERS files for fast querying.
List all files owned by a specific team.
Find files with specific tags.
Show files without any owner assigned.
Get detailed ownership and tag info for a file.
Display aggregated owner statistics and file associations.
Flexible CODEOWNERS format
Support for both traditional CODEOWNERS files and inline per-file ownership declarations.
Traditional CODEOWNERS
Standard syntax with additional tag support for categorization.
# Standard ownership
*.rs @rust-team
/docs/ @documentation-team
# With tags for categorization
*.security.rs @security-team #security #critical
/api/ @backend-team #api #core
# Multiple owners and tags
*.config @devops @security-team #config #infrastructureInline Per-File Ownership
Declare ownership directly within source files using the !!!CODEOWNERS marker.
// Rust example
// !!!CODEOWNERS @security-team @alice #security #critical
// JavaScript example
// !!!CODEOWNERS @frontend-team #ui #components
/* CSS example */
/* !!!CODEOWNERS @design-team #styles #branding */Get started in seconds
Install the CLI and start managing your CODEOWNERS files today. Open source and free forever.
npm install -g @codeinput/codeinput