NAME

YA::CLI::PodRole - Pod handler role

VERSION

version 0.007

DESCRIPTION

This role is to make as_help and as_manual easier for consumers.

METHODS

as_help

Show POD as help page

as_manual

Show POD as a man page

usage_pod

If the handler provides its own usage POD. If this is 0/undef, the POD of the script it used. If this function returns 1, it it taken from the file itself. Otherwise it is assumed the return value is the path to the POD itself. Use YA_CLI_USAGE_LIB=1 to see how we get the POD.

AUTHOR

Wesley Schwengle <waterkip@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2022 by Wesley Schwengle.

This is free software, licensed under:

The (three-clause) BSD License