waterline-auto

0.4.0 • Public • Published

waterline-auto

Automatically generate bare Waterline models from your database.

npm version npm downloads npm license

Install

npm i waterline-auto -g

Usage

type wa | waterline-auto

$ wa
 
    waterline-auto@0.1.0 - auto generate model from your db
 
    Options
      -h, --host              host
      -p, --port              port
      -u, --user              username
      -a, --password          password
      -d, --database          database
      -t, --table, --tables   table names
      -r, --raw-type          add `rawType` in output, default true
      -c, --comment           add `comment` in output, default true
      --sequelize-log         sequelize `logging`, default true
      --generated-via         show \`generated via\` header, default true
      --help                  show this help message

Notes

  • -a take from redis-cli, authentication

Changelog

CHANGELOG.md

License

the MIT License http://magicdawn.mit-license.org

Package Sidebar

Install

npm i waterline-auto

Weekly Downloads

0

Version

0.4.0

License

MIT

Last publish

Collaborators

  • magicdawn