Dist::Zilla::App::Command::nop - initialize dzil, then exit


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

Index


Code Index:

NAME

Top

Dist::Zilla::App::Command::nop - initialize dzil, then exit

VERSION

Top

version 4.200008

SYNOPSIS

Top

This command does nothing. It initializes Dist::Zill, then exits. This is useful to see the logging output of plugin initialization.

  dzil nop -v

Seriously, this command is almost entirely for diagnostic purposes. Don't overthink it, okay?

AUTHOR

Top

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

use strict;
use warnings;
package Dist::Zilla::App::Command::nop;
BEGIN {
  $Dist::Zilla::App::Command::nop::VERSION = '4.200008';
}
# ABSTRACT: initialize dzil, then exit
use Dist::Zilla::App -command;


sub abstract { 'do nothing: initialize dzil, then exit' }

sub execute {
  my ($self, $opt, $arg) = @_;

  $self->zilla;
}

1;

__END__