Net::G...ignore(3pm)

πŸ“¦
version 1.05 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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. ✨


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