JavaScript
Clone or download
Adam Siwiec
Adam Siwiec v1.2.0
Latest commit 200baf7 Oct 20, 2017
Permalink
Failed to load latest commit information.
.gitignore bug fixes Oct 20, 2017
hpm.js bug fixes Oct 20, 2017
package.json v1.2.0 Oct 20, 2017
plugin.js added yarn check Oct 20, 2017
readme.md Changed Downloads badge for npm Jan 8, 2017
theme.js bug fixes Oct 20, 2017
yarn.lock added yarn check Oct 20, 2017

readme.md

hexagon

Hexagon

Code Climate npm npm npm npm XO code style

A package manager for Hexo.

Prerequisites

  • NodeJS
  • Git

Getting Started

Install:

$ npm install -g hexagon-cli

You can use it by running:

$ hexagon --help

# or

$ hexa --help # For the minimalists out there

Usage

usage_gif

For Hexagon to work properly, make sure you are in your project's root directory.

To install a plugin:

  • Pass the -p or --plugin flag or just plugin
  • Pass the npm package[s] name
$ hexagon --plugin hexo-generator-github
$ hexagon -p hexo-generator-github
$ hexagon plugin hexo-generator-github

To install a theme:

  • Pass the -t or --theme flag or just theme
  • Pass the Github abbreviation, e.g adamsiwiec/hexagon-theme
$ hexagon --theme adamsiwiec/hexagon-theme
$ hexagon -t adamsiwiec/hexagon-theme
$ hexagon theme adamsiwiec/hexagon-theme

To list all themes and plugins

$ hexagon list

For more commands:

$ hexagon --help

Contributing

Please submit Issues or Pull Requests to continue the development of Hexagon

Versioning

We use SemVer for versioning. For the versions available, see the NPM site or the releases.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License