line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::JESP::Cmd::Command::install; |
2
|
|
|
|
|
|
|
$App::JESP::Cmd::Command::install::VERSION = '0.014'; |
3
|
1
|
|
|
1
|
|
1219
|
use base qw/App::JESP::Cmd::CommandJESP/; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
80
|
|
4
|
1
|
|
|
1
|
|
7
|
use strict; use warnings; |
|
1
|
|
|
1
|
|
2
|
|
|
1
|
|
|
|
|
16
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
5
|
1
|
|
|
1
|
|
4
|
use Log::Any qw/$log/; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
App::JESP::Cmd::Command::install - Install jesp meta data tables in the target database. |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=cut |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head2 abstract |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head2 description |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head2 execute |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
See L<App::Cmd> |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=cut |
22
|
|
|
|
|
|
|
|
23
|
0
|
|
|
0
|
1
|
|
sub abstract { "Install jesp in DB" } |
24
|
0
|
|
|
0
|
1
|
|
sub description { "Install jesp's metadata tables in the target database" } |
25
|
|
|
|
|
|
|
sub execute { |
26
|
0
|
|
|
0
|
1
|
|
my ($self, $opt, $args) = @_; |
27
|
0
|
|
|
|
|
|
$self->jesp->install(); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |