App-DistUtils
view release on metacpan or search on metacpan
lib/App/DistUtils.pm view on Meta::CPAN
package App::DistUtils;
use 5.010001;
use strict;
use warnings;
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2023-05-20'; # DATE
our $DIST = 'App-DistUtils'; # DIST
our $VERSION = '0.154'; # VERSION
our %dist_arg_single = (
dist => {
summary => 'Distribution name, defaults to "this dist"',
schema => 'perl::distname::default_this_dist*',
description => <<'_',
See the <prog:this-dist> utility for how to guess for "this distribution".
_
pos => 0,
completion => sub {
require Complete::Dist;
my %args = @_;
Complete::Dist::complete_dist(word=>$args{word});
},
},
);
our %dist_arg_multiple = (
dist => {
schema => ['array*', of=>'perl::distname*', min_len=>1],
req => 1,
pos => 0,
greedy => 1,
element_completion => sub {
require Complete::Dist;
my %args = @_;
Complete::Dist::complete_dist(word=>$args{word});
},
},
);
1;
# ABSTRACT: Collection of utilities related to Perl distributions
__END__
=pod
=encoding UTF-8
=head1 NAME
App::DistUtils - Collection of utilities related to Perl distributions
=head1 VERSION
This document describes version 0.154 of App::DistUtils (from Perl distribution App-DistUtils), released on 2023-05-20.
=head1 SYNOPSIS
This distribution provides the following command-line utilities related to Perl
distributions:
=over
=item 1. L<dir2dist>
=item 2. L<dir2mod>
=item 3. L<dist-dir>
=item 4. L<dist-has-deb>
=item 5. L<dist2deb>
=item 6. L<dist2mod>
( run in 1.475 second using v1.01-cache-2.11-cpan-39bf76dae61 )