1App::Pinto::Command::liUsste(r3)Contributed Perl DocumenAtpapt:i:oPninto::Command::list(3)
2
3
4
6 App::Pinto::Command::list - show the packages in a stack
7
9 version 0.14
10
12 pinto --root=REPOSITORY_ROOT list [OPTIONS]
13
15 This command lists the packages that are currently registered on a
16 particular stack, or all the packages in the entire repository. You
17 can format the output to see the specific bits of information that you
18 want.
19
20 For a large repository, it can take a long time to list everything. So
21 consider using the "--packages" or "--distributions" options to narrow
22 the scope.
23
25 As an alternative to the "--stack" option, you can also specify the
26 stack as an argument. So the following examples are equivalent:
27
28 pinto --root REPOSITORY_ROOT list --stack dev
29 pinto --root REPOSITORY_ROOT list dev
30
31 A stack specified as an argument in this fashion will override any
32 stack specified with the "--stack" option. If a stack is not specified
33 by neither argument nor option, then it defaults to the stack that is
34 currently marked as the default stack.
35
37 --all
38 -a List every package in every distribution that exists in the entire
39 repository, including distributions that are not currently
40 registered on any stack. When the "--all" option is used, then the
41 stack argument and "--stack" option are not allowed. Also note the
42 pin status is indeterminable when using the "--all" option so it
43 always appears as "?" (see the "--format" option below for more
44 details about that).
45
46 --authors=PATTERN
47 -A PATTERN
48 Limit the listing to records where the distribution's author
49 identity matches "PATTERN". The "PATTERN" will be interpreted as a
50 case-insensitive regular expression. Take care to use quotes if
51 your "PATTERN" contains any special shell metacharacters.
52
53 --distributions=PATTERN
54 -D PATTERN
55 Limit the listing to records where the distribution archive name
56 matches "PATTERN". The "PATTERN" will be interpreted as a case-
57 sensitive regular expression. Take care to use quotes if your
58 "PATTERN" contains any special shell metacharacters.
59
60 --format FORMAT_SPECIFICATION
61 Format of the output using "printf"-style placeholders. Valid
62 placeholders are:
63
64 Placeholder Meaning
65 -----------------------------------------------------------------------------
66 %p Package name
67 %P Package name-version
68 %v Package version
69 %x Package can be indexed: (x) = true, (-) = false
70 %M Package is the main module: (m) = true, (-) = false
71 %y Package is pinned: (!) = true, (-) = false
72 %a Distribution author
73 %f Distribution archive filename
74 %m Distribution maturity: (d) = developer, (r) = release
75 %h Distribution index path [1]
76 %H Distribution physical path [2]
77 %s Distribution origin: (l) = local, (f) = foreign
78 %S Distribution source URL
79 %d Distribution name
80 %D Distribution name-version
81 %V Distribution version
82 %u Distribution URI
83 %% A literal '%'
84
85
86 [1]: The index path is always a Unix-style path fragment, as it
87 appears in the 02packages.details.txt index file.
88
89 [2]: The physical path is always in the native style for this OS,
90 and is relative to the root directory of the repository.
91
92 You can also specify the minimum field widths and left or right
93 justification, using the usual notation. For example, the default
94 format looks something like this:
95
96 [%m%s%y] %-40p %12v %a/%f
97
98 When using the "--all" option, the pin status is indeterminable so
99 it always appears as "?". Also, the indexable status is shown. So
100 the default format looks something like this instead:
101
102 [%m%s?%x] %-40p %12v %a/%f
103
104 --packages=PATTERN
105 -P PATTERN
106 Limit the listing to records where the package name matches
107 "PATTERN". The "PATTERN" will be interpreted as a case-sensitive
108 regular expression. Take care to use quotes if your "PATTERN"
109 contains any special shell metacharacters.
110
111 --pinned
112 Limit the listing to records for packages that are pinned. This
113 option has no effect when using the "--all" option.
114
115 --stack=NAME
116 -s NAME
117 List the contents of the stack with the given NAME. Defaults to
118 the name of whichever stack is currently marked as the default
119 stack. Use the stacks command to see the stacks in the repository.
120 This option cannot be used with the "--all" option.
121
123 Jeffrey Ryan Thalhammer <jeff@stratopan.com>
124
126 This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
127
128 This is free software; you can redistribute it and/or modify it under
129 the same terms as the Perl 5 programming language system itself.
130
131
132
133perl v5.28.0 2017-08-06 App::Pinto::Command::list(3)