| Dist-Zilla documentation | Contained in the Dist-Zilla distribution. |
Dist::Zilla::App::Command - base class for dzil commands
version 4.200008
This returns the Dist::Zilla object in use by the command. If none has yet
been constructed, one will be by calling Dist::Zilla->from_config.
(This method just delegates to the Dist::Zilla::App object!)
This method calls the log method of the application's chrome.
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2011 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Dist-Zilla documentation | Contained in the Dist-Zilla distribution. |
use strict; use warnings; package Dist::Zilla::App::Command; BEGIN { $Dist::Zilla::App::Command::VERSION = '4.200008'; } # ABSTRACT: base class for dzil commands use App::Cmd::Setup -command; use Moose::Autobox; sub zilla { return $_[0]->app->zilla; } sub log { $_[0]->app->chrome->logger->log($_[1]); } 1; __END__