diff --git a/generate_puml.ps1 b/generate_puml.ps1 new file mode 100644 index 0000000..dea5402 --- /dev/null +++ b/generate_puml.ps1 @@ -0,0 +1,16 @@ +$pumlFile = "output.puml" +if (Test-Path $pumlFile) { + Write-Host Found old file. Resolution: delete + Remove-Item $pumlFile +} + +$cmd = "hpp2plantuml -i *.h" +# hpp2plantuml -i *.h -i entities\*.h -o output.puml +foreach ($dir in $(Get-ChildItem -Path $Source -Directory -Recurse)) { + $cmd += " -i '$($dir.FullName)\*.h'" +} + +$cmd += " -o $pumlFile" +Invoke-Expression $cmd + +Exit(0) \ No newline at end of file