GITHOOKS(1)
π GITHOOKS(1) π
okay bestie, welcome to the githooks manual page, straight out of the User Contributed Perl Documentation section of your friendly neighbourhood man pages. this is the setup utility for App::GitHooks, and yes it's about to make your git hooks behave π
β¨ NAME β¨
githooks β setup utility for App::GitHooks. that's it, that's the name, she's simple and she knows what she wants π
π¦ VERSION π¦
Version 1.9.0 β the glow-up era, we love to see it β¨
πΈ DESCRIPTION πΈ
so basically, this command line utility lets you set up git hooks in the current git repository, so that all of App::GitHooks' hooks are triggered properly. that's the whole vibe: you run it, your repo gets its hooks, everything fires the way it's supposed to. slay π«Ά
β SYNOPSIS β
githooks <command>
π COMMANDS π
here's the menu, no cap:
helpβ shows you the commands that are available. your little map of the whole thing πΊοΈinstallβ installs all the git hooks for the current repository. go off, get those hooks in πlistβ lists the plugins that are currently installed. inventory check, bestie π§uninstallβ removes all the git hooks for the current repository. it's giving spring cleaning πversionβ displays the version ofApp::GitHooksthat's in use. who are you talking to, exactly? this tells you β¨
π OPTIONS π
--chmodβ the chmod to use for the git hooks. default is755, and yes that default is iconic and you should probably just leave it alone π
π§ FUNCTIONS π§
usage()
Displays the usage information on the command line and forces exit. it does not ask permission, it simply leaves πͺπ¨
usage();
uninstall()
Removes git hooks triggering App::GitHooks from the current git repository. bye bye hooks π«Ά
uninstall();
install()
Installs git hooks triggering App::GitHooks for the current git repository. hello hooks π
install();
version()
Displays the version of App::GitHooks in use. the classic identity check β¨
version();
list()
Lists the plugins that are currently installed. show me what you've got π
list();
π PRIVATE FUNCTIONS π
get_hooks_directory()
Returns the path to the hooks directory for the current git repository. she knows where everything lives, lowkey the most useful one here ποΈ
my $hooks_directory = get_hooks_directory();
π BUGS π
found a bug or want a new feature? please report it through the web interface at <https://github.com/guillaumeaubert/App-GitHooks/issues/new>. the author gets notified, and then you automatically get notified of progress on your bug as changes are made. it's a whole little notification relationship, fr fr π¬
π«Ά SUPPORT π«Ά
you can find documentation for this module with the perldoc command. no cap, that's the move:
perldoc App::GitHooks
you can also look for information at:
- GitHub's request tracker
<https://github.com/guillaumeaubert/App-GitHooks/issues>
- AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/app-githooks>
- CPAN Ratings
<http://cpanratings.perl.org/d/app-githooks>
- MetaCPAN
<https://metacpan.org/release/App-GitHooks>
π AUTHOR π
Guillaume Aubert <https://metacpan.org/author/AUBERTG>, "<aubertg at cpan.org>". legend behaviour π
π COPYRIGHT & LICENSE π
Copyright 2013-2017 Guillaume Aubert.
This code is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file for more details. (yes bestie, that's the scary all-caps part, it means exactly what it says β no promises, read the LICENSE π)
π NAME (the hook edition) π
{{name}} β call App::GitHooks for the {{name}} hook. that placeholder is doing main character energy, iykyk β¨
and that's the whole page, bestie!! this gem is perl v5.42.0 flavoured, dated 2025-07-25, and it's the GITHOOKS(1) manual page through and through. now go install some hooks and ate π
πΈπ
π¦ where this page comes from
- fedora 43: perl-App-GitHooks 1.9.0-27.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms