The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

usul_cli - A command line interface to OO methods

SYNOPSIS

usul_cli -nc method [-o key1=value1 -o key2=value2]

Calls the named method which has access to the hash reference of options

usul_cli -H | -h [method] | -?

Display man page | method docs | usage string

usul_cli -nc list-methods

Displays a list of available methods

DESCRIPTION

This program exposes the methods in the Class::Usul::Programs module

OPTIONS

-c method

Name of method to call. Required

-D

Turn debugging on. Promps if interactive

--encoding

Decodes/encodes input/output using the value. Defaults to UTF-8

-h

Uses Pod::Usage to describe the program usage options

-H

Uses Pod::Man to display the program documentation. Pipes through nroff

--home

Directory containing the configuration file

-L

Loads the specified language message catalog

-n

Do not prompt for debugging

-o

Zero, one or more key/value pairs passed to the method call

-q

Quiet the display of information messages

-V

Displays the version number of the program class

EXIT STATUS

Returns zero on success, non zero on failure

CONFIGURATION

Uses the constructor's appclass attribute to locate a configuration file

DIAGNOSTICS

Prints errors to STDERR

DEPENDENCIES

Class::Usul::Programs

INCOMPATIBILITIES

There are no known incompatibilities in this module

BUGS and LIMITATIONS

There are no known bugs in this module. Please report problems to http://rt.cpan.org/NoAuth/Bugs.html?Dist=Class-Usul. Patches are welcome

ACKNOWLEDGEMENTS

Larry Wall - For the Perl programming language

AUTHOR

Peter Flanigan, <pjfl@cpan.org>

LICENSE and COPYRIGHT

Copyright (c) 2018 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE