0.4.0 • Published 7 years ago

waterline-auto v0.4.0

Weekly downloads
11
License
MIT
Repository
github
Last release
7 years ago

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