App-DistroWatchUtils
view release on metacpan or search on metacpan
bin/get-distro-releases-info view on Meta::CPAN
#!perl
# Note: This script is a CLI for Riap function /WWW/DistroWatch/ReleaseInfo/get_distro_releases_info
# and generated automatically using Perinci::CmdLine::Gen version 0.28
our $DATE = '2016-01-18'; # DATE
our $DIST = 'App-DistroWatchUtils'; # DIST
our $VERSION = '0.05'; # VERSION
use 5.010001;
use strict;
use warnings;
use Perinci::CmdLine::Any;
# code_before_instantiate_cmdline
binmode(STDOUT, ":utf8");
Perinci::CmdLine::Any->new(
url => "/WWW/DistroWatch/ReleaseInfo/get_distro_releases_info",
program_name => "get-distro-releases-info",
extra_urls_for_version => ["/App/DistroWatchUtils/"],
)->run;
# ABSTRACT: Get information about a distro's releases
# PODNAME: get-distro-releases-info
__END__
=pod
=encoding UTF-8
=head1 NAME
get-distro-releases-info - Get information about a distro's releases
=head1 VERSION
This document describes version 0.05 of get-distro-releases-info (from Perl distribution App-DistroWatchUtils), released on 2016-01-18.
=head1 SYNOPSIS
Usage:
% get-distro-releases-info [options] <distribution>
=head1 DESCRIPTION
This routine scrapes C<< http://distrowatch.com/table.php?distribution=E<lt>NAMEE<gt> >> and
returns a data structure like the following:
[
{
release_name => '17.2 rafaela',
release_date => '2015-06-30',
eol_date => '2019-04',
abiword_version => '--',
alsa_lib_version => '1.0.27.2',
perl_version => '5.22.0',
python_version => '2.7.5',
...
},
...
]
=head1 OPTIONS
C<*> marks required options.
=head2 Configuration options
=over
=item B<--config-path>=I<filename>
( run in 1.533 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )