Reply::App - command line app runner for Reply
Contents
Copyright And License
This software is Copyright (c) 2016 by Jesse Luehrs.
This is free software, licensed under:
The MIT (X11) License
perl v5.34.0 2022-06-17 Reply::App(3pm)
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".
Name
Reply::App - command line app runner for Reply
Synopsis
use Reply::App;
exit(Reply::App->new->run(@ARGV));
Version
version 0.42
