Skip to content

v3.3.0

Compare
Choose a tag to compare
@wteuber wteuber released this 03 Jul 09:42
· 3 commits to master since this release

Added

  • Directory collapsing feature with -c, --collapse option
    • Collapses consecutive single-child directories into a single line
    • Improves readability for deeply nested structures like Java packages
    • Example: domains/foo/bar/module/Service.java instead of separate lines

Fixed

  • Fixed indentation alignment issue when using custom indent values
    • Tree drawing characters now properly align with specified indentation

Changed

  • Refactored Node#pre_tree method to reduce complexity
  • Converted multiple methods to Ruby 3.0+ shorthand notation for cleaner code