| 1 | package Dist::Zilla::App::Command 6.040; | ||
| 2 | # ABSTRACT: base class for dzil commands | ||
| 3 | |||
| 4 | 4 | ▶ | use Dist::Zilla::Pragmas; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 4 | ▶ | use App::Cmd::Setup -command; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | #pod =method zilla | ||
| 9 | #pod | ||
| 10 | #pod This returns the Dist::Zilla object in use by the command. If none has yet | ||
| 11 | #pod been constructed, one will be by calling C<< Dist::Zilla->from_config >>. | ||
| 12 | #pod | ||
| 13 | #pod (This method just delegates to the Dist::Zilla::App object!) | ||
| 14 | #pod | ||
| 15 | #pod =cut | ||
| 16 | |||
| 17 | 22 | ▶ | sub zilla { |
|
Subroutine
zilla: called CC=1 SCAR=0.0
Pod
documented
| |||
| 18 | 22 | return $_[0]->app->zilla; | |
| 19 | } | ||
| 20 | |||
| 21 | #pod =method log | ||
| 22 | #pod | ||
| 23 | #pod This method calls the C<log> method of the application's chrome. | ||
| 24 | #pod | ||
| 25 | #pod =cut | ||
| 26 | |||
| 27 | 0 | ▶ | sub log { |
|
Subroutine
log: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 28 | 0 | $_[0]->app->chrome->logger->log($_[1]); | |
| 29 | } | ||
| 30 | |||
| 31 | 4 | 1; | |
| 32 | |||
| 33 | __END__ | ||