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
Copy file name to clipboardExpand all lines: bin/visualize_packs
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,12 @@ OptionParser.new do |opt|
17
17
opt.on('--no-layers',"Don't show architectural layers"){ |o| options.show_layers=false}
18
18
opt.on('--no-visibility-arrows',"Don't show visibility arrows"){ |o| options.show_visibility=false}
19
19
20
-
opt.on('--no-todo-arrows',"Don't show pack todos"){ |o| options.show_todos=false}
21
-
opt.on("--only-todo-types=STRING","Show only the selected types of todos. Comma-separated list of #{EdgeTodoTypes.values.map &:serialize}"){ |o| options.only_todo_types=o.to_s.split(",").uniq.map{EdgeTodoTypes.deserialize(_1)}}
22
-
opt.on("--use-todos-for-layout","Show only the selected types of todos. Comma-separated list of #{EdgeTodoTypes.values.map &:serialize}"){ |o| options.use_todos_for_layout=true}
20
+
opt.on('--no-todo-edges',"Don't show todos for package relationships"){ |o| options.show_relationship_todos=false}
21
+
opt.on("--edge-todo-types=STRING","Show only the selected types of relationship todos. Comma-separated list of #{EdgeTodoTypes.values.map &:serialize}"){ |o| options.relationship_todo_types=o.to_s.split(",").uniq.map{EdgeTodoTypes.deserialize(_1)}}
22
+
opt.on("--use-edge-todos-for-layout","Show only the selected types of relationship todos. Comma-separated list of #{EdgeTodoTypes.values.map &:serialize}"){ |o| options.use_relationship_todos_for_layout=true}
23
23
24
24
opt.on('--no-teams',"Don't show team colors"){ |o| options.show_teams=false}
25
+
opt.on('--no-node-todos',"Don't show package-based todos"){ |o| options.show_node_todos=false}
25
26
26
27
opt.on('--focus-pack=STRING',"Focus on a specific pack(s). Comma-separated list of packs. Wildcards supported: 'packs/*'"){ |o| options.focus_pack=o.to_s.split(",")}
27
28
opt.on('--focus-pack-edge-mode=STRING',"If focus-pack is set, this shows only between focussed packs (when set to none) or the edges into / out of / in and out of the focus packs to non-focus packs (which will be re-added to the graph). One of #{FocusPackEdgeDirection.values.map &:serialize}"){ |o| options.show_only_edges_to_focus_pack=FocusPackEdgeDirection.deserialize(o)}
0 commit comments