A simple CLI for generate frontend and backend project from jdl file
$ git clone https://github.com/DiscoverForever/jhipster-cli.git
$ cd jhipster-cli
$ npm i -g moon
# example.jdl在example/example.jdl目录下 可自行copy
$ moon init -p example.jdl
$ cd frontend
$ npm install
$ npm run dev
$ cd ../backend
$ npm install
$ lean up
Usage: moon <command> [options]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
init generate a new project from config
export export database as markdown or excel from leancloud
generate generate somthing
help [cmd] display help for [cmd]
Usage: moon-init <path>
Options:
-p, --jdlpath <string> jdl file or jdl dir path
-h, --help output usage information
