Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 2.23 KB

impact.md

File metadata and controls

33 lines (29 loc) · 2.23 KB
> 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       │ * (required) The path to the suitable file (*.xcodeproj,   │
│                   │   Podfile.lock, *.yml/*.yaml), which will be the tree      │
│                   │   input source.                                            │
│ --names, -n []    │ * (required) The names of the nodes with wildcards (*, ?)  │
│                   │   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

> xtree impact -n Alamofire --input example.yaml