Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/swiftyfinch/xtree

๐ŸŒณ Printing and analyzing trees inย aย handy way.
https://github.com/swiftyfinch/xtree

cocoapods dependencies swiftui tree-structure tree-visualization tree-visualizer xcode

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        









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](https://cocoapods.org): `Podfile.lock`
- YAML file with [a specific format](docs/inputs/yaml.md): `*.yml`/`*.yaml`
- Feel free to suggest other common input files

## Commands Help (Terminal CLI)

```sh
> 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`](docs/commands-help/print.md)
- [`frequency`](docs/commands-help/frequency.md)
- [`parents`](docs/commands-help/parents.md)
- [`impact`](docs/commands-help/impact.md)


# How to install ๐Ÿ“ฆ

- [Terminal CLI](#terminal-cli)
- [Application (macOS)](#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.
```sh
curl -Ls https://swiftyfinch.github.io/xtree/install.sh | bash
```

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

## Application (macOS)

**Requirements**: macOS Ventura 13.0 and above.\
Use [Homebrew](https://brew.sh) and commands provided below:
```sh
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:
```sh
brew update && brew upgrade --cask xtree
```


## ๐Ÿค Contribution

Feel free [to open a pull request](https://github.com/swiftyfinch/xtree/contribute) 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.