App-Deps-Verify
view release on metacpan or search on metacpan
lib/App/Deps/Verify/App/VerifyDeps/Command/py3list.pm view on Meta::CPAN
package App::Deps::Verify::App::VerifyDeps::Command::py3list;
$App::Deps::Verify::App::VerifyDeps::Command::py3list::VERSION = '0.12.2';
use App::Deps::Verify::App::VerifyDeps -command;
use strict;
use warnings;
use Path::Tiny qw/ path /;
use App::Deps::Verify ();
sub abstract { "list python3 dependencies from PyPI" }
sub description { return abstract(); }
sub opt_spec
{
return ( [ "input|i=s\@", "the input files" ], );
}
sub validate_args
{
my ( $self, $opt, $args ) = @_;
# no args allowed but options!
$self->usage_error("No args allowed") if @$args;
}
sub execute
{
my ( $self, $opt, $args ) = @_;
foreach my $mod (
@{ App::Deps::Verify->new->list_python3_modules_in_yamls(
+{ filenames => [ @{ $opt->{input} }, ] }
)->{missing_python3_modules}
}
)
{
print "$mod->{module}\n";
}
return;
}
1;
__END__
=pod
=encoding UTF-8
=head1 VERSION
version 0.12.2
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Websites
The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.
=over 4
=item *
MetaCPAN
A modern, open-source CPAN search engine, useful to view POD in HTML format.
L<https://metacpan.org/release/App-Deps-Verify>
=item *
RT: CPAN's Bug Tracker
The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.
( run in 1.164 second using v1.01-cache-2.11-cpan-39bf76dae61 )