Include an interactive mode (-i/--interactive) that doesn't exit, and instead gives a prompt to the user to dynamically collapse or minimise hierarchy points. For example:
Could also include expand all and minimise all commands and a whole host of interactive commands to make verilogtree responsive.
This mode would result in the same view as given by less where j/k are used to scroll up and down the console, could maybe even use ncurses if you wanted to go completely over the top.
Include an interactive mode (
-i/--interactive
) that doesn't exit, and instead gives a prompt to the user to dynamically collapse or minimise hierarchy points. For example:The
minimise mod3
command would result in the following hierarchyCould also include
expand all
andminimise all
commands and a whole host of interactive commands to make verilogtree responsive.This mode would result in the same view as given by
less
where j/k are used to scroll up and down the console, could maybe even usencurses
if you wanted to go completely over the top.