App-DNSZoneUtils
view release on metacpan or search on metacpan
# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012.
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini
lib/App/DNSZoneUtils.pm
script/gen-bind-zone-from-powerdns-db
t/00-compile.t
t/author-critic.t
t/author-pod-coverage.t
t/author-pod-syntax.t
weaver.ini
"version" : "5.028002"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::InsertExecsList",
"name" : "InsertExecsList",
"version" : "0.02"
},
{
"class" : "Dist::Zilla::Plugin::GenPericmdScript",
"name" : "GenPericmdScript gen-bind-zone-from-powerdns-db",
"version" : "0.421"
},
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"config" : {
"Dist::Zilla::Plugin::GatherDir" : {
"exclude_filename" : [],
"exclude_match" : [],
"follow_symlinks" : 0,
"include_dotfiles" : 0,
x_Dist_Zilla:
perl:
version: '5.028002'
plugins:
-
class: Dist::Zilla::Plugin::InsertExecsList
name: InsertExecsList
version: '0.02'
-
class: Dist::Zilla::Plugin::GenPericmdScript
name: 'GenPericmdScript gen-bind-zone-from-powerdns-db'
version: '0.421'
-
class: Dist::Zilla::Plugin::GatherDir
config:
Dist::Zilla::Plugin::GatherDir:
exclude_filename: []
exclude_match: []
follow_symlinks: 0
include_dotfiles: 0
prefix: ''
Makefile.PL view on Meta::CPAN
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "Collection of CLI utilities related to DNS zones",
"AUTHOR" => "perlancar <perlancar\@cpan.org>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "App-DNSZoneUtils",
"EXE_FILES" => [
"script/gen-bind-zone-from-powerdns-db"
],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.010001",
"NAME" => "App::DNSZoneUtils",
"PREREQ_PM" => {
"DNS::Zone::PowerDNS::To::BIND" => 0,
"Data::Sah::Compiler::perl::TH::array" => 0,
"Data::Sah::Compiler::perl::TH::bool" => 0,
"Data::Sah::Compiler::perl::TH::int" => 0,
"Data::Sah::Compiler::perl::TH::obj" => 0,
version=0.002
name=App-DNSZoneUtils
[InsertExecsList]
[GenPericmdScript/GenPericmdScript gen-bind-zone-from-powerdns-db]
url=/DNS/Zone/PowerDNS/To/BIND/gen_bind_zone_from_powerdns_db
read_config=0
read_env=0
enable_log=1
[@Author::PERLANCAR]
:version=0.594
[Prereqs]
perl=5.010001
script/gen-bind-zone-from-powerdns-db view on Meta::CPAN
#!perl
# Note: This script is a CLI for Riap function /DNS/Zone/PowerDNS/To/BIND/gen_bind_zone_from_powerdns_db
# and generated automatically using Perinci::CmdLine::Gen version 0.491
our $DATE = '2019-09-04'; # DATE
our $DIST = 'App-DNSZoneUtils'; # DIST
our $VERSION = '0.002'; # VERSION
use 5.010001;
use strict;
use warnings;
use Log::ger;
use Perinci::CmdLine::Any;
my $cmdline = Perinci::CmdLine::Any->new(
url => "/DNS/Zone/PowerDNS/To/BIND/gen_bind_zone_from_powerdns_db",
program_name => "gen-bind-zone-from-powerdns-db",
log => 1,
read_config => 0,
read_env => 0,
);
$cmdline->run;
# ABSTRACT: Generate BIND zone configuration from information in PowerDNS database
# PODNAME: gen-bind-zone-from-powerdns-db
__END__
=pod
=encoding UTF-8
=head1 NAME
gen-bind-zone-from-powerdns-db - Generate BIND zone configuration from information in PowerDNS database
=head1 VERSION
This document describes version 0.002 of gen-bind-zone-from-powerdns-db (from Perl distribution App-DNSZoneUtils), released on 2019-09-04.
=head1 SYNOPSIS
Usage:
% gen-bind-zone-from-powerdns-db [options] [domain]
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--dbh-json>=I<s>
script/gen-bind-zone-from-powerdns-db view on Meta::CPAN
=head1 COMPLETION
This script has shell tab completion capability with support for several
shells.
=head2 bash
To activate bash completion for this script, put:
complete -C gen-bind-zone-from-powerdns-db gen-bind-zone-from-powerdns-db
in your bash startup (e.g. F<~/.bashrc>). Your next shell session will then
recognize tab completion for the command. Or, you can also directly execute the
line above in your shell to activate immediately.
It is recommended, however, that you install modules using L<cpanm-shcompgen>
which can activate shell completion for scripts immediately.
=head2 tcsh
To activate tcsh completion for this script, put:
complete gen-bind-zone-from-powerdns-db 'p/*/`gen-bind-zone-from-powerdns-db`/'
in your tcsh startup (e.g. F<~/.tcshrc>). Your next shell session will then
recognize tab completion for the command. Or, you can also directly execute the
line above in your shell to activate immediately.
It is also recommended to install L<shcompgen> (see above).
=head2 other shells
For fish and zsh, install L<shcompgen> as described above.
t/00-compile.t view on Meta::CPAN
use Test::More;
plan tests => 2 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
my @module_files = (
'App/DNSZoneUtils.pm'
);
my @scripts = (
'script/gen-bind-zone-from-powerdns-db'
);
# no fake home requested
my @switches = (
-d 'blib' ? '-Mblib' : '-Ilib',
);
use File::Spec;
use IPC::Open3;
( run in 2.068 seconds using v1.01-cache-2.11-cpan-2398b32b56e )