-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7533dc5
commit 6546743
Showing
3 changed files
with
49 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
```sh | ||
> xtree impact --help | ||
|
||
๐ณ Find affected parent nodes and print them out as a tree. | ||
Each node can contain: | ||
โฐโ Name height:explicit_children/children info? | ||
โญโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ | ||
โ --input, -i โ * (require) The path to the suitable file (*.xcodeproj, โ | ||
โ โ Podfile.lock, *.yml/*.yaml), which will be the tree โ | ||
โ โ input source. โ | ||
โ --names, -n [] โ * The names of the nodes that will be the leaves of the โ | ||
โ โ tree. โ | ||
โ --roots, -r [] โ * Keep only subtrees where the root node contains the โ | ||
โ โ passed string with wildcards (*, ?). โ | ||
โ --contains, -c [] โ * Keep only the nodes that contain the passed strings with โ | ||
โ โ wildcards (*, ?). โ | ||
โ --except, -e [] โ * Exclude nodes that contain any of the passed strings โ | ||
โ โ with wildcards (*, ?). โ | ||
โ --depth, -d โ * Limit the maximum depth of the tree. โ | ||
โ --sort, -s โ * Select the sorting method: by name, by number of โ | ||
โ โ children or by height. โ | ||
โ โ โ | ||
โ --help, -h โ * Show help information. โ | ||
โฐโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ | ||
``` | ||
|
||
## Example | ||
|
||
```sh | ||
> xtree impact -n Alamofire --input example.yaml | ||
``` | ||
|
||
<img width="260" src="https://github.com/swiftyfinch/xtree/assets/64660122/de327838-ad62-4427-8e86-e1f00221c17c"> |