PFT-LS(1)

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

πŸ’… 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 in ROOT/content/pages. this class supports the --pretty argument. πŸ‘‘
  • blog β€” lists all blog pages in ROOT/content/blog. this includes daily entries and monthly entries. πŸ’€ both. all of them. this class supports the --pretty argument. πŸ‘‘
  • 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 --pretty argument. πŸ‘‘

✨ 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 to printf(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 in yyyy-mm-dd format (possibly void)
  • %y β€” Year (possibly void)
  • %m β€” Month (possibly void)
  • %d β€” Day (possibly void)
  • %o β€” Comma separated value of option=value pairs (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