codeowners

Generate a CODEOWNERS file for your repository from inline annotations in your code.

Install

dart pub add codeowners
dart pub add --dev codeowners_cli

Usage

Annotate any element with a Codeowners annotation.

import 'package:codeowners/codeowners.dart';

final alois = @Codeowner('alois');

@alois
@Codeowners(['johndoe', 'walterwhite', 'goku'])
class CodeownersExample {}

Then call the cli tool to generate the CODEOWNERS file.

dart run codeowners_cli

Libraries