hugo_list.md (1610B)
1 ---
2 title: "hugo list"
3 slug: hugo_list
4 url: /commands/hugo_list/
5 ---
6 ## hugo list
7
8 Listing out various types of content
9
10 ### Synopsis
11
12 Listing out various types of content.
13
14 List requires a subcommand, e.g. `hugo list drafts`.
15
16 ### Options
17
18 ```
19 -h, --help help for list
20 ```
21
22 ### Options inherited from parent commands
23
24 ```
25 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
26 --config string config file (default is path/config.yaml|json|toml)
27 --configDir string config dir (default "config")
28 --debug debug output
29 -e, --environment string build environment
30 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
31 --log enable Logging
32 --logFile string log File path (if set, logging enabled automatically)
33 --quiet build in quiet mode
34 -s, --source string filesystem path to read files relative from
35 --themesDir string filesystem path to themes directory
36 -v, --verbose verbose output
37 --verboseLog verbose logging
38 ```
39
40 ### SEE ALSO
41
42 * [hugo](/commands/hugo/) - hugo builds your site
43 * [hugo list all](/commands/hugo_list_all/) - List all posts
44 * [hugo list drafts](/commands/hugo_list_drafts/) - List all drafts
45 * [hugo list expired](/commands/hugo_list_expired/) - List all posts already expired
46 * [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future
47