REPLY::APP(3PM) - Linux man page online | Library functions
Command line app runner for Reply.
Chapter
2016-08-28
Reply::App(3pm) User Contributed Perl Documentation Reply::App(3pm)
@tozt.net>
perl v5.24.1 2016-08-28 Reply::App(3pm)
NAME
Reply::App - command line app runner for ReplyVERSION
version 0.42SYNOPSIS
use Reply::App; exit(Reply::App->new->run(@ARGV));DESCRIPTION
This module encapsulates the various bits of functionality related to running Reply as a command line application.METHODS
new Returns a new Reply::App instance. Takes no arguments. run(@argv) Parses the argument list given (typically from @ARGV), along with the user's configuration file, and attempts to start a Reply shell. A default configuration file will be generated for the user if none exists. generate_default_config($file) Generates default configuration file as per specified destination. usage($exitcode) Prints usage information to the screen. If $exitcode is 0, it will be printed to "STDOUT", otherwise it will be printed to "STDERR". version($exitcode) Prints version information to the screen. If $exitcode is 0, it will be printed to "STDOUT", otherwise it will be printed to "STDERR".AUTHOR
Jesse Luehrs <