NAME

App::Pinto::Remote::Command::list - list the contents of the remote repository

VERSION

version 0.039

SYNOPSIS

pinto-remote --root=URL list [OPTIONS]

DESCRIPTION

This command lists the distributions and packages that are in your repository. You also can customize the format and content of the output.

Note this command never changes the state of your repository.

COMMAND ARGUMENTS

None.

COMMAND OPTIONS

-D=PATTERN
--distributions=PATTERN

Limits the listing to records where the distributions path matches "PATTERN". Note that "PATTERN" is just a plain string, not a regular expression. The "PATTERN" will match if it appears anywhere in the distribution path.

format

Sets the format of the output using printf-style placeholders. Valid placeholders are:

Placeholder    Meaning
-----------------------------------------------------------------------------
%n             Package name
%N             Package name-version
%v             Package version
%x             Index status:                   (@) = is latest
%y             Pin status:                     (+) = is pinned
%m             Distribution maturity:          (d) = developer, (r) = release
%p             Distribution index path [1]
%P             Distribution physical path [2]
%s             Distribution origin:            (l) = local, (f) = foreign
%S             Distribution source repository
%a             Distribution author
%d             Distribution name
%D             Distribution name-version
%w             Distribution version
%u             Distribution url
%%             A literal '%'


[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, this is what the default format looks like.

%x%m%s %-38n %v %p\n
--index

Limits the listing to records for packages that are in currently in the index. In other words, packages that Pinto thinks are the "latest".

-P=PATTERN
--packages=PATTERN

Limits the listing to records where the package name matches "PATTERN". Note that "PATTERN" is just a plain string, not a regular expression. The "PATTERN" will match if it appears anywhere in the package name.

--pinned

Limits the listing to records where the package has been pinned.

AUTHOR

Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Imaginative Software Systems.

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