@dbsketch/cli
v0.1.0
Published
Command-line tool to render DBML or SQL schemas as ASCII/Unicode ERD diagrams.
Maintainers
Readme
@dbsketch/cli
Command-line tool for dbsketch — code-first ASCII/Unicode ERD diagrams from DBML or SQL.
npm install -g @dbsketch/clidbsketch schema.dbml # Unicode (default)
dbsketch schema.dbml --ascii # 7-bit ASCII
dbsketch schema.sql # SQL auto-detected by extension
dbsketch --sql --dialect=mysql < schema.sqlOutput goes to stdout; pipe it into a file, a clipboard tool, or a markdown block.
See the project README for examples, philosophy, and the @layout hint syntax.
