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
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,19 +18,21 @@ OptionParser.new do |opt|
18
18
opt.on('--no-visibility-arrows',"Don't show visibility arrows"){ |o| options.show_visibility=false}
19
19
20
20
opt.on('--no-todo-arrows',"Don't show pack todos"){ |o| options.show_todos=false}
21
-
opt.on("--only-todo-types=","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)}}
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
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}
23
23
24
24
opt.on('--no-teams',"Don't show team colors"){ |o| options.show_teams=false}
25
25
26
-
opt.on('--focus-pack=',"Focus on a specific pack(s). Comma-separated list of packs. Wildcards supported: 'packs/*'"){ |o| options.focus_pack=o.to_s.split(",")}
27
-
opt.on('--focus-pack-edge-mode=',"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)}
26
+
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
+
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)}
28
28
opt.on('--exclude-packs=',"Exclude listed packs from diagram. If used with include you will get all included that are not excluded. Wildcards support: 'packs/ignores/*'"){ |o| options.exclude_packs=o.to_s.split(",")}
29
29
30
30
opt.on('--roll-nested-into-parent-packs',"Don't show nested packs (not counting root). Connect edges to top-level pack instead"){ |o| options.roll_nested_into_parent_packs=true}
31
31
opt.on('--no-nesting-arrows',"Don't draw relationships between parents and nested packs"){ |o| options.show_nested_relationships=false}
32
32
33
-
opt.on('--remote-base-url=',"Link pack packs to a URL (affects graphviz SVG generation)"){ |o| options.remote_base_url=o}
33
+
opt.on('--remote-base-url=STRING',"Link pack packs to a URL (affects graphviz SVG generation)"){ |o| options.remote_base_url=o}
34
+
35
+
opt.on('--title=STRING',"Set a custom diagram title"){ |o| options.title=o}
0 commit comments