BoxesNLines.DiagramGenerator.CLI
0.0.1
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet tool install --global BoxesNLines.DiagramGenerator.CLI --version 0.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local BoxesNLines.DiagramGenerator.CLI --version 0.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=BoxesNLines.DiagramGenerator.CLI&version=0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package BoxesNLines.DiagramGenerator.CLI --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DiagramGenerator CLI
Turns T-SQL stored procedures into navigable Mermaid flow diagrams, via the hosted DiagramGenerator API.
Install
dotnet tool install -g BoxesNLines.DiagramGenerator.CLI
Usage
bnl-diagrams ./procs/*.sql --output ./diagrams --key dg_live_yourapikeyhere
Get an API key from /dashboard/api-keys after subscribing. The key can also be set via the BNL_DIAGRAMS_API_KEY environment variable instead of --key.
Accepts one or more .sql files, directories, or glob patterns (e.g. ./procs/*.sql) in a single run - glob patterns are expanded by the CLI itself, not the shell, so they behave the same in PowerShell/cmd.exe as in bash/zsh.
| Option | Default | Description |
|---|---|---|
-o, --output <path> |
current directory | Directory to write generated diagrams to. |
-r, --recursive <bool> |
true |
Search subdirectories when an input path is a directory. |
-f, --format <json\|mermaid> |
json |
json writes a full envelope (graph + Mermaid text); mermaid writes just the raw .mmd text. |
-q, --quiet |
off | Suppress informational output. |
-k, --key <key> |
— | Your API key. Falls back to BNL_DIAGRAMS_API_KEY. |
-s, --server <url> |
https://diagrams.boxesnlines.com |
The DiagramGenerator server to call. |
Full documentation: github.com/boxesnlines/diagramgenerator.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|