1App::GitHooks::Hook(3)User Contributed Perl DocumentationApp::GitHooks::Hook(3)
2
3
4

NAME

6       App::GitHooks::Hook - Base class for all git hook handlers.
7

VERSION

9       Version 1.9.0
10

METHODS

12   run()
13       Run the hook handler and return an exit status to pass to git.
14
15               my $exit_status = App::GitHooks::Hook->run(
16                       app => $app,
17               );
18
19       Arguments:
20
21       ·   app (mandatory)
22
23           An App::GitHooks object.
24
25       ·   stdin (optional)
26
27           An arrayref of lines retrieved from SDTIN.
28
29           See for example the "pre-push" hook for uses of this argument.
30

BUGS

32       Please report any bugs or feature requests through the web interface at
33       <https://github.com/guillaumeaubert/App-GitHooks/issues/new>.  I will
34       be notified, and then you'll automatically be notified of progress on
35       your bug as I make changes.
36

SUPPORT

38       You can find documentation for this module with the perldoc command.
39
40               perldoc App::GitHooks::Hook
41
42       You can also look for information at:
43
44       ·   GitHub's request tracker
45
46           <https://github.com/guillaumeaubert/App-GitHooks/issues>
47
48       ·   AnnoCPAN: Annotated CPAN documentation
49
50           <http://annocpan.org/dist/app-githooks>
51
52       ·   CPAN Ratings
53
54           <http://cpanratings.perl.org/d/app-githooks>
55
56       ·   MetaCPAN
57
58           <https://metacpan.org/release/App-GitHooks>
59

AUTHOR

61       Guillaume Aubert <https://metacpan.org/author/AUBERTG>, "<aubertg at
62       cpan.org>".
63
65       Copyright 2013-2017 Guillaume Aubert.
66
67       This code is free software; you can redistribute it and/or modify it
68       under the same terms as Perl 5 itself.
69
70       This program is distributed in the hope that it will be useful, but
71       WITHOUT ANY WARRANTY; without even the implied warranty of
72       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE
73       file for more details.
74
75
76
77perl v5.30.0                      2019-07-26            App::GitHooks::Hook(3)
Impressum