githooks man page

githooks — Setup utility for App::GitHooks

Version

Version 1.8.0

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-…>. 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

<https://github.com/guillaumeaubert/App-…>
·
AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/app-githooks>
·
CPAN Ratings

<http://cpanratings.perl.org/d/app-githo…>
·
MetaCPAN

<https://metacpan.org/release/App-GitHoo…>

Author

Guillaume Aubert <https://metacpan.org/author/AUBERTG>, "<aubertg at cpan.org>".

Name

{{name}} - Call App::GitHooks for the {{name}} hook.

Info

2016-06-27 perl v5.24.0 User Contributed Perl Documentation