App::G...STDERR(3pm)

πŸ“¦
version 1.9.0 Β· 2 versions
, in fedora 43

πŸ’– App::GitHooks::Plugin::Test::PrintSTDERR πŸ’–

okay bestie, welcome to the App::G...STDERR(3pm) page, aka the lil' corner of Perl where we just... yell into STDERR on purpose. it's a test plugin, and yes it's exactly as unserious as it sounds, and yes it still has 20 hooks to its name. slay. πŸŽ€


✨ NAME ✨

App::GitHooks::Plugin::Test::PrintSTDERR β€” it's a test plugin whose whole entire job is letting you print a specific string to STDERR. that's it. that's the plugin. iconic behavior honestly. πŸ’…


πŸ’¬ DESCRIPTION πŸ’¬

(the original page leaves this one empty, so we're just gonna vibe here quietly. no notes. πŸ¦‹)


πŸ“œ SYNOPSIS πŸ“œ

use App::GitHooks::Plugin::Test::PrintSTDERR;

# In .githooksrc.
# [Test::PrintSTDERR]
# pre-commit = Triggered a pre-commit plugin!
# prepare-commit-msg = Triggered a prepare-commit-msg plugin!

# Run hooks calling the plugin.

so like, you pop it in your .githooksrc, you tell it what to print for which hook, and then you run your hooks and watch the message appear. lowkey the simplest plugin to ever exist and I love her for it. πŸ’œ


🏷️ VERSION 🏷️

Version 1.9.0 ✨


πŸ› οΈ METHODS πŸ› οΈ

get_file_pattern()

gives you back a pattern so you can filter which files this plugin should even bother analyzing. gatekeeping, but make it productive. πŸ™ˆ

my $file_pattern = App::GitHooks::Plugin::Test::PrintSTDERR->get_file_pattern(
    app => $app,
);

get_file_check_description()

returns a lil' description of the check this plugin runs on files β€” the kind of thing that gets shown to the user, when it applies, next to the whole "did it pass or did it flop" indicator. 🫢

my $description = App::GitHooks::Plugin::Test::PrintSTDERR->get_file_check_description();

πŸͺ SUPPORTED HOOKS πŸͺ

bestie. she supports all the hooks defined in App::GitHooks::Hook::*, and that includes file-level checks for whichever hooks that applies to. all of them. every single one. main character energy fr fr. πŸ‘‘

  • run_applypatch_msg
  • run_commit_msg
  • run_post_applypatch
  • run_post_checkout
  • run_post_commit
  • run_post_merge
  • run_post_receive
  • run_post_rewrite
  • run_post_update
  • run_pre_applypatch
  • run_pre_auto_gc
  • run_pre_commit
  • run_pre_commit_file
  • run_pre_push
  • run_pre_rebase
  • run_pre_receive
  • run_prepare_commit_msg
  • run_update

πŸ› BUGS πŸ›

found a bug? got a feature request? 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 get made. communication? we love to see it. πŸ’Œ


πŸ«‚ SUPPORT πŸ«‚

you can find the docs for this module with the perldoc command:

perldoc App::GitHooks::Plugin::Test::PrintSTDERR

and you can also go look for info at these spots:

  • 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>".


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, no warranty, no cap, read the LICENSE file.)

aaaand that's the whole page! 🌸 this was perl v5.42.0, dated 2025-07-25, and you just read App::G...STDERR(3pm). go forth and print things to STDERR, you absolute legend. πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from