- Generate Mermaid class diagrams from .NET solutions
- Easy to use CLI interface
To install DotUML, run the following command:
dotnet tool install -g DotUML
For help run:
dotuml -h
or
dotuml --help
To generate a UML diagram, pass a solution as a parameter:
dotuml generate -s C:\source\repos\Solution\Awesome.sln
or
dotuml generate --solution C:\source\repos\Solution\Awesome.sln
The following options are available on the method.
Option | Description |
---|---|
-s --solution |
Solution to analyze and generate UML diagram for. (Required) |
-f --format |
Output type for the diagram. Options: markdown, image (Default: Markdown) |
-o --output-file |
Target location for UML file output. If a location is not provided, then a filename including a timestamp will be created in the current directory. (Default: @"diagramyyyyMMddHHmmss.md" ) |
Contributions are welcome! Please fork the repository and submit a pull request.
To run the unit tests, navigate to the tests
directory and use the following command:
dotnet test
This project uses GitHub Actions for continuous integration and continuous deployment (CI/CD). The pipeline is configured to build and test the solution on every push and pull request to the main
branch.