| 1 | package Git::CPAN::Patch::Command::SendEmail; | ||
| 2 | 1 | our $AUTHORITY = 'cpan:YANICK'; | |
| 3 | #ABSTRACT: use C<git-send-email> to submit patches to CPAN RT | ||
| 4 | 1 | $Git::CPAN::Patch::Command::SendEmail::VERSION = '2.3.2'; | |
| 5 | 1 | ▶ | use 5.10.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | ▶ | use Method::Signatures::Simple; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 1 | ▶ | use MooseX::App::Command; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 1 | with 'Git::CPAN::Patch::Role::Git'; | |
| 15 | 1 | with 'Git::CPAN::Patch::Role::Patch'; | |
| 16 | |||
| 17 | 1 | parameter extra_arg => ( | |
| 18 | is => 'rw', | ||
| 19 | isa => 'Str', | ||
| 20 | required => 0, | ||
| 21 | ); | ||
| 22 | |||
| 23 | 1 | ▶ | method run { |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
Subroutine
__ANON__: not called CC=1 SCAR=3.5
| |||
| 24 | 0 | $self->send_emails($self->extra_arg); | |
| 25 | 1 | } | |
| 26 | |||
| 27 | 1 | __PACKAGE__->meta->make_immutable; | |
| 28 | |||
| 29 | 1 | 1; | |
| 30 | |||
| 31 | __END__ | ||
| 32 | |||
| 33 | =pod | ||
| 34 | |||
| 35 | =encoding UTF-8 | ||
| 36 | |||
| 37 | =head1 NAME | ||
| 38 | |||
| 39 | Git::CPAN::Patch::Command::SendEmail - use C<git-send-email> to submit patches to CPAN RT | ||
| 40 | |||
| 41 | =head1 VERSION | ||
| 42 | |||
| 43 | version 2.3.2 | ||
| 44 | |||
| 45 | =head1 SYNOPSIS | ||
| 46 | |||
| 47 | % git-cpan send_email | ||
| 48 | |||
| 49 | =head1 DESCRIPTION | ||
| 50 | |||
| 51 | This command provides a C<--to> parameter to C<git send-email> that corresponds | ||
| 52 | to the RT queue of the imported module. | ||
| 53 | |||
| 54 | =head1 AUTHOR | ||
| 55 | |||
| 56 | Yanick Champoux <yanick@cpan.org> | ||
| 57 | |||
| 58 | =head1 COPYRIGHT AND LICENSE | ||
| 59 | |||
| 60 | This software is copyright (c) 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009 by Yanick Champoux. | ||
| 61 | |||
| 62 | This is free software; you can redistribute it and/or modify it under | ||
| 63 | the same terms as the Perl 5 programming language system itself. | ||
| 64 | |||
| 65 | =cut | ||