name: "doteur"
version: "0.4.1"
author: LABEYE Loïc <loic.labeye@pm.me>
about: Convert .sql files to .dot files, render them if graphviz installed
args:
- input:
help: Name of the sql file or database location if url arg is passed, can also be a directory or several files
required: false
index: 1
multiple: true
- output:
help: The output filename
short: o
long: output
takes_value: true
- url:
help: Specificate that the input is a url (i.e. mysql://usr:password@localhost:3306/database)
long: url
- interactive:
help: Starts an interactive dialog to connect to a remote database
long: it
- include:
help: Include only the given tables
short: i
long: include
takes_value: true
multiple: true
- exclude:
help: Exclude the given tables
short: x
long: exclude
takes_value: true
multiple: true
conflicts_with:
- include
- dark_mode:
help: Render in dark mode
long: dark-mode
- legend:
help: Includes hint about the relations type at the bottom of the outpout file
long: legend