This adds a very bare-bones HTML output mode to the tree subcommand:
Being able to expand and collapse the branches of the tree is quite handy, and it's not even a lot of extra code. The diff is big mainly because I promoted _print_node to its own method. Its content is essentially unchanged.
This adds a very bare-bones HTML output mode to the
tree
subcommand:Being able to expand and collapse the branches of the tree is quite handy, and it's not even a lot of extra code. The diff is big mainly because I promoted
_print_node
to its own method. Its content is essentially unchanged.