-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrabl.pl
More file actions
executable file
·83 lines (47 loc) · 1.53 KB
/
rabl.pl
File metadata and controls
executable file
·83 lines (47 loc) · 1.53 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/usr/bin/env perl
use strict;
use Rapi::Blog::Util::Rabl;
if (!$ARGV[0] || $ARGV[0] eq '--help') {
Rapi::Blog::Util::Rabl::usage();
exit; # redundant
}
Rapi::Blog::Util::Rabl->argv_call();
1;
__END__
=head1 NAME
rabl.pl - Rapi::Blog Utility Script
=head1 SYNOPSIS
rabl.pl [MODULE] [options]
Available Modules:
* create
=head1 DESCRIPTION
C<rabl.pl> is a multi-purpose utility script which comprises sub-modules that expose
misc functions on the command line. C<rabl.pl> should be called with the first argument
containing the name of the module followed by its argument list which will be passed in
to the given module.
Call a module with the argument C<--help> to see its usage.
Module names are translated into CamelCased class named under the C<Rapi::Blog::Util::Rabl::*>
namespace. For example, C<'create'> becomes C<'Rapi::Blog::Util::Rabl::Create'>.
So far, the only module which has been written is L<Rapi::Blog::Util::Rabl::Create> which creates
a new L<Rapi::Blog> site in the supplied directory:
rabl.pl create /path/to/new-site
cd /path/to/new-site && plackup
=head1 SEE ALSO
=over
=item *
L<Rai::Blog>
=item *
L<Rapi::Blog::Manual>
=item *
L<RapidApp>
=back
=head1 SUPPORT
IRC:
Join #rapidapp on irc.perl.org.
=head1 AUTHOR
Henry Van Styn <[email protected]>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by IntelliTree Solutions llc.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut