| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Sys::RevoBackup::Cmd; |
|
2
|
|
|
|
|
|
|
{ |
|
3
|
|
|
|
|
|
|
$Sys::RevoBackup::Cmd::VERSION = '0.27'; |
|
4
|
|
|
|
|
|
|
} |
|
5
|
|
|
|
|
|
|
BEGIN { |
|
6
|
1
|
|
|
1
|
|
1926
|
$Sys::RevoBackup::Cmd::AUTHORITY = 'cpan:TEX'; |
|
7
|
|
|
|
|
|
|
} |
|
8
|
|
|
|
|
|
|
# ABSTRACT: revobackup CLI |
|
9
|
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
23
|
use 5.010_000; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
48
|
|
|
11
|
1
|
|
|
1
|
|
6
|
use mro 'c3'; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
6
|
|
|
12
|
1
|
|
|
1
|
|
27
|
use feature ':5.10'; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
93
|
|
|
13
|
|
|
|
|
|
|
|
|
14
|
1
|
|
|
1
|
|
456
|
use Moose; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
use namespace::autoclean; |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# use IO::Handle; |
|
18
|
|
|
|
|
|
|
# use autodie; |
|
19
|
|
|
|
|
|
|
# use MooseX::Params::Validate; |
|
20
|
|
|
|
|
|
|
# use Carp; |
|
21
|
|
|
|
|
|
|
# use English qw( -no_match_vars ); |
|
22
|
|
|
|
|
|
|
# use Try::Tiny; |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# extends ... |
|
25
|
|
|
|
|
|
|
extends 'MooseX::App::Cmd'; |
|
26
|
|
|
|
|
|
|
# has ... |
|
27
|
|
|
|
|
|
|
# with ... |
|
28
|
|
|
|
|
|
|
# initializers ... |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# your code here ... |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
no Moose; |
|
33
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__END__ |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=pod |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=encoding UTF-8 |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 NAME |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Sys::RevoBackup::Cmd - revobackup CLI |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
This class is the base class for any command implemented by its subclasses. |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
It is a mere requirement by App::Cmd. Don't mess with it. |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 NAME |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Sys::RevoBackup::Cmd - Command base class. |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 AUTHOR |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Dominik Schulz <dominik.schulz@gauner.org> |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This software is copyright (c) 2012 by Dominik Schulz. |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
|
66
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=cut |