githooks - Setup utility for App::GitHooks
Version 1.9.0
This command line utility allows setting up git hooks in the current git repository, so that all of App::GitHooks' hooks are triggered properly.
githooks <command>
help - Show the commands available.
help
install - Install all the git hooks for the current repository.
install
list - List the plugins currently installed.
list
uninstall - Remove all the git hooks for the current repository.
uninstall
version - Display the version of App::GitHooks in use.
version
--chmod - Chmod to use for the git hooks (default: 755).
--chmod
Display the usage information on the command line and force exit.
usage();
Remove git hooks triggering App::GitHooks from the current git repository.
uninstall();
Install git hooks triggering App::GitHooks for the current git repository.
install();
Display the version of App::GitHooks in use.
version();
List the plugins currently installed.
list();
Return the path to the hooks directory for the current git repository.
my $hooks_directory = get_hooks_directory();
Please report any bugs or feature requests through the web interface at https://github.com/guillaumeaubert/App-GitHooks/issues/new. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
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
Guillaume Aubert, <aubertg at cpan.org>.
<aubertg at cpan.org>
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.
{{name}} - Call App::GitHooks for the {{name}} hook.
To install App::GitHooks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::GitHooks
CPAN shell
perl -MCPAN -e shell install App::GitHooks
For more information on module installation, please visit the detailed CPAN module installation guide.