1PFT-LS(1)             User Contributed Perl Documentation            PFT-LS(1)
2
3
4

NAME

6       pft ls - List objects in your PFT site
7

SYNOPSIS

9       pft ls class [options]
10

DESCRIPTION

12       List objects.
13
14       The general usage provides a class of objects to lists. For instance
15
16           pft ls tags
17
18       Will list all the tags from all pages and entries.
19

CLASSES

21       Many classes are supported. Here follows a list with a short
22       description.  For better details see pft(1).
23
24       pages
25           List all regular pages in "ROOT/content/pages".
26
27           This class supports the --pretty argument.
28
29       blog
30           List all blog pages in "ROOT/content/blog". This includes daily
31           entries and monthly entries
32
33           This class supports the --pretty argument.
34
35       tags
36           Scan through all entries and list all used tags.
37
38       tagpages
39           List all tag pages, that is pages describing tags.
40
41           This class supports the --pretty argument.
42

OPTIONS

44       --help | -h
45           Show this help.
46
47       --locate
48           Show paths and titles, namely quick alias for:
49
50               --pretty='%t:%p'
51
52       --pretty=fmt
53           Print properties of the listed nodes according to the specified
54           format. The format supports a custom percent notation similar in
55           spirit to printf(2).
56
57           Note that some of placeholders will be expanded with empty strings
58           when the corresponding object property is void. For example, pages
59           don't have a date). If this is the case the placeholder gets
60           expanded with an empty string.
61
62           The output is encoding depending on the locale.
63
64           %t  Title
65
66           %p  Path (might be void if the node is virtual)
67
68           %g  Comma separated list of tags (possibly void)
69
70           %a  Author (possibly void)
71
72           %s  Slug (or name, if the node is virtual)
73
74           %D  Date in yyyy-mm-dd format (possibly void)
75
76           %y  Year (possibly void)
77
78           %m  Month (possibly void)
79
80           %d  Day (possibly void)
81
82           %o  Comma separated value of option=value pairs (possibly void)
83

SEE ALSO

85       pft(1)
86
87
88
89perl v5.32.1                      2021-01-26                         PFT-LS(1)
Impressum