NAME
Dist::Zilla::dumpphases::Role::Theme - Output formatting themes for dzil dumpphases
VERSION
version 1.000009
REQUIRED METHODS
print_star_assoc
Print some kind of associated data.
$theme
->print_star_assoc(
$label
,
$value
);
e.g.:
$theme
->print_star_assoc(
'@Author::KENTNL/Test::CPAN::Changes'
,
'Dist::Zilla::Plugin::Test::CPAN::Changes'
);
recommended formatting is:
\s * \s label \
s
=> \s
$value
Most of the time, $label
will be an alias of some kind (e.g: an instance name), and $value will be the thing that alias refers to (e.g.: an instances class).
print_section_prelude
Will be passed meta-info pertaining to the section currently being dumped, such as section descriptions, or applicable roles for sections.
$theme
->print_section_prelude(
$label
,
$value
);
Recommended format is simply
\s-\s
$label
$value
print_section_header
Will be passed context about a dump stage that is about to be detailed.
$theme
->print_section_header(
$label
,
$value
);
$label
will be a the "kind" of dump that is, for detailing specific phases, $label
will be "Phase", and $value
will be a simple descriptor for that phase. ( e.g.: Phase , Prune files , or something like that ).
Recommended format is simply
\n
$label
$value
\n
AUTHOR
Kent Fredric <kentnl@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.