Stephanevg / PSClassUtils

A set of utilities to work with Powershell Classes
http://powershelldistrict.com/how-to-generate-a-uml-diagram-using-powershell/
92 stars 23 forks source link

Pipeline support for write-cuclassdiagram #37

Closed LxLeChat closed 5 years ago

LxLeChat commented 5 years ago

Throw an error if -recurse is specified, recurse should be on the left side of the pipeline 'gci .\examples\02 | Write-CUClassDiagram -recurse'

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.

Stephanevg commented 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 ! 👍