๐ŸŒณ Printing and analyzing trees inย aย handy way.

Printing and analyzing trees in a handy way

How to use ๐ŸŒณ

๐ŸŽฌ Demonstrations: #4


  • Standard Xcode project: *.xcodeproj
  • CocoaPods: Podfile.lock
  • YAML file with a specific format: *.yml/*.yaml
  • Feel free to suggest other common input files

Commands Help (Terminal CLI)

> xtree --help

 ๐ŸŒณ Printing and analyzing trees inย aย handy way.
โ”‚ > print     โ”‚ * Print a tree with children statistics.                   โ”‚
โ”‚ > frequency โ”‚ * Calculate a frequency of each node.                      โ”‚
โ”‚ > parents   โ”‚ * Find all parents of nodes.                               โ”‚
โ”‚ > impact    โ”‚ * Find affected parent nodes and print them out as a tree. โ”‚
โ”‚ > update    โ”‚ * Download and install the latest version.                 โ”‚
โ”‚             โ”‚                                                            โ”‚
โ”‚ --version   โ”‚ * Show the version.                                        โ”‚
โ”‚ --help, -h  โ”‚ * Show help information.                                   โ”‚

How to install ๐Ÿ“ฆ

Terminal CLI

For simplicity, you don't need to install a package manager.
Just run the short script provided below and it will install xtree in your $HOME/.local/bin directory.

curl -Ls https://swiftyfinch.github.io/xtree/install.sh | bash

If you already have an installed one, you can update it with this command:

xtree update

Application (macOS)

Requirements: macOS Ventura 13.0 and above.
Use Homebrew and commands provided below:

brew tap swiftyfinch/xtree https://github.com/swiftyfinch/xtree.git
brew install --cask xtree --no-quarantine

If you already have an installed one, you can update it with this command:

brew update && brew upgrade --cask xtree

๐Ÿค Contribution

Feel free to open a pull request or a discussion.

๐Ÿ“ฎ Support

If you want to support this project, you can do some of these:
1) Press โญ๏ธ. It's a nice mark which means that it is useful;
2) Share the project ๐ŸŒ somewhere with somebody;
3) Leave feedback in the discussions ๐Ÿ’ฌ section.


  • Swift Tools 5.9.0
View More Packages from this Author


Last updated: Thu May 30 2024 02:47:34 GMT-0900 (Hawaii-Aleutian Daylight Time)