use App::Codeowners::Options;
use App::Codeowners::Util qw(find_codeowners_in_directory run_git git_ls_files git_toplevel);
use Color::ANSI::Util 0.03 qw(ansifg);
-use Encode qw(encode);
use File::Codeowners;
use Path::Tiny;
-our $VERSION = '0.47'; # VERSION
+our $VERSION = '0.50'; # VERSION
sub main {
my $command = $opts->command;
my $handler = $self->can("_command_$command")
or die "Unknown command: $command\n";
+
+ binmode(STDOUT, ':encoding(UTF-8)');
$self->$handler($opts);
exit 0;
my $template = <<'END';
This file shows mappings between subdirs/files and the individuals and
teams who own them. You can read this file yourself or use tools to query it,
- so you can quickly determine who to speak with or send pull requests to. ❤️
+ so you can quickly determine who to speak with or send pull requests to.
Simply write a gitignore pattern followed by one or more names/emails/groups.
Examples:
=head1 VERSION
-version 0.47
+version 0.50
=head1 DESCRIPTION
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2019 by Charles McGarvey.
+This software is copyright (c) 2021 by Charles McGarvey.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.