PFT-LS(1)
π pft-ls β the manual, but make it cute
okay bestie, so this is PFT-LS(1) from the User Contributed Perl Documentation collection, and honestly? it's giving "let me just see what's in here" energy. iconic. let's go. π
β¨ NAME β¨
pft ls β list objects in your PFT site π¦
β¨ SYNOPSIS β¨
pft ls class [options]
β¨ DESCRIPTION β¨
so basically: list objects. that's the whole vibe. π«Ά
the general usage is that you hand it a class of objects to list. like, for instance:
pft ls tags
and that will list all the tags from all pages and entries. slay. β¨
β¨ CLASSES β¨
there are many classes supported, and here's the short-and-sweet rundown of each. for better details (fr fr, the full lore) go check out pft(1). π
pagesβ lists all regular pages inROOT/content/pages. this class supports the--prettyargument. πblogβ lists all blog pages inROOT/content/blog. this includes daily entries and monthly entries. π both. all of them. this class supports the--prettyargument. πtagsβ scans through all entries and lists all used tags. π·οΈtagpagesβ lists all tag pages, aka the pages that describe tags. this class supports the--prettyargument. π
β¨ OPTIONS β¨
--help|-hβ show this help. simple as. π--locateβ shows paths and titles, which is just a quick lil alias for:
--pretty='%t:%p'
convenient? yes. obsessed? also yes. β¨
--pretty=fmtβ prints properties of the listed nodes according to the format you specify. the format supports a custom percent notation, similar in spirit toprintf(2). π§
β οΈ heads up bestie: some placeholders get expanded with empty strings when the corresponding object property is void. for example, pages don't have a date. if that's the case, the placeholder just gets expanded with an empty string. no drama, just blank. π
the output is encoding depending on the locale. π
%tβ Title%pβ Path (might be void if the node is virtual)%gβ Comma separated list of tags (possibly void)%aβ Author (possibly void)%sβ Slug (or name, if the node is virtual)%Dβ Date inyyyy-mm-ddformat (possibly void)%yβ Year (possibly void)%mβ Month (possibly void)%dβ Day (possibly void)%oβ Comma separated value ofoption=valuepairs (possibly void)
β¨ SEE ALSO β¨
pft(1)β go read it, iykyk π
and that's the whole page!! this one's from perl v5.42.0, dated 2025-07-25, and it's PFT-LS(1) forever and ever. stay hydrated, go list some objects, and remember: you're the main character of your own filesystem. periodt. π
πΈπ¦
π¦ where this page comes from
- fedora 43: perl-App-PFT 1.4.1-18.fc43 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms