atp-gen-mysql-entities-cli
v0.4.0
Published
generate mysql entity functions
Downloads
13
Readme
Autoplus Generate Mysql Entities CLI
generate mysql entity functions
Usage
$ gen-mysql-entities -o <outDir> -h <host> -p <port> -u <user> -x <password> -d <database> -f <prefix>
Options
| key | alias | describe | required | default | |-----|----------|-----------------------|----------|--------------| | o | outDir | Output directory | false | './entities' | | h | host | IP address / Hostname | false | '127.0.0.1' | | p | port | Port number | false | '3306' | | u | user | Username | false | 'root' | | x | password | Password | false | '' | | d | database | Database | true | - | | f | prefix | Prefix interface | false | '' | | | | | | |
Dependencies
@sinclair/typebox ajv ajv-formats mariadb
v.^0.3.0 for mysql 5.7
v.below 0.2.4 for mysql 5.6