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

NAME

6       pft ls - List objects in your PFT site
7

SYNOPSYS

9       pft ls <class> [options] pft ls --help
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       A number of possible classes can be specified. Here follows a list with
22       a short description, while better details can be found in the main
23       "pft" manpage ("man pft").
24
25       pages
26           List all regular pages in "ROOT/content/pages".
27
28           This class supports the "--pretty" argument.
29
30       blog
31           List all blog pages in "ROOT/content/blog". This includes daily
32           entries and monthly entries
33
34           This class supports the "--pretty" argument.
35
36       tags
37           Scan through all entries and list all used tags.
38
39       tagpages
40           List all tag pages, that is pages describing tags.
41
42           This class supports the "--pretty" argument.
43

OPTIONS

45       --help | -h
46           Show this help.
47
48       --locate
49           Show paths and titles, namely quick alias for:
50
51               --pretty='%t:%p'
52
53       --pretty=<fmt>
54           Print properties of the listed nodes according to the specified
55           format. The format uses the same percent notation as printf. Note
56           that some of those values can be void (for example, pages don't
57           have a date). If this is the case the placeholder gets expanded
58           with an empty string.
59
60           The output is encoding depending on the locale.
61
62           %t → Title
63           %p → Path (might be void if the node is virtual)
64           %g → Comma separated list of tags (possibly void)
65           %a → Author (possibly void)
66           %s → Slug (or name, if the node is virtual)
67           %D → Date in yyyy-mm-dd format (possibly void)
68           %y → Year (possibly void)
69           %m → Month (possibly void)
70           %d → Day (possibly void)
71           %o → Comma separated value of option=value pairs (possibly void)
72
73
74
75perl v5.28.1                      2017-09-25                         PFT-LS(1)
Impressum