1App::GitHooks::Plugin::UTseesrt:C:oPnrtirnitbSuTtADepEdpR:RP:(eG3ri)ltHDooockusm:e:nPtlautgiionn::Test::PrintSTDERR(3)
2
3
4
6 App::GitHooks::Plugin::Test::PrintSTDERR - A test plugin that allows
7 printing a specific string to STDERR.
8
11 use App::GitHooks::Plugin::Test::PrintSTDERR;
12
13 # In .githooksrc.
14 # [Test::PrintSTDERR]
15 # pre-commit = Triggered a pre-commit plugin!
16 # prepare-commit-msg = Triggered a prepare-commit-msg plugin!
17
18 # Run hooks calling the plugin.
19
21 Version 1.9.0
22
24 get_file_pattern()
25 Return a pattern to filter the files this plugin should analyze.
26
27 my $file_pattern = App::GitHooks::Plugin::Test::PrintSTDERR->get_file_pattern(
28 app => $app,
29 );
30
31 get_file_check_description()
32 Return a description of the check performed on files by the plugin and
33 that will be displayed to the user, if applicable, along with an
34 indication of the success or failure of the plugin.
35
36 my $description = App::GitHooks::Plugin::Test::PrintSTDERR->get_file_check_description();
37
39 This plugin supports all the hooks defined in "App::GitHooks::Hook::*",
40 including file-level checks for the appropriate hooks.
41
42 run_applypatch_msg
43 run_commit_msg
44 run_post_applypatch
45 run_post_checkout
46 run_post_commit
47 run_post_merge
48 run_post_receive
49 run_post_rewrite
50 run_post_update
51 run_pre_applypatch
52 run_pre_auto_gc
53 run_pre_commit
54 run_pre_commit_file
55 run_pre_push
56 run_pre_rebase
57 run_pre_receive
58 run_prepare_commit_msg
59 run_update
60
62 Please report any bugs or feature requests through the web interface at
63 <https://github.com/guillaumeaubert/App-GitHooks/issues/new>. I will
64 be notified, and then you'll automatically be notified of progress on
65 your bug as I make changes.
66
68 You can find documentation for this module with the perldoc command.
69
70 perldoc App::GitHooks::Plugin::Test::PrintSTDERR
71
72 You can also look for information at:
73
74 · GitHub's request tracker
75
76 <https://github.com/guillaumeaubert/App-GitHooks/issues>
77
78 · AnnoCPAN: Annotated CPAN documentation
79
80 <http://annocpan.org/dist/app-githooks>
81
82 · CPAN Ratings
83
84 <http://cpanratings.perl.org/d/app-githooks>
85
86 · MetaCPAN
87
88 <https://metacpan.org/release/App-GitHooks>
89
91 Guillaume Aubert <https://metacpan.org/author/AUBERTG>, "<aubertg at
92 cpan.org>".
93
95 Copyright 2013-2017 Guillaume Aubert.
96
97 This code is free software; you can redistribute it and/or modify it
98 under the same terms as Perl 5 itself.
99
100 This program is distributed in the hope that it will be useful, but
101 WITHOUT ANY WARRANTY; without even the implied warranty of
102 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE
103 file for more details.
104
105
106
107perl v5.28.0 20A1p8p-:0:7G-i1t4Hooks::Plugin::Test::PrintSTDERR(3)