blob: 3a87d4f60ac6a49b43ecfa918df2dd3d2775d60e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#!/usr/bin/env perl
use strict;
use warnings;
# PODNAME: reply
# ABSTRACT: read, eval, print, loop, yay!
use Reply::App;
=head1 SYNOPSIS
reply [-lb] [-I dir] [-M mod] [--version] [--help] [--cfg file]
=head1 DESCRIPTION
This script runs the L<Reply> shell. It looks for a configuration file in
C<.replyrc> in your home directory, and will generate a basic configuration for
you if that file does not exist.
See the L<Reply> documentation for more information about using and configuring
this program.
=head1 OPTIONS
reply takes these command line options:
=over 4
=item -I lib
Adds the given directory to C<@INC>.
=item -l
Equivalent to C<-I lib>.
=item -b
Equivalent to C<-I blib/lib -I blib/arch>.
=item -M Carp::Always
Loads the specified module before starting the repl. It is loaded within the
repl, so things like exporting work properly.
=item --cfg ~/.replyrc
Specifies a different configuration file to use. C<~/.replyrc> is the default.
=item --version
Displays the program version.
=item --help
Displays usage information.
=back
=cut
exit(Reply::App->new->run(@ARGV));
|