Closed LxLeChat closed 5 years ago
Hi @LxLeChat Thank you so much for your PR!
I have just merge a PR which covered the same feature as you (https://github.com/Stephanevg/PSClassUtils/pull/39) therefor, I will decline your PR.
BUT, you could adapt the new version with some of your code (Like the switch for example).
Looking forward to your next PR ! 👍
gci .\examples -recurse | Write-CUCLassDiagram
Throw an error if -recurse is specified, recurse should be on the left side of the pipeline 'gci .\examples\02 | Write-CUClassDiagram -recurse'
Write-CUClassDiagram -Path .\examples -recurse
Will throw an error if the path specified is not a directory (obiously you can not recurse on a file !)Errors encountered: If the parameter -path is not specified when launch on standalon, an error occurs:
Write-CUClassDiagram .\examples -recurse
Maybe adding "Position=0" to the path parameter will solve the problem.