App::P...d::list(3pm)

πŸ’– NAME πŸ’–

App::Pinto::Command::list β€” bestie, this is the lil command that shows you the packages in a stack. That's it, that's the job. πŸ‘‘


✨ VERSION ✨

version 0.14 β€” yeah she's on 0.14, keep up 🫢


πŸŽ€ SYNOPSIS πŸŽ€

pinto --root=REPOSITORY_ROOT list [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea β˜• β€” this command lists the packages that are currently registered on a particular stack, OR literally all the packages in the entire repository if that's the vibe you're going for. And you get to format the output so you only see the specific bits of info you actually care about. Customization? We love her. πŸ’…

But fr fr, for a large repository, listing everything can take a long time 😭 like she's gonna be sitting there thinking about her life. So lowkey consider using the --packages or --distributions options to narrow the scope. Your future self says thank you. 🌸


🌈 COMMAND ARGUMENTS 🌈

So as an alternative to the --stack option, you can also just... specify the stack as an argument. Iconic behavior honestly. Which means these two examples are equivalent:

pinto --root REPOSITORY_ROOT list --stack dev
pinto --root REPOSITORY_ROOT list dev

A stack specified as an argument in this fashion will override any stack specified with the --stack option. Yes bestie, argument beats option, that's just the hierarchy here πŸ‘‘. And if a stack is not specified by neither argument nor option? Then it defaults to the stack that is currently marked as the default stack. She picks for you. Main character energy. ✨


πŸ’œ COMMAND OPTIONS πŸ’œ

  • --all, -a β€” List every package in every distribution that exists in the entire repository, including distributions that are not currently registered on any stack. Go big or go home, I guess πŸ’€. But heads up: when the --all option is used, the stack argument and the --stack option are not allowed. Also note the pin status is indeterminable when using --all, so it always appears as ? (peep the --format option below for more details about that).
  • --authors=PATTERN, -A PATTERN β€” Limit the listing to records where the distribution's author identity matches PATTERN. The PATTERN will be interpreted as a case-insensitive regular expression. Take care to use quotes if your PATTERN contains any special shell metacharacters β€” the shell will absolutely do crimes to your regex otherwise πŸ™ˆ.
  • --distributions=PATTERN, -D PATTERN β€” Limit the listing to records where the distribution archive name matches PATTERN. The PATTERN will be interpreted as a case-sensitive regular expression. Again, quote it if your PATTERN contains any special shell metacharacters 🐚.
  • --format FORMAT_SPECIFICATION β€” Format of the output using printf-style placeholders. The valid placeholders are:
    • %p β€” Package name
    • %P β€” Package name-version
    • %v β€” Package version
    • %x β€” Package can be indexed: (x) = true, (-) = false
    • %M β€” Package is the main module: (m) = true, (-) = false
    • %y β€” Package is pinned: (!) = true, (-) = false
    • %a β€” Distribution author
    • %f β€” Distribution archive filename
    • %m β€” Distribution maturity: (d) = developer, (r) = release
    • %h β€” Distribution index path [1]
    • %H β€” Distribution physical path [2]
    • %s β€” Distribution origin: (l) = local, (f) = foreign
    • %S β€” Distribution source URL
    • %d β€” Distribution name
    • %D β€” Distribution name-version
    • %V β€” Distribution version
    • %u β€” Distribution URI
    • %% β€” A literal %

Footnotes bestie, don't skip them πŸ‘‡

  • [1]: The index path is always a Unix-style path fragment, as it appears in the 02packages.details.txt index file.
  • [2]: The physical path is always in the native style for this OS, and is relative to the root directory of the repository.

You can also specify the minimum field widths and left or right justification, using the usual notation. For example, the default format looks something like this:

[%m%s%y] %-40p %12v %a/%f

When using the --all option, the pin status is indeterminable so it always appears as ?. Also, the indexable status is shown. So the default format looks something like this instead:

[%m%s?%x] %-40p %12v %a/%f
  • --packages=PATTERN, -P PATTERN β€” Limit the listing to records where the package name matches PATTERN. The PATTERN will be interpreted as a case-sensitive regular expression. Take care to use quotes if your PATTERN contains any special shell metacharacters, no cap 🧒.
  • --pinned β€” Limit the listing to records for packages that are pinned. πŸ“Œ This option has no effect when using the --all option. (Sorry, she just doesn't show up to that party.)
  • --stack=NAME, -s NAME β€” List the contents of the stack with the given NAME. Defaults to the name of whichever stack is currently marked as the default stack. Use the stacks command to see the stacks in the repository. This option cannot be used with the --all option 🚫.

🫢 AUTHOR 🫢

Jeffrey Ryan Thalhammer <jeff@stratopan.com>


This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


okay that's the whole page bestie, you ate that πŸ’…βœ¨ this was App::P...d::list(3pm) from the User Contributed Perl Documentation, running under perl v5.40.1, dated 2025-04-21. go forth and list those packages, ily, periodt πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from