Scroll to navigation

MooX::Options::Descriptive::Usage(3pm) User Contributed Perl Documentation MooX::Options::Descriptive::Usage(3pm)

NAME

MooX::Options::Descriptive::Usage - Usage class

DESCRIPTION

Usage class to display the error message.

This class use the full size of your terminal

ATTRIBUTES

Following attributes are present and behave as GLD::Usage describe them.

leader_text

Text that appear on top of your message

options

The options spec of your message

METHODS

sub_commands_text

Return the list of sub commands if available.

text

Return a compact help message.

option_help

Return the help message for your options

option_pod

Return the usage message in pod format

option_short_usage

All options message without help

warn

Warn your options help message

die

Croak your options help message

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc MooX::Options

You can also look for information at:

AUTHOR

celogeek <me@celogeek.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by celogeek <me@celogeek.com>.

This software is copyright (c) 2017 by Jens Rehsack.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2019-10-25 perl v5.30.0