Skip to content

Latest commit

 

History

History
100 lines (77 loc) · 4.28 KB

README.md

File metadata and controls

100 lines (77 loc) · 4.28 KB

Printing and analyzing trees in a handy way



How to use 🌳

🎬 Demonstrations: #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.                                   │
╰─────────────┴────────────────────────────────────────────────────────────╯

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.