1.1.22 • Published 2 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
2 years ago
1.1.18
2 years ago
1.1.22
2 years ago
1.1.21
2 years ago
1.1.20
2 years ago
1.1.17
2 years ago
1.1.16
2 years ago
1.1.15
3 years ago
1.1.14
3 years ago
1.1.13
3 years ago
1.1.12
3 years ago
1.1.11
4 years ago
1.1.10
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago