Skip to content

Instantly share code, notes, and snippets.

@singun
Last active February 7, 2016 16:19
Show Gist options
  • Save singun/a6c42acecc2982594f67 to your computer and use it in GitHub Desktop.
Save singun/a6c42acecc2982594f67 to your computer and use it in GitHub Desktop.
command for hexo

###Commands:

  • clean Removed generated files and cache.
  • config Get or set configurations.
  • deploy Deploy your website.
  • generate Generate static files.
  • help Get help on a command.
  • init Create a new Hexo folder.
  • list List the information of the site
  • migrate Migrate your site from other system to Hexo.
  • new Create a new post.
  • publish Moves a draft post from _drafts to _posts folder.
  • render Render files with renderer plugins.
  • server Start the server.
  • version Display version information.

###Global Options:

  • --config Specify config file instead of using _config.yml
  • --cwd Specify the CWD
  • --debug Display all verbose messages in the terminal
  • --draft Display draft posts
  • --safe Disable all plugins and scripts
  • --silent Hide output on console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment