2017-08-10 11:18:22 -04:00
|
|
|
---
|
2018-01-25 04:24:59 -05:00
|
|
|
date: 2018-01-25T10:24:52+01:00
|
2017-08-10 11:18:22 -04:00
|
|
|
title: "hugo convert"
|
|
|
|
slug: hugo_convert
|
|
|
|
url: /commands/hugo_convert/
|
|
|
|
---
|
|
|
|
## hugo convert
|
|
|
|
|
|
|
|
Convert your content to different formats
|
|
|
|
|
|
|
|
### Synopsis
|
|
|
|
|
|
|
|
Convert your content (e.g. front matter) to different formats.
|
|
|
|
|
|
|
|
See convert's subcommands toJSON, toTOML and toYAML for more information.
|
|
|
|
|
|
|
|
### Options
|
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for convert
|
|
|
|
-o, --output string filesystem path to write files to
|
|
|
|
-s, --source string filesystem path to read files relative from
|
|
|
|
--unsafe enable less safe operations, please backup first
|
|
|
|
```
|
|
|
|
|
|
|
|
### Options inherited from parent commands
|
|
|
|
|
|
|
|
```
|
|
|
|
--config string config file (default is path/config.yaml|json|toml)
|
2017-09-25 03:02:42 -04:00
|
|
|
--debug debug output
|
2017-08-10 11:18:22 -04:00
|
|
|
--log enable Logging
|
|
|
|
--logFile string log File path (if set, logging enabled automatically)
|
|
|
|
--quiet build in quiet mode
|
|
|
|
-v, --verbose verbose output
|
|
|
|
--verboseLog verbose logging
|
|
|
|
```
|
|
|
|
|
|
|
|
### SEE ALSO
|
2018-01-25 04:24:59 -05:00
|
|
|
|
2017-08-10 11:18:22 -04:00
|
|
|
* [hugo](/commands/hugo/) - hugo builds your site
|
|
|
|
* [hugo convert toJSON](/commands/hugo_convert_tojson/) - Convert front matter to JSON
|
|
|
|
* [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML
|
|
|
|
* [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML
|
|
|
|
|
2018-01-25 04:24:59 -05:00
|
|
|
###### Auto generated by spf13/cobra on 25-Jan-2018
|