Skip to content

swiftyfinch/xtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

82 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation


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.