You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chase@chase-HP ~/R/uml> puml-gen ./observer.class -createAssociation
System.ArgumentException: The value cannot be an empty string. (Parameter 'path')
at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
at System.IO.Directory.CreateDirectory(String path)
at PlantUmlClassDiagramGenerator.Program.GeneratePlantUmlFromFile(Dictionary`2 parameters) in C:\pierre3\PlantUmlClassDiagramGenerator\src\PlantUmlClassDiagramGenerator\Program.cs:line 66
chase@chase-HP ~/R/uml> puml-gen ./observer.class -createAssociation
System.ArgumentException: The value cannot be an empty string. (Parameter 'path')
at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
at System.IO.Directory.CreateDirectory(String path)
at PlantUmlClassDiagramGenerator.Program.GeneratePlantUmlFromFile(Dictionary`2 parameters) in C:\pierre3\PlantUmlClassDiagramGenerator\src\PlantUmlClassDiagramGenerator\Program.cs:line 66
After inspecting the Generator, I found that there is an issue with this part of the code.
Even though -createAssociation is found as an argument in the options, it is still added to the out parameters.
This is unreasonable and leads to the path error.
#107
当前项目中的cli 命令行参数解析有一些问题:
我在检查Generator之后,发现
这部分代码出了问题。
即便
-createAssociation
作为参数在options中找到了,但是还是会添加到out参数当中。这个是不合理的,导致了path错误。
Current Issues with CLI Command-Line Argument Parsing in the Project:
After inspecting the Generator, I found that there is an issue with this part of the code.
Even though
-createAssociation
is found as an argument in the options, it is still added to theout
parameters.This is unreasonable and leads to the path error.
The text was updated successfully, but these errors were encountered: