Home

Awesome

tsdump

Build Status codecov codebeat badge Go Report Card

注意:master分支可能处于开发之中并非稳定版本,请通过tag下载稳定版本的源代码,或通过release下载已编译的二进制可执行文件。

目录

特性

安装

基本使用

$ tsdump --help
NAME:
  tsdump - Database table structure dump tool.

USAGE:
  tsdump [OPTIONS] [database [table ...]]

VERSION:
  0.5.0

AUTHOR:
  voidint <voidint@126.com>

OPTIONS:
  -D, --debug                 enable debug mode
  -h value, --host value      connect to host (default: "127.0.0.1")
  -P value, --port value      port number to use for connection (default: 3306)
  -S value, --socket value    socket file to use for connection
  -u value, --user value      user for login if not current user (default: "voidint")
  -p value, --password value  password to use when connecting to server. If password is not given it's solicited on the tty.
  -V value, --viewer value    output viewer. Optional values: csv|json|md|xlsx|txt (default: "txt")
  -o value, --output value    write to a file, instead of STDOUT
  -s, --sorted                sort table columns
  --help                      show help
  --version, -v               print the version

COPYRIGHT:
  Copyright (c) 2017-2021, voidint. All rights reserved.

Changelog

0.5.0 - 2021/11/16

0.4.2 - 2020/05/22

0.4.1 - 2020/01/05

0.4.0 - 2018/03/25

0.3.0 - 2018/01/05

0.2.0 - 2018/01/01

0.1.0 - 2017/12/31