This is the CLI tool for serverhub-mvc.
This tool is only for generating file structure or templates for serverhub-mvc.
Here is an example using serverhub-cli to intialize an template.
First, you need move to your workspace.
npm -i -g serverhub-cli
cd /your/workspace
Then use serverhub-cli to set up the template.
serverhub-cli init [project-name]
Bingo! The target template is successfully loaded.
cd /[project-name]
npm install
npm run dev
Then, ServerHub will start and listen to port 926.
Since version 0.1.0, ServerHub updated the way of generating templates. We will list several avaliable templates in later updates.
Yuyang Mao