Net::G...ignore(3pm)
π Net::GitHub::V3::Gitignore β the GitHub Gitignore API, bestie π
okay so real talk, this is a 3pm manual page, from the User Contributed Perl Documentation crew, and it's about the part of Net::GitHub that handles GitHub's gitignore API. yes, that gitignore. the one that saves you from hand-writing boilerplate you'd just copy off the internet anyway. iconic behavior, honestly. π
β¨ SYNOPSIS β¨
like, here's the whole vibe in code form:
use Net::GitHub::V3;
my $gh = Net::GitHub::V3->new; # read L<Net::GitHub::V3> to set right authentication info
my $gitignore = $gh->gitignore;
so you make your $gh object first β and heads up, the comment is literally telling you to go read L<Net::GitHub::V3> so you set your authentication info the right way, no cap β and then you pull the gitignore handle off it with ->gitignore. boom. that's the entry point. π
πΈ DESCRIPTION πΈ
π¦ METHODS π¦
Gitignore
the whole thing lives at:
<http://developer.github.com/v3/gitignore/>
that's the GitHub docs for this API, fr fr. go peek if you want the full tea. π
templates
my @templates = $gitignore->templates();
this one gives you back a list β a whole @templates array β of the gitignore templates GitHub's got for you. so many options. so much potential. π«Ά
template
my $template = $gitignore->template('Perl');
and this one grabs you one single template, by name. in the example they ask for 'Perl', which, taste. πͺ pass in whatever template name you're obsessed with and it hands you back the one. one $template scalar, singular, main character energy. β¨
π AUTHOR & COPYRIGHT & LICENSE π
Refer Net::GitHub π
(that's it. that's the whole section. the original says to just go look at Net::GitHub and honestly? valid. the receipts are all over there. π§)
and that's the page, bestie!! π this lil doc came to you from perl v5.36.0, dated 2022-10-08, and it was served up as Net::G...ignore(3pm) β yeah the title got truncated, the terminal said "we'll cut it off right there" and honestly it ate. go forth and ignore things responsibly. ππΈπ¦πβ¨
π¦ where this page comes from
- ubuntu noble: libnet-github-perl 1.05-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-github-perl 1.05-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-github-perl 1.05-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms