0.6.0 • Published 5 years ago

sakura-orm-cli v0.6.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

OVERVIEW

基于sakura-node-3的脚手架工具,可一条命令创建你需要的mvc文件。

INSTALL

npm install sakura-orm-cli -g

使用方法

  1. 先设置系统环境变量
export SAKURA_HOST=;
export SAKURA_PORT=;
export SAKURA_DB=;
export SAKURA_USER=;
export SAKURA_PASSWORD=;
  1. 熟悉全局变量
* fi-orm-cli
* sakura-orm-cli
* gago-orm-cli
  1. 执行命令
# -f 代表强制覆盖

fi-cli g model/users/test user_device [-f] [file option]
  • -f a: 全部覆盖
  • -f r: 只覆盖repository
  • -f m: 只覆盖model
  • -f s: 只覆盖service
  • -f c: 只覆盖controller
0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.0

5 years ago