github.com/rabbouni145/gg@v0.47.1/docs/content/en/commands/hugo_convert.md (about) 1 --- 2 date: 2018-08-17 3 title: "hugo convert" 4 slug: hugo_convert 5 url: /commands/hugo_convert/ 6 --- 7 ## hugo convert 8 9 Convert your content to different formats 10 11 ### Synopsis 12 13 Convert your content (e.g. front matter) to different formats. 14 15 See convert's subcommands toJSON, toTOML and toYAML for more information. 16 17 ### Options 18 19 ``` 20 -h, --help help for convert 21 -o, --output string filesystem path to write files to 22 -s, --source string filesystem path to read files relative from 23 --unsafe enable less safe operations, please backup first 24 ``` 25 26 ### Options inherited from parent commands 27 28 ``` 29 --config string config file (default is path/config.yaml|json|toml) 30 --debug debug output 31 --log enable Logging 32 --logFile string log File path (if set, logging enabled automatically) 33 --quiet build in quiet mode 34 -v, --verbose verbose output 35 --verboseLog verbose logging 36 ``` 37 38 ### SEE ALSO 39 40 * [hugo](/commands/hugo/) - hugo builds your site 41 * [hugo convert toJSON](/commands/hugo_convert_tojson/) - Convert front matter to JSON 42 * [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML 43 * [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML 44 45 ###### Auto generated by spf13/cobra on 17-Aug-2018