App-BencherUtils

 view release on metacpan or  search on metacpan

script/bencher-for  view on Meta::CPAN

#!perl

# Note: This script is a CLI for Riap function /App/BencherUtils/bencher_for
# and generated automatically using Perinci::CmdLine::Gen version 0.501

use 5.010001;
use strict;
use warnings;

use Perinci::CmdLine::Any;

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2022-08-24'; # DATE
our $DIST = 'App-BencherUtils'; # DIST
our $VERSION = '0.245'; # VERSION

my $cmdline = Perinci::CmdLine::Any->new(
    url => "/App/BencherUtils/bencher_for",
    program_name => "bencher-for",
    read_config => 0,
    read_env => 0,
);

$cmdline->run;

# ABSTRACT: List distributions that benchmarks specified modules
# PODNAME: bencher-for

__END__

=pod

=encoding UTF-8

=head1 NAME

bencher-for - List distributions that benchmarks specified modules

=head1 VERSION

This document describes version 0.245 of bencher-for (from Perl distribution App-BencherUtils), released on 2022-08-24.

=head1 SYNOPSIS

B<bencher-for> [B<--format>=I<name>|B<--json>] [B<--(no)naked-res>] [B<--page-result>[=I<program>]|B<--view-result>[=I<program>]] -- E<lt>I<modules>E<gt> ...

=head1 DESCRIPTION

This utility consults L<lcpan> (local indexed CPAN mirror) to check if there
are distributions that benchmarks a specified module. This is done by checking
the presence of a dependency with the relationship C<x_benchmarks>.

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

=over

=item B<--modules-json>=I<s>

See C<--modules>.

Can also be specified as the 1st command-line argument and onwards.

=item B<--modules>=I<s@>*

Can also be specified as the 1st command-line argument and onwards.

Can be specified multiple times.

=back

=head2 Output options

=over

=item B<--format>=I<s>

Choose output format, e.g. json, text.

Default value:

 undef

Output can be displayed in multiple formats, and a suitable default format is
chosen depending on the application and/or whether output destination is
interactive terminal (i.e. whether output is piped). This option specifically
chooses an output format.


=item B<--json>

Set output format to json.

=item B<--naked-res>

When outputing as JSON, strip result envelope.

Default value:



( run in 0.656 second using v1.01-cache-2.11-cpan-39bf76dae61 )