https://github.com/magicdawn/waterline-auto
Automatically generate bare Waterline models from your database.
https://github.com/magicdawn/waterline-auto
Last synced: 3 months ago
JSON representation
Automatically generate bare Waterline models from your database.
- Host: GitHub
- URL: https://github.com/magicdawn/waterline-auto
- Owner: magicdawn
- License: mit
- Created: 2016-07-01T07:26:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-08T23:36:23.000Z (about 9 years ago)
- Last Synced: 2024-10-09T14:42:07.506Z (over 1 year ago)
- Language: JavaScript
- Size: 25.4 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# waterline-auto
> Automatically generate bare Waterline models from your database.
[](https://www.npmjs.com/package/waterline-auto)
[](https://www.npmjs.com/package/waterline-auto)
[](http://magicdawn.mit-license.org)
## Install
```
npm i waterline-auto -g
```
## Usage
type `wa` | `waterline-auto`
```shell
$ 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](CHANGELOG.md)
## License
the MIT License http://magicdawn.mit-license.org