| 1 |
--- |
| 2 |
title: "hugo list" |
| 3 |
slug: hugo_list |
| 4 |
url: /commands/hugo_list/ |
| 5 |
--- |
| 6 |
## hugo list |
| 7 |
|
| 8 |
List content |
| 9 |
|
| 10 |
### Synopsis |
| 11 |
|
| 12 |
List 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 hugo.yaml|json|toml) |
| 27 |
--configDir string config dir (default "config") |
| 28 |
-d, --destination string filesystem path to write files to |
| 29 |
-e, --environment string build environment |
| 30 |
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern |
| 31 |
--logLevel string log level (debug|info|warn|error) |
| 32 |
--noBuildLock don't create .hugo_build.lock file |
| 33 |
--quiet build in quiet mode |
| 34 |
-M, --renderToMemory render to memory (mostly useful when running the server) |
| 35 |
-s, --source string filesystem path to read files relative from |
| 36 |
--themesDir string filesystem path to themes directory |
| 37 |
``` |
| 38 |
|
| 39 |
### SEE ALSO |
| 40 |
|
| 41 |
* [hugo](/commands/hugo/) - Build your project |
| 42 |
* [hugo list all](/commands/hugo_list_all/) - List all content |
| 43 |
* [hugo list drafts](/commands/hugo_list_drafts/) - List draft content |
| 44 |
* [hugo list expired](/commands/hugo_list_expired/) - List expired content |
| 45 |
* [hugo list future](/commands/hugo_list_future/) - List future content |
| 46 |
* [hugo list published](/commands/hugo_list_published/) - List published content |