package Git::CPAN::Patch::Command::FormatPatch;
BEGIN {
  $Git::CPAN::Patch::Command::FormatPatch::AUTHORITY = 'cpan:YANICK';
}
{
  $Git::CPAN::Patch::Command::FormatPatch::VERSION = '1.1.0';
}
#ABSTRACT: Format patches using C<cpan/master> as the origin reference

use 5.10.0;

use strict;
use warnings;

use Method::Signatures;

use MooseX::App::Command;

with 'Git::CPAN::Patch::Role::Git';
with 'Git::CPAN::Patch::Role::Patch';


method run {
    $self->format_patch;
}

__PACKAGE__->meta->make_immutable;

1;

__END__

=head1 SYNOPSIS

    % git-cpan format-patch

=head1 DESCRIPTION

This is just like running C<git format-patch cpan/master>.

=head1 AUTHORS

Yuval Kogman C<< <nothingmuch@woobling.org> >>

Yanick Champoux C<< <yanick@cpan.org> >>

=head1 SEE ALSO

L<Git::CPAN::Patch>

L<git-format-patch>

=cut


