NAME
githooks - Setup utility for App::GitHooks
VERSION
Version 1.7.1
DESCRIPTION
This command line utility allows setting up git hooks in the current git repository, so that all of App::GitHooks' hooks are triggered properly.
SYNOPSIS
githooks <command>
COMMANDS
help
- Show the commands available.install
- Install all the git hooks for the current repository.list
- List the plugins currently installed.uninstall
- Remove all the git hooks for the current repository.version
- Display the version of App::GitHooks in use.
OPTIONS
--chmod
- Chmod to use for the git hooks (default: 755).
FUNCTIONS
usage()
Display the usage information on the command line and force exit.
usage();
uninstall()
Remove git hooks triggering App::GitHooks from the current git repository.
uninstall();
install()
Install git hooks triggering App::GitHooks for the current git repository.
install();
version()
Display the version of App::GitHooks in use.
version();
list()
List the plugins currently installed.
list();
PRIVATE FUNCTIONS
get_hooks_directory()
Return the path to the hooks directory for the current git repository.
my $hooks_directory = get_hooks_directory();
BUGS
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.
SUPPORT
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
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
MetaCPAN
AUTHOR
Guillaume Aubert, <aubertg at cpan.org>
.
COPYRIGHT & LICENSE
Copyright 2013-2015 Guillaume Aubert.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
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 GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/
NAME
{{name}} - Call App::GitHooks for the {{name}} hook.