Dist-Zilla-Plugin-RequiresExternal

 view release on metacpan or  search on metacpan

lib/Dist/Zilla/App/Command/externaldeps.pm  view on Meta::CPAN

package Dist::Zilla::App::Command::externaldeps; ## no critic (Capitalization)

# ABSTRACT: print external libraries and binaries prerequisites

use Modern::Perl '2010';    ## no critic (Modules::ProhibitUseQuotedVersion)

our $VERSION = '1.009';     # VERSION
use utf8;

#pod =for test_synopsis
#pod BEGIN { die "SKIP: this is command line, not perl\n" }
#pod
#pod =head1 SYNOPSIS
#pod
#pod On the command line:
#pod
#pod     % dzil externaldeps
#pod     man
#pod     sqlite3
#pod
#pod =head1 DESCRIPTION
#pod
#pod This is a command plugin for L<Dist::Zilla|Dist::Zilla>. It provides the
#pod C<externaldeps> command, which prints external prerequisites declared
#pod with
#pod L<Dist::Zilla::Plugin::RequiresExternal|Dist::Zilla::Plugin::RequiresExternal>.
#pod
#pod =cut

use Dist::Zilla::App -command;    ## no critic (ProhibitCallsToUndeclaredSubs)
use English '-no_match_vars';

sub opt_spec { }

sub execute {
    my $self   = shift;
    my $plugin = $self->zilla->plugin_named('RequiresExternal');
    local $LIST_SEPARATOR = "\n";
    say "@{ $plugin->_requires }";
    return;
}

## no critic (NamingConventions::ProhibitAmbiguousNames)
sub abstract { return 'print external libraries and binaries prerequisites' }

1;

__END__

=pod

=encoding utf8

=for :stopwords Mark Gardner Joenio Costa GSI Commerce and cpan testmatrix url bugtracker
rt cpants kwalitee diff irc mailto metadata placeholders metacpan

=head1 NAME

Dist::Zilla::App::Command::externaldeps - print external libraries and binaries prerequisites

=head1 VERSION

version 1.009

=for test_synopsis BEGIN { die "SKIP: this is command line, not perl\n" }

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.447 second using v1.00-cache-2.02-grep-82fe00e-cpan-f5108d614456 )