.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "App::Pinto::Command::list 3pm" .TH App::Pinto::Command::list 3pm "2022-10-16" "perl v5.34.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" App::Pinto::Command::list \- show the packages in a stack .SH "VERSION" .IX Header "VERSION" version 0.14 .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& pinto \-\-root=REPOSITORY_ROOT list [OPTIONS] .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" This command lists the packages that are currently registered on a particular stack, or all the packages in the entire repository. You can format the output to see the specific bits of information that you want. .PP For a large repository, it can take a long time to list everything. So consider using the \f(CW\*(C`\-\-packages\*(C'\fR or \f(CW\*(C`\-\-distributions\*(C'\fR options to narrow the scope. .SH "COMMAND ARGUMENTS" .IX Header "COMMAND ARGUMENTS" As an alternative to the \f(CW\*(C`\-\-stack\*(C'\fR option, you can also specify the stack as an argument. So the following examples are equivalent: .PP .Vb 2 \& pinto \-\-root REPOSITORY_ROOT list \-\-stack dev \& pinto \-\-root REPOSITORY_ROOT list dev .Ve .PP A stack specified as an argument in this fashion will override any stack specified with the \f(CW\*(C`\-\-stack\*(C'\fR option. 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. .SH "COMMAND OPTIONS" .IX Header "COMMAND OPTIONS" .IP "\-\-all" 4 .IX Item "--all" .PD 0 .IP "\-a" 4 .IX Item "-a" .PD List every package in every distribution that exists in the entire repository, including distributions that are not currently registered on any stack. When the \f(CW\*(C`\-\-all\*(C'\fR option is used, then the stack argument and \f(CW\*(C`\-\-stack\*(C'\fR option are not allowed. Also note the pin status is indeterminable when using the \f(CW\*(C`\-\-all\*(C'\fR option so it always appears as \f(CW\*(C`?\*(C'\fR (see the \f(CW\*(C`\-\-format\*(C'\fR option below for more details about that). .IP "\-\-authors=PATTERN" 4 .IX Item "--authors=PATTERN" .PD 0 .IP "\-A \s-1PATTERN\s0" 4 .IX Item "-A PATTERN" .PD Limit the listing to records where the distribution's author identity matches \&\f(CW\*(C`PATTERN\*(C'\fR. The \f(CW\*(C`PATTERN\*(C'\fR will be interpreted as a case-insensitive regular expression. Take care to use quotes if your \f(CW\*(C`PATTERN\*(C'\fR contains any special shell metacharacters. .IP "\-\-distributions=PATTERN" 4 .IX Item "--distributions=PATTERN" .PD 0 .IP "\-D \s-1PATTERN\s0" 4 .IX Item "-D PATTERN" .PD Limit the listing to records where the distribution archive name matches \&\f(CW\*(C`PATTERN\*(C'\fR. The \f(CW\*(C`PATTERN\*(C'\fR will be interpreted as a case-sensitive regular expression. Take care to use quotes if your \f(CW\*(C`PATTERN\*(C'\fR contains any special shell metacharacters. .IP "\-\-format \s-1FORMAT_SPECIFICATION\s0" 4 .IX Item "--format FORMAT_SPECIFICATION" Format of the output using \f(CW\*(C`printf\*(C'\fR\-style placeholders. Valid placeholders are: .Sp .Vb 10 \& Placeholder Meaning \& \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- \& %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 \*(Aq%\*(Aq \& \& \& [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. .Ve .Sp 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: .Sp .Vb 1 \& [%m%s%y] %\-40p %12v %a/%f .Ve .Sp When using the \f(CW\*(C`\-\-all\*(C'\fR option, the pin status is indeterminable so it always appears as \f(CW\*(C`?\*(C'\fR. Also, the indexable status is shown. So the default format looks something like this instead: .Sp .Vb 1 \& [%m%s?%x] %\-40p %12v %a/%f .Ve .IP "\-\-packages=PATTERN" 4 .IX Item "--packages=PATTERN" .PD 0 .IP "\-P \s-1PATTERN\s0" 4 .IX Item "-P PATTERN" .PD Limit the listing to records where the package name matches \f(CW\*(C`PATTERN\*(C'\fR. The \&\f(CW\*(C`PATTERN\*(C'\fR will be interpreted as a case-sensitive regular expression. Take care to use quotes if your \f(CW\*(C`PATTERN\*(C'\fR contains any special shell metacharacters. .IP "\-\-pinned" 4 .IX Item "--pinned" Limit the listing to records for packages that are pinned. This option has no effect when using the \f(CW\*(C`\-\-all\*(C'\fR option. .IP "\-\-stack=NAME" 4 .IX Item "--stack=NAME" .PD 0 .IP "\-s \s-1NAME\s0" 4 .IX Item "-s NAME" .PD List the contents of the stack with the given \s-1NAME.\s0 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 \f(CW\*(C`\-\-all\*(C'\fR option. .SH "AUTHOR" .IX Header "AUTHOR" Jeffrey Ryan Thalhammer .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.