File Coverage

blib/lib/App/Rgit/Command/Once.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 1 1 100.0
total 17 17 100.0


line stmt bran cond sub pod time code
1             package App::Rgit::Command::Once;
2              
3 3     3   984 use strict;
  3         6  
  3         152  
4 3     3   14 use warnings;
  3         6  
  3         141  
5              
6 3     3   16 use base qw/App::Rgit::Command/;
  3         5  
  3         774  
7              
8             =head1 NAME
9              
10             App::Rgit::Command::Once - Class for commands to execute only once.
11              
12             =head1 VERSION
13              
14             Version 0.08
15              
16             =cut
17              
18             our $VERSION = '0.08';
19              
20             =head1 DESCRIPTION
21              
22             Class for commands to execute only once.
23              
24             This is an internal class to L.
25              
26             =head1 METHODS
27              
28             This class inherits from L.
29              
30             It implements :
31              
32             =head2 C
33              
34             =cut
35              
36             sub run {
37 5     5 1 11 my ($self, $conf) = @_;
38              
39 5         127 $conf->cwd_repo->run($conf, @{$self->args});
  5         124  
40             }
41              
42             =head1 SEE ALSO
43              
44             L.
45              
46             L.
47              
48             =head1 AUTHOR
49              
50             Vincent Pit, C<< >>, L.
51              
52             You can contact me by mail or on C (vincent).
53              
54             =head1 BUGS
55              
56             Please report any bugs or feature requests to C, or through the web interface at L.
57             I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
58              
59             =head1 SUPPORT
60              
61             You can find documentation for this module with the perldoc command.
62              
63             perldoc App::Rgit::Command::Once
64              
65             =head1 COPYRIGHT & LICENSE
66              
67             Copyright 2008,2009,2010 Vincent Pit, all rights reserved.
68              
69             This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
70              
71             =cut
72              
73             1; # End of App::Rgit::Command::Once