Debian Codegraph @

docs/content/en/commands/hugo_new_project.md

raw
1 ---
2 title: "hugo new project"
3 slug: hugo_new_project
4 url: /commands/hugo_new_project/
5 ---
6 ## hugo new project
7
8 Create a new project
9
10 ### Synopsis
11
12 Create a new project at the specified path.
13
14 ```
15 hugo new project [path] [flags]
16 ```
17
18 ### Options
19
20 ```
21 -f, --force init inside non-empty directory
22 --format string preferred file format (toml, yaml or json) (default "toml")
23 -h, --help help for project
24 ```
25
26 ### Options inherited from parent commands
27
28 ```
29 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
30 --config string config file (default is hugo.yaml|json|toml)
31 --configDir string config dir (default "config")
32 -d, --destination string filesystem path to write files to
33 -e, --environment string build environment
34 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
35 --logLevel string log level (debug|info|warn|error)
36 --noBuildLock don't create .hugo_build.lock file
37 --quiet build in quiet mode
38 -M, --renderToMemory render to memory (mostly useful when running the server)
39 -s, --source string filesystem path to read files relative from
40 --themesDir string filesystem path to themes directory
41 ```
42
43 ### SEE ALSO
44
45 * [hugo new](/commands/hugo_new/) - Create new content