1.1.22 • Published 3 years ago
@gongt/mysql-docgen v1.1.22
sql-docgen
生成 MySQL 文档,用于我自己的微服务系统。
安装
yarn global add @gongt/mysql-docgen
使用
cd /path/to/project
microservice-mysql-docgen -uroot -p123456 -h127.0.0.1 -p3306 project_database_name
参数
Usage: mysql-docgen [OPTIONS] [database]
Default config is get by running command "mysql --print-defaults"
If "mysql" command is not in PATH, only these config has default:
* host is localhost
* port is 3306
The [database] is required!
program config:
-d, --dist Folder for store output files.
mysql connection config:
-h, --host=name Connect to host.
-P, --port=# Port number to use for connection.
-S, --socket=name The socket file to use for connection.
-u, --user=name User for login if not current user.
-p, --password[=name] Password to use when connecting to server. If password is
not given it's asked from the tty.
--connect-timeout=# Number of seconds before connection timeout.
--secure-auth Refuse client connecting to server if it uses old
(pre-4.1.1) protocol.
// TODO: add ssl config
1.1.19
3 years ago
1.1.18
3 years ago
1.1.22
3 years ago
1.1.21
3 years ago
1.1.20
3 years ago
1.1.17
3 years ago
1.1.16
4 years ago
1.1.15
4 years ago
1.1.14
4 years ago
1.1.13
4 years ago
1.1.12
4 years ago
1.1.11
5 years ago
1.1.10
5 years ago
1.1.9
5 years ago
1.1.8
5 years ago
1.1.7
5 years ago
1.1.6
5 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago