Giter VIP home page Giter VIP logo

samkenxdb2md-cli's Introduction

db2md-cli

MySQL数据库文档生成工具, 支持生成markdown以及word文档

安装

npm install -g db2md-cli

使用

$ db2md help g
Usage: db2md generate|g [options] <database> [type]

generate a markdown or docx file against the database

Arguments:
  database                   Specifies the database name
  type                       Specifies the type of file to be generated: md,docx

Options:
  -P, --password [password]  Database password (default: "root")
  -H, --host [host]          Database host (default: "127.0.0.1")
  -u, --username [username]  Database username (default: "root")
  -p, --port [port]          Database host port (default: 3306)
  -o, --output [output]      Document generation path, support for relative path
  -f, --force                overwrite target file if it exists (default: false)
  -h, --help                 Output usage information.

案例: sample

db2md g -u root -p 3306 -P root -H 127.0.0.1 ark_admin md

使用root用户, 密码为root连接ark_admin数据库生成markdown文档, 默认会在当前路径下生成数据库名称.md.

如需生成word文档则将md替换为docx

samkenxdb2md-cli's People

Contributors

hackycy avatar samkenxstream avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.