Hexo
hexoCommand line interface for Hexo, a static site generator.
Command line interface for Hexo, a static site generator.
Common Hexo blog jobs: create a post, generate the site and run the local server. Deploy, migrate and init are left out.
hexo newCreate a new article from a layout.
layouttitleslugreplacestring · positional 0postpagedraftstring · positional 1string--slug-sboolean--replace-rhexo generateGenerate the static site into the public folder.
forcewatchbaildeployboolean--deploy-dboolean--force-fboolean--watch-wboolean--bail-bhexo serverServe the site locally, by default at http://localhost:4000/.
portipstaticopenstring--ip-iinteger--port-pboolean--static-sboolean--open-ofigcompletionfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed hexo against its version. A form that does not match your version is not offered.