xtree
xtree copied to clipboard
๐ณ Printing and analyzing trees inย aย handy way.
How to use ๐ณ
๐ฌ Demonstrations: https://github.com/swiftyfinch/xtree/discussions/4
Inputs
- 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. โ
โฐโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
-
print
-
frequency
-
parents
-
impact
How to install ๐ฆ
- Terminal CLI
- Application (macOS)
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.