jfeliu007 / goplantuml

PlantUML Class Diagram Generator for golang projects
MIT License
1.84k stars 172 forks source link

Enhancement: Additional CLI options to control rendered output -no-edges #63

Closed jfeliu007 closed 4 years ago

jfeliu007 commented 4 years ago

Fixes #55 I made this with the flag -hide-connections The result would be that aggregations, compositions, and interface implementations will not be added. However, if the flags -show-aggregations, -show-compositions, or -show-implementations are provided, the user can toggle these on demand. These three last flags will only make a difference if the user pass them along with the -hide-connections flag

This also altered the aggregations flag, its now -show-aggregations for consistency, and it defaults to false. The other show flags default to true.

codecov[bot] commented 4 years ago

Codecov Report

Merging #63 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #63   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines         457    463    +6     
=====================================
+ Hits          457    463    +6
Impacted Files Coverage Δ
parser/class_parser.go 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 168ecbe...c9472d5. Read the comment docs.