Skip to content

🖨️ A script used to upload PlantUML scripts to the PlantUML server and download the built diagrams.

License

Notifications You must be signed in to change notification settings

Zhuagenborn/PlantUML-Builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlantUML Builder

PowerShell PlantUML License

Introduction

Cover

This script can upload PlantUML scripts to the PlantUML server and download the built diagrams.

Usage

Example 1

The following command uploads the hello.puml file to the PlantUML server, then downloads the hello.png diagram to the source directory.

PS> .\Build-PlantUML.ps1 -File 'hello.puml'
@startuml
Bob -> Alice : hello
@enduml

For example, the above script hello.puml will be built as hello.png.

Hello

Example 2

The following command uploads the hello.puml file to the PlantUML server, then downloads the hello.svg diagram to the source directory.

PS> .\Build-PlantUML.ps1 -File 'hello.puml' -DiagramExtension 'svg'

Example 3

The following command sends all .puml files in the docs directory to the PlantUML server, then downloads .png diagrams to the source directory.

PS> .\Build-PlantUML.ps1 -Directory 'docs'

Example 4

This command uploads all .txt files in the current directory and its subdirectories to the PlantUML server, then downloads .svg diagrams to the source directories.

PS> .\Build-PlantUML.ps1 -Recurse -ScriptExtension 'txt' -DiagramExtension 'svg'

License

Distributed under the MIT License. See LICENSE for more information.

About

🖨️ A script used to upload PlantUML scripts to the PlantUML server and download the built diagrams.

Topics

Resources

License

Stars

Watchers

Forks