Mina provides a CLI for interacting with a Keadex Mina project.
You can use the CLI to apply changes to your diagrams without using Keadex Mina's UI. For a complete list of available commands, see the commands page.
Use Case
A typical use case is as follows: imagine a repository named infra-code
containing information about your infrastructure systems, such as names, technologies, and other details. These details are then utilized in your Keadex Mina project, which is stored in a repository named arch-diagrams
.
By integrating the CLI within a CI workflow in the infra-code
repository, you can automate the update of your Mina diagrams. This approach ensures your diagrams are always up to date without requiring manual adjustments.
For further details, refer to the Continuous Integration documentation.
Usage
- Download the required version of
Mina CLI
from the release page of the Keadex repo: https://github.com/keadex/keadex/releases (opens in a new tab). - Optionally add
mina-cli
to thePATH
environment variable - Use it! For a complete list of available commands, see the commands page.