hexagon-cli
v1.2.2
Published
Hexo theme and package manager
Downloads
10
Readme
Hexagon
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
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 justplugin
- 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 justtheme
- 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
- Adam Siwiec - Initial work, Website
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License